This commit is contained in:
Andrew Nicols 2016-01-05 14:08:18 +08:00
commit 887785db42
6 changed files with 206 additions and 131 deletions

View file

@ -2,6 +2,6 @@
"require-dev": { "require-dev": {
"phpunit/phpunit": "4.8.*", "phpunit/phpunit": "4.8.*",
"phpunit/dbUnit": "1.4.*", "phpunit/dbUnit": "1.4.*",
"moodlehq/behat-extension": "1.30.1" "moodlehq/behat-extension": "1.31.0"
} }
} }

308
composer.lock generated
View file

@ -4,8 +4,8 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
"This file is @generated automatically" "This file is @generated automatically"
], ],
"hash": "85888280993254379afb3dd9a13fbf48", "hash": "a957f7332dd1d221be96fb356cb9f03d",
"content-hash": "2660fb1bd1498fa3f4f106caede044f4", "content-hash": "463a75022982e6a64bd9fc0513d9b44c",
"packages": [], "packages": [],
"packages-dev": [ "packages-dev": [
{ {
@ -663,16 +663,16 @@
}, },
{ {
"name": "moodlehq/behat-extension", "name": "moodlehq/behat-extension",
"version": "v1.30.1", "version": "v1.31.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/moodlehq/moodle-behat-extension.git", "url": "https://github.com/moodlehq/moodle-behat-extension.git",
"reference": "7882d9331de46327c430b1572111e722378ab941" "reference": "b4dd6f7d1ca1c89a44b8b010af8546d7a2808b7b"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/moodlehq/moodle-behat-extension/zipball/7882d9331de46327c430b1572111e722378ab941", "url": "https://api.github.com/repos/moodlehq/moodle-behat-extension/zipball/b4dd6f7d1ca1c89a44b8b010af8546d7a2808b7b",
"reference": "7882d9331de46327c430b1572111e722378ab941", "reference": "b4dd6f7d1ca1c89a44b8b010af8546d7a2808b7b",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -686,6 +686,7 @@
"symfony/browser-kit": "2.7.5", "symfony/browser-kit": "2.7.5",
"symfony/css-selector": "2.7.5", "symfony/css-selector": "2.7.5",
"symfony/dom-crawler": "2.7.5", "symfony/dom-crawler": "2.7.5",
"symfony/filesystem": "2.7.5",
"symfony/finder": "2.7.5" "symfony/finder": "2.7.5"
}, },
"type": "library", "type": "library",
@ -712,7 +713,7 @@
"Behat", "Behat",
"moodle" "moodle"
], ],
"time": "2015-10-06 02:38:45" "time": "2016-01-05 02:55:24"
}, },
{ {
"name": "phpdocumentor/reflection-docblock", "name": "phpdocumentor/reflection-docblock",
@ -884,16 +885,16 @@
}, },
{ {
"name": "phpunit/php-code-coverage", "name": "phpunit/php-code-coverage",
"version": "2.2.3", "version": "2.2.4",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/sebastianbergmann/php-code-coverage.git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git",
"reference": "ef1ca6835468857944d5c3b48fa503d5554cff2f" "reference": "eabf68b476ac7d0f73793aada060f1c1a9bf8979"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/ef1ca6835468857944d5c3b48fa503d5554cff2f", "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/eabf68b476ac7d0f73793aada060f1c1a9bf8979",
"reference": "ef1ca6835468857944d5c3b48fa503d5554cff2f", "reference": "eabf68b476ac7d0f73793aada060f1c1a9bf8979",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -942,7 +943,7 @@
"testing", "testing",
"xunit" "xunit"
], ],
"time": "2015-09-14 06:51:16" "time": "2015-10-06 15:47:00"
}, },
{ {
"name": "phpunit/php-file-iterator", "name": "phpunit/php-file-iterator",
@ -1124,16 +1125,16 @@
}, },
{ {
"name": "phpunit/phpunit", "name": "phpunit/phpunit",
"version": "4.8.10", "version": "4.8.21",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/sebastianbergmann/phpunit.git", "url": "https://github.com/sebastianbergmann/phpunit.git",
"reference": "463163747474815c5ccd4ae12b5b355ec12158e8" "reference": "ea76b17bced0500a28098626b84eda12dbcf119c"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/463163747474815c5ccd4ae12b5b355ec12158e8", "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/ea76b17bced0500a28098626b84eda12dbcf119c",
"reference": "463163747474815c5ccd4ae12b5b355ec12158e8", "reference": "ea76b17bced0500a28098626b84eda12dbcf119c",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -1192,7 +1193,7 @@
"testing", "testing",
"xunit" "xunit"
], ],
"time": "2015-10-01 09:14:30" "time": "2015-12-12 07:45:58"
}, },
{ {
"name": "phpunit/phpunit-mock-objects", "name": "phpunit/phpunit-mock-objects",
@ -1316,28 +1317,28 @@
}, },
{ {
"name": "sebastian/diff", "name": "sebastian/diff",
"version": "1.3.0", "version": "1.4.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/sebastianbergmann/diff.git", "url": "https://github.com/sebastianbergmann/diff.git",
"reference": "863df9687835c62aa423a22412d26fa2ebde3fd3" "reference": "13edfd8706462032c2f52b4b862974dd46b71c9e"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/863df9687835c62aa423a22412d26fa2ebde3fd3", "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/13edfd8706462032c2f52b4b862974dd46b71c9e",
"reference": "863df9687835c62aa423a22412d26fa2ebde3fd3", "reference": "13edfd8706462032c2f52b4b862974dd46b71c9e",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": ">=5.3.3" "php": ">=5.3.3"
}, },
"require-dev": { "require-dev": {
"phpunit/phpunit": "~4.2" "phpunit/phpunit": "~4.8"
}, },
"type": "library", "type": "library",
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-master": "1.3-dev" "dev-master": "1.4-dev"
} }
}, },
"autoload": { "autoload": {
@ -1360,24 +1361,24 @@
} }
], ],
"description": "Diff implementation", "description": "Diff implementation",
"homepage": "http://www.github.com/sebastianbergmann/diff", "homepage": "https://github.com/sebastianbergmann/diff",
"keywords": [ "keywords": [
"diff" "diff"
], ],
"time": "2015-02-22 15:13:53" "time": "2015-12-08 07:14:41"
}, },
{ {
"name": "sebastian/environment", "name": "sebastian/environment",
"version": "1.3.2", "version": "1.3.3",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/sebastianbergmann/environment.git", "url": "https://github.com/sebastianbergmann/environment.git",
"reference": "6324c907ce7a52478eeeaede764f48733ef5ae44" "reference": "6e7133793a8e5a5714a551a8324337374be209df"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/6324c907ce7a52478eeeaede764f48733ef5ae44", "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/6e7133793a8e5a5714a551a8324337374be209df",
"reference": "6324c907ce7a52478eeeaede764f48733ef5ae44", "reference": "6e7133793a8e5a5714a551a8324337374be209df",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -1414,7 +1415,7 @@
"environment", "environment",
"hhvm" "hhvm"
], ],
"time": "2015-08-03 06:14:51" "time": "2015-12-02 08:37:27"
}, },
{ {
"name": "sebastian/exporter", "name": "sebastian/exporter",
@ -1484,16 +1485,16 @@
}, },
{ {
"name": "sebastian/global-state", "name": "sebastian/global-state",
"version": "1.0.0", "version": "1.1.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/sebastianbergmann/global-state.git", "url": "https://github.com/sebastianbergmann/global-state.git",
"reference": "c7428acdb62ece0a45e6306f1ae85e1c05b09c01" "reference": "bc37d50fea7d017d3d340f230811c9f1d7280af4"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/c7428acdb62ece0a45e6306f1ae85e1c05b09c01", "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/bc37d50fea7d017d3d340f230811c9f1d7280af4",
"reference": "c7428acdb62ece0a45e6306f1ae85e1c05b09c01", "reference": "bc37d50fea7d017d3d340f230811c9f1d7280af4",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -1531,20 +1532,20 @@
"keywords": [ "keywords": [
"global state" "global state"
], ],
"time": "2014-10-06 09:23:50" "time": "2015-10-12 03:26:01"
}, },
{ {
"name": "sebastian/recursion-context", "name": "sebastian/recursion-context",
"version": "1.0.1", "version": "1.0.2",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/sebastianbergmann/recursion-context.git", "url": "https://github.com/sebastianbergmann/recursion-context.git",
"reference": "994d4a811bafe801fb06dccbee797863ba2792ba" "reference": "913401df809e99e4f47b27cdd781f4a258d58791"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/994d4a811bafe801fb06dccbee797863ba2792ba", "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/913401df809e99e4f47b27cdd781f4a258d58791",
"reference": "994d4a811bafe801fb06dccbee797863ba2792ba", "reference": "913401df809e99e4f47b27cdd781f4a258d58791",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -1584,7 +1585,7 @@
], ],
"description": "Provides functionality to recursively process PHP variables", "description": "Provides functionality to recursively process PHP variables",
"homepage": "http://www.github.com/sebastianbergmann/recursion-context", "homepage": "http://www.github.com/sebastianbergmann/recursion-context",
"time": "2015-06-21 08:04:50" "time": "2015-11-11 19:50:13"
}, },
{ {
"name": "sebastian/version", "name": "sebastian/version",
@ -1678,35 +1679,35 @@
}, },
{ {
"name": "symfony/config", "name": "symfony/config",
"version": "v2.7.5", "version": "v2.8.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/config.git", "url": "https://github.com/symfony/config.git",
"reference": "9698fdf0a750d6887d5e7729d5cf099765b20e61" "reference": "17d4b2e64ce1c6ba7caa040f14469b3c44d7f7d2"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/config/zipball/9698fdf0a750d6887d5e7729d5cf099765b20e61", "url": "https://api.github.com/repos/symfony/config/zipball/17d4b2e64ce1c6ba7caa040f14469b3c44d7f7d2",
"reference": "9698fdf0a750d6887d5e7729d5cf099765b20e61", "reference": "17d4b2e64ce1c6ba7caa040f14469b3c44d7f7d2",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": ">=5.3.9", "php": ">=5.3.9",
"symfony/filesystem": "~2.3" "symfony/filesystem": "~2.3|~3.0.0"
},
"require-dev": {
"symfony/phpunit-bridge": "~2.7"
}, },
"type": "library", "type": "library",
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-master": "2.7-dev" "dev-master": "2.8-dev"
} }
}, },
"autoload": { "autoload": {
"psr-4": { "psr-4": {
"Symfony\\Component\\Config\\": "" "Symfony\\Component\\Config\\": ""
} },
"exclude-from-classmap": [
"/Tests/"
]
}, },
"notification-url": "https://packagist.org/downloads/", "notification-url": "https://packagist.org/downloads/",
"license": [ "license": [
@ -1724,30 +1725,30 @@
], ],
"description": "Symfony Config Component", "description": "Symfony Config Component",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"time": "2015-09-21 15:02:29" "time": "2015-12-26 13:37:56"
}, },
{ {
"name": "symfony/console", "name": "symfony/console",
"version": "v2.7.5", "version": "v2.8.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/console.git", "url": "https://github.com/symfony/console.git",
"reference": "06cb17c013a82f94a3d840682b49425cd00a2161" "reference": "2e06a5ccb19dcf9b89f1c6a677a39a8df773635a"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/console/zipball/06cb17c013a82f94a3d840682b49425cd00a2161", "url": "https://api.github.com/repos/symfony/console/zipball/2e06a5ccb19dcf9b89f1c6a677a39a8df773635a",
"reference": "06cb17c013a82f94a3d840682b49425cd00a2161", "reference": "2e06a5ccb19dcf9b89f1c6a677a39a8df773635a",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": ">=5.3.9" "php": ">=5.3.9",
"symfony/polyfill-mbstring": "~1.0"
}, },
"require-dev": { "require-dev": {
"psr/log": "~1.0", "psr/log": "~1.0",
"symfony/event-dispatcher": "~2.1", "symfony/event-dispatcher": "~2.1|~3.0.0",
"symfony/phpunit-bridge": "~2.7", "symfony/process": "~2.1|~3.0.0"
"symfony/process": "~2.1"
}, },
"suggest": { "suggest": {
"psr/log": "For using the console logger", "psr/log": "For using the console logger",
@ -1757,13 +1758,16 @@
"type": "library", "type": "library",
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-master": "2.7-dev" "dev-master": "2.8-dev"
} }
}, },
"autoload": { "autoload": {
"psr-4": { "psr-4": {
"Symfony\\Component\\Console\\": "" "Symfony\\Component\\Console\\": ""
} },
"exclude-from-classmap": [
"/Tests/"
]
}, },
"notification-url": "https://packagist.org/downloads/", "notification-url": "https://packagist.org/downloads/",
"license": [ "license": [
@ -1781,7 +1785,7 @@
], ],
"description": "Symfony Console Component", "description": "Symfony Console Component",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"time": "2015-09-25 08:32:23" "time": "2015-12-22 10:25:57"
}, },
{ {
"name": "symfony/css-selector", "name": "symfony/css-selector",
@ -1838,16 +1842,16 @@
}, },
{ {
"name": "symfony/dependency-injection", "name": "symfony/dependency-injection",
"version": "v2.7.5", "version": "v2.8.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/dependency-injection.git", "url": "https://github.com/symfony/dependency-injection.git",
"reference": "422c3819b110f610d79c6f1dc38af23787dc790e" "reference": "c5086d186f538c2711b9af6f727be7b0446979cd"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/dependency-injection/zipball/422c3819b110f610d79c6f1dc38af23787dc790e", "url": "https://api.github.com/repos/symfony/dependency-injection/zipball/c5086d186f538c2711b9af6f727be7b0446979cd",
"reference": "422c3819b110f610d79c6f1dc38af23787dc790e", "reference": "c5086d186f538c2711b9af6f727be7b0446979cd",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -1857,10 +1861,9 @@
"symfony/expression-language": "<2.6" "symfony/expression-language": "<2.6"
}, },
"require-dev": { "require-dev": {
"symfony/config": "~2.2", "symfony/config": "~2.2|~3.0.0",
"symfony/expression-language": "~2.6", "symfony/expression-language": "~2.6|~3.0.0",
"symfony/phpunit-bridge": "~2.7", "symfony/yaml": "~2.1|~3.0.0"
"symfony/yaml": "~2.1"
}, },
"suggest": { "suggest": {
"symfony/config": "", "symfony/config": "",
@ -1870,13 +1873,16 @@
"type": "library", "type": "library",
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-master": "2.7-dev" "dev-master": "2.8-dev"
} }
}, },
"autoload": { "autoload": {
"psr-4": { "psr-4": {
"Symfony\\Component\\DependencyInjection\\": "" "Symfony\\Component\\DependencyInjection\\": ""
} },
"exclude-from-classmap": [
"/Tests/"
]
}, },
"notification-url": "https://packagist.org/downloads/", "notification-url": "https://packagist.org/downloads/",
"license": [ "license": [
@ -1894,7 +1900,7 @@
], ],
"description": "Symfony DependencyInjection Component", "description": "Symfony DependencyInjection Component",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"time": "2015-09-15 08:30:42" "time": "2015-12-26 13:37:56"
}, },
{ {
"name": "symfony/dom-crawler", "name": "symfony/dom-crawler",
@ -1951,16 +1957,16 @@
}, },
{ {
"name": "symfony/event-dispatcher", "name": "symfony/event-dispatcher",
"version": "v2.7.5", "version": "v2.8.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/event-dispatcher.git", "url": "https://github.com/symfony/event-dispatcher.git",
"reference": "ae4dcc2a8d3de98bd794167a3ccda1311597c5d9" "reference": "a5eb815363c0388e83247e7e9853e5dbc14999cc"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/ae4dcc2a8d3de98bd794167a3ccda1311597c5d9", "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/a5eb815363c0388e83247e7e9853e5dbc14999cc",
"reference": "ae4dcc2a8d3de98bd794167a3ccda1311597c5d9", "reference": "a5eb815363c0388e83247e7e9853e5dbc14999cc",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -1968,11 +1974,10 @@
}, },
"require-dev": { "require-dev": {
"psr/log": "~1.0", "psr/log": "~1.0",
"symfony/config": "~2.0,>=2.0.5", "symfony/config": "~2.0,>=2.0.5|~3.0.0",
"symfony/dependency-injection": "~2.6", "symfony/dependency-injection": "~2.6|~3.0.0",
"symfony/expression-language": "~2.6", "symfony/expression-language": "~2.6|~3.0.0",
"symfony/phpunit-bridge": "~2.7", "symfony/stopwatch": "~2.3|~3.0.0"
"symfony/stopwatch": "~2.3"
}, },
"suggest": { "suggest": {
"symfony/dependency-injection": "", "symfony/dependency-injection": "",
@ -1981,13 +1986,16 @@
"type": "library", "type": "library",
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-master": "2.7-dev" "dev-master": "2.8-dev"
} }
}, },
"autoload": { "autoload": {
"psr-4": { "psr-4": {
"Symfony\\Component\\EventDispatcher\\": "" "Symfony\\Component\\EventDispatcher\\": ""
} },
"exclude-from-classmap": [
"/Tests/"
]
}, },
"notification-url": "https://packagist.org/downloads/", "notification-url": "https://packagist.org/downloads/",
"license": [ "license": [
@ -2005,7 +2013,7 @@
], ],
"description": "Symfony EventDispatcher Component", "description": "Symfony EventDispatcher Component",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"time": "2015-09-22 13:49:29" "time": "2015-10-30 20:15:42"
}, },
{ {
"name": "symfony/filesystem", "name": "symfony/filesystem",
@ -2106,35 +2114,94 @@
"time": "2015-09-19 19:59:23" "time": "2015-09-19 19:59:23"
}, },
{ {
"name": "symfony/process", "name": "symfony/polyfill-mbstring",
"version": "v2.7.5", "version": "v1.0.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/process.git", "url": "https://github.com/symfony/polyfill-mbstring.git",
"reference": "b27c8e317922cd3cdd3600850273cf6b82b2e8e9" "reference": "49ff736bd5d41f45240cec77b44967d76e0c3d25"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/process/zipball/b27c8e317922cd3cdd3600850273cf6b82b2e8e9", "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/49ff736bd5d41f45240cec77b44967d76e0c3d25",
"reference": "b27c8e317922cd3cdd3600850273cf6b82b2e8e9", "reference": "49ff736bd5d41f45240cec77b44967d76e0c3d25",
"shasum": ""
},
"require": {
"php": ">=5.3.3"
},
"suggest": {
"ext-mbstring": "For best performance"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.0-dev"
}
},
"autoload": {
"psr-4": {
"Symfony\\Polyfill\\Mbstring\\": ""
},
"files": [
"bootstrap.php"
]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Nicolas Grekas",
"email": "p@tchwork.com"
},
{
"name": "Symfony Community",
"homepage": "https://symfony.com/contributors"
}
],
"description": "Symfony polyfill for the Mbstring extension",
"homepage": "https://symfony.com",
"keywords": [
"compatibility",
"mbstring",
"polyfill",
"portable",
"shim"
],
"time": "2015-11-20 09:19:13"
},
{
"name": "symfony/process",
"version": "v2.8.1",
"source": {
"type": "git",
"url": "https://github.com/symfony/process.git",
"reference": "62c254438b5040bc2217156e1570cf2206e8540c"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/process/zipball/62c254438b5040bc2217156e1570cf2206e8540c",
"reference": "62c254438b5040bc2217156e1570cf2206e8540c",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": ">=5.3.9" "php": ">=5.3.9"
}, },
"require-dev": {
"symfony/phpunit-bridge": "~2.7"
},
"type": "library", "type": "library",
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-master": "2.7-dev" "dev-master": "2.8-dev"
} }
}, },
"autoload": { "autoload": {
"psr-4": { "psr-4": {
"Symfony\\Component\\Process\\": "" "Symfony\\Component\\Process\\": ""
} },
"exclude-from-classmap": [
"/Tests/"
]
}, },
"notification-url": "https://packagist.org/downloads/", "notification-url": "https://packagist.org/downloads/",
"license": [ "license": [
@ -2152,34 +2219,34 @@
], ],
"description": "Symfony Process Component", "description": "Symfony Process Component",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"time": "2015-09-19 19:59:23" "time": "2015-12-23 11:03:46"
}, },
{ {
"name": "symfony/translation", "name": "symfony/translation",
"version": "v2.7.5", "version": "v2.8.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/translation.git", "url": "https://github.com/symfony/translation.git",
"reference": "485877661835e188cd78345c6d4eef1290d17571" "reference": "c1db87c51251167dd91198b9d1edf897773adb4f"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/translation/zipball/485877661835e188cd78345c6d4eef1290d17571", "url": "https://api.github.com/repos/symfony/translation/zipball/c1db87c51251167dd91198b9d1edf897773adb4f",
"reference": "485877661835e188cd78345c6d4eef1290d17571", "reference": "c1db87c51251167dd91198b9d1edf897773adb4f",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": ">=5.3.9" "php": ">=5.3.9",
"symfony/polyfill-mbstring": "~1.0"
}, },
"conflict": { "conflict": {
"symfony/config": "<2.7" "symfony/config": "<2.7"
}, },
"require-dev": { "require-dev": {
"psr/log": "~1.0", "psr/log": "~1.0",
"symfony/config": "~2.7", "symfony/config": "~2.8",
"symfony/intl": "~2.4", "symfony/intl": "~2.4|~3.0.0",
"symfony/phpunit-bridge": "~2.7", "symfony/yaml": "~2.2|~3.0.0"
"symfony/yaml": "~2.2"
}, },
"suggest": { "suggest": {
"psr/log": "To use logging capability in translator", "psr/log": "To use logging capability in translator",
@ -2189,13 +2256,16 @@
"type": "library", "type": "library",
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-master": "2.7-dev" "dev-master": "2.8-dev"
} }
}, },
"autoload": { "autoload": {
"psr-4": { "psr-4": {
"Symfony\\Component\\Translation\\": "" "Symfony\\Component\\Translation\\": ""
} },
"exclude-from-classmap": [
"/Tests/"
]
}, },
"notification-url": "https://packagist.org/downloads/", "notification-url": "https://packagist.org/downloads/",
"license": [ "license": [
@ -2213,38 +2283,38 @@
], ],
"description": "Symfony Translation Component", "description": "Symfony Translation Component",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"time": "2015-09-06 08:36:38" "time": "2015-12-05 17:37:59"
}, },
{ {
"name": "symfony/yaml", "name": "symfony/yaml",
"version": "v2.7.5", "version": "v2.8.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/yaml.git", "url": "https://github.com/symfony/yaml.git",
"reference": "31cb2ad0155c95b88ee55fe12bc7ff92232c1770" "reference": "ac84cbb98b68a6abbc9f5149eb96ccc7b07b8966"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/yaml/zipball/31cb2ad0155c95b88ee55fe12bc7ff92232c1770", "url": "https://api.github.com/repos/symfony/yaml/zipball/ac84cbb98b68a6abbc9f5149eb96ccc7b07b8966",
"reference": "31cb2ad0155c95b88ee55fe12bc7ff92232c1770", "reference": "ac84cbb98b68a6abbc9f5149eb96ccc7b07b8966",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": ">=5.3.9" "php": ">=5.3.9"
}, },
"require-dev": {
"symfony/phpunit-bridge": "~2.7"
},
"type": "library", "type": "library",
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-master": "2.7-dev" "dev-master": "2.8-dev"
} }
}, },
"autoload": { "autoload": {
"psr-4": { "psr-4": {
"Symfony\\Component\\Yaml\\": "" "Symfony\\Component\\Yaml\\": ""
} },
"exclude-from-classmap": [
"/Tests/"
]
}, },
"notification-url": "https://packagist.org/downloads/", "notification-url": "https://packagist.org/downloads/",
"license": [ "license": [
@ -2262,7 +2332,7 @@
], ],
"description": "Symfony Yaml Component", "description": "Symfony Yaml Component",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"time": "2015-09-14 14:14:09" "time": "2015-12-26 13:37:56"
} }
], ],
"aliases": [], "aliases": [],

