File tree Expand file tree Collapse file tree 5 files changed +18
-3
lines changed
Expand file tree Collapse file tree 5 files changed +18
-3
lines changed Original file line number Diff line number Diff line change 1717 "require" : {
1818 "php" : " ^8.1" ,
1919 "ext-tokenizer" : " *" ,
20- "friendsofphp/php-cs-fixer" : " ^3.84 "
20+ "friendsofphp/php-cs-fixer" : " ^3.92 "
2121 },
2222 "require-dev" : {
2323 "nexusphp/tachycardia" : " ^2.1" ,
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ interface ConfigurableAllowedUnsupportedPhpVersionRulesetInterface extends Rules
2121 /**
2222 * @internal
2323 */
24- public const PHP_CS_FIXER_MAX_SUPPORTED_PHP_VERSION_ID = 8_04_99 ;
24+ public const PHP_CS_FIXER_MAX_SUPPORTED_PHP_VERSION_ID = 8_05_99 ;
2525
2626 /**
2727 * Returns whether this ruleset allows unsupported PHP versions.
Original file line number Diff line number Diff line change @@ -443,6 +443,7 @@ public function __construct()
443443 'php_unit_test_case_static_method_calls ' => [
444444 'call_type ' => 'self ' ,
445445 'methods ' => [],
446+ 'target ' => '10.0 ' ,
446447 ],
447448 'php_unit_test_class_requires_covers ' => false ,
448449 'phpdoc_add_missing_param_annotation ' => ['only_untyped ' => true ],
@@ -702,6 +703,7 @@ public function __construct()
702703 ],
703704 'string_length_to_empty ' => true ,
704705 'string_line_ending ' => true ,
706+ 'stringable_for_to_string ' => false ,
705707 'switch_case_semicolon_to_colon ' => true ,
706708 'switch_case_space ' => true ,
707709 'switch_continue_to_break ' => true ,
Original file line number Diff line number Diff line change @@ -26,6 +26,11 @@ public function __construct()
2626 $ this ->rules = [
2727 ...(new Nexus81 ())->getRules (),
2828 'phpdoc_readonly_class_comment_to_keyword ' => true ,
29+ 'php_unit_test_case_static_method_calls ' => [
30+ 'call_type ' => 'self ' ,
31+ 'methods ' => [],
32+ 'target ' => '11.0 ' ,
33+ ],
2934 ];
3035 $ this ->requiredPHPVersion = 8_02_00 ;
3136 $ this ->autoActivateIsRiskyAllowed = true ;
Original file line number Diff line number Diff line change @@ -23,7 +23,15 @@ final class Nexus83 extends AbstractRuleset
2323 public function __construct ()
2424 {
2525 $ this ->name = 'Nexus for PHP 8.3 ' ;
26- $ this ->rules = (new Nexus82 ())->getRules ();
26+ $ this ->rules = [
27+ ...(new Nexus82 ())->getRules (),
28+ 'phpdoc_readonly_class_comment_to_keyword ' => true ,
29+ 'php_unit_test_case_static_method_calls ' => [
30+ 'call_type ' => 'self ' ,
31+ 'methods ' => [],
32+ 'target ' => 'newest ' ,
33+ ],
34+ ];
2735 $ this ->requiredPHPVersion = 8_03_00 ;
2836 $ this ->autoActivateIsRiskyAllowed = true ;
2937 }
You can’t perform that action at this time.
0 commit comments