From 7753818ac6fba8027d40e78737fa7afa311b20ce Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 17 Feb 2026 14:10:36 +0000 Subject: [PATCH 1/3] Initial plan From 89843e5a5fe6f6478cf311711c7f641846075253 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 17 Feb 2026 14:13:43 +0000 Subject: [PATCH 2/3] Add Castor task runner and castor.php file Co-authored-by: joelwurtz <90466+joelwurtz@users.noreply.github.com> --- castor.php | 29 +++++++++++++++++++++++++++++ composer.json | 1 + 2 files changed, 30 insertions(+) create mode 100644 castor.php diff --git a/castor.php b/castor.php new file mode 100644 index 0000000..e2e1859 --- /dev/null +++ b/castor.php @@ -0,0 +1,29 @@ + Date: Tue, 17 Feb 2026 14:14:06 +0000 Subject: [PATCH 3/3] Update documentation to use Castor and remove Makefile Co-authored-by: joelwurtz <90466+joelwurtz@users.noreply.github.com> --- CONTRIBUTING.md | 4 ++-- Makefile | 18 ------------------ 2 files changed, 2 insertions(+), 20 deletions(-) delete mode 100644 Makefile 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