Skip to content

Commit 4cab209

Browse files
committed
qa: update to laminas-coding-standard 2.3
- Allows usage with PHP 8.1 - Exclude the rule requiring `declare(strict_types=1)` (adding strict types in a minor version can introduce subtle BC breaks) Signed-off-by: Matthew Weier O'Phinney <[email protected]>
1 parent 995656c commit 4cab209

File tree

3 files changed

+43
-45
lines changed

3 files changed

+43
-45
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"zfcampus/zf-apigility-documentation": "*"
3131
},
3232
"require-dev": {
33-
"laminas/laminas-coding-standard": "~2.2.0",
33+
"laminas/laminas-coding-standard": "~2.3.0",
3434
"laminas/laminas-stdlib": "^3.6.4",
3535
"phpunit/phpunit": "^9.5.10",
3636
"vimeo/psalm": "^4.7",

composer.lock

Lines changed: 39 additions & 43 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

phpcs.xml.dist

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,7 @@
1919
<file>view</file>
2020

2121
<!-- Include all rules from Laminas Coding Standard -->
22-
<rule ref="LaminasCodingStandard"/>
22+
<rule ref="LaminasCodingStandard">
23+
<exclude name="SlevomatCodingStandard.TypeHints.DeclareStrictTypes.DeclareStrictTypesMissing"/>
24+
</rule>
2325
</ruleset>

0 commit comments

Comments
 (0)