-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Codestyle issue NoCommentFixer.php #126
Labels
bug
Something isn't working
Comments
final class NoCommentFixer extends AbstractFixer implements ConfigurableFixerInterface
{
public function getConfigurationDefinition(): FixerConfigurationResolver
{
return new FixerConfigurationResolver([
(new FixerOptionBuilder("doc_comment", "Docblock comments should be removed."))
->setAllowedTypes(["bool"])
->setDefault(false)
->getOption(),
]);
}
public function configure(array $configuration):void
{
} this seems to resolve problem, but we can also limit version of cs fixer to 3.59.2 "friendsofphp/php-cs-fixer": "v3.59.2", from 3.59.3, which also works |
Duplicate of #124. |
@JakubKermes, @PiotrFedak |
@mtracz yes, works fine after new release, thanks |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Error code
PHP Fatal error: Class Blumilk\Codestyle\Fixers\NoCommentFixer contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (PhpCsFixer\Fixer\ConfigurableFixerInterface::configure) in /home/runner/work/blt/blt/vendor/blumilksoftware/codestyle/src/Fixers/NoCommentFixer.php on line 19 Script ./vendor/bin/php-cs-fixer fix --dry-run --diff --config codestyle.php handling the cs event returned with error code 255 Error: Process completed with exit code 255.
The text was updated successfully, but these errors were encountered: