collection-crud/justfile

20 lines
491 B
Makefile

# Lists the available actions
default:
@just --list
# Runs rector, showing what changes will be make
rector-dry-run:
vendor/bin/rector process --config=tools/rector.php --dry-run src tools
# Runs rector, and updates the files
rector:
vendor/bin/rector process --config=tools/rector.php src tools
# Check code formatting
check-fmt:
tools/php-cs-fixer/vendor/bin/php-cs-fixer fix --dry-run --verbose
# Fix code formatting
fmt:
tools/php-cs-fixer/vendor/bin/php-cs-fixer fix --verbose