Skip to content
Closed
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 @@ -5,7 +5,7 @@
"pdepend/pdepend": "2.12.1"
},
"require-dev": {
"phpunit/phpunit": "^9.0",
"phpunit/phpunit": "^13.1",
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

This major version jump (9 to 13) introduces a requirement for PHP >= 8.4.1 and many breaking changes.

  1. Explicitly declare the minimum PHP version requirement in the require section of composer.json (>= 8.4.1).
  2. Update phpunit.xml by running vendor/bin/phpunit --migrate-configuration.
  3. Migrate test files to use Attributes instead of Docblock annotations and replace removed assertions like assertRegExp or assertInternalType.

Try running the following prompt in your coding agent:

Update composer.json to require php 8.4.1 or higher and migrate the tests in the tests/ directory to be compatible with PHPUnit 13 attributes and configuration.

"symplify/easy-coding-standard": "^11.1"
},
"autoload": {
Expand Down
Loading
Loading