Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
On Commerce Kickstart we are looking to test on PHP 7 because we need to ensure it will work there also. However, we get the following error caused by drupalextension:
./bin/behat --config behat.travis.yml --tags ~@overrides; fi
[Symfony\Component\DependencyInjection\Exception\InvalidArgumentException]
The file "/home/travis/build/commerceguys/drupal/profiles/commerce_kickstart/tests/behat/vendor/drupal/drupal-extension/src/Drupal/DrupalExtension/Ser
viceContainer/config/services.yml" does not contain valid YAML.
[Symfony\Component\Yaml\Exception\ParseException]
The reserved indicator "@" cannot start a plain scalar; you need to quote the scalar at line 37 (near "- @drupal.random").
Comments
Comment #2
jhedstromAre you using the latest code from https://github.com/jhedstrom/drupalextension (if you are using Composer to install, that should be where the code comes from)? This should be working just fine with PHP 7.
Comment #3
lsolesen CreditAttribution: lsolesen commentedThis was fixed by upgrading to latest version.