We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a22c981 commit 134a6e9Copy full SHA for 134a6e9
1 file changed
.github/workflows/continuous_integration.yml
@@ -75,7 +75,10 @@ jobs:
75
run: "composer phpstan"
76
77
- name: "Run coding standard checks with squizlabs/php_codesniffer"
78
- run: "composer cs-check"
+ run: |
79
+ php_version=$(php -r 'echo PHP_MAJOR_VERSION * 10000 + PHP_MINOR_VERSION * 100 + PHP_RELEASE_VERSION;')
80
+ echo "Detected PHP version: $php_version"
81
+ phpcs --runtime-set php_version $php_version
82
83
- name: "Archive code coverage results"
84
uses: actions/upload-artifact@v4
0 commit comments