Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix include path #23

Merged
merged 2 commits into from
Oct 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
3 changes: 1 addition & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,5 @@
},
"scripts": {
"test": "vendor/bin/phpunit"
},
"include-path": ["lib/"]
}
}
Loading