Skip to content

Commit a7f58e0

Browse files
committed
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.
1 parent c5b116a commit a7f58e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.dependabot/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ update_configs:
88
- "doctrine/coding-standard-approvers"
99
default_labels:
1010
- "Dependencies"
11-
version_requirement_updates: "increase_versions"
11+
version_requirement_updates: "increase_versions_if_necessary"

0 commit comments

Comments
 (0)