Skip to content
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

php-cs-fixer: rule does not exist #4637

Closed
sreichel opened this issue Feb 17, 2025 · 4 comments
Closed

php-cs-fixer: rule does not exist #4637

sreichel opened this issue Feb 17, 2025 · 4 comments
Assignees

Comments

@sreichel
Copy link
Contributor

sreichel commented Feb 17, 2025

ddev php-cs-fixer
Loaded config default from "/var/www/html/.php-cs-fixer.dist.php".

In RuleSets.php line 65:
                                   
 Set "@PER-CS2.0" does not exist.

:/

Originally posted by @pquerner in #4617 (comment)

@sreichel sreichel changed the title php-cs-fixer php-cs-fixer: rule does not exist Feb 17, 2025
@sreichel sreichel self-assigned this Feb 17, 2025
@pquerner
Copy link
Contributor

Also tried ddev php-cs-fixer app/code/core/Mage/Core/Helper/EnvironmentConfigLoader.php
My branch rebased from main ddec006 last time.

@sreichel
Copy link
Contributor Author

sreichel commented Mar 5, 2025

Is it possible that you have installed an old version of phpcsfixer?

Pls share php/phpfixer version.

@pquerner
Copy link
Contributor

pquerner commented Mar 9, 2025

$ ddev php-cs-fixer --version
PHP CS Fixer 3.17.0 Brazilian Kangaroo by Fabien Potencier and Dariusz Ruminski.
PHP runtime: 8.1.31

$ ddev --version
ddev version v1.24.3

@sreichel
Copy link
Contributor Author

sreichel commented Mar 9, 2025

v3.17.0 is very old ... https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/releases/tag/v3.17.0

Please try composer install to update everything.

@sreichel sreichel closed this as completed Mar 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants