Skip to content

Commit a734bf0

Browse files
authoredSep 22, 2023
Enhancement: Declare strict types in test/ (#780)
* Enhancement: Require code in test/ to declare strict types * Fix: Run 'make cs' * Fix: Cast values to expected types
1 parent 550cd89 commit a734bf0

File tree

172 files changed

+590
-224
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

172 files changed

+590
-224
lines changed
 

‎.gitattributes

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
/.gitattributes export-ignore
66
/.gitignore export-ignore
77
/.php-cs-fixer.dist.php export-ignore
8+
/.php-cs-fixer.rules.php export-ignore
9+
/.php-cs-fixer.test.php export-ignore
810
/.yamllint.yaml export-ignore
911
/codecov.yml export-ignore
1012
/Makefile export-ignore

‎.github/workflows/coding-standards.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,10 @@ jobs:
6060
run: |
6161
vendor/bin/php-cs-fixer fix --ansi --diff --dry-run --verbose
6262
63+
- name: "Run php-cs-fixer for test code"
64+
run: |
65+
vendor/bin/php-cs-fixer fix --ansi --config=.php-cs-fixer.test.php --diff --dry-run --verbose
66+
6367
yamllint:
6468
name: "yamllint"
6569

0 commit comments

Comments
 (0)
Please sign in to comment.