Files
cacti/.pre-commit-config.yaml
TheWitnessandCopilot d8d5a944f0 Fixing pre-commit hooks (#6891)
* Fixing pre-commit hooks

* Update composer.json

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-27 14:01:23 -04:00

24 lines
591 B
YAML

repos:
- repo: local
hooks:
- id: lintcheck
name: PHP Lint Checking
entry: sh tests/tools/pre-commit-check.sh lint
language: system
types: [php]
always_run: true
- id: phpcsfixer
name: PHP CS Fixer Validation
entry: sh tests/tools/pre-commit-check.sh phpcsfixer
language: system
types: [php]
always_run: true
- id: phpstan
name: PHPStan Validation
entry: sh tests/tools/pre-commit-check.sh phpstan
language: system
types: [php]
always_run: true