Skip to content

No match for regexp /diff --git (a\/.*) (b\/.*)\n/  #164

Description

@nWidart
QA
Branch0.9.1
Bug?yes
New feature?no
Question?no
Documentation?no
Related tickets

Hi,

I installed GrumPHP with one task, php-cs-fixer, and when commiting a file, it shows the following error.

screen shot 2016-07-28 at 16 03 50

However when I run php ./vendor/bin/grumphp run it works as expected.

My configuration

parameters:
git_dir: .bin_dir: vendor/bintasks:
phpcsfixer:
config_file: .php_cs
  • Run GrumpHP:
  • git add .
  • git commit composer.json "Test"

Result:

[Gitonomy\Git\Exception\RuntimeException] No match for regexp /diff --git (a\/.*) (b\/.*)\n/ Upcoming: diff --git c/composer.json i/c 

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions