From 1ab17da949c9b367d04fa50638fea7321fc1f091 Mon Sep 17 00:00:00 2001 From: Anton Fedurtsya Date: Fri, 10 Nov 2023 13:25:37 +0200 Subject: [PATCH] Fix reports path Signed-off-by: Anton Fedurtsya --- composer.json | 6 +++--- tests/reports/.gitkeep | 0 2 files changed, 3 insertions(+), 3 deletions(-) create mode 100644 tests/reports/.gitkeep diff --git a/composer.json b/composer.json index 2eae0e0..39e7a4d 100644 --- a/composer.json +++ b/composer.json @@ -40,10 +40,10 @@ "phpcbf": "phpcbf --standard=tests/phpcs.xml", "phpstan": "phpstan -ctests/PhpStan/phpstan.neon analyse src/", - "phpstan-report": "phpstan -ctests/PhpStan/phpstan.neon analyse src/ --error-format=json > phpstan.report.json", + "phpstan-report": "phpstan -ctests/PhpStan/phpstan.neon analyse src/ --error-format=json > tests/reports/phpstan.report.json", "phpmd": "phpmd src text cleancode,codesize,design,unusedcode", - "phpmd-report": "phpmd src json cleancode,codesize,design,naming,unusedcode --reportfile phpmd.report.json", + "phpmd-report": "phpmd src json cleancode,codesize,design,naming,unusedcode --reportfile tests/reports/phpmd.report.json", "deptrac": "deptrac analyze", @@ -55,7 +55,7 @@ ], "phpunit": "vendor/bin/phpunit --bootstrap=/var/www/source/bootstrap.php --config=tests/", - "phpunit-coverage": "XDEBUG_MODE=coverage vendor/bin/phpunit --coverage-text --bootstrap=/var/www/source/bootstrap.php --config=tests/ --coverage-html=tests/result/coverage", + "phpunit-coverage": "XDEBUG_MODE=coverage vendor/bin/phpunit --coverage-text --bootstrap=/var/www/source/bootstrap.php --config=tests/ --coverage-html=tests/reports/coverage", "codeception": "MODULE_IDS=oe_graphql_base,oe_graphql_configuration_access /var/www/vendor/bin/codecept run acceptance -c /var/www/vendor/oxid-esales/graphql-configuration-access/tests/codeception.yml --no-redirect" }, diff --git a/tests/reports/.gitkeep b/tests/reports/.gitkeep new file mode 100644 index 0000000..e69de29