Skip to content

Commit

Permalink
Merge pull request #23 from ucloud/feat/dependency-update
Browse files Browse the repository at this point in the history
fix include path
  • Loading branch information
wangrzneu authored Oct 11, 2024
2 parents ec1023c + 61189ab commit ed1dd27
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 5 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
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/"]
}
}
File renamed without changes.
File renamed without changes.

0 comments on commit ed1dd27

Please sign in to comment.