Skip to content

4.0.2

Latest

Choose a tag to compare

@iruzevic iruzevic released this 27 May 13:58
cda006e

Changed

  • Updated rector/rector dev dependency to ^2.4.5.
  • Updated Rector and PHPStan configuration to scan the whole project (with explicit excludes for vendor, vendor-prefixed, node_modules, eightshift, public, and tests) instead of only the Eightshift directory.
  • Updated Rector config to drop RemoveUselessVarTagRector and enable withImportNames(importShortClasses: false, removeUnusedImports: true).
  • Updated phpcs.xml.dist.sample minimum_supported_wp_version example value to align with the supported PHP runtime.

Added

  • Added #[Override] attributes to FunctionCommentSniff::process() and HelpersEscapeSniff::process_token() to make parent overrides explicit on PHP 8.4.

Removed

  • Removed Prettier setup (.prettierrc, @prettier/plugin-php, prettier dev dependencies, and test:prettier / fix:prettier Composer scripts). The Prettier check added in 4.0.1 was reverted as it did not fit the PHPCS-driven workflow.