View file

@ -180,15 +180,6 @@ function behat_clean_init_config() {
unset($CFG->{$key}); unset($CFG->{$key});
} }
} }
// Here we are forcing the navbar to be absolutely positioned in Chrome, Safari and IE in order to
// avoid a driver bug whereby when the browser scrolls something into view it doesn't account
// for fixed positioned elements that end up obscuring the item thus leading to errors that
// could be avoided by scrolling an additional amount.
// This should be removed as soon as the affected drivers have been fixed.
$CFG->forced_plugin_settings['theme_clean'] = array(
'customcss' => 'body.safari .navbar-fixed-top, body.ie .navbar-fixed-top {position: absolute;}'
);
} }
/** /**

View file

@ -1747,6 +1747,11 @@ class moodle_page {
if ($this->_devicetypeinuse != 'default') { if ($this->_devicetypeinuse != 'default') {
$this->add_body_class($this->_devicetypeinuse . 'theme'); $this->add_body_class($this->_devicetypeinuse . 'theme');
} }
// Add class for behat site to apply behat related fixes.
if (defined('BEHAT_SITE_RUNNING')) {
$this->add_body_class('behat-site');
}
} }
/** /**

View file

@ -1,3 +1,12 @@
// Here we are forcing the navbar to be absolutely positioned for behat, because
// when driver scrolls something into view in browser it doesn't account
// for fixed positioned elements that end up obscuring the item thus
// leading to errors that could be avoided by scrolling an additional amount.
body.behat-site {
.navbar-fixed-top {
position: absolute;
}
}
.phpinfo table, .phpinfo table,
.phpinfo th, .phpinfo th,
.phpinfo h2 { .phpinfo h2 {
@ -89,4 +98,4 @@
#page-footer .purgecaches, #page-footer .purgecaches,
#page-footer .performanceinfo { #page-footer .performanceinfo {
text-align: center; text-align: center;
} }

File diff suppressed because one or more lines are too long