Skip to content

Commit d1afd5f

Browse files
committed
Remove debug line
1 parent baf70c1 commit d1afd5f

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.husky/pre-commit-phpcbf.sh

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,13 @@ echo "Running PHPCBF on staged files..."
1616
# First try to fix what we can with PHPCBF
1717
echo "$STAGED_PHP_FILES" | xargs vendor/bin/phpcbf
1818

19-
echo 'does this run?'
20-
2119
# Check the return code
2220
PHPCBF_STATUS=$?
2321

2422
# If files were fixed, add them back to staging
2523
if [ $PHPCBF_STATUS -ne 3 ]; then
2624
echo "$STAGED_PHP_FILES" | xargs git add
27-
25+
2826
if [ $PHPCBF_STATUS -eq 1 ] || [ $PHPCBF_STATUS -eq 2 ]; then
2927
echo "\nShowing remaining errors after auto-fixing:"
3028
echo "$STAGED_PHP_FILES" | xargs vendor/bin/phpcs
@@ -50,4 +48,4 @@ if [ $PHPCS_STATUS -ne 0 ]; then
5048
fi
5149

5250
echo "✅ All coding standards checks passed!"
53-
exit 0
51+
exit 0

0 commit comments

Comments
 (0)