Skip to content

Commit ed1dd27

Browse files
authored
Merge pull request #23 from ucloud/feat/dependency-update
fix include path
2 parents ec1023c + 61189ab commit ed1dd27

File tree

7 files changed

+4
-5
lines changed

7 files changed

+4
-5
lines changed

.github/workflows/php.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
run: composer install --prefer-dist --no-progress --no-suggest
1818

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

2222
- name: Run test suite
2323
run: vendor/bin/phpunit --coverage-clover=coverage.xml

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@ install:
22
composer install
33

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

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

1212
fmt:
1313
php vendor/bin/phpcbf

composer.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,5 @@
4141
},
4242
"scripts": {
4343
"test": "vendor/bin/phpunit"
44-
},
45-
"include-path": ["lib/"]
44+
}
4645
}

0 commit comments

Comments
 (0)