From 0bda833a709f38ae008de895468fbbe8aab2f59d Mon Sep 17 00:00:00 2001 From: Shish Date: Thu, 10 Oct 2024 18:27:15 +0100 Subject: [PATCH] use composer commands in shell history --- .devcontainer/bash_history | 10 +++++----- composer.json | 3 ++- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.devcontainer/bash_history b/.devcontainer/bash_history index 461833e8f..772c9ed81 100644 --- a/.devcontainer/bash_history +++ b/.devcontainer/bash_history @@ -1,5 +1,5 @@ -./vendor/bin/php-cs-fixer fix && ./vendor/bin/phpunit --config tests/phpunit.xml && ./vendor/bin/phpstan analyse --memory-limit 1G -c tests/phpstan.neon -./vendor/bin/php-cs-fixer fix -./vendor/bin/phpunit --config tests/phpunit.xml -./vendor/bin/phpstan analyse --memory-limit 1G -c tests/phpstan.neon -php ./.docker/run.php +composer check +composer format +composer test +composer stan +composer docker-run diff --git a/composer.json b/composer.json index 07bcf0edd..e5616e82b 100644 --- a/composer.json +++ b/composer.json @@ -84,6 +84,7 @@ "format": "php-cs-fixer fix", "stan-ci": "phpstan analyse --memory-limit 1G -c tests/phpstan.neon --error-format=github", "stan": "phpstan analyse --memory-limit 1G -c tests/phpstan.neon --error-format=raw", - "test": "phpunit --config tests/phpunit.xml" + "test": "phpunit --config tests/phpunit.xml", + "docker-run": "./.docker/run.php" } }