You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running Duster v2.7.5, we're encountering the following error after updating PHP-CS-Fixer from 3.58.1 to 3.59.3:
PHP Fatal error: Class App\Fixer\ClassNotation\CustomOrderedClassElementsFixer contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (PhpCsFixer\Fixer\ConfigurableFixerInterface::getConfigurationDefinition) in /app/laravel/vendor/tightenco/duster/app/Fixer/ClassNotation/CustomOrderedClassElementsFixer.php on line 42
Fatal error: Class App\Fixer\ClassNotation\CustomOrderedClassElementsFixer contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (PhpCsFixer\Fixer\ConfigurableFixerInterface::getConfigurationDefinition) in /app/laravel/vendor/tightenco/duster/app/Fixer/ClassNotation/CustomOrderedClassElementsFixer.php on line 42
That said, I can't determine what changed in PHP-CS-Fixer between those versions that might have caused this. We're seeing it in both local and GitHub Actions environments.
Note that if you can't replicate this, it may have to do with a customization in our .php-cs-fixer.php:
$config = (newPhpCsFixer\Config())
->registerCustomFixers($tightenConfig->getCustomFixers())
->setRules(array_merge(
$tightenConfig->getRules(),
[
'Tighten/custom_ordered_class_elements' => false, // Disable Tighten's ordering and set our own in stout.json
]
))
->setFinder($finder)
->setRiskyAllowed($tightenConfig->getRiskyAllowed())
->setUsingCache(true)
->setCacheFile(__DIR__ . '/storage/cache/.php-cs-fixer.cache');
return$config;
The text was updated successfully, but these errors were encountered:
Running Duster v2.7.5, we're encountering the following error after updating PHP-CS-Fixer from
3.58.1
to3.59.3
:Based on the file in question I imagine this exists with Duster 3.x as well.
That said, I can't determine what changed in PHP-CS-Fixer between those versions that might have caused this. We're seeing it in both local and GitHub Actions environments.
Note that if you can't replicate this, it may have to do with a customization in our
.php-cs-fixer.php
:The text was updated successfully, but these errors were encountered: