openeuropa / drupal-module-template

European Union Public License 1.2
10 stars 6 forks source link

OPENEUROPA-207: Module scaffolding #1

Closed sandervd closed 6 years ago

pfrenssen commented 6 years ago

The file grumphp.yml.dist is missing. This becomes evident when creating a new project based on the template and testing it on Travis CI. It then spouts errors like the following:

PHP Warning:  array_key_exists() expects parameter 2 to be array, null given in /var/www/html/vendor/phpro/grumphp/src/Configuration/Compiler/TaskCompilerPass.php on line 37
PHP Stack trace:
PHP   1. {main}() /var/www/html/vendor/phpro/grumphp/bin/grumphp:0
PHP   2. GrumPHP\Console\Application->__construct() /var/www/html/vendor/phpro/grumphp/bin/grumphp:30
PHP   3. GrumPHP\Console\Application->getContainer() /var/www/html/vendor/phpro/grumphp/src/Console/Application.php:52

For instructions on how to build the grumphp.yml.dist file, check https://github.com/ec-europa/oe-code-review/blob/master/README.md