Skip to content

Commit

Permalink
fix typo and add path to phpcs/phpmd/phpcs
Browse files Browse the repository at this point in the history
  • Loading branch information
joernott committed Apr 23, 2024
1 parent 3d2a8ec commit eec67d6
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/oxid-esales/scripts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ runscript: &runscript
"shop:~/Unit.sh",
"shop:~/Integration.sh",
"shop:~/Codeception.sh",
"setup:~ShopSetup.sh",
"setup:~/ShopSetup.sh",
"deprecated:~/Deprecated.sh"
]
shop: &shop
Expand Down
4 changes: 2 additions & 2 deletions tests/Scripts/PhpCsReport.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#!/bin/bash
phpcs \
vendor/bin/phpcs \
--standard=tests/phpcs.xml \
--report=json \
--report-file=tests/Reports/phpcs.report.json \
||true
# As the first one does not produce legible output, this gives us something to see in the log
phpcs \
vendor/bin/phpcs \
--standard=tests/phpcs.xml \
--report=full
2 changes: 1 addition & 1 deletion tests/Scripts/PhpMdReport.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
phpmd \
vendor/bin/phpmd \
source json tests/PhpMd/standard.xml \
--ignore-errors-on-exit \
--ignore-violations-on-exit \
Expand Down
2 changes: 1 addition & 1 deletion tests/Scripts/PhpStanReport.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
phpstan \
vendor/bin/phpstan \
-ctests/PhpStan/phpstan.neon \
analyse source/ \
--error-format=json \
Expand Down

0 comments on commit eec67d6

Please sign in to comment.