Skip to content

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

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

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

Conversation

@rogeriolino
Copy link
Copy Markdown
Member

Upgrade dev-only dependencies to match the versions used in the main application (novosga/novosga#455):

  • phpstan/phpstan: ^1.10^2.1
  • phpstan/phpdoc-parser: added ^2.3.2
  • phpunit/phpunit: ^9.5^11.5.55
  • slevomat/coding-standard: ~8.0^8.28
  • squizlabs/php_codesniffer: added ^4.0

Fix PHPStan 2 issues (use assert() for type narrowing of getUser() calls) and update phpunit.xml.dist for PHPUnit 11 compatibility.

@rogeriolino rogeriolino force-pushed the chore/upgrade-dev-tools branch from 1f373a4 to e19e182 Compare March 24, 2026 12:32
@rogeriolino rogeriolino merged commit f5b8dfd into v2.3 Mar 24, 2026
1 check passed
@rogeriolino rogeriolino deleted the chore/upgrade-dev-tools branch March 24, 2026 12:33
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.

1 participant