Skip to content

Commit

Permalink
[TASK] Enable dependabot for all supported branches: Use PHP platform
Browse files Browse the repository at this point in the history
Dependabot requires `config.platform.php` in composer.json to work correctly.

This will avoid troubles like:

```
Problem 1
    - Root composer.json requires solarium/solarium 6.3.5 -> satisfiable by solarium/solarium[6.3.5].
    - solarium/solarium 6.3.5 requires php ^8.0 -> your php version (7.4.33) does not satisfy that requirement.

    - solarium/solarium 6.3.5 requires php ^8.0 -> your php version (7.4.33) does not satisfy that requirement.
```

Relates: #3168
  • Loading branch information
dkd-kaehm committed Jul 29, 2024
1 parent 8a08572 commit 5a63a0c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@
"minimum-stability": "stable",
"prefer-stable": true,
"config": {
"platform": {
"php": "7.4"
},
"allow-plugins": true,
"vendor-dir": ".Build/vendor",
"bin-dir": ".Build/bin",
Expand Down

0 comments on commit 5a63a0c

Please sign in to comment.