Skip to content

v1.1.0

Latest

Choose a tag to compare

@github-actions github-actions released this 19 Sep 08:44

Added

  • svnjn.unusedParameter: every method and function parameter must be used, unless a parent class or interface sets the signature. Closures and magic methods are exempt. config/phpstan-laravel.neon skips src/Laravel, src/Filament, src/Dashboard and workbench/, where Laravel calls methods by name.

Fixed

  • Rector no longer makes methods private. Frameworks call some methods by name from their base class, like Livewire's rules(), and a private one failed at runtime.
  • The docs checker only ever writes to and empties its own work directory (build/docs-check), and svnjn-link only its .svnjn folder. Mutation testing runs altered code for real, and an altered path could delete the project or overwrite its phpstan.neon.