Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "codacy/codacy-metrics-pdepend",
"description": "Metrics tool for PHP based on PDepend",
"require": {
"pdepend/pdepend": "2.12.1"
"pdepend/pdepend": "2.16.2"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔴 HIGH RISK

Suggestion: This dependency update significantly raises the minimum PHP requirement to 8.4 due to the versions selected for transitive dependencies in the lock file. To ensure compatibility with older PHP versions, you should explicitly define a PHP constraint in your require block.

Try running the following prompt in your coding agent:

Add a PHP constraint to the 'require' section of composer.json (e.g., '"php": ">=8.1"') and regenerate the composer.lock file using 'composer update'.

},
"require-dev": {
"phpunit/phpunit": "^9.0",
Expand Down
Loading
Loading