Skip to content
New issue

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

commit fails when xdebug is on #73

Open
vermario opened this issue Mar 3, 2022 · 0 comments
Open

commit fails when xdebug is on #73

vermario opened this issue Mar 3, 2022 · 0 comments

Comments

@vermario
Copy link

vermario commented Mar 3, 2022

Platform: llinux + lando
Issue:

When I enable xdebug using the command lando xdebug debug, the commit checks fail, and a commit cannot be done. If debug is stopped during the checks, the commit might get accepted (then creating possible issues later in the CI phase).

The output looks like this:

GrumPHP is sniffing your code!
Running tasks with priority 0!
==============================
Running task 1/6: php_compatibility... 
Running task 2/6: check_file_permissions... 
Running task 3/6: php_check_syntax... 
Running task 4/6: phpcs... 
Running task 5/6: yaml_lint... 
Running task 6/6: json_lint... 
Running task 1/6: php_compatibility... ✘
Running task 2/6: check_file_permissions... 
Running task 3/6: php_check_syntax... ✘
Running task 4/6: phpcs... ✘
Running task 5/6: yaml_lint... ✘
Running task 6/6: json_lint... ✘
php_compatibility
=================
Starting the process failed
php_check_syntax
================
Starting the process failed
phpcs
=====
Starting the process failed
yaml_lint
=========
Starting the process failed
json_lint
=========
Starting the process failed
To skip commit checks, add -n or --no-verify flag to commit command
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant