mirror of
https://github.com/Cacti/cacti.git
synced 2026-10-23 03:27:02 +09:00
* 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>
24 lines
591 B
YAML
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
|