File tree Expand file tree Collapse file tree 6 files changed +8
-4
lines changed Expand file tree Collapse file tree 6 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 31
31
- name : Lint
32
32
run : |
33
33
./vendor/bin/phpcs --standard=PSR12 src/ tests/
34
- ./vendor/bin/phpmd src/ text src/stubs/phpmd.xml --exclude vendor
34
+ ./vendor/bin/phpmd . text src/stubs/phpmd.xml
35
35
- name : codecov
36
36
uses : codecov/codecov-action@v2
37
37
with :
Original file line number Diff line number Diff line change 31
31
- name : Lint
32
32
run : |
33
33
./vendor/bin/phpcs --standard=PSR12 src/ tests/
34
- ./vendor/bin/phpmd src/ text src/stubs/phpmd.xml --exclude vendor
34
+ ./vendor/bin/phpmd . text src/stubs/phpmd.xml
35
35
- name : codecov
36
36
uses : codecov/codecov-action@v2
37
37
with :
Original file line number Diff line number Diff line change 31
31
- name : Lint
32
32
run : |
33
33
./vendor/bin/phpcs --standard=PSR12 src/ tests/
34
- ./vendor/bin/phpmd src/ text src/stubs/phpmd.xml --exclude vendor
34
+ ./vendor/bin/phpmd . text src/stubs/phpmd.xml
35
35
- name : codecov
36
36
uses : codecov/codecov-action@v2
37
37
with :
Original file line number Diff line number Diff line change 3
3
FILES=$( git diff --diff-filter=d --name-only HEAD | { grep ' .php$' || true ; })
4
4
for file in $FILES ; do
5
5
./vendor/bin/phpcs --extensions=php --standard=phpcs.xml " $file "
6
- ./vendor/bin/phpmd " $file " text phpmd.xml --exclude vendor
6
+ ./vendor/bin/phpmd " $file " text phpmd.xml
7
7
done
8
8
# XDEBUG_MODE=coverage ./vendor/bin/phpunit --coverage-text --coverage-filter=app/ tests/
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
2
<pmd >
3
+ <exclude-pattern >/vendor/</exclude-pattern >
3
4
<rule ref =" rulesets/cleancode.xml" >
4
5
<exclude name =" StaticAccess" />
5
6
</rule >
Original file line number Diff line number Diff line change 7
7
8
8
class TestCase extends OrchestraTestCase
9
9
{
10
+ /**
11
+ * @SuppressWarnings(PHPMD.UnusedFormalParameter)
12
+ */
10
13
protected function getPackageProviders ($ app )
11
14
{
12
15
return [
You can’t perform that action at this time.
0 commit comments