We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1e7204b + bd3420b commit 1f09de8Copy full SHA for 1f09de8
admin/pre-commit
@@ -20,22 +20,6 @@ if [ "$STAGED_PHP_FILES" != "" ]; then
20
done
21
fi
22
23
-if [ "$FILES" != "" ]; then
24
- echo "Running PHPStan..."
25
-
26
- # Run on whole codebase
27
- if [ -d /proc/cygdrive ]; then
28
- XDEBUG_MODE=off ./vendor/bin/phpstan analyse
29
- else
30
- XDEBUG_MODE=off php ./vendor/bin/phpstan analyse
31
- fi
32
33
- if [ $? != 0 ]; then
34
- echo "Fix the phpstan error(s) before commit."
35
- exit 1
36
37
-fi
38
39
if [ "$FILES" != "" ]; then
40
echo "Running PHP CS Fixer..."
41
0 commit comments