Skip to content

Commit

Permalink
Try configuring a constraint specifically for PHP non-dev packages
Browse files Browse the repository at this point in the history
  • Loading branch information
anomiex committed Nov 28, 2023
1 parent bb49347 commit d5adc7c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/renovate-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,5 +81,13 @@ module.exports = {
} )(),
enabled: false,
},
// PHP non-dev deps need to work with the oldest PHP versions we support.
{
matchDatasources: [ 'packagist' ],
matchDepTypes: [ 'require' ],
constraints: {
php: `~${ versions.MIN_PHP_VERSION }.0`,
},
},
],
};

0 comments on commit d5adc7c

Please sign in to comment.