Skip to content

chore: upgrade dev tools (phpstan 2, phpunit 11, phpcs 4) - #13

Merged
rogeriolino merged 3 commits into
v2.3from
chore/upgrade-dev-tools
Mar 24, 2026
Merged

chore: upgrade dev tools (phpstan 2, phpunit 11, phpcs 4)#13
rogeriolino merged 3 commits into
v2.3from
chore/upgrade-dev-tools

Conversation

@rogeriolino

Copy link
Copy Markdown
Member

Summary

  • Bump phpstan/phpstan from ^1.10 to ^2.1
  • Add phpstan/phpdoc-parser ^2.3.2 (new explicit dependency)
  • Bump phpunit/phpunit from ^9.5 to ^11.5.55
  • Bump slevomat/coding-standard from ~8.0 to ^8.28
  • Add squizlabs/php_codesniffer ^4.0 (new explicit dependency)
  • Fix phpunit.xml.dist for PHPUnit 11 compatibility (remove deprecated convertDeprecationsToExceptions; replace coverage with source block)

Closes novosga/novosga#455

Test plan

  • vendor/bin/phpstan analyse - 0 errors (PHPStan 2.1, level 6)
  • vendor/bin/phpcs - 0 errors/warnings
  • vendor/bin/phpunit - all 3 tests pass, 0 warnings

Generated with Claude Code

rogeriolino and others added 3 commits March 23, 2026 18:12
- Bump phpstan/phpstan to ^2.1
- Add phpstan/phpdoc-parser ^2.3.2
- Bump phpunit/phpunit to ^11.5.55
- Bump slevomat/coding-standard to ^8.28
- Add squizlabs/php_codesniffer ^4.0
- Fix phpunit.xml.dist: remove deprecated convertDeprecationsToExceptions
  attribute and processUncoveredFiles; replace coverage with source
  for PHPUnit 11 compatibility

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@rogeriolino
rogeriolino merged commit 008326c into v2.3 Mar 24, 2026
1 check passed
@rogeriolino
rogeriolino deleted the chore/upgrade-dev-tools branch March 24, 2026 12:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Symfony 7.4

1 participant