diff --git a/Makefile b/Makefile index 29d76ed..d349fbc 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,6 @@ SHELL = sh .DEFAULT_GOAL = help - ## —— 🎶 The MicroSymfony Makefile 🎶 —————————————————————————————————————————— help: ## Outputs this help screen @grep -E '(^[a-zA-Z0-9_-]+:.*?##.*$$)|(^##)' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}{printf "\033[32m%-30s\033[0m %s\n", $$1, $$2}' | sed -e 's/\[32m##/[33m/' diff --git a/castor.php b/castor.php index d6f7676..842e9e5 100644 --- a/castor.php +++ b/castor.php @@ -116,7 +116,7 @@ function coverage(): int return $ec; } - return success(exit_code(sprintf('php bin/coverage-checker.php var/coverage/clover.xml %s', COVERAGE_THRESHOLD), quiet: false)); + return success(exit_code(sprintf('php bin/coverage-checker.php var/coverage/clover.xml %d', COVERAGE_THRESHOLD), quiet: false)); } #[AsTask(namespace: 'test', description: 'Open the PHPUnit code coverage report (var/coverage/index.html)', aliases: ['cov-report'])]