Update to Drupal 8.1.2. For more information, see https://www.drupal.org/project/drupal/releases/8.1.2

This commit is contained in:
Pantheon Automation 2016-06-02 15:56:09 -07:00 committed by Greg Anderson
parent 9eae24d844
commit 28556d630e
1322 changed files with 6699 additions and 2064 deletions

View file

@ -2,20 +2,27 @@ language: php
sudo: false
php: [5.3, 5.4, 5.5, 5.6, hhvm]
php: [5.3, 5.4, 5.5, 5.6, 7.0, hhvm]
matrix:
include:
# Test against LTS versions
- php: 5.5
env: SYMFONY_VERSION='2.3.*'
- php: 5.5
env: SYMFONY_VERSION='2.5.*@dev'
env: SYMFONY_VERSION='2.7.*'
- php: 5.6
env: SYMFONY_VERSION='2.8.*'
# Test against dev versions of dependencies
- php: 5.6
env: DEPENDENCIES='dev'
cache:
directories:
- $HOME/.composer/cache/files
before_install:
- if [ "$DEPENDENCIES" = "dev" ]; then perl -pi -e 's/^}$/,"minimum-stability":"dev"}/' composer.json; fi;
- sh -c 'if [ "$SYMFONY_VERSION" != "" ]; then composer require -n --no-update symfony/symfony=$SYMFONY_VERSION; fi;'
install:

View file

@ -1,3 +1,16 @@
1.3.2 / 2016-03-05
==================
Testsuite:
* Disallowed failures on PHP 7 on Travis (tests were passing since a long time)
* Added HTML escaping of submitted values in the driver testsuite web-fixtures
1.3.1 / 2016-01-19
==================
* Added Symfony 3.0 compatibility
1.3.0 / 2015-09-21
==================

View file

@ -16,13 +16,13 @@
"require": {
"php": ">=5.3.6",
"behat/mink": "~1.7@dev",
"symfony/browser-kit": "~2.3",
"symfony/dom-crawler": "~2.3"
"behat/mink": "^1.7.1@dev",
"symfony/browser-kit": "~2.3|~3.0",
"symfony/dom-crawler": "~2.3|~3.0"
},
"require-dev": {
"symfony/phpunit-bridge": "~2.7",
"symfony/phpunit-bridge": "~2.7|~3.0",
"silex/silex": "~1.2"
},

View file

@ -807,8 +807,15 @@ class BrowserKitDriver extends CoreDriver
*/
private function getCrawlerNode(Crawler $crawler)
{
$crawler->rewind();
$node = $crawler->current();
$node = null;
if ($crawler instanceof \Iterator) {
// for symfony 2.3 compatibility as getNode is not public before symfony 2.4
$crawler->rewind();
$node = $crawler->current();
} else {
$node = $crawler->getNode(0);
}
if (null !== $node) {
return $node;