# To learn more about this config file, visit: https://dependabot.com/docs/config-file/
version: 1
update_configs:
  - package_manager: "php:composer"
    directory: "/"
    update_schedule: "daily"
    default_reviewers:
      - "doctrine/coding-standard-approvers"
    default_labels:
      - "Dependencies"
    version_requirement_updates: "increase_versions"

# To learn more about this config file, visit: https://dependabot.com/docs/config-file/
version: 1
update_configs:
  - package_manager: "php:composer"
    directory: "/"
    update_schedule: "daily"
    default_reviewers:
      - "doctrine/coding-standard-approvers"
    default_labels:
      - "Dependencies"
    version_requirement_updates: "increase_versions_if_necessary"

Increase versions only if necessary
Increase versions only if necessary

Dependabot is creating many PRs which require new versions of packages
for no good reason.
This new strategy will bump version constraints only when necessary,
i.e. in order to get a major upgrade.
Another strategy would be to let it widen the range, but it does not
make much sense for a coding standard packages such as this one, since
users are unlikely to have a dependency on the dependencies of this
package. Note that we do have 2 dependencies that use pipes:
- one is on PHP, and it makes sense to keep it;
- one is on a package that is a composer plugin, and we might want to
drop it once Composer 1 usages is deemed low enough.
