From f322dc52f77db58a687159270da04c644511c0c5 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 2 Feb 2024 08:52:49 +0000 Subject: [PATCH 1/3] composer(deps): Bump friendsofphp/php-cs-fixer from 3.48.0 to 3.49.0 Bumps [friendsofphp/php-cs-fixer](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer) from 3.48.0 to 3.49.0. - [Release notes](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/releases) - [Changelog](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/master/CHANGELOG.md) - [Commits](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/compare/v3.48.0...v3.49.0) --- updated-dependencies: - dependency-name: friendsofphp/php-cs-fixer dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- composer.json | 2 +- composer.lock | 62 +++++++++++++++++++++++++-------------------------- 2 files changed, 32 insertions(+), 32 deletions(-) diff --git a/composer.json b/composer.json index 75c8068d..1da37d26 100644 --- a/composer.json +++ b/composer.json @@ -20,7 +20,7 @@ "php": "~7.4.0 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0", "ext-filter": "*", "erickskrauch/php-cs-fixer-custom-fixers": "~1.2.4", - "friendsofphp/php-cs-fixer": "~3.48.0", + "friendsofphp/php-cs-fixer": "~3.49.0", "kubawerlos/php-cs-fixer-custom-fixers": "~3.19.2" }, "require-dev": { diff --git a/composer.lock b/composer.lock index 4833b817..981fdb34 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "7c213096a47b88abb88a8b5ece2b1edf", + "content-hash": "206cd1f1ee1905698528ddc170d1a35d", "packages": [ { "name": "composer/pcre", @@ -292,16 +292,16 @@ }, { "name": "friendsofphp/php-cs-fixer", - "version": "v3.48.0", + "version": "v3.49.0", "source": { "type": "git", "url": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer.git", - "reference": "a92472c6fb66349de25211f31c77eceae3df024e" + "reference": "8742f7aa6f72a399688b65e4f58992c2d4681fc2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/PHP-CS-Fixer/PHP-CS-Fixer/zipball/a92472c6fb66349de25211f31c77eceae3df024e", - "reference": "a92472c6fb66349de25211f31c77eceae3df024e", + "url": "https://api.github.com/repos/PHP-CS-Fixer/PHP-CS-Fixer/zipball/8742f7aa6f72a399688b65e4f58992c2d4681fc2", + "reference": "8742f7aa6f72a399688b65e4f58992c2d4681fc2", "shasum": "" }, "require": { @@ -371,7 +371,7 @@ ], "support": { "issues": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues", - "source": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/tree/v3.48.0" + "source": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/tree/v3.49.0" }, "funding": [ { @@ -379,7 +379,7 @@ "type": "github" } ], - "time": "2024-01-19T21:44:39+00:00" + "time": "2024-02-02T00:41:40+00:00" }, { "name": "kubawerlos/php-cs-fixer-custom-fixers", @@ -809,16 +809,16 @@ }, { "name": "symfony/event-dispatcher", - "version": "v5.4.34", + "version": "v5.4.35", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher.git", - "reference": "e3bca343efeb613f843c254e7718ef17c9bdf7a3" + "reference": "7a69a85c7ea5bdd1e875806a99c51a87d3a74b38" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/e3bca343efeb613f843c254e7718ef17c9bdf7a3", - "reference": "e3bca343efeb613f843c254e7718ef17c9bdf7a3", + "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/7a69a85c7ea5bdd1e875806a99c51a87d3a74b38", + "reference": "7a69a85c7ea5bdd1e875806a99c51a87d3a74b38", "shasum": "" }, "require": { @@ -874,7 +874,7 @@ "description": "Provides tools that allow your application components to communicate with each other by dispatching events and listening to them", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/event-dispatcher/tree/v5.4.34" + "source": "https://github.com/symfony/event-dispatcher/tree/v5.4.35" }, "funding": [ { @@ -890,7 +890,7 @@ "type": "tidelift" } ], - "time": "2023-12-27T21:12:56+00:00" + "time": "2024-01-23T13:51:25+00:00" }, { "name": "symfony/event-dispatcher-contracts", @@ -1037,16 +1037,16 @@ }, { "name": "symfony/finder", - "version": "v5.4.27", + "version": "v5.4.35", "source": { "type": "git", "url": "https://github.com/symfony/finder.git", - "reference": "ff4bce3c33451e7ec778070e45bd23f74214cd5d" + "reference": "abe6d6f77d9465fed3cd2d029b29d03b56b56435" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/ff4bce3c33451e7ec778070e45bd23f74214cd5d", - "reference": "ff4bce3c33451e7ec778070e45bd23f74214cd5d", + "url": "https://api.github.com/repos/symfony/finder/zipball/abe6d6f77d9465fed3cd2d029b29d03b56b56435", + "reference": "abe6d6f77d9465fed3cd2d029b29d03b56b56435", "shasum": "" }, "require": { @@ -1080,7 +1080,7 @@ "description": "Finds files and directories via an intuitive fluent interface", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/finder/tree/v5.4.27" + "source": "https://github.com/symfony/finder/tree/v5.4.35" }, "funding": [ { @@ -1096,7 +1096,7 @@ "type": "tidelift" } ], - "time": "2023-07-31T08:02:31+00:00" + "time": "2024-01-23T13:51:25+00:00" }, { "name": "symfony/options-resolver", @@ -1740,16 +1740,16 @@ }, { "name": "symfony/process", - "version": "v5.4.34", + "version": "v5.4.35", "source": { "type": "git", "url": "https://github.com/symfony/process.git", - "reference": "8fa22178dfc368911dbd513b431cd9b06f9afe7a" + "reference": "cbc28e34015ad50166fc2f9c8962d28d0fe861eb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/process/zipball/8fa22178dfc368911dbd513b431cd9b06f9afe7a", - "reference": "8fa22178dfc368911dbd513b431cd9b06f9afe7a", + "url": "https://api.github.com/repos/symfony/process/zipball/cbc28e34015ad50166fc2f9c8962d28d0fe861eb", + "reference": "cbc28e34015ad50166fc2f9c8962d28d0fe861eb", "shasum": "" }, "require": { @@ -1782,7 +1782,7 @@ "description": "Executes commands in sub-processes", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/process/tree/v5.4.34" + "source": "https://github.com/symfony/process/tree/v5.4.35" }, "funding": [ { @@ -1798,7 +1798,7 @@ "type": "tidelift" } ], - "time": "2023-12-02T08:41:43+00:00" + "time": "2024-01-23T13:51:25+00:00" }, { "name": "symfony/service-contracts", @@ -1885,16 +1885,16 @@ }, { "name": "symfony/stopwatch", - "version": "v5.4.21", + "version": "v5.4.35", "source": { "type": "git", "url": "https://github.com/symfony/stopwatch.git", - "reference": "f83692cd869a6f2391691d40a01e8acb89e76fee" + "reference": "887762aa99ff16f65dc8b48aafead415f942d407" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/stopwatch/zipball/f83692cd869a6f2391691d40a01e8acb89e76fee", - "reference": "f83692cd869a6f2391691d40a01e8acb89e76fee", + "url": "https://api.github.com/repos/symfony/stopwatch/zipball/887762aa99ff16f65dc8b48aafead415f942d407", + "reference": "887762aa99ff16f65dc8b48aafead415f942d407", "shasum": "" }, "require": { @@ -1927,7 +1927,7 @@ "description": "Provides a way to profile code", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/stopwatch/tree/v5.4.21" + "source": "https://github.com/symfony/stopwatch/tree/v5.4.35" }, "funding": [ { @@ -1943,7 +1943,7 @@ "type": "tidelift" } ], - "time": "2023-02-14T08:03:56+00:00" + "time": "2024-01-23T13:51:25+00:00" }, { "name": "symfony/string", From a74d6da7f048c441cdc60bb9d3d21a206abc4c66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=B6ller?= Date: Fri, 2 Feb 2024 10:02:53 +0100 Subject: [PATCH 2/3] Fix: Configure string_implicit_backslashes instead of deprecated escape_implicit_backslashes fixer --- src/RuleSet/Php53.php | 10 +++++----- src/RuleSet/Php54.php | 10 +++++----- src/RuleSet/Php55.php | 10 +++++----- src/RuleSet/Php56.php | 10 +++++----- src/RuleSet/Php70.php | 10 +++++----- src/RuleSet/Php71.php | 10 +++++----- src/RuleSet/Php72.php | 10 +++++----- src/RuleSet/Php73.php | 10 +++++----- src/RuleSet/Php74.php | 10 +++++----- src/RuleSet/Php80.php | 10 +++++----- src/RuleSet/Php81.php | 10 +++++----- src/RuleSet/Php82.php | 10 +++++----- src/RuleSet/Php83.php | 10 +++++----- test/Unit/RuleSet/Php53Test.php | 10 +++++----- test/Unit/RuleSet/Php54Test.php | 10 +++++----- test/Unit/RuleSet/Php55Test.php | 10 +++++----- test/Unit/RuleSet/Php56Test.php | 10 +++++----- test/Unit/RuleSet/Php70Test.php | 10 +++++----- test/Unit/RuleSet/Php71Test.php | 10 +++++----- test/Unit/RuleSet/Php72Test.php | 10 +++++----- test/Unit/RuleSet/Php73Test.php | 10 +++++----- test/Unit/RuleSet/Php74Test.php | 10 +++++----- test/Unit/RuleSet/Php80Test.php | 10 +++++----- test/Unit/RuleSet/Php81Test.php | 10 +++++----- test/Unit/RuleSet/Php82Test.php | 10 +++++----- test/Unit/RuleSet/Php83Test.php | 10 +++++----- 26 files changed, 130 insertions(+), 130 deletions(-) diff --git a/src/RuleSet/Php53.php b/src/RuleSet/Php53.php index ac398a12..ad63df8b 100644 --- a/src/RuleSet/Php53.php +++ b/src/RuleSet/Php53.php @@ -202,11 +202,6 @@ public static function create(): RuleSet 'noise_remaining_usages' => true, 'noise_remaining_usages_exclude' => [], ], - 'escape_implicit_backslashes' => [ - 'double_quoted' => true, - 'heredoc_syntax' => true, - 'single_quoted' => false, - ], 'explicit_indirect_variable' => true, 'explicit_string_variable' => true, 'final_class' => true, @@ -841,6 +836,11 @@ public static function create(): RuleSet 'static_lambda' => true, 'strict_comparison' => true, 'strict_param' => true, + 'string_implicit_backslashes' => [ + 'double_quoted' => 'escape', + 'heredoc' => 'escape', + 'single_quoted' => 'ignore', + ], 'string_length_to_empty' => true, 'string_line_ending' => true, 'switch_case_semicolon_to_colon' => true, diff --git a/src/RuleSet/Php54.php b/src/RuleSet/Php54.php index 98ca81c7..7311d669 100644 --- a/src/RuleSet/Php54.php +++ b/src/RuleSet/Php54.php @@ -203,11 +203,6 @@ public static function create(): RuleSet 'noise_remaining_usages' => true, 'noise_remaining_usages_exclude' => [], ], - 'escape_implicit_backslashes' => [ - 'double_quoted' => true, - 'heredoc_syntax' => true, - 'single_quoted' => false, - ], 'explicit_indirect_variable' => true, 'explicit_string_variable' => true, 'final_class' => true, @@ -843,6 +838,11 @@ public static function create(): RuleSet 'static_lambda' => true, 'strict_comparison' => true, 'strict_param' => true, + 'string_implicit_backslashes' => [ + 'double_quoted' => 'escape', + 'heredoc' => 'escape', + 'single_quoted' => 'ignore', + ], 'string_length_to_empty' => true, 'string_line_ending' => true, 'switch_case_semicolon_to_colon' => true, diff --git a/src/RuleSet/Php55.php b/src/RuleSet/Php55.php index 18c17fc3..f324720d 100644 --- a/src/RuleSet/Php55.php +++ b/src/RuleSet/Php55.php @@ -205,11 +205,6 @@ public static function create(): RuleSet 'noise_remaining_usages' => true, 'noise_remaining_usages_exclude' => [], ], - 'escape_implicit_backslashes' => [ - 'double_quoted' => true, - 'heredoc_syntax' => true, - 'single_quoted' => false, - ], 'explicit_indirect_variable' => true, 'explicit_string_variable' => true, 'final_class' => true, @@ -854,6 +849,11 @@ public static function create(): RuleSet 'static_lambda' => true, 'strict_comparison' => true, 'strict_param' => true, + 'string_implicit_backslashes' => [ + 'double_quoted' => 'escape', + 'heredoc' => 'escape', + 'single_quoted' => 'ignore', + ], 'string_length_to_empty' => true, 'string_line_ending' => true, 'switch_case_semicolon_to_colon' => true, diff --git a/src/RuleSet/Php56.php b/src/RuleSet/Php56.php index 0ac42f1a..3aeab793 100644 --- a/src/RuleSet/Php56.php +++ b/src/RuleSet/Php56.php @@ -205,11 +205,6 @@ public static function create(): RuleSet 'noise_remaining_usages' => true, 'noise_remaining_usages_exclude' => [], ], - 'escape_implicit_backslashes' => [ - 'double_quoted' => true, - 'heredoc_syntax' => true, - 'single_quoted' => false, - ], 'explicit_indirect_variable' => true, 'explicit_string_variable' => true, 'final_class' => true, @@ -854,6 +849,11 @@ public static function create(): RuleSet 'static_lambda' => true, 'strict_comparison' => true, 'strict_param' => true, + 'string_implicit_backslashes' => [ + 'double_quoted' => 'escape', + 'heredoc' => 'escape', + 'single_quoted' => 'ignore', + ], 'string_length_to_empty' => true, 'string_line_ending' => true, 'switch_case_semicolon_to_colon' => true, diff --git a/src/RuleSet/Php70.php b/src/RuleSet/Php70.php index b4f3cf59..72bd52e6 100644 --- a/src/RuleSet/Php70.php +++ b/src/RuleSet/Php70.php @@ -205,11 +205,6 @@ public static function create(): RuleSet 'noise_remaining_usages' => true, 'noise_remaining_usages_exclude' => [], ], - 'escape_implicit_backslashes' => [ - 'double_quoted' => true, - 'heredoc_syntax' => true, - 'single_quoted' => false, - ], 'explicit_indirect_variable' => true, 'explicit_string_variable' => true, 'final_class' => true, @@ -854,6 +849,11 @@ public static function create(): RuleSet 'static_lambda' => true, 'strict_comparison' => true, 'strict_param' => true, + 'string_implicit_backslashes' => [ + 'double_quoted' => 'escape', + 'heredoc' => 'escape', + 'single_quoted' => 'ignore', + ], 'string_length_to_empty' => true, 'string_line_ending' => true, 'switch_case_semicolon_to_colon' => true, diff --git a/src/RuleSet/Php71.php b/src/RuleSet/Php71.php index c768c54f..307f1690 100644 --- a/src/RuleSet/Php71.php +++ b/src/RuleSet/Php71.php @@ -205,11 +205,6 @@ public static function create(): RuleSet 'noise_remaining_usages' => true, 'noise_remaining_usages_exclude' => [], ], - 'escape_implicit_backslashes' => [ - 'double_quoted' => true, - 'heredoc_syntax' => true, - 'single_quoted' => false, - ], 'explicit_indirect_variable' => true, 'explicit_string_variable' => true, 'final_class' => true, @@ -856,6 +851,11 @@ public static function create(): RuleSet 'static_lambda' => true, 'strict_comparison' => true, 'strict_param' => true, + 'string_implicit_backslashes' => [ + 'double_quoted' => 'escape', + 'heredoc' => 'escape', + 'single_quoted' => 'ignore', + ], 'string_length_to_empty' => true, 'string_line_ending' => true, 'switch_case_semicolon_to_colon' => true, diff --git a/src/RuleSet/Php72.php b/src/RuleSet/Php72.php index 24cc6022..8a4eb4be 100644 --- a/src/RuleSet/Php72.php +++ b/src/RuleSet/Php72.php @@ -205,11 +205,6 @@ public static function create(): RuleSet 'noise_remaining_usages' => true, 'noise_remaining_usages_exclude' => [], ], - 'escape_implicit_backslashes' => [ - 'double_quoted' => true, - 'heredoc_syntax' => true, - 'single_quoted' => false, - ], 'explicit_indirect_variable' => true, 'explicit_string_variable' => true, 'final_class' => true, @@ -856,6 +851,11 @@ public static function create(): RuleSet 'static_lambda' => true, 'strict_comparison' => true, 'strict_param' => true, + 'string_implicit_backslashes' => [ + 'double_quoted' => 'escape', + 'heredoc' => 'escape', + 'single_quoted' => 'ignore', + ], 'string_length_to_empty' => true, 'string_line_ending' => true, 'switch_case_semicolon_to_colon' => true, diff --git a/src/RuleSet/Php73.php b/src/RuleSet/Php73.php index ddfe3247..318abf29 100644 --- a/src/RuleSet/Php73.php +++ b/src/RuleSet/Php73.php @@ -205,11 +205,6 @@ public static function create(): RuleSet 'noise_remaining_usages' => true, 'noise_remaining_usages_exclude' => [], ], - 'escape_implicit_backslashes' => [ - 'double_quoted' => true, - 'heredoc_syntax' => true, - 'single_quoted' => false, - ], 'explicit_indirect_variable' => true, 'explicit_string_variable' => true, 'final_class' => true, @@ -856,6 +851,11 @@ public static function create(): RuleSet 'static_lambda' => true, 'strict_comparison' => true, 'strict_param' => true, + 'string_implicit_backslashes' => [ + 'double_quoted' => 'escape', + 'heredoc' => 'escape', + 'single_quoted' => 'ignore', + ], 'string_length_to_empty' => true, 'string_line_ending' => true, 'switch_case_semicolon_to_colon' => true, diff --git a/src/RuleSet/Php74.php b/src/RuleSet/Php74.php index 1cfd018b..9295dab5 100644 --- a/src/RuleSet/Php74.php +++ b/src/RuleSet/Php74.php @@ -205,11 +205,6 @@ public static function create(): RuleSet 'noise_remaining_usages' => true, 'noise_remaining_usages_exclude' => [], ], - 'escape_implicit_backslashes' => [ - 'double_quoted' => true, - 'heredoc_syntax' => true, - 'single_quoted' => false, - ], 'explicit_indirect_variable' => true, 'explicit_string_variable' => true, 'final_class' => true, @@ -859,6 +854,11 @@ public static function create(): RuleSet 'static_lambda' => true, 'strict_comparison' => true, 'strict_param' => true, + 'string_implicit_backslashes' => [ + 'double_quoted' => 'escape', + 'heredoc' => 'escape', + 'single_quoted' => 'ignore', + ], 'string_length_to_empty' => true, 'string_line_ending' => true, 'switch_case_semicolon_to_colon' => true, diff --git a/src/RuleSet/Php80.php b/src/RuleSet/Php80.php index 621dc1f8..78c5311a 100644 --- a/src/RuleSet/Php80.php +++ b/src/RuleSet/Php80.php @@ -212,11 +212,6 @@ public static function create(): RuleSet 'noise_remaining_usages' => true, 'noise_remaining_usages_exclude' => [], ], - 'escape_implicit_backslashes' => [ - 'double_quoted' => true, - 'heredoc_syntax' => true, - 'single_quoted' => false, - ], 'explicit_indirect_variable' => true, 'explicit_string_variable' => true, 'final_class' => true, @@ -873,6 +868,11 @@ public static function create(): RuleSet 'static_lambda' => true, 'strict_comparison' => true, 'strict_param' => true, + 'string_implicit_backslashes' => [ + 'double_quoted' => 'escape', + 'heredoc' => 'escape', + 'single_quoted' => 'ignore', + ], 'string_length_to_empty' => true, 'string_line_ending' => true, 'switch_case_semicolon_to_colon' => true, diff --git a/src/RuleSet/Php81.php b/src/RuleSet/Php81.php index caa0a88e..05db87f5 100644 --- a/src/RuleSet/Php81.php +++ b/src/RuleSet/Php81.php @@ -213,11 +213,6 @@ public static function create(): RuleSet 'noise_remaining_usages' => true, 'noise_remaining_usages_exclude' => [], ], - 'escape_implicit_backslashes' => [ - 'double_quoted' => true, - 'heredoc_syntax' => true, - 'single_quoted' => false, - ], 'explicit_indirect_variable' => true, 'explicit_string_variable' => true, 'final_class' => true, @@ -876,6 +871,11 @@ public static function create(): RuleSet 'static_lambda' => true, 'strict_comparison' => true, 'strict_param' => true, + 'string_implicit_backslashes' => [ + 'double_quoted' => 'escape', + 'heredoc' => 'escape', + 'single_quoted' => 'ignore', + ], 'string_length_to_empty' => true, 'string_line_ending' => true, 'switch_case_semicolon_to_colon' => true, diff --git a/src/RuleSet/Php82.php b/src/RuleSet/Php82.php index 73f5575d..0a710e2c 100644 --- a/src/RuleSet/Php82.php +++ b/src/RuleSet/Php82.php @@ -213,11 +213,6 @@ public static function create(): RuleSet 'noise_remaining_usages' => true, 'noise_remaining_usages_exclude' => [], ], - 'escape_implicit_backslashes' => [ - 'double_quoted' => true, - 'heredoc_syntax' => true, - 'single_quoted' => false, - ], 'explicit_indirect_variable' => true, 'explicit_string_variable' => true, 'final_class' => true, @@ -876,6 +871,11 @@ public static function create(): RuleSet 'static_lambda' => true, 'strict_comparison' => true, 'strict_param' => true, + 'string_implicit_backslashes' => [ + 'double_quoted' => 'escape', + 'heredoc' => 'escape', + 'single_quoted' => 'ignore', + ], 'string_length_to_empty' => true, 'string_line_ending' => true, 'switch_case_semicolon_to_colon' => true, diff --git a/src/RuleSet/Php83.php b/src/RuleSet/Php83.php index 4576012b..2524cecd 100644 --- a/src/RuleSet/Php83.php +++ b/src/RuleSet/Php83.php @@ -213,11 +213,6 @@ public static function create(): RuleSet 'noise_remaining_usages' => true, 'noise_remaining_usages_exclude' => [], ], - 'escape_implicit_backslashes' => [ - 'double_quoted' => true, - 'heredoc_syntax' => true, - 'single_quoted' => false, - ], 'explicit_indirect_variable' => true, 'explicit_string_variable' => true, 'final_class' => true, @@ -876,6 +871,11 @@ public static function create(): RuleSet 'static_lambda' => true, 'strict_comparison' => true, 'strict_param' => true, + 'string_implicit_backslashes' => [ + 'double_quoted' => 'escape', + 'heredoc' => 'escape', + 'single_quoted' => 'ignore', + ], 'string_length_to_empty' => true, 'string_line_ending' => true, 'switch_case_semicolon_to_colon' => true, diff --git a/test/Unit/RuleSet/Php53Test.php b/test/Unit/RuleSet/Php53Test.php index 1d870d34..3a6c0f76 100644 --- a/test/Unit/RuleSet/Php53Test.php +++ b/test/Unit/RuleSet/Php53Test.php @@ -225,11 +225,6 @@ protected function expectedRules(): Rules 'noise_remaining_usages' => true, 'noise_remaining_usages_exclude' => [], ], - 'escape_implicit_backslashes' => [ - 'double_quoted' => true, - 'heredoc_syntax' => true, - 'single_quoted' => false, - ], 'explicit_indirect_variable' => true, 'explicit_string_variable' => true, 'final_class' => true, @@ -864,6 +859,11 @@ protected function expectedRules(): Rules 'static_lambda' => true, 'strict_comparison' => true, 'strict_param' => true, + 'string_implicit_backslashes' => [ + 'double_quoted' => 'escape', + 'heredoc' => 'escape', + 'single_quoted' => 'ignore', + ], 'string_length_to_empty' => true, 'string_line_ending' => true, 'switch_case_semicolon_to_colon' => true, diff --git a/test/Unit/RuleSet/Php54Test.php b/test/Unit/RuleSet/Php54Test.php index 5e582a75..ab724178 100644 --- a/test/Unit/RuleSet/Php54Test.php +++ b/test/Unit/RuleSet/Php54Test.php @@ -226,11 +226,6 @@ protected function expectedRules(): Rules 'noise_remaining_usages' => true, 'noise_remaining_usages_exclude' => [], ], - 'escape_implicit_backslashes' => [ - 'double_quoted' => true, - 'heredoc_syntax' => true, - 'single_quoted' => false, - ], 'explicit_indirect_variable' => true, 'explicit_string_variable' => true, 'final_class' => true, @@ -866,6 +861,11 @@ protected function expectedRules(): Rules 'static_lambda' => true, 'strict_comparison' => true, 'strict_param' => true, + 'string_implicit_backslashes' => [ + 'double_quoted' => 'escape', + 'heredoc' => 'escape', + 'single_quoted' => 'ignore', + ], 'string_length_to_empty' => true, 'string_line_ending' => true, 'switch_case_semicolon_to_colon' => true, diff --git a/test/Unit/RuleSet/Php55Test.php b/test/Unit/RuleSet/Php55Test.php index 88639e26..0d15cb06 100644 --- a/test/Unit/RuleSet/Php55Test.php +++ b/test/Unit/RuleSet/Php55Test.php @@ -228,11 +228,6 @@ protected function expectedRules(): Rules 'noise_remaining_usages' => true, 'noise_remaining_usages_exclude' => [], ], - 'escape_implicit_backslashes' => [ - 'double_quoted' => true, - 'heredoc_syntax' => true, - 'single_quoted' => false, - ], 'explicit_indirect_variable' => true, 'explicit_string_variable' => true, 'final_class' => true, @@ -877,6 +872,11 @@ protected function expectedRules(): Rules 'static_lambda' => true, 'strict_comparison' => true, 'strict_param' => true, + 'string_implicit_backslashes' => [ + 'double_quoted' => 'escape', + 'heredoc' => 'escape', + 'single_quoted' => 'ignore', + ], 'string_length_to_empty' => true, 'string_line_ending' => true, 'switch_case_semicolon_to_colon' => true, diff --git a/test/Unit/RuleSet/Php56Test.php b/test/Unit/RuleSet/Php56Test.php index 41837d70..fe444961 100644 --- a/test/Unit/RuleSet/Php56Test.php +++ b/test/Unit/RuleSet/Php56Test.php @@ -228,11 +228,6 @@ protected function expectedRules(): Rules 'noise_remaining_usages' => true, 'noise_remaining_usages_exclude' => [], ], - 'escape_implicit_backslashes' => [ - 'double_quoted' => true, - 'heredoc_syntax' => true, - 'single_quoted' => false, - ], 'explicit_indirect_variable' => true, 'explicit_string_variable' => true, 'final_class' => true, @@ -877,6 +872,11 @@ protected function expectedRules(): Rules 'static_lambda' => true, 'strict_comparison' => true, 'strict_param' => true, + 'string_implicit_backslashes' => [ + 'double_quoted' => 'escape', + 'heredoc' => 'escape', + 'single_quoted' => 'ignore', + ], 'string_length_to_empty' => true, 'string_line_ending' => true, 'switch_case_semicolon_to_colon' => true, diff --git a/test/Unit/RuleSet/Php70Test.php b/test/Unit/RuleSet/Php70Test.php index cf13fe31..ba3792ca 100644 --- a/test/Unit/RuleSet/Php70Test.php +++ b/test/Unit/RuleSet/Php70Test.php @@ -228,11 +228,6 @@ protected function expectedRules(): Rules 'noise_remaining_usages' => true, 'noise_remaining_usages_exclude' => [], ], - 'escape_implicit_backslashes' => [ - 'double_quoted' => true, - 'heredoc_syntax' => true, - 'single_quoted' => false, - ], 'explicit_indirect_variable' => true, 'explicit_string_variable' => true, 'final_class' => true, @@ -877,6 +872,11 @@ protected function expectedRules(): Rules 'static_lambda' => true, 'strict_comparison' => true, 'strict_param' => true, + 'string_implicit_backslashes' => [ + 'double_quoted' => 'escape', + 'heredoc' => 'escape', + 'single_quoted' => 'ignore', + ], 'string_length_to_empty' => true, 'string_line_ending' => true, 'switch_case_semicolon_to_colon' => true, diff --git a/test/Unit/RuleSet/Php71Test.php b/test/Unit/RuleSet/Php71Test.php index 919683bd..2f23e496 100644 --- a/test/Unit/RuleSet/Php71Test.php +++ b/test/Unit/RuleSet/Php71Test.php @@ -228,11 +228,6 @@ protected function expectedRules(): Rules 'noise_remaining_usages' => true, 'noise_remaining_usages_exclude' => [], ], - 'escape_implicit_backslashes' => [ - 'double_quoted' => true, - 'heredoc_syntax' => true, - 'single_quoted' => false, - ], 'explicit_indirect_variable' => true, 'explicit_string_variable' => true, 'final_class' => true, @@ -879,6 +874,11 @@ protected function expectedRules(): Rules 'static_lambda' => true, 'strict_comparison' => true, 'strict_param' => true, + 'string_implicit_backslashes' => [ + 'double_quoted' => 'escape', + 'heredoc' => 'escape', + 'single_quoted' => 'ignore', + ], 'string_length_to_empty' => true, 'string_line_ending' => true, 'switch_case_semicolon_to_colon' => true, diff --git a/test/Unit/RuleSet/Php72Test.php b/test/Unit/RuleSet/Php72Test.php index 4e138f7a..895955b3 100644 --- a/test/Unit/RuleSet/Php72Test.php +++ b/test/Unit/RuleSet/Php72Test.php @@ -228,11 +228,6 @@ protected function expectedRules(): Rules 'noise_remaining_usages' => true, 'noise_remaining_usages_exclude' => [], ], - 'escape_implicit_backslashes' => [ - 'double_quoted' => true, - 'heredoc_syntax' => true, - 'single_quoted' => false, - ], 'explicit_indirect_variable' => true, 'explicit_string_variable' => true, 'final_class' => true, @@ -879,6 +874,11 @@ protected function expectedRules(): Rules 'static_lambda' => true, 'strict_comparison' => true, 'strict_param' => true, + 'string_implicit_backslashes' => [ + 'double_quoted' => 'escape', + 'heredoc' => 'escape', + 'single_quoted' => 'ignore', + ], 'string_length_to_empty' => true, 'string_line_ending' => true, 'switch_case_semicolon_to_colon' => true, diff --git a/test/Unit/RuleSet/Php73Test.php b/test/Unit/RuleSet/Php73Test.php index aa4d4930..d67a16b8 100644 --- a/test/Unit/RuleSet/Php73Test.php +++ b/test/Unit/RuleSet/Php73Test.php @@ -228,11 +228,6 @@ protected function expectedRules(): Rules 'noise_remaining_usages' => true, 'noise_remaining_usages_exclude' => [], ], - 'escape_implicit_backslashes' => [ - 'double_quoted' => true, - 'heredoc_syntax' => true, - 'single_quoted' => false, - ], 'explicit_indirect_variable' => true, 'explicit_string_variable' => true, 'final_class' => true, @@ -879,6 +874,11 @@ protected function expectedRules(): Rules 'static_lambda' => true, 'strict_comparison' => true, 'strict_param' => true, + 'string_implicit_backslashes' => [ + 'double_quoted' => 'escape', + 'heredoc' => 'escape', + 'single_quoted' => 'ignore', + ], 'string_length_to_empty' => true, 'string_line_ending' => true, 'switch_case_semicolon_to_colon' => true, diff --git a/test/Unit/RuleSet/Php74Test.php b/test/Unit/RuleSet/Php74Test.php index 62e9bddd..7ed896c0 100644 --- a/test/Unit/RuleSet/Php74Test.php +++ b/test/Unit/RuleSet/Php74Test.php @@ -228,11 +228,6 @@ protected function expectedRules(): Rules 'noise_remaining_usages' => true, 'noise_remaining_usages_exclude' => [], ], - 'escape_implicit_backslashes' => [ - 'double_quoted' => true, - 'heredoc_syntax' => true, - 'single_quoted' => false, - ], 'explicit_indirect_variable' => true, 'explicit_string_variable' => true, 'final_class' => true, @@ -882,6 +877,11 @@ protected function expectedRules(): Rules 'static_lambda' => true, 'strict_comparison' => true, 'strict_param' => true, + 'string_implicit_backslashes' => [ + 'double_quoted' => 'escape', + 'heredoc' => 'escape', + 'single_quoted' => 'ignore', + ], 'string_length_to_empty' => true, 'string_line_ending' => true, 'switch_case_semicolon_to_colon' => true, diff --git a/test/Unit/RuleSet/Php80Test.php b/test/Unit/RuleSet/Php80Test.php index db7b7623..a6b91b8c 100644 --- a/test/Unit/RuleSet/Php80Test.php +++ b/test/Unit/RuleSet/Php80Test.php @@ -235,11 +235,6 @@ protected function expectedRules(): Rules 'noise_remaining_usages' => true, 'noise_remaining_usages_exclude' => [], ], - 'escape_implicit_backslashes' => [ - 'double_quoted' => true, - 'heredoc_syntax' => true, - 'single_quoted' => false, - ], 'explicit_indirect_variable' => true, 'explicit_string_variable' => true, 'final_class' => true, @@ -896,6 +891,11 @@ protected function expectedRules(): Rules 'static_lambda' => true, 'strict_comparison' => true, 'strict_param' => true, + 'string_implicit_backslashes' => [ + 'double_quoted' => 'escape', + 'heredoc' => 'escape', + 'single_quoted' => 'ignore', + ], 'string_length_to_empty' => true, 'string_line_ending' => true, 'switch_case_semicolon_to_colon' => true, diff --git a/test/Unit/RuleSet/Php81Test.php b/test/Unit/RuleSet/Php81Test.php index 002a9047..b9322148 100644 --- a/test/Unit/RuleSet/Php81Test.php +++ b/test/Unit/RuleSet/Php81Test.php @@ -236,11 +236,6 @@ protected function expectedRules(): Rules 'noise_remaining_usages' => true, 'noise_remaining_usages_exclude' => [], ], - 'escape_implicit_backslashes' => [ - 'double_quoted' => true, - 'heredoc_syntax' => true, - 'single_quoted' => false, - ], 'explicit_indirect_variable' => true, 'explicit_string_variable' => true, 'final_class' => true, @@ -899,6 +894,11 @@ protected function expectedRules(): Rules 'static_lambda' => true, 'strict_comparison' => true, 'strict_param' => true, + 'string_implicit_backslashes' => [ + 'double_quoted' => 'escape', + 'heredoc' => 'escape', + 'single_quoted' => 'ignore', + ], 'string_length_to_empty' => true, 'string_line_ending' => true, 'switch_case_semicolon_to_colon' => true, diff --git a/test/Unit/RuleSet/Php82Test.php b/test/Unit/RuleSet/Php82Test.php index a912fb52..5b147e30 100644 --- a/test/Unit/RuleSet/Php82Test.php +++ b/test/Unit/RuleSet/Php82Test.php @@ -236,11 +236,6 @@ protected function expectedRules(): Rules 'noise_remaining_usages' => true, 'noise_remaining_usages_exclude' => [], ], - 'escape_implicit_backslashes' => [ - 'double_quoted' => true, - 'heredoc_syntax' => true, - 'single_quoted' => false, - ], 'explicit_indirect_variable' => true, 'explicit_string_variable' => true, 'final_class' => true, @@ -899,6 +894,11 @@ protected function expectedRules(): Rules 'static_lambda' => true, 'strict_comparison' => true, 'strict_param' => true, + 'string_implicit_backslashes' => [ + 'double_quoted' => 'escape', + 'heredoc' => 'escape', + 'single_quoted' => 'ignore', + ], 'string_length_to_empty' => true, 'string_line_ending' => true, 'switch_case_semicolon_to_colon' => true, diff --git a/test/Unit/RuleSet/Php83Test.php b/test/Unit/RuleSet/Php83Test.php index 440cc558..b4458a96 100644 --- a/test/Unit/RuleSet/Php83Test.php +++ b/test/Unit/RuleSet/Php83Test.php @@ -236,11 +236,6 @@ protected function expectedRules(): Rules 'noise_remaining_usages' => true, 'noise_remaining_usages_exclude' => [], ], - 'escape_implicit_backslashes' => [ - 'double_quoted' => true, - 'heredoc_syntax' => true, - 'single_quoted' => false, - ], 'explicit_indirect_variable' => true, 'explicit_string_variable' => true, 'final_class' => true, @@ -899,6 +894,11 @@ protected function expectedRules(): Rules 'static_lambda' => true, 'strict_comparison' => true, 'strict_param' => true, + 'string_implicit_backslashes' => [ + 'double_quoted' => 'escape', + 'heredoc' => 'escape', + 'single_quoted' => 'ignore', + ], 'string_length_to_empty' => true, 'string_line_ending' => true, 'switch_case_semicolon_to_colon' => true, From 077581ae0d072fad1c786c65470acf54b8cefe5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=B6ller?= Date: Fri, 2 Feb 2024 10:04:50 +0100 Subject: [PATCH 3/3] Fix: Disable newly added fixer --- src/RuleSet/Php53.php | 1 + src/RuleSet/Php54.php | 1 + src/RuleSet/Php55.php | 1 + src/RuleSet/Php56.php | 1 + src/RuleSet/Php70.php | 1 + src/RuleSet/Php71.php | 1 + src/RuleSet/Php72.php | 1 + src/RuleSet/Php73.php | 1 + src/RuleSet/Php74.php | 1 + src/RuleSet/Php80.php | 1 + src/RuleSet/Php81.php | 1 + src/RuleSet/Php82.php | 1 + src/RuleSet/Php83.php | 1 + test/Unit/RuleSet/Php53Test.php | 1 + test/Unit/RuleSet/Php54Test.php | 1 + test/Unit/RuleSet/Php55Test.php | 1 + test/Unit/RuleSet/Php56Test.php | 1 + test/Unit/RuleSet/Php70Test.php | 1 + test/Unit/RuleSet/Php71Test.php | 1 + test/Unit/RuleSet/Php72Test.php | 1 + test/Unit/RuleSet/Php73Test.php | 1 + test/Unit/RuleSet/Php74Test.php | 1 + test/Unit/RuleSet/Php80Test.php | 1 + test/Unit/RuleSet/Php81Test.php | 1 + test/Unit/RuleSet/Php82Test.php | 1 + test/Unit/RuleSet/Php83Test.php | 1 + 26 files changed, 26 insertions(+) diff --git a/src/RuleSet/Php53.php b/src/RuleSet/Php53.php index ad63df8b..93c6dd5b 100644 --- a/src/RuleSet/Php53.php +++ b/src/RuleSet/Php53.php @@ -590,6 +590,7 @@ public static function create(): RuleSet 'method' => 'multi', 'property' => 'multi', ], + 'phpdoc_list_type' => false, 'phpdoc_no_access' => true, 'phpdoc_no_alias_tag' => [ 'replacements' => [ diff --git a/src/RuleSet/Php54.php b/src/RuleSet/Php54.php index 7311d669..a9135cfb 100644 --- a/src/RuleSet/Php54.php +++ b/src/RuleSet/Php54.php @@ -591,6 +591,7 @@ public static function create(): RuleSet 'method' => 'multi', 'property' => 'multi', ], + 'phpdoc_list_type' => false, 'phpdoc_no_access' => true, 'phpdoc_no_alias_tag' => [ 'replacements' => [ diff --git a/src/RuleSet/Php55.php b/src/RuleSet/Php55.php index f324720d..7e775149 100644 --- a/src/RuleSet/Php55.php +++ b/src/RuleSet/Php55.php @@ -597,6 +597,7 @@ public static function create(): RuleSet 'method' => 'multi', 'property' => 'multi', ], + 'phpdoc_list_type' => false, 'phpdoc_no_access' => true, 'phpdoc_no_alias_tag' => [ 'replacements' => [ diff --git a/src/RuleSet/Php56.php b/src/RuleSet/Php56.php index 3aeab793..c37ee970 100644 --- a/src/RuleSet/Php56.php +++ b/src/RuleSet/Php56.php @@ -597,6 +597,7 @@ public static function create(): RuleSet 'method' => 'multi', 'property' => 'multi', ], + 'phpdoc_list_type' => false, 'phpdoc_no_access' => true, 'phpdoc_no_alias_tag' => [ 'replacements' => [ diff --git a/src/RuleSet/Php70.php b/src/RuleSet/Php70.php index 72bd52e6..7bdfaa2d 100644 --- a/src/RuleSet/Php70.php +++ b/src/RuleSet/Php70.php @@ -595,6 +595,7 @@ public static function create(): RuleSet 'method' => 'multi', 'property' => 'multi', ], + 'phpdoc_list_type' => false, 'phpdoc_no_access' => true, 'phpdoc_no_alias_tag' => [ 'replacements' => [ diff --git a/src/RuleSet/Php71.php b/src/RuleSet/Php71.php index 307f1690..318caa40 100644 --- a/src/RuleSet/Php71.php +++ b/src/RuleSet/Php71.php @@ -597,6 +597,7 @@ public static function create(): RuleSet 'method' => 'multi', 'property' => 'multi', ], + 'phpdoc_list_type' => false, 'phpdoc_no_access' => true, 'phpdoc_no_alias_tag' => [ 'replacements' => [ diff --git a/src/RuleSet/Php72.php b/src/RuleSet/Php72.php index 8a4eb4be..04212489 100644 --- a/src/RuleSet/Php72.php +++ b/src/RuleSet/Php72.php @@ -597,6 +597,7 @@ public static function create(): RuleSet 'method' => 'multi', 'property' => 'multi', ], + 'phpdoc_list_type' => false, 'phpdoc_no_access' => true, 'phpdoc_no_alias_tag' => [ 'replacements' => [ diff --git a/src/RuleSet/Php73.php b/src/RuleSet/Php73.php index 318abf29..1c0f5a96 100644 --- a/src/RuleSet/Php73.php +++ b/src/RuleSet/Php73.php @@ -597,6 +597,7 @@ public static function create(): RuleSet 'method' => 'multi', 'property' => 'multi', ], + 'phpdoc_list_type' => false, 'phpdoc_no_access' => true, 'phpdoc_no_alias_tag' => [ 'replacements' => [ diff --git a/src/RuleSet/Php74.php b/src/RuleSet/Php74.php index 9295dab5..1fafecbf 100644 --- a/src/RuleSet/Php74.php +++ b/src/RuleSet/Php74.php @@ -597,6 +597,7 @@ public static function create(): RuleSet 'method' => 'multi', 'property' => 'multi', ], + 'phpdoc_list_type' => false, 'phpdoc_no_access' => true, 'phpdoc_no_alias_tag' => [ 'replacements' => [ diff --git a/src/RuleSet/Php80.php b/src/RuleSet/Php80.php index 78c5311a..a8bd14af 100644 --- a/src/RuleSet/Php80.php +++ b/src/RuleSet/Php80.php @@ -607,6 +607,7 @@ public static function create(): RuleSet 'method' => 'multi', 'property' => 'multi', ], + 'phpdoc_list_type' => false, 'phpdoc_no_access' => true, 'phpdoc_no_alias_tag' => [ 'replacements' => [ diff --git a/src/RuleSet/Php81.php b/src/RuleSet/Php81.php index 05db87f5..e5a0c284 100644 --- a/src/RuleSet/Php81.php +++ b/src/RuleSet/Php81.php @@ -609,6 +609,7 @@ public static function create(): RuleSet 'method' => 'multi', 'property' => 'multi', ], + 'phpdoc_list_type' => false, 'phpdoc_no_access' => true, 'phpdoc_no_alias_tag' => [ 'replacements' => [ diff --git a/src/RuleSet/Php82.php b/src/RuleSet/Php82.php index 0a710e2c..50fc958f 100644 --- a/src/RuleSet/Php82.php +++ b/src/RuleSet/Php82.php @@ -609,6 +609,7 @@ public static function create(): RuleSet 'method' => 'multi', 'property' => 'multi', ], + 'phpdoc_list_type' => false, 'phpdoc_no_access' => true, 'phpdoc_no_alias_tag' => [ 'replacements' => [ diff --git a/src/RuleSet/Php83.php b/src/RuleSet/Php83.php index 2524cecd..7950d1a7 100644 --- a/src/RuleSet/Php83.php +++ b/src/RuleSet/Php83.php @@ -609,6 +609,7 @@ public static function create(): RuleSet 'method' => 'multi', 'property' => 'multi', ], + 'phpdoc_list_type' => false, 'phpdoc_no_access' => true, 'phpdoc_no_alias_tag' => [ 'replacements' => [ diff --git a/test/Unit/RuleSet/Php53Test.php b/test/Unit/RuleSet/Php53Test.php index 3a6c0f76..0c90a29c 100644 --- a/test/Unit/RuleSet/Php53Test.php +++ b/test/Unit/RuleSet/Php53Test.php @@ -613,6 +613,7 @@ protected function expectedRules(): Rules 'method' => 'multi', 'property' => 'multi', ], + 'phpdoc_list_type' => false, 'phpdoc_no_access' => true, 'phpdoc_no_alias_tag' => [ 'replacements' => [ diff --git a/test/Unit/RuleSet/Php54Test.php b/test/Unit/RuleSet/Php54Test.php index ab724178..4da579f8 100644 --- a/test/Unit/RuleSet/Php54Test.php +++ b/test/Unit/RuleSet/Php54Test.php @@ -614,6 +614,7 @@ protected function expectedRules(): Rules 'method' => 'multi', 'property' => 'multi', ], + 'phpdoc_list_type' => false, 'phpdoc_no_access' => true, 'phpdoc_no_alias_tag' => [ 'replacements' => [ diff --git a/test/Unit/RuleSet/Php55Test.php b/test/Unit/RuleSet/Php55Test.php index 0d15cb06..4fe993c8 100644 --- a/test/Unit/RuleSet/Php55Test.php +++ b/test/Unit/RuleSet/Php55Test.php @@ -620,6 +620,7 @@ protected function expectedRules(): Rules 'method' => 'multi', 'property' => 'multi', ], + 'phpdoc_list_type' => false, 'phpdoc_no_access' => true, 'phpdoc_no_alias_tag' => [ 'replacements' => [ diff --git a/test/Unit/RuleSet/Php56Test.php b/test/Unit/RuleSet/Php56Test.php index fe444961..a056840d 100644 --- a/test/Unit/RuleSet/Php56Test.php +++ b/test/Unit/RuleSet/Php56Test.php @@ -620,6 +620,7 @@ protected function expectedRules(): Rules 'method' => 'multi', 'property' => 'multi', ], + 'phpdoc_list_type' => false, 'phpdoc_no_access' => true, 'phpdoc_no_alias_tag' => [ 'replacements' => [ diff --git a/test/Unit/RuleSet/Php70Test.php b/test/Unit/RuleSet/Php70Test.php index ba3792ca..ec8d7ce9 100644 --- a/test/Unit/RuleSet/Php70Test.php +++ b/test/Unit/RuleSet/Php70Test.php @@ -618,6 +618,7 @@ protected function expectedRules(): Rules 'method' => 'multi', 'property' => 'multi', ], + 'phpdoc_list_type' => false, 'phpdoc_no_access' => true, 'phpdoc_no_alias_tag' => [ 'replacements' => [ diff --git a/test/Unit/RuleSet/Php71Test.php b/test/Unit/RuleSet/Php71Test.php index 2f23e496..bbdcb9af 100644 --- a/test/Unit/RuleSet/Php71Test.php +++ b/test/Unit/RuleSet/Php71Test.php @@ -620,6 +620,7 @@ protected function expectedRules(): Rules 'method' => 'multi', 'property' => 'multi', ], + 'phpdoc_list_type' => false, 'phpdoc_no_access' => true, 'phpdoc_no_alias_tag' => [ 'replacements' => [ diff --git a/test/Unit/RuleSet/Php72Test.php b/test/Unit/RuleSet/Php72Test.php index 895955b3..829b5d39 100644 --- a/test/Unit/RuleSet/Php72Test.php +++ b/test/Unit/RuleSet/Php72Test.php @@ -620,6 +620,7 @@ protected function expectedRules(): Rules 'method' => 'multi', 'property' => 'multi', ], + 'phpdoc_list_type' => false, 'phpdoc_no_access' => true, 'phpdoc_no_alias_tag' => [ 'replacements' => [ diff --git a/test/Unit/RuleSet/Php73Test.php b/test/Unit/RuleSet/Php73Test.php index d67a16b8..9d9bd298 100644 --- a/test/Unit/RuleSet/Php73Test.php +++ b/test/Unit/RuleSet/Php73Test.php @@ -620,6 +620,7 @@ protected function expectedRules(): Rules 'method' => 'multi', 'property' => 'multi', ], + 'phpdoc_list_type' => false, 'phpdoc_no_access' => true, 'phpdoc_no_alias_tag' => [ 'replacements' => [ diff --git a/test/Unit/RuleSet/Php74Test.php b/test/Unit/RuleSet/Php74Test.php index 7ed896c0..70239311 100644 --- a/test/Unit/RuleSet/Php74Test.php +++ b/test/Unit/RuleSet/Php74Test.php @@ -620,6 +620,7 @@ protected function expectedRules(): Rules 'method' => 'multi', 'property' => 'multi', ], + 'phpdoc_list_type' => false, 'phpdoc_no_access' => true, 'phpdoc_no_alias_tag' => [ 'replacements' => [ diff --git a/test/Unit/RuleSet/Php80Test.php b/test/Unit/RuleSet/Php80Test.php index a6b91b8c..3b84f983 100644 --- a/test/Unit/RuleSet/Php80Test.php +++ b/test/Unit/RuleSet/Php80Test.php @@ -630,6 +630,7 @@ protected function expectedRules(): Rules 'method' => 'multi', 'property' => 'multi', ], + 'phpdoc_list_type' => false, 'phpdoc_no_access' => true, 'phpdoc_no_alias_tag' => [ 'replacements' => [ diff --git a/test/Unit/RuleSet/Php81Test.php b/test/Unit/RuleSet/Php81Test.php index b9322148..686ec96c 100644 --- a/test/Unit/RuleSet/Php81Test.php +++ b/test/Unit/RuleSet/Php81Test.php @@ -632,6 +632,7 @@ protected function expectedRules(): Rules 'method' => 'multi', 'property' => 'multi', ], + 'phpdoc_list_type' => false, 'phpdoc_no_access' => true, 'phpdoc_no_alias_tag' => [ 'replacements' => [ diff --git a/test/Unit/RuleSet/Php82Test.php b/test/Unit/RuleSet/Php82Test.php index 5b147e30..3789a079 100644 --- a/test/Unit/RuleSet/Php82Test.php +++ b/test/Unit/RuleSet/Php82Test.php @@ -632,6 +632,7 @@ protected function expectedRules(): Rules 'method' => 'multi', 'property' => 'multi', ], + 'phpdoc_list_type' => false, 'phpdoc_no_access' => true, 'phpdoc_no_alias_tag' => [ 'replacements' => [ diff --git a/test/Unit/RuleSet/Php83Test.php b/test/Unit/RuleSet/Php83Test.php index b4458a96..cdf7bceb 100644 --- a/test/Unit/RuleSet/Php83Test.php +++ b/test/Unit/RuleSet/Php83Test.php @@ -632,6 +632,7 @@ protected function expectedRules(): Rules 'method' => 'multi', 'property' => 'multi', ], + 'phpdoc_list_type' => false, 'phpdoc_no_access' => true, 'phpdoc_no_alias_tag' => [ 'replacements' => [