diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index f31da8c..f084fa3 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -48,7 +48,7 @@ changes, improvements or alternatives may be given). Run the tests using the following script: ```shell -make test +vendor/bin/castor test ``` ## Manual testing @@ -70,7 +70,7 @@ Use [PHP CS fixer](https://cs.symfony.com/) to make your code compliant with GifExceptionBundle's coding standards: ```shell -make cs +vendor/bin/castor cs ``` ## Keeping your fork up-to-date diff --git a/Makefile b/Makefile deleted file mode 100644 index 85e0cbb..0000000 --- a/Makefile +++ /dev/null @@ -1,18 +0,0 @@ -.PHONY: cs cs_dry_run test - -.DEFAULT_GOAL := help - -help: - @grep -h -e ' ## ' $(MAKEFILE_LIST) | fgrep -v fgrep | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-12s\033[0m %s\n", $$1, $$2}' - -cs: ## Fix PHP CS - vendor/bin/php-cs-fixer fix --verbose - -cs_dry_run: ## Test if PHP CS is correct - vendor/bin/php-cs-fixer fix --verbose --dry-run - -test: ## Run the test suite - vendor/bin/simple-phpunit - -phpstan: ## Run static analysis - vendor/bin/phpstan analyse -c phpstan.neon diff --git a/castor.php b/castor.php new file mode 100644 index 0000000..e2e1859 --- /dev/null +++ b/castor.php @@ -0,0 +1,29 @@ +