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 3131 - name : Lint
3232 run : |
3333 ./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
3535 - name : codecov
3636 uses : codecov/codecov-action@v2
3737 with :
Original file line number Diff line number Diff line change 3131 - name : Lint
3232 run : |
3333 ./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
3535 - name : codecov
3636 uses : codecov/codecov-action@v2
3737 with :
Original file line number Diff line number Diff line change 3131 - name : Lint
3232 run : |
3333 ./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
3535 - name : codecov
3636 uses : codecov/codecov-action@v2
3737 with :
Original file line number Diff line number Diff line change 33FILES=$( git diff --diff-filter=d --name-only HEAD | { grep ' .php$' || true ; })
44for file in $FILES ; do
55 ./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
77done
88# XDEBUG_MODE=coverage ./vendor/bin/phpunit --coverage-text --coverage-filter=app/ tests/
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" UTF-8" ?>
22<pmd >
3+ <exclude-pattern >/vendor/</exclude-pattern >
34 <rule ref =" rulesets/cleancode.xml" >
45 <exclude name =" StaticAccess" />
56 </rule >
Original file line number Diff line number Diff line change 77
88class TestCase extends OrchestraTestCase
99{
10+ /**
11+ * @SuppressWarnings(PHPMD.UnusedFormalParameter)
12+ */
1013 protected function getPackageProviders ($ app )
1114 {
1215 return [
You can’t perform that action at this time.
0 commit comments