Skip to content

Commit

Permalink
Suppress PHPStan for method_exists call
Browse files Browse the repository at this point in the history
  • Loading branch information
erickskrauch committed Jun 21, 2024
1 parent 65c94ea commit ff3ce60
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Fixer/ConfigurableFixerTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
//
// Commit: https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/commit/064efa1f#diff-e1fb45756cd1d53b6d67072d8a026692c07af55617018229b0bf4ab6c22e3e53L105
// See https://github.com/erickskrauch/php-cs-fixer-custom-fixers/issues/12
// @phpstan-ignore-next-line sometimes it exists, sometime it's not ;)
if (method_exists(AbstractFixer::class, 'configure')) {
trait ConfigurableFixerTrait {

Expand Down

0 comments on commit ff3ce60

Please sign in to comment.