Skip to content

Commit

Permalink
update lint
Browse files Browse the repository at this point in the history
  • Loading branch information
wangrzneu committed Oct 11, 2024
1 parent 2e18253 commit 61189ab
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
run: composer install --prefer-dist --no-progress --no-suggest

- name: Run code sniffer
run: vendor/bin/phpcs
run: vendor/bin/phpcs --ignore=./src/Core/Logger/compatibility/*.php

- name: Run test suite
run: vendor/bin/phpunit --coverage-clover=coverage.xml
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ install:
composer install

lint:
php vendor/bin/phpcs -n
php vendor/bin/phpcs --ignore=./src/Core/Logger/compatibility/*.php -n

compatible:
php vendor/bin/phpcs --config-set installed_paths vendor/phpcompatibility/php-compatibility
php vendor/bin/phpcs --config-set testVersion 5.6
php vendor/bin/phpcs -p --standard=PHPCompatibility src
php vendor/bin/phpcs -p --standard=PHPCompatibility --ignore=./src/Core/Logger/compatibility/*.php src

fmt:
php vendor/bin/phpcbf
Expand Down

0 comments on commit 61189ab

Please sign in to comment.