Skip to content

chore(deps): update dependencies - #73

Merged
Fredxd merged 1 commit into
AppoloDev:mainfrom
Vondry:chore/update-dependencies
Oct 24, 2026
Merged

Fredxd merged 1 commit into
AppoloDev:mainfrom
Vondry:chore/update-dependencies

Conversation

@Vondry

@Vondry Vondry commented Oct 24, 2026

Copy link
Copy Markdown
Contributor

Summary

Updates the dev dependencies to their latest releases within the current major versions and refreshes composer.lock. The runtime requirements (php >=8.2, twig/twig ^3.21) are unchanged, so this doesn't affect sites installing the extension.

Changes

composer.json (require-dev):

Package Before After
bolt/core ^6.1.3 ^6.1.9
phpstan/phpstan 2.1.33 2.3.1
phpstan/phpstan-symfony 2.0.9 2.1.0
rector/rector 2.2.14 2.7.0
symplify/easy-coding-standard ^13 ^13.3
phpunit/phpunit ^11 ^11.5

composer.lock: refreshed with composer update -W. Twig is now locked at 3.30.0. composer audit reports no security advisories.

Adjustments for the newer tooling. With the old lock these checks were clean; the new versions flagged:

  • ECS: the new PhpdocNoPackageFixer rule flags the @package tag in src/Seo/Seo.php. Only that line is removed. ECS's own fix would delete the whole docblock, including the notes on the fallback priority order.
  • Rector: six truthiness checks on nullable ?Content / ?Field values in Seo.php become instanceof checks. There's no behaviour change.
  • rector.php: removed the skip for InlineClassRoutePrefixRector. Rector now warns that the rule is deprecated and no longer registered.

Verified

  • composer test: 119 tests, OK
  • make cscheck (ECS and PHPStan): no errors
  • vendor/bin/rector process --dry-run: no changes
  • composer validate and composer lint:xliff: OK

Bump the dev dependencies to their latest releases within the current
major versions and refresh composer.lock:

- bolt/core ^6.1.9
- phpstan/phpstan 2.3.1, phpstan/phpstan-symfony 2.1.0
- rector/rector 2.7.0
- symplify/easy-coding-standard ^13.3
- phpunit/phpunit ^11.5

Adapt the code to the newer tooling:

- drop the @Package docblock tag flagged by ECS's PhpdocNoPackageFixer
- apply Rector's instanceof checks for nullable Content/Field values
- remove the skip for the deprecated InlineClassRoutePrefixRector
@Fredxd
Fredxd merged commit 7993dbc into AppoloDev:main Oct 24, 2026
21 checks passed
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.

2 participants