Skip to content

Commit 6bf8f97

Browse files
authored
Merge pull request #11 from Hyunk3l/codex/pr-03-phpcs4
Upgrade PHP_CodeSniffer to v4
2 parents dd8c793 + b4a641f commit 6bf8f97

3 files changed

Lines changed: 85 additions & 85 deletions

File tree

.github/workflows/php.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
uses: shivammathur/setup-php@v2
2121
with:
2222
php-version: ${{ matrix.php-version }}
23-
coverage: none
23+
coverage: xdebug
2424
tools: composer:v2
2525

2626
- name: Validate composer.json and composer.lock
@@ -38,4 +38,6 @@ jobs:
3838
run: ./composer.phar install --prefer-dist --no-progress
3939

4040
- name: Run test suite
41+
env:
42+
XDEBUG_MODE: coverage
4143
run: ./composer.phar test

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
},
2424
"require-dev": {
2525
"phpunit/phpunit": "^11",
26-
"squizlabs/php_codesniffer": "^3"
26+
"squizlabs/php_codesniffer": "^4.0"
2727
},
2828
"scripts": {
2929
"test": "vendor/bin/phpunit test/",

composer.lock

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

0 commit comments

Comments
 (0)