wunderio / drupal-project

Wunder's template for Drupal projects designed to work automatically with Lando, CircleCI and Helm.
GNU General Public License v2.0
35 stars 6 forks source link

[ERROR] syntax error, unexpected '|', expecting variable (T_VARIABLE) in CI #206

Closed tormi closed 3 years ago

tormi commented 3 years ago

GrumPHP is giving following erro in CI:

GrumPHP is sniffing your code!

Running tasks with priority 0!
==============================

Running task 1/9: php_compatibility... 
Running task 2/9: check_file_permissions... 
Running task 3/9: php_check_syntax... 
Running task 4/9: phpcs... 
Running task 5/9: php_stan... 
Running task 6/9: ecs... 
Running task 7/9: yaml_lint... 
Running task 8/9: json_lint... 
Running task 9/9: phpunit... 

Aborted ...

ecs
===

 [ERROR] syntax error, unexpected '|', expecting variable (T_VARIABLE)          

To skip commit checks, add -n or --no-verify flag to commit command

Exited with code exit status 1
CircleCI received exit code 1
tormi commented 3 years ago

Resolved in https://github.com/wunderio/drupal-project/pull/122/commits/43ae54abe3341fe9944508c476a49db22e789537.