We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Config:
# .pre-commit-config.yaml repos: - repo: meta hooks: - id: check-hooks-apply - id: check-useless-excludes - repo: https://github.com/digitalpulp/pre-commit-php.git rev: 1.4.0 hooks: - id: php-lint-all
Output:
% pre-commit run --verbose --all-files Check hooks apply to the repository......................................Passed - hook id: check-hooks-apply - duration: 0.44s Check for useless excludes...............................................Passed - hook id: check-useless-excludes - duration: 0.41s PHP Syntax Check (Comprehensive).........................................Failed - hook id: php-lint-all - duration: 7.74s - exit code: 1 Begin PHP Linter Begin PHP Linter Begin PHP Linter Begin PHP Linter Begin PHP Linter ──────────────────────────────────────────────────────────────────────────────── 2 PHP Parse error(s) were found! ──────────────────────────────────────────────────────────────────────────────── Begin PHP Linter Begin PHP Linter ──────────────────────────────────────────────────────────────────────────────── 1 PHP Parse error(s) were found! ──────────────────────────────────────────────────────────────────────────────── Begin PHP Linter
It seems like it would be much more useful if the source of the errors were listed.
The text was updated successfully, but these errors were encountered:
Print offending files with php-lint
php-lint
7443c13
Fixes digitalpulp#18. Includes some minor `README.md` cleanup.
a7940e0
Fixes digitalpulp#18 and digitalpulp#22. Includes some minor `README.md` cleanup.
a71d9dd
Successfully merging a pull request may close this issue.
Config:
Output:
It seems like it would be much more useful if the source of the errors were listed.
The text was updated successfully, but these errors were encountered: