From d05ef9cd9142e8c252130b320c6f12feca3d832a Mon Sep 17 00:00:00 2001 From: LuisSantosEncinas Date: Thu, 12 Dec 2024 12:45:07 +0100 Subject: [PATCH 1/3] DQA-10703: Increase default value to 6 for the PHPStan tests. --- phpstan.neon | 2 +- tests/fixtures/commands/component-check.yml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/phpstan.neon b/phpstan.neon index 811016daf..65d163ed1 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -1,5 +1,5 @@ parameters: - level: 5 + level: 6 paths: - src excludePaths: diff --git a/tests/fixtures/commands/component-check.yml b/tests/fixtures/commands/component-check.yml index b8dab93d2..8919ca78e 100644 --- a/tests/fixtures/commands/component-check.yml +++ b/tests/fixtures/commands/component-check.yml @@ -643,7 +643,7 @@ - file: phpstan.neon content: | parameters: - level: 5 + level: 6 includes: - vendor/phpstan/phpstan-deprecation-rules/rules.neon expectations: @@ -660,7 +660,7 @@ - file: phpstan.neon content: | parameters: - level: 5 + level: 6 expectations: - string_contains: When using phpstan/extension-installer you should not manually include @@ -677,7 +677,7 @@ - file: phpstan.neon content: | parameters: - level: 5 + level: 6 expectations: - not_string_contains: When using phpstan/extension-installer you should not manually include From 3d6f2a57b760def1b6d6646d99e03b4b96673030 Mon Sep 17 00:00:00 2001 From: LuisSantosEncinas Date: Fri, 13 Dec 2024 08:49:30 +0100 Subject: [PATCH 2/3] Revert "DQA-10703: Increase default value to 6 for the PHPStan tests." This reverts commit d05ef9cd9142e8c252130b320c6f12feca3d832a. --- phpstan.neon | 2 +- tests/fixtures/commands/component-check.yml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/phpstan.neon b/phpstan.neon index 65d163ed1..811016daf 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -1,5 +1,5 @@ parameters: - level: 6 + level: 5 paths: - src excludePaths: diff --git a/tests/fixtures/commands/component-check.yml b/tests/fixtures/commands/component-check.yml index 8919ca78e..b8dab93d2 100644 --- a/tests/fixtures/commands/component-check.yml +++ b/tests/fixtures/commands/component-check.yml @@ -643,7 +643,7 @@ - file: phpstan.neon content: | parameters: - level: 6 + level: 5 includes: - vendor/phpstan/phpstan-deprecation-rules/rules.neon expectations: @@ -660,7 +660,7 @@ - file: phpstan.neon content: | parameters: - level: 6 + level: 5 expectations: - string_contains: When using phpstan/extension-installer you should not manually include @@ -677,7 +677,7 @@ - file: phpstan.neon content: | parameters: - level: 6 + level: 5 expectations: - not_string_contains: When using phpstan/extension-installer you should not manually include From b3ec662a2251e336b7a14e5c28e9b3936ef773b1 Mon Sep 17 00:00:00 2001 From: LuisSantosEncinas Date: Fri, 13 Dec 2024 09:07:22 +0100 Subject: [PATCH 3/3] DQA-10703: Increase default value for PHPStan to level 6. --- config/runner/toolkit-test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/runner/toolkit-test.yml b/config/runner/toolkit-test.yml index 29a65842e..a0e20ee48 100644 --- a/config/runner/toolkit-test.yml +++ b/config/runner/toolkit-test.yml @@ -78,7 +78,7 @@ toolkit: - src phpstan: config: phpstan.neon - level: '1' + level: '6' includes: - vendor/mglaman/phpstan-drupal/extension.neon - vendor/mglaman/phpstan-drupal/rules.neon