-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
bugSomething isn't workingSomething isn't working
Description
This configuration:
return $config->withoutRiskyFixers()->config();returns a big red error:
host-user@b050eb49eb28:/application$ composer cs
> ./vendor/bin/php-cs-fixer fix --dry-run --diff --config codestyle.php
PHP CS Fixer 3.49.0 Insomnia by Fabien Potencier, Dariusz Ruminski and contributors.
PHP runtime: 8.3.0
Loaded config Blumilk codestyle standard from "codestyle.php".
0/353 [░░░░░░░░░░░░░░░░░░░░░░░░░░░░] 0%
In ConfigurationResolver.php line 338:
The rules contain risky fixers ("PhpCsFixerCustomFixers/commented_out_function", "strict_comparison", "use_arrow_functions", "strict_param", "php_unit_test_annotation", "class_keyword", "void_return", "function_to_constant", "declare_stric
t_types", "is_null", "php_unit_set_up_tear_down_visibility", "no_homoglyph_names", "psr_autoloading" and "self_accessor"), but they are not allowed to run. Perhaps you forget to use --allow-risky=yes option?
fix [--path-mode PATH-MODE] [--allow-risky ALLOW-RISKY] [--config CONFIG] [--dry-run] [--rules RULES] [--using-cache USING-CACHE] [--cache-file CACHE-FILE] [--diff] [--format FORMAT] [--stop-on-violation] [--show-progress SHOW-PROGRESS] [--] [<path>...]
Script ./vendor/bin/php-cs-fixer fix --dry-run --diff --config codestyle.php handling the cs event returned with error code 16
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working