Repository navigation
What's Changed
Changed
- Raised the minimum PHP version to 8.2 (dropped support for 7.4, 8.0 and 8.1).
- Switched the SQLite drop-in to the renamed
dingo-d/wp-sqlite-dbfork (^1.4.1), which carries the PHP 8.2+ dynamic property deprecation fixes. - Upgraded Symfony components to
^6.4and migrated the command from the removedstatic $defaultNameproperty to the#[AsCommand]attribute. - Upgraded PHPStan to
^2.0andphpstan/phpstan-symfonyto^2.0, and updatedphpstan.neonfor the removed configuration keys. - Switched Composer to stable stability (
minimum-stability: stable+prefer-stable) so the lock resolves tagged releases instead ofdevsnapshots, and pinnedconfig.platform.phpto8.2for reproducible resolution. - Bumped
guzzlehttp/guzzle(^7.4 || ^8.0),squizlabs/php_codesniffer(^3.13),dealerdirect/phpcodesniffer-composer-installer(^1.0) andzenstruck/console-test(^1.8). - CI now runs on PHP 8.2–8.4 (unit tests and static analysis), with updated
ramsey/composer-install@v3andcodecov/codecov-action@v4.
Fixed
- The
test:unit/test:coveragescripts and the scaffoldedphpunit.xmlnow silenceE_DEPRECATED, so Pest 1 boots and runs on PHP 8.4/8.5 (see the README FAQ for running Pest directly).
Note
- Pest stays on
^1(PHPUnit 9). WordPress core,yoast/wp-test-utilsand the PHPUnit Polyfills are still capped at PHPUnit 9 (see Trac #62004), so Pest 2/3 cannot boot the WordPress integration suite yet.
Full Changelog: 1.7.0...1.8.0