.pre-commit-config.yaml 471 B

1234567891011121314151617
  1. # See https://pre-commit.com for more information
  2. # See https://pre-commit.com/hooks.html for more hooks
  3. repos:
  4. - repo: https://github.com/pre-commit/pre-commit-hooks
  5. rev: v4.3.0
  6. hooks:
  7. - id: end-of-file-fixer
  8. - id: check-yaml
  9. - id: check-added-large-files
  10. - repo: https://github.com/nextcloud/pre-commit-php.git
  11. rev: 1.5.1
  12. hooks:
  13. - id: php-lint
  14. - id: php-cs-fixer
  15. files: \.(php)$
  16. exclude: ^(config|data|composer)
  17. args: []