From e0c9b023ebda28811128f80520d708315cb73bd2 Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Mon, 13 Nov 2023 16:16:57 +0100 Subject: [PATCH] Need dev autoloader --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index ee461fb07..73289a3c5 100644 --- a/package.json +++ b/package.json @@ -22,9 +22,9 @@ "phpstan": "wp-env run tests-cli --env-cwd=wp-content/plugins/$(basename $(pwd))/ composer run-script phpstan", "lint-php": "wp-env run tests-cli --env-cwd=wp-content/plugins/$(basename $(pwd))/ composer run-script lint", "format-php": "wp-env run tests-cli --env-cwd=wp-content/plugins/$(basename $(pwd))/ composer run-script format", - "pretest-php": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd)) composer install --no-dev --no-interaction; wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd)) composer --working-dir=build-cs update --no-interaction", + "pretest-php": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd)) composer install --no-interaction; wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd)) composer --working-dir=build-cs update --no-interaction", "test-php": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd)) build-cs/vendor/bin/phpunit -c phpunit.xml.dist --verbose", - "pretest-php-coverage": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd)) composer install --no-dev --no-interaction; wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd)) composer --working-dir=build-cs update --no-interaction", + "pretest-php-coverage": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd)) composer install --no-interaction; wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd)) composer --working-dir=build-cs update --no-interaction", "test-php-coverage": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd)) build-cs/vendor/bin/phpunit -c phpunit.xml.dist --verbose --coverage-clover build/logs/php-coverage.xml", "test-php-multisite": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd)) build-cs/vendor/bin/phpunit -c tests/phpunit/multisite.xml --verbose", "test-php-multisite-coverage": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/$(basename $(pwd)) build-cs/vendor/bin/phpunit -c tests/phpunit/multisite.xml --verbose --coverage-clover build/logs/php-coverage-multisite.xml"