Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
COMPOSE_DEV = docker compose -f docker-compose.yml -f docker-compose.dev.override.yml

.PHONY: help dev build down test lint lint-fix check logs test-watch lint-watch findingaid-sh web-sh sample
.PHONY: help dev build down test lint lint-fix rector rector-fix check logs test-watch lint-watch findingaid-sh web-sh sample

help: ## Show this help
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-15s\033[0m %s\n", $$1, $$2}'
Expand All @@ -23,6 +23,12 @@ lint: ## Run PHP_CodeSniffer (PSR-12)
lint-fix: ## Auto-fix PHP_CodeSniffer violations (PSR-12)
$(COMPOSE_DEV) exec findingaid /opt/findingaid/vendor/bin/phpcbf --exclude=Generic.Files.LineLength --standard=PSR12 /opt/findingaid/tests /opt/findingaid/app

rector: ## Preview Rector changes (dry run; runs on host; requires composer installed)
vendor/bin/rector process --dry-run

rector-fix: ## Auto-fix Rector Violations (runs on host; requires composer installed)
vendor/bin/rector process

check: ## Run linter and tests reports
make lint
make test
Expand Down
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"require": {
"php": "^8.3",
"mustache/mustache": "~2.5"
},
"require-dev": {
Expand Down
Loading
Loading