Skip to content

Commit

Permalink
add baseline
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronHolbrook committed Oct 29, 2023
1 parent 0571d87 commit 324aa79
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ help: ## This help message
@grep -E '^[-a-zA-Z0-9_\.\/]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf " \033[32m%-15s\033[0m %s\n", $$1, $$2}'

# Aliases
precommit: cs-fixer lint phpstan ## Run style fixing and linting commands
precommit: cs-fixer lint phpstan phpmd ## Run style fixing and linting commands
scan: cs-fixer lint phpmd phpstan ## Run all scans including mess detection and static analysis
baseline: phpstan-baseline phpmd-baseline ## Generate baselines for mess detection and static analysis
build: versions clean vendor node_modules precommit ## Recompile all assets from scratch
Expand Down
2 changes: 2 additions & 0 deletions build/phpmd/phpmd.baseline.xml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
<?xml version="1.0"?>
<phpmd-baseline>
<violation rule="PHPMD\Rule\UnusedFormalParameter" file="app/Console/Kernel.php"/>
<violation rule="PHPMD\Rule\UnusedFormalParameter" file="app/Exceptions/Handler.php"/>
</phpmd-baseline>

0 comments on commit 324aa79

Please sign in to comment.