summaryrefslogtreecommitdiffstats
path: root/vendor
diff options
context:
space:
mode:
authorwebchick2015-10-05 17:13:20 (GMT)
committerwebchick2015-10-05 17:13:20 (GMT)
commitcc51b6ef5a5c05b302ec090be2bf73d347dd0284 (patch)
treeeb28258e58b09a3255490e1d70e5fe105df80bd5 /vendor
parent1e4c4c3f82cfebcd0839f4d8615a6f76b1bfaba2 (diff)
Issue #2568595 by hussainweb, dawehner: Upgrade PHPUnit to latest 4.8.x
Diffstat (limited to 'vendor')
-rw-r--r--[l---------]vendor/bin/phpunit8
-rw-r--r--vendor/composer/installed.json494
-rw-r--r--vendor/phpunit/php-code-coverage/ChangeLog-2.2.md10
-rw-r--r--vendor/phpunit/php-code-coverage/README.md18
-rw-r--r--vendor/phpunit/php-code-coverage/src/CodeCoverage.php15
-rw-r--r--vendor/phpunit/php-code-coverage/src/CodeCoverage/Filter.php3
-rw-r--r--vendor/phpunit/php-code-coverage/src/CodeCoverage/Report/Crap4j.php2
-rw-r--r--vendor/phpunit/php-code-coverage/src/CodeCoverage/Report/HTML/Renderer.php27
-rw-r--r--vendor/phpunit/php-code-coverage/src/CodeCoverage/Report/HTML/Renderer/Template/fonts/glyphicons-halflings-regular.ttfbin45386 -> 45404 bytes
-rw-r--r--vendor/phpunit/php-code-coverage/src/CodeCoverage/Report/Node/File.php27
-rw-r--r--vendor/phpunit/php-code-coverage/tests/PHP/CodeCoverage/Report/FactoryTest.php108
-rw-r--r--vendor/phpunit/php-code-coverage/tests/PHP/CodeCoverageTest.php6
-rw-r--r--vendor/phpunit/php-code-coverage/tests/TestCase.php12
-rw-r--r--vendor/phpunit/php-code-coverage/tests/_files/CoverageTwoDefaultClassAnnotations.php1
-rw-r--r--vendor/phpunit/php-code-coverage/tests/_files/source_with_namespace.php4
-rw-r--r--vendor/phpunit/php-code-coverage/tests/_files/source_without_namespace.php4
-rw-r--r--vendor/phpunit/php-token-stream/.travis.yml17
-rw-r--r--vendor/phpunit/php-token-stream/src/Token/Stream.php28
-rw-r--r--vendor/phpunit/php-token-stream/tests/Token/ClassTest.php16
-rw-r--r--vendor/phpunit/php-token-stream/tests/_fixture/class_with_method_that_declares_anonymous_class2.php16
-rw-r--r--vendor/phpunit/phpunit-mock-objects/src/Framework/MockObject/Generator.php2
-rw-r--r--vendor/phpunit/phpunit-mock-objects/tests/GeneratorTest.php14
-rw-r--r--vendor/phpunit/phpunit/.php_cs44
-rw-r--r--vendor/phpunit/phpunit/.travis.yml2
-rw-r--r--vendor/phpunit/phpunit/CONTRIBUTING.md38
-rw-r--r--vendor/phpunit/phpunit/ChangeLog-4.8.md26
-rw-r--r--vendor/phpunit/phpunit/README.md24
-rw-r--r--vendor/phpunit/phpunit/src/Framework/Assert.php64
-rw-r--r--vendor/phpunit/phpunit/src/Framework/TestCase.php5
-rw-r--r--vendor/phpunit/phpunit/src/Runner/Version.php2
-rw-r--r--vendor/phpunit/phpunit/src/Util/Blacklist.php1
-rw-r--r--vendor/phpunit/phpunit/src/Util/Configuration.php18
-rw-r--r--vendor/phpunit/phpunit/src/Util/XML.php17
-rw-r--r--vendor/phpunit/phpunit/tests/Framework/AssertTest.php119
-rw-r--r--vendor/phpunit/phpunit/tests/Regression/1021.phpt2
-rw-r--r--vendor/phpunit/phpunit/tests/Regression/523.phpt2
-rw-r--r--vendor/phpunit/phpunit/tests/Regression/578.phpt2
-rw-r--r--vendor/phpunit/phpunit/tests/Regression/684.phpt2
-rw-r--r--vendor/phpunit/phpunit/tests/Regression/783.phpt2
-rw-r--r--vendor/phpunit/phpunit/tests/Regression/GitHub/1149.phpt2
-rw-r--r--vendor/phpunit/phpunit/tests/Regression/GitHub/1216.phpt4
-rw-r--r--vendor/phpunit/phpunit/tests/Regression/GitHub/1265.phpt4
-rw-r--r--vendor/phpunit/phpunit/tests/Regression/GitHub/1330.phpt4
-rw-r--r--vendor/phpunit/phpunit/tests/Regression/GitHub/1335.phpt4
-rw-r--r--vendor/phpunit/phpunit/tests/Regression/GitHub/1337.phpt2
-rw-r--r--vendor/phpunit/phpunit/tests/Regression/GitHub/1348.phpt10
-rw-r--r--vendor/phpunit/phpunit/tests/Regression/GitHub/1374.phpt2
-rw-r--r--vendor/phpunit/phpunit/tests/Regression/GitHub/1437.phpt2
-rw-r--r--vendor/phpunit/phpunit/tests/Regression/GitHub/244.phpt2
-rw-r--r--vendor/phpunit/phpunit/tests/Regression/GitHub/322.phpt4
-rw-r--r--vendor/phpunit/phpunit/tests/Regression/GitHub/433.phpt2
-rw-r--r--vendor/phpunit/phpunit/tests/Regression/GitHub/445.phpt2
-rw-r--r--vendor/phpunit/phpunit/tests/Regression/GitHub/498.phpt2
-rw-r--r--vendor/phpunit/phpunit/tests/Regression/GitHub/503.phpt2
-rw-r--r--vendor/phpunit/phpunit/tests/Regression/GitHub/581.phpt2
-rw-r--r--vendor/phpunit/phpunit/tests/Regression/GitHub/74.phpt2
-rw-r--r--vendor/phpunit/phpunit/tests/Regression/GitHub/765.phpt2
-rw-r--r--vendor/phpunit/phpunit/tests/Regression/GitHub/797.phpt8
-rw-r--r--vendor/phpunit/phpunit/tests/Regression/GitHub/873-php5.phpt (renamed from vendor/phpunit/phpunit/tests/Regression/GitHub/873.phpt.orig)2
-rw-r--r--vendor/phpunit/phpunit/tests/Regression/GitHub/873-php7.phpt (renamed from vendor/phpunit/phpunit/tests/Regression/GitHub/873.phpt)4
-rw-r--r--vendor/phpunit/phpunit/tests/Regression/GitHub/873.phpt.rej19
-rw-r--r--vendor/phpunit/phpunit/tests/TextUI/colors-always.phpt2
-rw-r--r--vendor/phpunit/phpunit/tests/TextUI/custom-printer-debug.phpt4
-rw-r--r--vendor/phpunit/phpunit/tests/TextUI/custom-printer-verbose.phpt4
-rw-r--r--vendor/phpunit/phpunit/tests/TextUI/dataprovider-debug.phpt2
-rw-r--r--vendor/phpunit/phpunit/tests/TextUI/debug.phpt2
-rw-r--r--vendor/phpunit/phpunit/tests/TextUI/default-isolation.phpt2
-rw-r--r--vendor/phpunit/phpunit/tests/TextUI/default.phpt2
-rw-r--r--vendor/phpunit/phpunit/tests/TextUI/exclude-group-isolation.phpt2
-rw-r--r--vendor/phpunit/phpunit/tests/TextUI/exclude-group.phpt2
-rw-r--r--vendor/phpunit/phpunit/tests/TextUI/filter-class-isolation.phpt2
-rw-r--r--vendor/phpunit/phpunit/tests/TextUI/filter-class.phpt2
-rw-r--r--vendor/phpunit/phpunit/tests/TextUI/filter-dataprovider-by-classname-and-range-isolation.phpt2
-rw-r--r--vendor/phpunit/phpunit/tests/TextUI/filter-dataprovider-by-classname-and-range.phpt2
-rw-r--r--vendor/phpunit/phpunit/tests/TextUI/filter-dataprovider-by-number-isolation.phpt2
-rw-r--r--vendor/phpunit/phpunit/tests/TextUI/filter-dataprovider-by-number.phpt2
-rw-r--r--vendor/phpunit/phpunit/tests/TextUI/filter-dataprovider-by-only-range-isolation.phpt2
-rw-r--r--vendor/phpunit/phpunit/tests/TextUI/filter-dataprovider-by-only-range.phpt2
-rw-r--r--vendor/phpunit/phpunit/tests/TextUI/filter-dataprovider-by-only-regexp-isolation.phpt2
-rw-r--r--vendor/phpunit/phpunit/tests/TextUI/filter-dataprovider-by-only-regexp.phpt2
-rw-r--r--vendor/phpunit/phpunit/tests/TextUI/filter-dataprovider-by-only-string-isolation.phpt2
-rw-r--r--vendor/phpunit/phpunit/tests/TextUI/filter-dataprovider-by-only-string.phpt2
-rw-r--r--vendor/phpunit/phpunit/tests/TextUI/filter-dataprovider-by-range-isolation.phpt2
-rw-r--r--vendor/phpunit/phpunit/tests/TextUI/filter-dataprovider-by-range.phpt2
-rw-r--r--vendor/phpunit/phpunit/tests/TextUI/filter-dataprovider-by-regexp-isolation.phpt2
-rw-r--r--vendor/phpunit/phpunit/tests/TextUI/filter-dataprovider-by-regexp.phpt2
-rw-r--r--vendor/phpunit/phpunit/tests/TextUI/filter-dataprovider-by-string-isolation.phpt2
-rw-r--r--vendor/phpunit/phpunit/tests/TextUI/filter-dataprovider-by-string.phpt2
-rw-r--r--vendor/phpunit/phpunit/tests/TextUI/filter-method-case-insensitive.phpt2
-rw-r--r--vendor/phpunit/phpunit/tests/TextUI/filter-method-case-sensitive-no-result.phpt2
-rw-r--r--vendor/phpunit/phpunit/tests/TextUI/filter-method-isolation.phpt2
-rw-r--r--vendor/phpunit/phpunit/tests/TextUI/filter-method.phpt2
-rw-r--r--vendor/phpunit/phpunit/tests/TextUI/filter-no-results.phpt2
-rw-r--r--vendor/phpunit/phpunit/tests/TextUI/group-isolation.phpt2
-rw-r--r--vendor/phpunit/phpunit/tests/TextUI/group.phpt2
-rw-r--r--vendor/phpunit/phpunit/tests/TextUI/list-groups.phpt2
-rw-r--r--vendor/phpunit/phpunit/tests/TextUI/log-json-no-pretty-print.phpt2
-rw-r--r--vendor/phpunit/phpunit/tests/TextUI/log-json-post-66021.phpt6
-rw-r--r--vendor/phpunit/phpunit/tests/TextUI/log-json-pre-66021.phpt6
-rw-r--r--vendor/phpunit/phpunit/tests/TextUI/log-tap.phpt2
-rw-r--r--vendor/phpunit/phpunit/tests/TextUI/log-xml.phpt2
-rw-r--r--vendor/phpunit/phpunit/tests/TextUI/options-after-arguments.phpt2
-rw-r--r--vendor/phpunit/phpunit/tests/TextUI/output-isolation.phpt2
-rw-r--r--vendor/phpunit/phpunit/tests/TextUI/repeat.phpt2
-rw-r--r--vendor/phpunit/phpunit/tests/TextUI/tap.phpt2
-rw-r--r--vendor/phpunit/phpunit/tests/TextUI/test-suffix-multiple.phpt2
-rw-r--r--vendor/phpunit/phpunit/tests/TextUI/test-suffix-single.phpt2
-rw-r--r--vendor/phpunit/phpunit/tests/TextUI/testdox-html.phpt2
-rw-r--r--vendor/phpunit/phpunit/tests/TextUI/testdox-text.phpt2
-rw-r--r--vendor/phpunit/phpunit/tests/TextUI/testdox.phpt2
-rw-r--r--vendor/phpunit/phpunit/tests/_files/TestTestError.php (renamed from vendor/phpunit/phpunit/tests/_files/Error.php)0
111 files changed, 797 insertions, 602 deletions
diff --git a/vendor/bin/phpunit b/vendor/bin/phpunit
index 2c48930..d91886c 120000..100644
--- a/vendor/bin/phpunit
+++ b/vendor/bin/phpunit
@@ -1 +1,7 @@
-../phpunit/phpunit/phpunit \ No newline at end of file
+#!/usr/bin/env sh
+SRC_DIR="`pwd`"
+cd "`dirname "$0"`"
+cd '../phpunit/phpunit'
+BIN_TARGET="`pwd`/phpunit"
+cd "$SRC_DIR"
+"$BIN_TARGET" "$@"
diff --git a/vendor/composer/installed.json b/vendor/composer/installed.json
index 2b795e5..07f2ddc 100644
--- a/vendor/composer/installed.json
+++ b/vendor/composer/installed.json
@@ -1141,144 +1141,6 @@
]
},
{
- "name": "phpunit/php-code-coverage",
- "version": "2.2.2",
- "version_normalized": "2.2.2.0",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-code-coverage.git",
- "reference": "2d7c03c0e4e080901b8f33b2897b0577be18a13c"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/2d7c03c0e4e080901b8f33b2897b0577be18a13c",
- "reference": "2d7c03c0e4e080901b8f33b2897b0577be18a13c",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "phpunit/php-file-iterator": "~1.3",
- "phpunit/php-text-template": "~1.2",
- "phpunit/php-token-stream": "~1.3",
- "sebastian/environment": "^1.3.2",
- "sebastian/version": "~1.0"
- },
- "require-dev": {
- "ext-xdebug": ">=2.1.4",
- "phpunit/phpunit": "~4"
- },
- "suggest": {
- "ext-dom": "*",
- "ext-xdebug": ">=2.2.1",
- "ext-xmlwriter": "*"
- },
- "time": "2015-08-04 03:42:39",
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.2.x-dev"
- }
- },
- "installation-source": "dist",
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Library that provides collection, processing, and rendering functionality for PHP code coverage information.",
- "homepage": "https://github.com/sebastianbergmann/php-code-coverage",
- "keywords": [
- "coverage",
- "testing",
- "xunit"
- ]
- },
- {
- "name": "phpunit/phpunit",
- "version": "4.8.6",
- "version_normalized": "4.8.6.0",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/phpunit.git",
- "reference": "2246830f4a1a551c67933e4171bf2126dc29d357"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/2246830f4a1a551c67933e4171bf2126dc29d357",
- "reference": "2246830f4a1a551c67933e4171bf2126dc29d357",
- "shasum": ""
- },
- "require": {
- "ext-dom": "*",
- "ext-json": "*",
- "ext-pcre": "*",
- "ext-reflection": "*",
- "ext-spl": "*",
- "php": ">=5.3.3",
- "phpspec/prophecy": "^1.3.1",
- "phpunit/php-code-coverage": "~2.1",
- "phpunit/php-file-iterator": "~1.4",
- "phpunit/php-text-template": "~1.2",
- "phpunit/php-timer": ">=1.0.6",
- "phpunit/phpunit-mock-objects": "~2.3",
- "sebastian/comparator": "~1.1",
- "sebastian/diff": "~1.2",
- "sebastian/environment": "~1.3",
- "sebastian/exporter": "~1.2",
- "sebastian/global-state": "~1.0",
- "sebastian/version": "~1.0",
- "symfony/yaml": "~2.1|~3.0"
- },
- "suggest": {
- "phpunit/php-invoker": "~1.1"
- },
- "time": "2015-08-24 04:09:38",
- "bin": [
- "phpunit"
- ],
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.8.x-dev"
- }
- },
- "installation-source": "dist",
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "The PHP Unit Testing framework.",
- "homepage": "https://phpunit.de/",
- "keywords": [
- "phpunit",
- "testing",
- "xunit"
- ]
- },
- {
"name": "easyrdf/easyrdf",
"version": "0.9.1",
"version_normalized": "0.9.1.0",
@@ -1765,115 +1627,6 @@
]
},
{
- "name": "phpunit/php-token-stream",
- "version": "1.4.6",
- "version_normalized": "1.4.6.0",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-token-stream.git",
- "reference": "3ab72c62e550370a6cd5dc873e1a04ab57562f5b"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/3ab72c62e550370a6cd5dc873e1a04ab57562f5b",
- "reference": "3ab72c62e550370a6cd5dc873e1a04ab57562f5b",
- "shasum": ""
- },
- "require": {
- "ext-tokenizer": "*",
- "php": ">=5.3.3"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.2"
- },
- "time": "2015-08-16 08:51:00",
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "installation-source": "dist",
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Wrapper around PHP's tokenizer extension.",
- "homepage": "https://github.com/sebastianbergmann/php-token-stream/",
- "keywords": [
- "tokenizer"
- ]
- },
- {
- "name": "phpunit/phpunit-mock-objects",
- "version": "2.3.7",
- "version_normalized": "2.3.7.0",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/phpunit-mock-objects.git",
- "reference": "5e2645ad49d196e020b85598d7c97e482725786a"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/5e2645ad49d196e020b85598d7c97e482725786a",
- "reference": "5e2645ad49d196e020b85598d7c97e482725786a",
- "shasum": ""
- },
- "require": {
- "doctrine/instantiator": "^1.0.2",
- "php": ">=5.3.3",
- "phpunit/php-text-template": "~1.2",
- "sebastian/exporter": "~1.2"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.4"
- },
- "suggest": {
- "ext-soap": "*"
- },
- "time": "2015-08-19 09:14:08",
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.3.x-dev"
- }
- },
- "installation-source": "dist",
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sb@sebastian-bergmann.de",
- "role": "lead"
- }
- ],
- "description": "Mock Object library for PHPUnit",
- "homepage": "https://github.com/sebastianbergmann/phpunit-mock-objects/",
- "keywords": [
- "mock",
- "xunit"
- ]
- },
- {
"name": "sebastian/comparator",
"version": "1.2.0",
"version_normalized": "1.2.0.0",
@@ -3634,5 +3387,252 @@
"headless",
"testing"
]
+ },
+ {
+ "name": "phpunit/phpunit-mock-objects",
+ "version": "2.3.8",
+ "version_normalized": "2.3.8.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/sebastianbergmann/phpunit-mock-objects.git",
+ "reference": "ac8e7a3db35738d56ee9a76e78a4e03d97628983"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/ac8e7a3db35738d56ee9a76e78a4e03d97628983",
+ "reference": "ac8e7a3db35738d56ee9a76e78a4e03d97628983",
+ "shasum": ""
+ },
+ "require": {
+ "doctrine/instantiator": "^1.0.2",
+ "php": ">=5.3.3",
+ "phpunit/php-text-template": "~1.2",
+ "sebastian/exporter": "~1.2"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "~4.4"
+ },
+ "suggest": {
+ "ext-soap": "*"
+ },
+ "time": "2015-10-02 06:51:40",
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "2.3.x-dev"
+ }
+ },
+ "installation-source": "dist",
+ "autoload": {
+ "classmap": [
+ "src/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "BSD-3-Clause"
+ ],
+ "authors": [
+ {
+ "name": "Sebastian Bergmann",
+ "email": "sb@sebastian-bergmann.de",
+ "role": "lead"
+ }
+ ],
+ "description": "Mock Object library for PHPUnit",
+ "homepage": "https://github.com/sebastianbergmann/phpunit-mock-objects/",
+ "keywords": [
+ "mock",
+ "xunit"
+ ]
+ },
+ {
+ "name": "phpunit/php-token-stream",
+ "version": "1.4.8",
+ "version_normalized": "1.4.8.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/sebastianbergmann/php-token-stream.git",
+ "reference": "3144ae21711fb6cac0b1ab4cbe63b75ce3d4e8da"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/3144ae21711fb6cac0b1ab4cbe63b75ce3d4e8da",
+ "reference": "3144ae21711fb6cac0b1ab4cbe63b75ce3d4e8da",
+ "shasum": ""
+ },
+ "require": {
+ "ext-tokenizer": "*",
+ "php": ">=5.3.3"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "~4.2"
+ },
+ "time": "2015-09-15 10:49:45",
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "1.4-dev"
+ }
+ },
+ "installation-source": "dist",
+ "autoload": {
+ "classmap": [
+ "src/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "BSD-3-Clause"
+ ],
+ "authors": [
+ {
+ "name": "Sebastian Bergmann",
+ "email": "sebastian@phpunit.de"
+ }
+ ],
+ "description": "Wrapper around PHP's tokenizer extension.",
+ "homepage": "https://github.com/sebastianbergmann/php-token-stream/",
+ "keywords": [
+ "tokenizer"
+ ]
+ },
+ {
+ "name": "phpunit/php-code-coverage",
+ "version": "2.2.3",
+ "version_normalized": "2.2.3.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/sebastianbergmann/php-code-coverage.git",
+ "reference": "ef1ca6835468857944d5c3b48fa503d5554cff2f"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/ef1ca6835468857944d5c3b48fa503d5554cff2f",
+ "reference": "ef1ca6835468857944d5c3b48fa503d5554cff2f",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=5.3.3",
+ "phpunit/php-file-iterator": "~1.3",
+ "phpunit/php-text-template": "~1.2",
+ "phpunit/php-token-stream": "~1.3",
+ "sebastian/environment": "^1.3.2",
+ "sebastian/version": "~1.0"
+ },
+ "require-dev": {
+ "ext-xdebug": ">=2.1.4",
+ "phpunit/phpunit": "~4"
+ },
+ "suggest": {
+ "ext-dom": "*",
+ "ext-xdebug": ">=2.2.1",
+ "ext-xmlwriter": "*"
+ },
+ "time": "2015-09-14 06:51:16",
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "2.2.x-dev"
+ }
+ },
+ "installation-source": "dist",
+ "autoload": {
+ "classmap": [
+ "src/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "BSD-3-Clause"
+ ],
+ "authors": [
+ {
+ "name": "Sebastian Bergmann",
+ "email": "sb@sebastian-bergmann.de",
+ "role": "lead"
+ }
+ ],
+ "description": "Library that provides collection, processing, and rendering functionality for PHP code coverage information.",
+ "homepage": "https://github.com/sebastianbergmann/php-code-coverage",
+ "keywords": [
+ "coverage",
+ "testing",
+ "xunit"
+ ]
+ },
+ {
+ "name": "phpunit/phpunit",
+ "version": "4.8.10",
+ "version_normalized": "4.8.10.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/sebastianbergmann/phpunit.git",
+ "reference": "463163747474815c5ccd4ae12b5b355ec12158e8"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/463163747474815c5ccd4ae12b5b355ec12158e8",
+ "reference": "463163747474815c5ccd4ae12b5b355ec12158e8",
+ "shasum": ""
+ },
+ "require": {
+ "ext-dom": "*",
+ "ext-json": "*",
+ "ext-pcre": "*",
+ "ext-reflection": "*",
+ "ext-spl": "*",
+ "php": ">=5.3.3",
+ "phpspec/prophecy": "^1.3.1",
+ "phpunit/php-code-coverage": "~2.1",
+ "phpunit/php-file-iterator": "~1.4",
+ "phpunit/php-text-template": "~1.2",
+ "phpunit/php-timer": ">=1.0.6",
+ "phpunit/phpunit-mock-objects": "~2.3",
+ "sebastian/comparator": "~1.1",
+ "sebastian/diff": "~1.2",
+ "sebastian/environment": "~1.3",
+ "sebastian/exporter": "~1.2",
+ "sebastian/global-state": "~1.0",
+ "sebastian/version": "~1.0",
+ "symfony/yaml": "~2.1|~3.0"
+ },
+ "suggest": {
+ "phpunit/php-invoker": "~1.1"
+ },
+ "time": "2015-10-01 09:14:30",
+ "bin": [
+ "phpunit"
+ ],
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "4.8.x-dev"
+ }
+ },
+ "installation-source": "dist",
+ "autoload": {
+ "classmap": [
+ "src/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "BSD-3-Clause"
+ ],
+ "authors": [
+ {
+ "name": "Sebastian Bergmann",
+ "email": "sebastian@phpunit.de",
+ "role": "lead"
+ }
+ ],
+ "description": "The PHP Unit Testing framework.",
+ "homepage": "https://phpunit.de/",
+ "keywords": [
+ "phpunit",
+ "testing",
+ "xunit"
+ ]
}
]
diff --git a/vendor/phpunit/php-code-coverage/ChangeLog-2.2.md b/vendor/phpunit/php-code-coverage/ChangeLog-2.2.md
index a50b772..115e46e 100644
--- a/vendor/phpunit/php-code-coverage/ChangeLog-2.2.md
+++ b/vendor/phpunit/php-code-coverage/ChangeLog-2.2.md
@@ -2,6 +2,15 @@
All notable changes of the PHP_CodeCoverage 2.2 release series are documented in this file using the [Keep a CHANGELOG](http://keepachangelog.com/) principles.
+## [2.2.3] - 2015-09-14
+
+### Fixed
+
+* Fixed [#368](https://github.com/sebastianbergmann/php-code-coverage/pull/368): Blacklists and whitelists are not merged when merging data sets
+* Fixed [#370](https://github.com/sebastianbergmann/php-code-coverage/issues/370): Confusing statistics for source file that declares a class without methods
+* Fixed [#372](https://github.com/sebastianbergmann/php-code-coverage/pull/372): Nested classes and functions are not handled correctly
+* Fixed [#382](https://github.com/sebastianbergmann/php-code-coverage/issues/382): Crap4J report generates incorrect XML logfile
+
## [2.2.2] - 2015-08-04
### Added
@@ -33,6 +42,7 @@ All notable changes of the PHP_CodeCoverage 2.2 release series are documented in
* The dedicated driver for HHVM, `PHP_CodeCoverage_Driver_HHVM` has been removed
+[2.2.3]: https://github.com/sebastianbergmann/php-code-coverage/compare/2.2.3...2.2.3
[2.2.2]: https://github.com/sebastianbergmann/php-code-coverage/compare/2.2.1...2.2.2
[2.2.1]: https://github.com/sebastianbergmann/php-code-coverage/compare/2.2.0...2.2.1
[2.2.0]: https://github.com/sebastianbergmann/php-code-coverage/compare/2.1...2.2.0
diff --git a/vendor/phpunit/php-code-coverage/README.md b/vendor/phpunit/php-code-coverage/README.md
index 6ca608a..4411d7f 100644
--- a/vendor/phpunit/php-code-coverage/README.md
+++ b/vendor/phpunit/php-code-coverage/README.md
@@ -7,8 +7,19 @@
## Requirements
-* PHP 5.3.3 is required but using the latest version of PHP is highly recommended
-* [Xdebug](http://xdebug.org/) 2.1.3 is required but using the latest version of Xdebug is highly recommended
+PHP 5.3.3 is required but using the latest version of PHP is highly recommended
+
+### PHP 5
+
+[Xdebug](http://xdebug.org/) is the only source of raw code coverage data supported for PHP 5. Version 2.1.3 of Xdebug is required but using the latest version is highly recommended.
+
+### PHP 7
+
+[phpdbg](http://phpdbg.com/docs) is currently the only source of raw code coverage data supported for PHP 7. Once Xdebug has been updated for PHP 7 it, too, will be supported.
+
+### HHVM
+
+A version of HHVM that implements the Xdebug API for code coverage (`xdebug_*_code_coverage()`) is required.
## Installation
@@ -16,7 +27,7 @@ To add PHP_CodeCoverage as a local, per-project dependency to your project, simp
{
"require": {
- "phpunit/php-code-coverage": "~2.0"
+ "phpunit/php-code-coverage": "^2"
}
}
@@ -37,4 +48,3 @@ $writer->process($coverage, '/tmp/clover.xml');
$writer = new PHP_CodeCoverage_Report_HTML;
$writer->process($coverage, '/tmp/code-coverage-report');
```
-
diff --git a/vendor/phpunit/php-code-coverage/src/CodeCoverage.php b/vendor/phpunit/php-code-coverage/src/CodeCoverage.php
index 0bb582e..88326f0 100644
--- a/vendor/phpunit/php-code-coverage/src/CodeCoverage.php
+++ b/vendor/phpunit/php-code-coverage/src/CodeCoverage.php
@@ -340,6 +340,14 @@ class PHP_CodeCoverage
*/
public function merge(PHP_CodeCoverage $that)
{
+ $this->filter->setBlacklistedFiles(
+ array_merge($this->filter->getBlacklistedFiles(), $that->filter()->getBlacklistedFiles())
+ );
+
+ $this->filter->setWhitelistedFiles(
+ array_merge($this->filter->getWhitelistedFiles(), $that->filter()->getWhitelistedFiles())
+ );
+
foreach ($that->data as $file => $lines) {
if (!isset($this->data[$file])) {
if (!$this->filter->isFiltered($file)) {
@@ -364,13 +372,6 @@ class PHP_CodeCoverage
$this->tests = array_merge($this->tests, $that->getTests());
- $this->filter->setBlacklistedFiles(
- array_merge($this->filter->getBlacklistedFiles(), $that->filter()->getBlacklistedFiles())
- );
-
- $this->filter->setWhitelistedFiles(
- array_merge($this->filter->getWhitelistedFiles(), $that->filter()->getWhitelistedFiles())
- );
}
/**
diff --git a/vendor/phpunit/php-code-coverage/src/CodeCoverage/Filter.php b/vendor/phpunit/php-code-coverage/src/CodeCoverage/Filter.php
index fd5b6aa..bb4a251 100644
--- a/vendor/phpunit/php-code-coverage/src/CodeCoverage/Filter.php
+++ b/vendor/phpunit/php-code-coverage/src/CodeCoverage/Filter.php
@@ -172,7 +172,8 @@ class PHP_CodeCoverage_Filter
/**
* Checks whether a filename is a real filename.
*
- * @param string $filename
+ * @param string $filename
+ * @return bool
*/
public function isFile($filename)
{
diff --git a/vendor/phpunit/php-code-coverage/src/CodeCoverage/Report/Crap4j.php b/vendor/phpunit/php-code-coverage/src/CodeCoverage/Report/Crap4j.php
index 2deced2..c006ea6 100644
--- a/vendor/phpunit/php-code-coverage/src/CodeCoverage/Report/Crap4j.php
+++ b/vendor/phpunit/php-code-coverage/src/CodeCoverage/Report/Crap4j.php
@@ -116,7 +116,7 @@ class PHP_CodeCoverage_Report_Crap4j
if ($fullMethodCount > 0) {
$crapMethodPercent = $this->roundValue((100 * $fullCrapMethodCount) / $fullMethodCount);
} else {
- $crapMethodPercent = '';
+ $crapMethodPercent = 0;
}
$stats->appendChild($document->createElement('crapMethodPercent', $crapMethodPercent));
diff --git a/vendor/phpunit/php-code-coverage/src/CodeCoverage/Report/HTML/Renderer.php b/vendor/phpunit/php-code-coverage/src/CodeCoverage/Report/HTML/Renderer.php
index f5cabff..aacac88 100644
--- a/vendor/phpunit/php-code-coverage/src/CodeCoverage/Report/HTML/Renderer.php
+++ b/vendor/phpunit/php-code-coverage/src/CodeCoverage/Report/HTML/Renderer.php
@@ -58,7 +58,7 @@ abstract class PHP_CodeCoverage_Report_HTML_Renderer
*/
public function __construct($templatePath, $generator, $date, $lowUpperBound, $highLowerBound)
{
- $version = new SebastianBergmann\Version('2.2.2', dirname(dirname(dirname(dirname(__DIR__)))));
+ $version = new SebastianBergmann\Version('2.2.3', dirname(dirname(dirname(dirname(__DIR__)))));
$this->templatePath = $templatePath;
$this->generator = $generator;
@@ -76,9 +76,6 @@ abstract class PHP_CodeCoverage_Report_HTML_Renderer
protected function renderItemTemplate(Text_Template $template, array $data)
{
$numSeparator = ' / ';
- $classesBar = ' ';
- $classesLevel = 'None';
- $classesNumber = ' ';
if (isset($data['numClasses']) && $data['numClasses'] > 0) {
$classesLevel = $this->getColorLevel($data['testedClassesPercent']);
@@ -89,12 +86,12 @@ abstract class PHP_CodeCoverage_Report_HTML_Renderer
$classesBar = $this->getCoverageBar(
$data['testedClassesPercent']
);
+ } else {
+ $classesLevel = 'success';
+ $classesNumber = '0' . $numSeparator . '0';
+ $classesBar = $this->getCoverageBar(100);
}
- $methodsBar = ' ';
- $methodsLevel = 'None';
- $methodsNumber = ' ';
-
if ($data['numMethods'] > 0) {
$methodsLevel = $this->getColorLevel($data['testedMethodsPercent']);
@@ -104,12 +101,13 @@ abstract class PHP_CodeCoverage_Report_HTML_Renderer
$methodsBar = $this->getCoverageBar(
$data['testedMethodsPercent']
);
+ } else {
+ $methodsLevel = 'success';
+ $methodsNumber = '0' . $numSeparator . '0';
+ $methodsBar = $this->getCoverageBar(100);
+ $data['testedMethodsPercentAsString'] = '100.00%';
}
- $linesBar = ' ';
- $linesLevel = 'None';
- $linesNumber = ' ';
-
if ($data['numExecutableLines'] > 0) {
$linesLevel = $this->getColorLevel($data['linesExecutedPercent']);
@@ -119,6 +117,11 @@ abstract class PHP_CodeCoverage_Report_HTML_Renderer
$linesBar = $this->getCoverageBar(
$data['linesExecutedPercent']
);
+ } else {
+ $linesLevel = 'success';
+ $linesNumber = '0' . $numSeparator . '0';
+ $linesBar = $this->getCoverageBar(100);
+ $data['linesExecutedPercentAsString'] = '100.00%';
}
$template->setVar(
diff --git a/vendor/phpunit/php-code-coverage/src/CodeCoverage/Report/HTML/Renderer/Template/fonts/glyphicons-halflings-regular.ttf b/vendor/phpunit/php-code-coverage/src/CodeCoverage/Report/HTML/Renderer/Template/fonts/glyphicons-halflings-regular.ttf
index 1f85312..1413fc6 100644
--- a/vendor/phpunit/php-code-coverage/src/CodeCoverage/Report/HTML/Renderer/Template/fonts/glyphicons-halflings-regular.ttf
+++ b/vendor/phpunit/php-code-coverage/src/CodeCoverage/Report/HTML/Renderer/Template/fonts/glyphicons-halflings-regular.ttf
Binary files differ
diff --git a/vendor/phpunit/php-code-coverage/src/CodeCoverage/Report/Node/File.php b/vendor/phpunit/php-code-coverage/src/CodeCoverage/Report/Node/File.php
index 03b3d8c..32e43a6 100644
--- a/vendor/phpunit/php-code-coverage/src/CodeCoverage/Report/Node/File.php
+++ b/vendor/phpunit/php-code-coverage/src/CodeCoverage/Report/Node/File.php
@@ -351,6 +351,8 @@ class PHP_CodeCoverage_Report_Node_File extends PHP_CodeCoverage_Report_Node
*/
protected function calculateStatistics()
{
+ $classStack = $functionStack = array();
+
if ($this->cacheTokens) {
$tokens = PHP_Token_Stream_CachingFactory::get($this->getPath());
} else {
@@ -367,6 +369,10 @@ class PHP_CodeCoverage_Report_Node_File extends PHP_CodeCoverage_Report_Node
if (isset($this->startLines[$lineNumber])) {
// Start line of a class.
if (isset($this->startLines[$lineNumber]['className'])) {
+ if (isset($currentClass)) {
+ $classStack[] = &$currentClass;
+ }
+
$currentClass = &$this->startLines[$lineNumber];
} // Start line of a trait.
elseif (isset($this->startLines[$lineNumber]['traitName'])) {
@@ -376,12 +382,15 @@ class PHP_CodeCoverage_Report_Node_File extends PHP_CodeCoverage_Report_Node
$currentMethod = &$this->startLines[$lineNumber];
} // Start line of a function.
elseif (isset($this->startLines[$lineNumber]['functionName'])) {
+ if (isset($currentFunction)) {
+ $functionStack[] = &$currentFunction;
+ }
+
$currentFunction = &$this->startLines[$lineNumber];
}
}
- if (isset($this->coverageData[$lineNumber]) &&
- $this->coverageData[$lineNumber] !== null) {
+ if (isset($this->coverageData[$lineNumber])) {
if (isset($currentClass)) {
$currentClass['executableLines']++;
}
@@ -425,6 +434,13 @@ class PHP_CodeCoverage_Report_Node_File extends PHP_CodeCoverage_Report_Node
// End line of a class.
if (isset($this->endLines[$lineNumber]['className'])) {
unset($currentClass);
+
+ if ($classStack) {
+ end($classStack);
+ $key = key($classStack);
+ $currentClass = &$classStack[$key];
+ unset($classStack[$key]);
+ }
} // End line of a trait.
elseif (isset($this->endLines[$lineNumber]['traitName'])) {
unset($currentTrait);
@@ -434,6 +450,13 @@ class PHP_CodeCoverage_Report_Node_File extends PHP_CodeCoverage_Report_Node
} // End line of a function.
elseif (isset($this->endLines[$lineNumber]['functionName'])) {
unset($currentFunction);
+
+ if ($functionStack) {
+ end($functionStack);
+ $key = key($functionStack);
+ $currentFunction = &$functionStack[$key];
+ unset($functionStack[$key]);
+ }
}
}
}
diff --git a/vendor/phpunit/php-code-coverage/tests/PHP/CodeCoverage/Report/FactoryTest.php b/vendor/phpunit/php-code-coverage/tests/PHP/CodeCoverage/Report/FactoryTest.php
index fc3e251..84f14ae 100644
--- a/vendor/phpunit/php-code-coverage/tests/PHP/CodeCoverage/Report/FactoryTest.php
+++ b/vendor/phpunit/php-code-coverage/tests/PHP/CodeCoverage/Report/FactoryTest.php
@@ -60,68 +60,68 @@ class PHP_CodeCoverage_Report_FactoryTest extends PHP_CodeCoverage_TestCase
'BankAccount' => array(
'methods' => array(
'getBalance' => array(
- 'signature' => 'getBalance()',
- 'startLine' => 6,
- 'endLine' => 9,
+ 'signature' => 'getBalance()',
+ 'startLine' => 6,
+ 'endLine' => 9,
'executableLines' => 1,
- 'executedLines' => 1,
- 'ccn' => 1,
- 'coverage' => 100,
- 'crap' => '1',
- 'link' => 'BankAccount.php.html#6',
- 'methodName' => 'getBalance'
+ 'executedLines' => 1,
+ 'ccn' => 1,
+ 'coverage' => 100,
+ 'crap' => '1',
+ 'link' => 'BankAccount.php.html#6',
+ 'methodName' => 'getBalance'
),
'setBalance' => array(
- 'signature' => 'setBalance($balance)',
- 'startLine' => 11,
- 'endLine' => 18,
+ 'signature' => 'setBalance($balance)',
+ 'startLine' => 11,
+ 'endLine' => 18,
'executableLines' => 5,
- 'executedLines' => 0,
- 'ccn' => 2,
- 'coverage' => 0,
- 'crap' => 6,
- 'link' => 'BankAccount.php.html#11',
- 'methodName' => 'setBalance'
+ 'executedLines' => 0,
+ 'ccn' => 2,
+ 'coverage' => 0,
+ 'crap' => 6,
+ 'link' => 'BankAccount.php.html#11',
+ 'methodName' => 'setBalance'
),
'depositMoney' => array(
- 'signature' => 'depositMoney($balance)',
- 'startLine' => 20,
- 'endLine' => 25,
+ 'signature' => 'depositMoney($balance)',
+ 'startLine' => 20,
+ 'endLine' => 25,
'executableLines' => 2,
- 'executedLines' => 2,
- 'ccn' => 1,
- 'coverage' => 100,
- 'crap' => '1',
- 'link' => 'BankAccount.php.html#20',
- 'methodName' => 'depositMoney'
+ 'executedLines' => 2,
+ 'ccn' => 1,
+ 'coverage' => 100,
+ 'crap' => '1',
+ 'link' => 'BankAccount.php.html#20',
+ 'methodName' => 'depositMoney'
),
'withdrawMoney' => array(
- 'signature' => 'withdrawMoney($balance)',
- 'startLine' => 27,
- 'endLine' => 32,
+ 'signature' => 'withdrawMoney($balance)',
+ 'startLine' => 27,
+ 'endLine' => 32,
'executableLines' => 2,
- 'executedLines' => 2,
- 'ccn' => 1,
- 'coverage' => 100,
- 'crap' => '1',
- 'link' => 'BankAccount.php.html#27',
- 'methodName' => 'withdrawMoney'
+ 'executedLines' => 2,
+ 'ccn' => 1,
+ 'coverage' => 100,
+ 'crap' => '1',
+ 'link' => 'BankAccount.php.html#27',
+ 'methodName' => 'withdrawMoney'
),
),
- 'startLine' => 2,
+ 'startLine' => 2,
'executableLines' => 10,
- 'executedLines' => 5,
- 'ccn' => 5,
- 'coverage' => 50,
- 'crap' => '8.12',
- 'package' => array(
- 'namespace' => '',
+ 'executedLines' => 5,
+ 'ccn' => 5,
+ 'coverage' => 50,
+ 'crap' => '8.12',
+ 'package' => array(
+ 'namespace' => '',
'fullPackage' => '',
- 'category' => '',
- 'package' => '',
- 'subpackage' => ''
+ 'category' => '',
+ 'package' => '',
+ 'subpackage' => ''
),
- 'link' => 'BankAccount.php.html#2',
+ 'link' => 'BankAccount.php.html#2',
'className' => 'BankAccount'
)
),
@@ -146,7 +146,7 @@ class PHP_CodeCoverage_Report_FactoryTest extends PHP_CodeCoverage_TestCase
$this->assertEquals(
array(
'src' => array(
- 'Money.php/f' => array(),
+ 'Money.php/f' => array(),
'MoneyBag.php/f' => array()
)
),
@@ -181,12 +181,12 @@ class PHP_CodeCoverage_Report_FactoryTest extends PHP_CodeCoverage_TestCase
return array(
array(
array(
- 'Money.php' => array(),
+ 'Money.php' => array(),
'MoneyBag.php' => array()
),
'/home/sb/Money',
array(
- '/home/sb/Money/Money.php' => array(),
+ '/home/sb/Money/Money.php' => array(),
'/home/sb/Money/MoneyBag.php' => array()
)
),
@@ -206,14 +206,14 @@ class PHP_CodeCoverage_Report_FactoryTest extends PHP_CodeCoverage_TestCase
),
array(
array(
- 'Money.php' => array(),
- 'MoneyBag.php' => array(),
+ 'Money.php' => array(),
+ 'MoneyBag.php' => array(),
'Cash.phar/Cash.php' => array(),
),
'/home/sb/Money',
array(
- '/home/sb/Money/Money.php' => array(),
- '/home/sb/Money/MoneyBag.php' => array(),
+ '/home/sb/Money/Money.php' => array(),
+ '/home/sb/Money/MoneyBag.php' => array(),
'phar:///home/sb/Money/Cash.phar/Cash.php' => array(),
),
),
diff --git a/vendor/phpunit/php-code-coverage/tests/PHP/CodeCoverageTest.php b/vendor/phpunit/php-code-coverage/tests/PHP/CodeCoverageTest.php
index f9bf12e..a755b88 100644
--- a/vendor/phpunit/php-code-coverage/tests/PHP/CodeCoverageTest.php
+++ b/vendor/phpunit/php-code-coverage/tests/PHP/CodeCoverageTest.php
@@ -276,10 +276,10 @@ class PHP_CodeCoverageTest extends PHP_CodeCoverage_TestCase
$this->assertEquals(
array(
- 'BankAccountTest::testBalanceIsInitiallyZero' => array('size' => $size, 'status' => null),
- 'BankAccountTest::testBalanceCannotBecomeNegative' => array('size' => $size, 'status' => null),
+ 'BankAccountTest::testBalanceIsInitiallyZero' => array('size' => $size, 'status' => null),
+ 'BankAccountTest::testBalanceCannotBecomeNegative' => array('size' => $size, 'status' => null),
'BankAccountTest::testBalanceCannotBecomeNegative2' => array('size' => $size, 'status' => null),
- 'BankAccountTest::testDepositWithdrawMoney' => array('size' => $size, 'status' => null)
+ 'BankAccountTest::testDepositWithdrawMoney' => array('size' => $size, 'status' => null)
),
$coverage->getTests()
);
diff --git a/vendor/phpunit/php-code-coverage/tests/TestCase.php b/vendor/phpunit/php-code-coverage/tests/TestCase.php
index 09899dc..f982428 100644
--- a/vendor/phpunit/php-code-coverage/tests/TestCase.php
+++ b/vendor/phpunit/php-code-coverage/tests/TestCase.php
@@ -20,8 +20,8 @@ abstract class PHP_CodeCoverage_TestCase extends PHPUnit_Framework_TestCase
return array(
array(
TEST_FILES_PATH . 'BankAccount.php' => array(
- 8 => 1,
- 9 => -2,
+ 8 => 1,
+ 9 => -2,
13 => -1,
14 => -1,
15 => -1,
@@ -37,7 +37,7 @@ abstract class PHP_CodeCoverage_TestCase extends PHPUnit_Framework_TestCase
),
array(
TEST_FILES_PATH . 'BankAccount.php' => array(
- 8 => 1,
+ 8 => 1,
13 => 1,
16 => 1,
29 => 1,
@@ -45,7 +45,7 @@ abstract class PHP_CodeCoverage_TestCase extends PHPUnit_Framework_TestCase
),
array(
TEST_FILES_PATH . 'BankAccount.php' => array(
- 8 => 1,
+ 8 => 1,
13 => 1,
16 => 1,
22 => 1,
@@ -53,7 +53,7 @@ abstract class PHP_CodeCoverage_TestCase extends PHPUnit_Framework_TestCase
),
array(
TEST_FILES_PATH . 'BankAccount.php' => array(
- 8 => 1,
+ 8 => 1,
13 => 1,
14 => 1,
15 => 1,
@@ -214,7 +214,7 @@ abstract class PHP_CodeCoverage_TestCase extends PHPUnit_Framework_TestCase
0 => 'BankAccountTest::testBalanceIsInitiallyZero',
1 => 'BankAccountTest::testDepositWithdrawMoney'
),
- 9 => null,
+ 9 => null,
13 => array(),
14 => array(),
15 => array(),
diff --git a/vendor/phpunit/php-code-coverage/tests/_files/CoverageTwoDefaultClassAnnotations.php b/vendor/phpunit/php-code-coverage/tests/_files/CoverageTwoDefaultClassAnnotations.php
index 7c743db..7ffc5c9 100644
--- a/vendor/phpunit/php-code-coverage/tests/_files/CoverageTwoDefaultClassAnnotations.php
+++ b/vendor/phpunit/php-code-coverage/tests/_files/CoverageTwoDefaultClassAnnotations.php
@@ -6,7 +6,6 @@
*/
class CoverageTwoDefaultClassAnnotations
{
-
/**
* @covers Foo\CoveredClass::<public>
*/
diff --git a/vendor/phpunit/php-code-coverage/tests/_files/source_with_namespace.php b/vendor/phpunit/php-code-coverage/tests/_files/source_with_namespace.php
index ebe98ee..fb9dfa3 100644
--- a/vendor/phpunit/php-code-coverage/tests/_files/source_with_namespace.php
+++ b/vendor/phpunit/php-code-coverage/tests/_files/source_with_namespace.php
@@ -15,6 +15,6 @@ function &foo($bar)
{
$baz = function () {};
$a = true ? true : false;
- $b = "{$a}";
- $c = "${b}";
+ $b = "{$a}";
+ $c = "${b}";
}
diff --git a/vendor/phpunit/php-code-coverage/tests/_files/source_without_namespace.php b/vendor/phpunit/php-code-coverage/tests/_files/source_without_namespace.php
index 24d78e5..a291e74 100644
--- a/vendor/phpunit/php-code-coverage/tests/_files/source_without_namespace.php
+++ b/vendor/phpunit/php-code-coverage/tests/_files/source_without_namespace.php
@@ -13,6 +13,6 @@ function &foo($bar)
{
$baz = function () {};
$a = true ? true : false;
- $b = "{$a}";
- $c = "${b}";
+ $b = "{$a}";
+ $c = "${b}";
}
diff --git a/vendor/phpunit/php-token-stream/.travis.yml b/vendor/phpunit/php-token-stream/.travis.yml
index bc962b7..11dedef 100644
--- a/vendor/phpunit/php-token-stream/.travis.yml
+++ b/vendor/phpunit/php-token-stream/.travis.yml
@@ -6,19 +6,24 @@ php:
- 5.4
- 5.5
- 5.6
+ - 7.0
- hhvm
-before_script:
+matrix:
+ allow_failures:
+ - php: hhvm
+
+sudo: false
+
+before_install:
- composer self-update
- - composer install --no-interaction --prefer-source --dev
+
+install:
+ - travis_retry composer install --no-interaction --prefer-source
script:
- ./vendor/bin/phpunit --configuration ./build/phpunit.xml
-matrix:
- allow_failures:
- - php: hhvm
-
notifications:
email: false
webhooks:
diff --git a/vendor/phpunit/php-token-stream/src/Token/Stream.php b/vendor/phpunit/php-token-stream/src/Token/Stream.php
index a9c69be..59a9c29 100644
--- a/vendor/phpunit/php-token-stream/src/Token/Stream.php
+++ b/vendor/phpunit/php-token-stream/src/Token/Stream.php
@@ -352,8 +352,8 @@ class PHP_Token_Stream implements ArrayAccess, Countable, SeekableIterator
$this->classes = array();
$this->traits = array();
$this->functions = array();
- $class = false;
- $classEndLine = false;
+ $class = array();
+ $classEndLine = array();
$trait = false;
$traitEndLine = false;
$interface = false;
@@ -395,11 +395,11 @@ class PHP_Token_Stream implements ArrayAccess, Countable, SeekableIterator
);
if ($token instanceof PHP_Token_CLASS) {
- $class = $token->getName();
- $classEndLine = $token->getEndLine();
+ $class[] = $token->getName();
+ $classEndLine[] = $token->getEndLine();
- if ($class != 'anonymous class') {
- $this->classes[$class] = $tmp;
+ if ($class[count($class)-1] != 'anonymous class') {
+ $this->classes[$class[count($class)-1]] = $tmp;
}
} else {
$trait = $token->getName();
@@ -421,7 +421,7 @@ class PHP_Token_Stream implements ArrayAccess, Countable, SeekableIterator
'file' => $this->filename
);
- if ($class === false &&
+ if (empty($class) &&
$trait === false &&
$interface === false) {
$this->functions[$name] = $tmp;
@@ -431,11 +431,11 @@ class PHP_Token_Stream implements ArrayAccess, Countable, SeekableIterator
$tmp['startLine'],
$tmp['endLine']
);
- } elseif ($class !== false && $class != 'anonymous class') {
- $this->classes[$class]['methods'][$name] = $tmp;
+ } elseif (!empty($class) && $class[count($class)-1] != 'anonymous class') {
+ $this->classes[$class[count($class)-1]]['methods'][$name] = $tmp;
$this->addFunctionToMap(
- $class . '::' . $name,
+ $class[count($class)-1] . '::' . $name,
$tmp['startLine'],
$tmp['endLine']
);
@@ -453,10 +453,10 @@ class PHP_Token_Stream implements ArrayAccess, Countable, SeekableIterator
break;
case 'PHP_Token_CLOSE_CURLY':
- if ($classEndLine !== false &&
- $classEndLine == $token->getLine()) {
- $class = false;
- $classEndLine = false;
+ if (!empty($classEndLine) &&
+ $classEndLine[count($classEndLine)-1] == $token->getLine()) {
+ array_pop($classEndLine);
+ array_pop($class);
} elseif ($traitEndLine !== false &&
$traitEndLine == $token->getLine()) {
$trait = false;
diff --git a/vendor/phpunit/php-token-stream/tests/Token/ClassTest.php b/vendor/phpunit/php-token-stream/tests/Token/ClassTest.php
index 7080e56..4ba0296 100644
--- a/vendor/phpunit/php-token-stream/tests/Token/ClassTest.php
+++ b/vendor/phpunit/php-token-stream/tests/Token/ClassTest.php
@@ -93,4 +93,20 @@ class PHP_Token_ClassTest extends PHPUnit_Framework_TestCase
$this->assertEquals(array('class_with_method_that_declares_anonymous_class'), array_keys($classes));
}
+
+ /**
+ * @requires PHP 7
+ * @ticket https://github.com/sebastianbergmann/php-token-stream/issues/52
+ */
+ public function testAnonymousClassesAreHandledCorrectly2()
+ {
+ $ts = new PHP_Token_Stream(TEST_FILES_PATH . 'class_with_method_that_declares_anonymous_class2.php');
+
+ $classes = $ts->getClasses();
+
+ $this->assertEquals(array('Test'), array_keys($classes));
+ $this->assertEquals(array('methodOne', 'methodTwo'), array_keys($classes['Test']['methods']));
+
+ $this->assertEmpty($ts->getFunctions());
+ }
}
diff --git a/vendor/phpunit/php-token-stream/tests/_fixture/class_with_method_that_declares_anonymous_class2.php b/vendor/phpunit/php-token-stream/tests/_fixture/class_with_method_that_declares_anonymous_class2.php
new file mode 100644
index 0000000..9f3ee28
--- /dev/null
+++ b/vendor/phpunit/php-token-stream/tests/_fixture/class_with_method_that_declares_anonymous_class2.php
@@ -0,0 +1,16 @@
+<?php
+class Test {
+ public function methodOne() {
+ $foo = new class {
+ public function method_in_anonymous_class() {
+ return true;
+ }
+ };
+
+ return $foo->method_in_anonymous_class();
+ }
+
+ public function methodTwo() {
+ return false;
+ }
+}
diff --git a/vendor/phpunit/phpunit-mock-objects/src/Framework/MockObject/Generator.php b/vendor/phpunit/phpunit-mock-objects/src/Framework/MockObject/Generator.php
index 1bad5eb..3df3abb 100644
--- a/vendor/phpunit/phpunit-mock-objects/src/Framework/MockObject/Generator.php
+++ b/vendor/phpunit/phpunit-mock-objects/src/Framework/MockObject/Generator.php
@@ -1110,7 +1110,7 @@ class PHPUnit_Framework_MockObject_Generator
$methods = array();
foreach ($class->getMethods() as $method) {
- if ($method->isPublic() || $method->isAbstract()) {
+ if (($method->isPublic() || $method->isAbstract()) && !in_array($method->getName(), $methods)) {
$methods[] = $method->getName();
}
}
diff --git a/vendor/phpunit/phpunit-mock-objects/tests/GeneratorTest.php b/vendor/phpunit/phpunit-mock-objects/tests/GeneratorTest.php
index 087d1ab..51bd20c 100644
--- a/vendor/phpunit/phpunit-mock-objects/tests/GeneratorTest.php
+++ b/vendor/phpunit/phpunit-mock-objects/tests/GeneratorTest.php
@@ -183,4 +183,18 @@ class Framework_MockObject_GeneratorTest extends PHPUnit_Framework_TestCase
$mock = $this->generator->getMock('SingletonClass', array('doSomething'), array(), '', false);
}
+
+ /**
+ * ReflectionClass::getMethods for SoapClient on PHP 5.3 produces PHP Fatal Error
+ * @runInSeparateProcess
+ */
+ public function testGetMockForSoapClientReflectionMethodsDuplication()
+ {
+ if (version_compare(PHP_VERSION, '5.4.0', '>=')) {
+ $this->markTestSkipped('Only for PHP < 5.4.0');
+ }
+
+ $mock = $this->generator->getMock('SoapClient', array(), array(), '', false);
+ $this->assertInstanceOf('SoapClient', $mock);
+ }
}
diff --git a/vendor/phpunit/phpunit/.php_cs b/vendor/phpunit/phpunit/.php_cs
new file mode 100644
index 0000000..5b353d2
--- /dev/null
+++ b/vendor/phpunit/phpunit/.php_cs
@@ -0,0 +1,44 @@
+<?php
+$finder = Symfony\CS\Finder\DefaultFinder::create()
+ ->files()
+ ->in('build')
+ ->in('src')
+ ->in('tests')
+ ->name('*.php')
+ ->name('*.phpt');
+
+return Symfony\CS\Config\Config::create()
+ ->level(\Symfony\CS\FixerInterface::NONE_LEVEL)
+ ->fixers(
+ array(
+ 'duplicate_semicolon',
+ 'empty_return',
+ 'extra_empty_lines',
+ 'join_function',
+ 'list_commas',
+ 'no_blank_lines_after_class_opening',
+ 'no_empty_lines_after_phpdocs',
+ 'phpdoc_indent',
+ 'phpdoc_no_access',
+ 'phpdoc_no_empty_return',
+ 'phpdoc_no_package',
+ 'phpdoc_params',
+ 'phpdoc_scalar',
+ 'phpdoc_to_comment',
+ 'phpdoc_trim',
+ 'return',
+ 'self_accessor',
+ 'single_quote',
+ 'spaces_before_semicolon',
+ 'spaces_cast',
+ 'ternary_spaces',
+ 'trim_array_spaces',
+ 'unused_use',
+ 'whitespacy_lines',
+ 'align_double_arrow',
+ 'align_equals',
+ 'concat_with_spaces'
+ )
+ )
+ ->finder($finder);
+
diff --git a/vendor/phpunit/phpunit/.travis.yml b/vendor/phpunit/phpunit/.travis.yml
index 07268c6..3be518e 100644
--- a/vendor/phpunit/phpunit/.travis.yml
+++ b/vendor/phpunit/phpunit/.travis.yml
@@ -24,7 +24,7 @@ install:
script:
- ./phpunit
- - ./phpunit --configuration ./build/travis-ci-fail.xml > /dev/null; if [ $? -eq 0 ]; then echo "SHOULD FAIL"; exit 1; else echo "fail checked"; fi;
+ - ./phpunit --configuration ./build/travis-ci-fail.xml > /dev/null; if [ $? -eq 0 ]; then echo "SHOULD FAIL"; false; else echo "fail checked"; fi;
- xmllint --noout --schema phpunit.xsd phpunit.xml.dist
- xmllint --noout --schema phpunit.xsd tests/_files/configuration.xml
- xmllint --noout --schema phpunit.xsd tests/_files/configuration_empty.xml
diff --git a/vendor/phpunit/phpunit/CONTRIBUTING.md b/vendor/phpunit/phpunit/CONTRIBUTING.md
index d96decc..aee139f 100644
--- a/vendor/phpunit/phpunit/CONTRIBUTING.md
+++ b/vendor/phpunit/phpunit/CONTRIBUTING.md
@@ -1,31 +1,57 @@
# Contributing to PHPUnit
+## Contributor Code of Conduct
+
Please note that this project is released with a [Contributor Code of Conduct](CODE_OF_CONDUCT.md). By participating in this project you agree to abide by its terms.
+## Workflow
+
* Fork the project.
* Make your bug fix or feature addition.
* Add tests for it. This is important so we don't break it in a future version unintentionally.
* Send a pull request. Bonus points for topic branches.
-Pull requests for bug fixes must be based on the current stable branch whereas pull requests for new features must be based on `master`.
+Please make sure that you have [set up your user name and email address](http://git-scm.com/book/en/v2/Getting-Started-First-Time-Git-Setup) for use with Git. Strings such as `silly nick name <root@localhost>` look really stupid in the commit history of a project.
+
+Pull requests for bug fixes must be based on the current stable branch whereas pull requests for new features must be based on the current alpha branch (when `5.0` is the current stable branch, then `5.1` is the current beta branch and `5.2` is the current alpha branch).
We are trying to keep backwards compatibility breaks in PHPUnit to an absolute minimum. Please take this into account when proposing changes.
Due to time constraints, we are not always able to respond as quickly as we would like. Please do not take delays personal and feel free to remind us if you feel that we forgot to respond.
+## Coding Guidelines
+
+This project comes with a configuration file for [php-cs-fixer](https://github.com/FriendsOfPHP/PHP-CS-Fixer) (`.php_cs`) that you can use to (re)format your sourcecode for compliance with this project's coding guidelines:
+
+```bash
+$ wget http://get.sensiolabs.org/php-cs-fixer.phar
+
+$ php php-cs-fixer.phar fix
+```
+
## Using PHPUnit from a Git checkout
The following commands can be used to perform the initial checkout of PHPUnit:
- git clone git://github.com/sebastianbergmann/phpunit.git
- cd phpunit
+```bash
+$ git clone git://github.com/sebastianbergmann/phpunit.git
+
+$ cd phpunit
+```
Retrieve PHPUnit's dependencies using [Composer](http://getcomposer.org/):
- wget http://getcomposer.org/composer.phar
- php composer.phar install
+```bash
+$ wget http://getcomposer.org/composer.phar
+
+$ php composer.phar install
+```
+
+The `phpunit` script can be used to invoke the PHPUnit test runner:
-The `phpunit` script can be used to invoke the PHPUnit test runner.
+```bash
+$ ./phpunit --version
+```
## Reporting issues
diff --git a/vendor/phpunit/phpunit/ChangeLog-4.8.md b/vendor/phpunit/phpunit/ChangeLog-4.8.md
index 0557d13..9752eb7 100644
--- a/vendor/phpunit/phpunit/ChangeLog-4.8.md
+++ b/vendor/phpunit/phpunit/ChangeLog-4.8.md
@@ -2,6 +2,28 @@
All notable changes of the PHPUnit 4.8 release series are documented in this file using the [Keep a CHANGELOG](http://keepachangelog.com/) principles.
+## [4.8.10] - 2015-10-01
+
+### Fixed
+
+* Merged [#1884](https://github.com/sebastianbergmann/phpunit/issues/1884): Avoid passing `Error` to `onNotSuccessfulTest()` on PHP 7
+
+## [4.8.9] - 2015-09-20
+
+### Fixed
+
+* Fixed regression introduced in PHPUnit 4.8.8
+
+## [4.8.8] - 2015-09-19
+
+### Fixed
+
+* Fixed [#1860](https://github.com/sebastianbergmann/phpunit/issues/1860): Not well-formed XML strings are always considered equal by `PHPUnit_Framework_Assert::assertXmlStringEqualsXmlString()`
+
+## [4.8.7] - 2015-09-14
+
+New PHAR release due to updated dependencies
+
## [4.8.6] - 2015-08-24
### Fixed
@@ -53,6 +75,10 @@ All notable changes of the PHPUnit 4.8 release series are documented in this fil
* Made the argument check of `assertContains()` and `assertNotContains()` more strict to prevent undefined behavior such as [#1808](https://github.com/sebastianbergmann/phpunit/issues/1808)
* Changed the name of the default group from `__nogroup__` to `default`
+[4.8.10]: https://github.com/sebastianbergmann/phpunit/compare/4.8.9...4.8.10
+[4.8.9]: https://github.com/sebastianbergmann/phpunit/compare/4.8.8...4.8.9
+[4.8.8]: https://github.com/sebastianbergmann/phpunit/compare/4.8.7...4.8.8
+[4.8.7]: https://github.com/sebastianbergmann/phpunit/compare/4.8.6...4.8.7
[4.8.6]: https://github.com/sebastianbergmann/phpunit/compare/4.8.5...4.8.6
[4.8.5]: https://github.com/sebastianbergmann/phpunit/compare/4.8.4...4.8.5
[4.8.4]: https://github.com/sebastianbergmann/phpunit/compare/4.8.3...4.8.4
diff --git a/vendor/phpunit/phpunit/README.md b/vendor/phpunit/phpunit/README.md
index 8d4f9c4..d1b5f30 100644
--- a/vendor/phpunit/phpunit/README.md
+++ b/vendor/phpunit/phpunit/README.md
@@ -2,23 +2,31 @@
PHPUnit is a programmer-oriented testing framework for PHP. It is an instance of the xUnit architecture for unit testing frameworks.
-[![Build Status](https://img.shields.io/travis/sebastianbergmann/phpunit/4.8.svg?style=flat-square)](https://travis-ci.org/sebastianbergmann/phpunit)
[![Latest Stable Version](https://img.shields.io/packagist/v/phpunit/phpunit.svg?style=flat-square)](https://packagist.org/packages/phpunit/phpunit)
+[![Minimum PHP Version](https://img.shields.io/badge/php-%3E%3D%205.3.3-8892BF.svg?style=flat-square)](https://php.net/)
+[![Build Status](https://img.shields.io/travis/sebastianbergmann/phpunit/4.8.svg?style=flat-square)](https://travis-ci.org/sebastianbergmann/phpunit)
## Installation
-We distribute a [PHP Archive (PHAR)](http://php.net/phar) that has all required (as well as some optional) dependencies of PHPUnit bundled in a single file:
+We distribute a [PHP Archive (PHAR)](https://php.net/phar) that has all required (as well as some optional) dependencies of PHPUnit bundled in a single file:
+
+```bash
+$ wget https://phar.phpunit.de/phpunit.phar
- wget https://phar.phpunit.de/phpunit.phar
- chmod +x phpunit.phar
- mv phpunit.phar /usr/local/bin/phpunit
+$ chmod +x phpunit.phar
+
+$ mv phpunit.phar /usr/local/bin/phpunit
+```
You can also immediately use the PHAR after you have downloaded it, of course:
- wget https://phar.phpunit.de/phpunit.phar
- php phpunit.phar
+```bash
+$ wget https://phar.phpunit.de/phpunit.phar
+
+$ php phpunit.phar
+```
-Alternatively, you may use [Composer](http://getcomposer.org/) to download and install PHPUnit as well as its dependencies. Please refer to the [documentation](https://phpunit.de/documentation.html) for details on how to do this.
+Alternatively, you may use [Composer](https://getcomposer.org/) to download and install PHPUnit as well as its dependencies. Please refer to the [documentation](https://phpunit.de/documentation.html) for details on how to do this.
## Contribute
diff --git a/vendor/phpunit/phpunit/src/Framework/Assert.php b/vendor/phpunit/phpunit/src/Framework/Assert.php
index 7ddd6d9..948a599 100644
--- a/vendor/phpunit/phpunit/src/Framework/Assert.php
+++ b/vendor/phpunit/phpunit/src/Framework/Assert.php
@@ -1698,16 +1698,8 @@ abstract class PHPUnit_Framework_Assert
*/
public static function assertXmlFileEqualsXmlFile($expectedFile, $actualFile, $message = '')
{
- self::assertFileExists($expectedFile);
- self::assertFileExists($actualFile);
-
- $expected = new DOMDocument;
- $expected->preserveWhiteSpace = false;
- $expected->load($expectedFile);
-
- $actual = new DOMDocument;
- $actual->preserveWhiteSpace = false;
- $actual->load($actualFile);
+ $expected = PHPUnit_Util_XML::loadFile($expectedFile);
+ $actual = PHPUnit_Util_XML::loadFile($actualFile);
self::assertEquals($expected, $actual, $message);
}
@@ -1722,16 +1714,8 @@ abstract class PHPUnit_Framework_Assert
*/
public static function assertXmlFileNotEqualsXmlFile($expectedFile, $actualFile, $message = '')
{
- self::assertFileExists($expectedFile);
- self::assertFileExists($actualFile);
-
- $expected = new DOMDocument;
- $expected->preserveWhiteSpace = false;
- $expected->load($expectedFile);
-
- $actual = new DOMDocument;
- $actual->preserveWhiteSpace = false;
- $actual->load($actualFile);
+ $expected = PHPUnit_Util_XML::loadFile($expectedFile);
+ $actual = PHPUnit_Util_XML::loadFile($actualFile);
self::assertNotEquals($expected, $actual, $message);
}
@@ -1746,15 +1730,8 @@ abstract class PHPUnit_Framework_Assert
*/
public static function assertXmlStringEqualsXmlFile($expectedFile, $actualXml, $message = '')
{
- self::assertFileExists($expectedFile);
-
- $expected = new DOMDocument;
- $expected->preserveWhiteSpace = false;
- $expected->load($expectedFile);
-
- $actual = new DOMDocument;
- $actual->preserveWhiteSpace = false;
- $actual->loadXML($actualXml);
+ $expected = PHPUnit_Util_XML::loadFile($expectedFile);
+ $actual = PHPUnit_Util_XML::load($actualXml);
self::assertEquals($expected, $actual, $message);
}
@@ -1769,15 +1746,8 @@ abstract class PHPUnit_Framework_Assert
*/
public static function assertXmlStringNotEqualsXmlFile($expectedFile, $actualXml, $message = '')
{
- self::assertFileExists($expectedFile);
-
- $expected = new DOMDocument;
- $expected->preserveWhiteSpace = false;
- $expected->load($expectedFile);
-
- $actual = new DOMDocument;
- $actual->preserveWhiteSpace = false;
- $actual->loadXML($actualXml);
+ $expected = PHPUnit_Util_XML::loadFile($expectedFile);
+ $actual = PHPUnit_Util_XML::load($actualXml);
self::assertNotEquals($expected, $actual, $message);
}
@@ -1792,13 +1762,8 @@ abstract class PHPUnit_Framework_Assert
*/
public static function assertXmlStringEqualsXmlString($expectedXml, $actualXml, $message = '')
{
- $expected = new DOMDocument;
- $expected->preserveWhiteSpace = false;
- $expected->loadXML($expectedXml);
-
- $actual = new DOMDocument;
- $actual->preserveWhiteSpace = false;
- $actual->loadXML($actualXml);
+ $expected = PHPUnit_Util_XML::load($expectedXml);
+ $actual = PHPUnit_Util_XML::load($actualXml);
self::assertEquals($expected, $actual, $message);
}
@@ -1813,13 +1778,8 @@ abstract class PHPUnit_Framework_Assert
*/
public static function assertXmlStringNotEqualsXmlString($expectedXml, $actualXml, $message = '')
{
- $expected = new DOMDocument;
- $expected->preserveWhiteSpace = false;
- $expected->loadXML($expectedXml);
-
- $actual = new DOMDocument;
- $actual->preserveWhiteSpace = false;
- $actual->loadXML($actualXml);
+ $expected = PHPUnit_Util_XML::load($expectedXml);
+ $actual = PHPUnit_Util_XML::load($actualXml);
self::assertNotEquals($expected, $actual, $message);
}
diff --git a/vendor/phpunit/phpunit/src/Framework/TestCase.php b/vendor/phpunit/phpunit/src/Framework/TestCase.php
index d993264..22f344a 100644
--- a/vendor/phpunit/phpunit/src/Framework/TestCase.php
+++ b/vendor/phpunit/phpunit/src/Framework/TestCase.php
@@ -848,6 +848,11 @@ abstract class PHPUnit_Framework_TestCase extends PHPUnit_Framework_Assert imple
$e = new PHPUnit_Framework_AssertionFailedError($e->getMessage());
}
+ if (!$e instanceof Exception) {
+ // Rethrow Error directly on PHP 7 as onNotSuccessfulTest does not support it
+ throw $e;
+ }
+
$this->onNotSuccessfulTest($e);
}
}
diff --git a/vendor/phpunit/phpunit/src/Runner/Version.php b/vendor/phpunit/phpunit/src/Runner/Version.php
index 67fa3b3..884dd5b 100644
--- a/vendor/phpunit/phpunit/src/Runner/Version.php
+++ b/vendor/phpunit/phpunit/src/Runner/Version.php
@@ -30,7 +30,7 @@ class PHPUnit_Runner_Version
}
if (self::$version === null) {
- $version = new SebastianBergmann\Version('4.8.6', dirname(dirname(__DIR__)));
+ $version = new SebastianBergmann\Version('4.8.10', dirname(dirname(__DIR__)));
self::$version = $version->getVersion();
}
diff --git a/vendor/phpunit/phpunit/src/Util/Blacklist.php b/vendor/phpunit/phpunit/src/Util/Blacklist.php
index d526dd8..35a053e 100644
--- a/vendor/phpunit/phpunit/src/Util/Blacklist.php
+++ b/vendor/phpunit/phpunit/src/Util/Blacklist.php
@@ -28,7 +28,6 @@ class PHPUnit_Util_Blacklist
'PHPUnit_Extensions_Database_TestCase' => 2,
'PHPUnit_Framework_MockObject_Generator' => 2,
'PHPUnit_Extensions_SeleniumTestCase' => 2,
- 'PHPUnit_Extensions_Story_TestCase' => 2,
'Text_Template' => 1,
'Symfony\Component\Yaml\Yaml' => 1,
'SebastianBergmann\Diff\Diff' => 1,
diff --git a/vendor/phpunit/phpunit/src/Util/Configuration.php b/vendor/phpunit/phpunit/src/Util/Configuration.php
index 395db8a..eab3b65 100644
--- a/vendor/phpunit/phpunit/src/Util/Configuration.php
+++ b/vendor/phpunit/phpunit/src/Util/Configuration.php
@@ -293,11 +293,11 @@ class PHPUnit_Util_Configuration
);
foreach ($this->xpath->query('groups/include/group') as $group) {
- $groups['include'][] = (string) $group->nodeValue;
+ $groups['include'][] = (string) $group->textContent;
}
foreach ($this->xpath->query('groups/exclude/group') as $group) {
- $groups['exclude'][] = (string) $group->nodeValue;
+ $groups['exclude'][] = (string) $group->textContent;
}
return $groups;
@@ -331,7 +331,7 @@ class PHPUnit_Util_Configuration
if ($argument instanceof DOMElement) {
if ($argument->tagName == 'file' ||
$argument->tagName == 'directory') {
- $arguments[] = $this->toAbsolutePath((string) $argument->nodeValue);
+ $arguments[] = $this->toAbsolutePath((string) $argument->textContent);
} else {
$arguments[] = PHPUnit_Util_XML::xmlToVariable($argument);
}
@@ -441,7 +441,7 @@ class PHPUnit_Util_Configuration
);
foreach ($this->xpath->query('php/includePath') as $includePath) {
- $path = (string) $includePath->nodeValue;
+ $path = (string) $includePath->textContent;
if ($path) {
$result['include_path'][] = $this->toAbsolutePath($path);
}
@@ -891,7 +891,7 @@ class PHPUnit_Util_Configuration
$exclude = array();
foreach ($testSuiteNode->getElementsByTagName('exclude') as $excludeNode) {
- $excludeFile = (string) $excludeNode->nodeValue;
+ $excludeFile = (string) $excludeNode->textContent;
if ($excludeFile) {
$exclude[] = $this->toAbsolutePath($excludeFile);
}
@@ -904,7 +904,7 @@ class PHPUnit_Util_Configuration
continue;
}
- $directory = (string) $directoryNode->nodeValue;
+ $directory = (string) $directoryNode->textContent;
if (empty($directory)) {
continue;
@@ -952,7 +952,7 @@ class PHPUnit_Util_Configuration
continue;
}
- $file = (string) $fileNode->nodeValue;
+ $file = (string) $fileNode->textContent;
if (empty($file)) {
continue;
@@ -1033,7 +1033,7 @@ class PHPUnit_Util_Configuration
$directories = array();
foreach ($this->xpath->query($query) as $directory) {
- $directoryPath = (string) $directory->nodeValue;
+ $directoryPath = (string) $directory->textContent;
if (!$directoryPath) {
continue;
@@ -1078,7 +1078,7 @@ class PHPUnit_Util_Configuration
$files = array();
foreach ($this->xpath->query($query) as $file) {
- $filePath = (string) $file->nodeValue;
+ $filePath = (string) $file->textContent;
if ($filePath) {
$files[] = $this->toAbsolutePath($filePath);
}
diff --git a/vendor/phpunit/phpunit/src/Util/XML.php b/vendor/phpunit/phpunit/src/Util/XML.php
index f3a9355..16c4c0e 100644
--- a/vendor/phpunit/phpunit/src/Util/XML.php
+++ b/vendor/phpunit/phpunit/src/Util/XML.php
@@ -100,7 +100,8 @@ class PHPUnit_Util_XML
@chdir(dirname($filename));
}
- $document = new DOMDocument;
+ $document = new DOMDocument;
+ $document->preserveWhiteSpace = false;
$internal = libxml_use_internal_errors(true);
$message = '';
@@ -157,7 +158,7 @@ class PHPUnit_Util_XML
public static function nodeToText(DOMNode $node)
{
if ($node->childNodes->length == 1) {
- return $node->nodeValue;
+ return $node->textContent;
}
$result = '';
@@ -200,7 +201,13 @@ class PHPUnit_Util_XML
$variable = array();
foreach ($element->getElementsByTagName('element') as $element) {
- $value = self::xmlToVariable($element->childNodes->item(1));
+ $item = $element->childNodes->item(0);
+
+ if ($item instanceof DOMText) {
+ $item = $element->childNodes->item(1);
+ }
+
+ $value = self::xmlToVariable($item);
if ($element->hasAttribute('key')) {
$variable[(string) $element->getAttribute('key')] = $value;
@@ -231,13 +238,13 @@ class PHPUnit_Util_XML
break;
case 'boolean':
- $variable = $element->nodeValue == 'true' ? true : false;
+ $variable = $element->textContent == 'true' ? true : false;
break;
case 'integer':
case 'double':
case 'string':
- $variable = $element->nodeValue;
+ $variable = $element->textContent;
settype($variable, $element->tagName);
break;
diff --git a/vendor/phpunit/phpunit/tests/Framework/AssertTest.php b/vendor/phpunit/phpunit/tests/Framework/AssertTest.php
index 024b9f1..3406be8 100644
--- a/vendor/phpunit/phpunit/tests/Framework/AssertTest.php
+++ b/vendor/phpunit/phpunit/tests/Framework/AssertTest.php
@@ -13,6 +13,9 @@
*/
class Framework_AssertTest extends PHPUnit_Framework_TestCase
{
+ /**
+ * @var string
+ */
private $filesDirectory;
protected function setUp()
@@ -167,7 +170,7 @@ class Framework_AssertTest extends PHPUnit_Framework_TestCase
* @covers PHPUnit_Framework_Assert::assertArraySubset
* @covers PHPUnit_Framework_Constraint_ArraySubset
*/
- public function testassertArraySubset()
+ public function testAssertArraySubset()
{
$array = array(
'a' => 'item a',
@@ -197,7 +200,7 @@ class Framework_AssertTest extends PHPUnit_Framework_TestCase
* @covers PHPUnit_Framework_Assert::assertArraySubset
* @covers PHPUnit_Framework_Constraint_ArraySubset
*/
- public function testassertArraySubsetWithDeepNestedArrays()
+ public function testAssertArraySubsetWithDeepNestedArrays()
{
$array = array(
'path' => array(
@@ -227,7 +230,7 @@ class Framework_AssertTest extends PHPUnit_Framework_TestCase
* @covers PHPUnit_Framework_Assert::assertArraySubset
* @covers PHPUnit_Framework_Constraint_ArraySubset
*/
- public function testassertArraySubsetWithNoStrictCheckAndObjects()
+ public function testAssertArraySubsetWithNoStrictCheckAndObjects()
{
$obj = new \stdClass;
$reference = &$obj;
@@ -241,7 +244,7 @@ class Framework_AssertTest extends PHPUnit_Framework_TestCase
* @covers PHPUnit_Framework_Assert::assertArraySubset
* @covers PHPUnit_Framework_Constraint_ArraySubset
*/
- public function testassertArraySubsetWithStrictCheckAndObjects()
+ public function testAssertArraySubsetWithStrictCheckAndObjects()
{
$obj = new \stdClass;
$reference = &$obj;
@@ -265,11 +268,14 @@ class Framework_AssertTest extends PHPUnit_Framework_TestCase
* @expectedExceptionMessage array or ArrayAccess
* @dataProvider assertArraySubsetInvalidArgumentProvider
*/
- public function testassertArraySubsetRaisesExceptionForInvalidArguments($partial, $subject)
+ public function testAssertArraySubsetRaisesExceptionForInvalidArguments($partial, $subject)
{
$this->assertArraySubset($partial, $subject);
}
+ /**
+ * @return array
+ */
public function assertArraySubsetInvalidArgumentProvider()
{
return array(
@@ -627,7 +633,7 @@ class Framework_AssertTest extends PHPUnit_Framework_TestCase
*/
public function testAssertArrayContainsOnlyStdClass()
{
- $this->assertContainsOnly('StdClass', array(new StdClass));
+ $this->assertContainsOnly('StdClass', array(new stdClass));
try {
$this->assertContainsOnly('StdClass', array('StdClass'));
@@ -646,7 +652,7 @@ class Framework_AssertTest extends PHPUnit_Framework_TestCase
$this->assertNotContainsOnly('StdClass', array('StdClass'));
try {
- $this->assertNotContainsOnly('StdClass', array(new StdClass));
+ $this->assertNotContainsOnly('StdClass', array(new stdClass));
} catch (PHPUnit_Framework_AssertionFailedError $e) {
return;
}
@@ -654,15 +660,6 @@ class Framework_AssertTest extends PHPUnit_Framework_TestCase
$this->fail();
}
- protected function createDOMDocument($content)
- {
- $document = new DOMDocument;
- $document->preserveWhiteSpace = false;
- $document->loadXML($content);
-
- return $document;
- }
-
protected function sameValues()
{
$object = new SampleClass(4, 8, 15);
@@ -756,24 +753,24 @@ class Framework_AssertTest extends PHPUnit_Framework_TestCase
array($storage1, $storage2),
// DOMDocument
array(
- $this->createDOMDocument('<root></root>'),
- $this->createDOMDocument('<bar/>'),
+ PHPUnit_Util_XML::load('<root></root>'),
+ PHPUnit_Util_XML::load('<bar/>'),
),
array(
- $this->createDOMDocument('<foo attr1="bar"/>'),
- $this->createDOMDocument('<foo attr1="foobar"/>'),
+ PHPUnit_Util_XML::load('<foo attr1="bar"/>'),
+ PHPUnit_Util_XML::load('<foo attr1="foobar"/>'),
),
array(
- $this->createDOMDocument('<foo> bar </foo>'),
- $this->createDOMDocument('<foo />'),
+ PHPUnit_Util_XML::load('<foo> bar </foo>'),
+ PHPUnit_Util_XML::load('<foo />'),
),
array(
- $this->createDOMDocument('<foo xmlns="urn:myns:bar"/>'),
- $this->createDOMDocument('<foo xmlns="urn:notmyns:bar"/>'),
+ PHPUnit_Util_XML::load('<foo xmlns="urn:myns:bar"/>'),
+ PHPUnit_Util_XML::load('<foo xmlns="urn:notmyns:bar"/>'),
),
array(
- $this->createDOMDocument('<foo> bar </foo>'),
- $this->createDOMDocument('<foo> bir </foo>'),
+ PHPUnit_Util_XML::load('<foo> bar </foo>'),
+ PHPUnit_Util_XML::load('<foo> bir </foo>'),
),
array(
new DateTime('2013-03-29 04:13:35', new DateTimeZone('America/New_York')),
@@ -876,20 +873,20 @@ class Framework_AssertTest extends PHPUnit_Framework_TestCase
array($storage1, $storage2),
// DOMDocument
array(
- $this->createDOMDocument('<root></root>'),
- $this->createDOMDocument('<root/>'),
+ PHPUnit_Util_XML::load('<root></root>'),
+ PHPUnit_Util_XML::load('<root/>'),
),
array(
- $this->createDOMDocument('<root attr="bar"></root>'),
- $this->createDOMDocument('<root attr="bar"/>'),
+ PHPUnit_Util_XML::load('<root attr="bar"></root>'),
+ PHPUnit_Util_XML::load('<root attr="bar"/>'),
),
array(
- $this->createDOMDocument('<root><foo attr="bar"></foo></root>'),
- $this->createDOMDocument('<root><foo attr="bar"/></root>'),
+ PHPUnit_Util_XML::load('<root><foo attr="bar"></foo></root>'),
+ PHPUnit_Util_XML::load('<root><foo attr="bar"/></root>'),
),
array(
- $this->createDOMDocument("<root>\n <child/>\n</root>"),
- $this->createDOMDocument('<root><child/></root>'),
+ PHPUnit_Util_XML::load("<root>\n <child/>\n</root>"),
+ PHPUnit_Util_XML::load('<root><child/></root>'),
),
array(
new DateTime('2013-03-29 04:13:35', new DateTimeZone('America/New_York')),
@@ -1173,6 +1170,39 @@ class Framework_AssertTest extends PHPUnit_Framework_TestCase
}
/**
+ * @expectedException PHPUnit_Framework_Exception
+ * @covers PHPUnit_Framework_Assert::assertXmlStringEqualsXmlString
+ * @ticket 1860
+ */
+ public function testAssertXmlStringEqualsXmlString2()
+ {
+ $this->assertXmlStringEqualsXmlString('<a></b>', '<c></d>');
+ }
+
+ /**
+ * @covers PHPUnit_Framework_Assert::assertXmlStringEqualsXmlString
+ * @ticket 1860
+ */
+ public function testAssertXmlStringEqualsXmlString3()
+ {
+ $expected = <<<XML
+<?xml version="1.0"?>
+<root>
+ <node />
+</root>
+XML;
+
+ $actual = <<<XML
+<?xml version="1.0"?>
+<root>
+<node />
+</root>
+XML;
+
+ $this->assertXmlStringEqualsXmlString($expected, $actual);
+ }
+
+ /**
* @covers PHPUnit_Framework_Assert::assertXmlStringNotEqualsXmlString
*/
public function testAssertXmlStringNotEqualsXmlString()
@@ -2661,7 +2691,7 @@ class Framework_AssertTest extends PHPUnit_Framework_TestCase
*/
public function testObjectHasOnTheFlyAttribute()
{
- $obj = new StdClass;
+ $obj = new stdClass;
$obj->foo = 'bar';
$this->assertObjectHasAttribute('foo', $obj);
@@ -2680,7 +2710,7 @@ class Framework_AssertTest extends PHPUnit_Framework_TestCase
*/
public function testObjectNotHasOnTheFlyAttribute()
{
- $obj = new StdClass;
+ $obj = new stdClass;
$obj->foo = 'bar';
$this->assertObjectNotHasAttribute('bar', $obj);
@@ -2990,7 +3020,7 @@ class Framework_AssertTest extends PHPUnit_Framework_TestCase
*/
public function testAssertThatIdenticalTo()
{
- $value = new StdClass;
+ $value = new stdClass;
$constraint = $this->identicalTo($value);
$this->assertThat($value, $constraint);
@@ -3002,7 +3032,7 @@ class Framework_AssertTest extends PHPUnit_Framework_TestCase
*/
public function testAssertThatIsInstanceOf()
{
- $this->assertThat(new StdClass, $this->isInstanceOf('StdClass'));
+ $this->assertThat(new stdClass, $this->isInstanceOf('StdClass'));
}
/**
@@ -3083,8 +3113,10 @@ class Framework_AssertTest extends PHPUnit_Framework_TestCase
*/
public function testAssertThatCallback()
{
- $this->assertThat(null, $this->callback(function ($other) { return true;
- }));
+ $this->assertThat(
+ null,
+ $this->callback(function ($other) { return true; })
+ );
}
/**
@@ -3426,7 +3458,7 @@ class Framework_AssertTest extends PHPUnit_Framework_TestCase
*/
public function testAssertAttributeEmpty()
{
- $o = new StdClass;
+ $o = new stdClass;
$o->a = array();
$this->assertAttributeEmpty('a', $o);
@@ -3446,7 +3478,7 @@ class Framework_AssertTest extends PHPUnit_Framework_TestCase
*/
public function testAssertAttributeNotEmpty()
{
- $o = new StdClass;
+ $o = new stdClass;
$o->a = array('b');
$this->assertAttributeNotEmpty('a', $o);
@@ -4085,6 +4117,9 @@ class Framework_AssertTest extends PHPUnit_Framework_TestCase
$this->fail();
}
+ /**
+ * @return array
+ */
public static function validInvalidJsonDataprovider()
{
return array(
diff --git a/vendor/phpunit/phpunit/tests/Regression/1021.phpt b/vendor/phpunit/phpunit/tests/Regression/1021.phpt
index cae0705..45f4708 100644
--- a/vendor/phpunit/phpunit/tests/Regression/1021.phpt
+++ b/vendor/phpunit/phpunit/tests/Regression/1021.phpt
@@ -4,7 +4,7 @@
<?php
$_SERVER['argv'][1] = '--no-configuration';
$_SERVER['argv'][2] = 'Issue1021Test';
-$_SERVER['argv'][3] = dirname(__FILE__).'/1021/Issue1021Test.php';
+$_SERVER['argv'][3] = dirname(__FILE__) . '/1021/Issue1021Test.php';
require __DIR__ . '/../bootstrap.php';
PHPUnit_TextUI_Command::main();
diff --git a/vendor/phpunit/phpunit/tests/Regression/523.phpt b/vendor/phpunit/phpunit/tests/Regression/523.phpt
index 6f2dd26..6ba2e42 100644
--- a/vendor/phpunit/phpunit/tests/Regression/523.phpt
+++ b/vendor/phpunit/phpunit/tests/Regression/523.phpt
@@ -4,7 +4,7 @@
<?php
$_SERVER['argv'][1] = '--no-configuration';
$_SERVER['argv'][2] = 'Issue523Test';
-$_SERVER['argv'][3] = dirname(__FILE__).'/523/Issue523Test.php';
+$_SERVER['argv'][3] = dirname(__FILE__) . '/523/Issue523Test.php';
require __DIR__ . '/../bootstrap.php';
PHPUnit_TextUI_Command::main();
diff --git a/vendor/phpunit/phpunit/tests/Regression/578.phpt b/vendor/phpunit/phpunit/tests/Regression/578.phpt
index 4f12821..c50d2e3 100644
--- a/vendor/phpunit/phpunit/tests/Regression/578.phpt
+++ b/vendor/phpunit/phpunit/tests/Regression/578.phpt
@@ -4,7 +4,7 @@
<?php
$_SERVER['argv'][1] = '--no-configuration';
$_SERVER['argv'][2] = 'Issue578Test';
-$_SERVER['argv'][3] = dirname(__FILE__).'/578/Issue578Test.php';
+$_SERVER['argv'][3] = dirname(__FILE__) . '/578/Issue578Test.php';
require __DIR__ . '/../bootstrap.php';
PHPUnit_TextUI_Command::main();
diff --git a/vendor/phpunit/phpunit/tests/Regression/684.phpt b/vendor/phpunit/phpunit/tests/Regression/684.phpt
index e3f8360..ca88a55 100644
--- a/vendor/phpunit/phpunit/tests/Regression/684.phpt
+++ b/vendor/phpunit/phpunit/tests/Regression/684.phpt
@@ -4,7 +4,7 @@
<?php
$_SERVER['argv'][1] = '--no-configuration';
$_SERVER['argv'][2] = 'Issue684Test';
-$_SERVER['argv'][3] = dirname(__FILE__).'/684/Issue684Test.php';
+$_SERVER['argv'][3] = dirname(__FILE__) . '/684/Issue684Test.php';
require __DIR__ . '/../bootstrap.php';
PHPUnit_TextUI_Command::main();
diff --git a/vendor/phpunit/phpunit/tests/Regression/783.phpt b/vendor/phpunit/phpunit/tests/Regression/783.phpt
index 920bf93..687b237 100644
--- a/vendor/phpunit/phpunit/tests/Regression/783.phpt
+++ b/vendor/phpunit/phpunit/tests/Regression/783.phpt
@@ -6,7 +6,7 @@ $_SERVER['argv'][1] = '--no-configuration';
$_SERVER['argv'][2] = '--group';
$_SERVER['argv'][3] = 'foo,bar';
$_SERVER['argv'][4] = 'ParentSuite';
-$_SERVER['argv'][5] = dirname(__FILE__).'/783/ParentSuite.php';
+$_SERVER['argv'][5] = dirname(__FILE__) . '/783/ParentSuite.php';
require __DIR__ . '/../bootstrap.php';
PHPUnit_TextUI_Command::main();
diff --git a/vendor/phpunit/phpunit/tests/Regression/GitHub/1149.phpt b/vendor/phpunit/phpunit/tests/Regression/GitHub/1149.phpt
index 01525dc..45e2435 100644
--- a/vendor/phpunit/phpunit/tests/Regression/GitHub/1149.phpt
+++ b/vendor/phpunit/phpunit/tests/Regression/GitHub/1149.phpt
@@ -5,7 +5,7 @@ GH-1149: Test swallows output buffer when run in a separate process
$_SERVER['argv'][1] = '--no-configuration';
$_SERVER['argv'][2] = 'Issue1149Test';
-$_SERVER['argv'][3] = dirname(__FILE__).'/1149/Issue1149Test.php';
+$_SERVER['argv'][3] = dirname(__FILE__) . '/1149/Issue1149Test.php';
require __DIR__ . '/../../bootstrap.php';
PHPUnit_TextUI_Command::main();
diff --git a/vendor/phpunit/phpunit/tests/Regression/GitHub/1216.phpt b/vendor/phpunit/phpunit/tests/Regression/GitHub/1216.phpt
index 9250923..d13403b 100644
--- a/vendor/phpunit/phpunit/tests/Regression/GitHub/1216.phpt
+++ b/vendor/phpunit/phpunit/tests/Regression/GitHub/1216.phpt
@@ -4,10 +4,10 @@ GH-1216: PHPUnit bootstrap must take globals vars even when the file is specifie
<?php
$_SERVER['argv'][1] = '--configuration';
-$_SERVER['argv'][2] = dirname(__FILE__).'/1216/phpunit1216.xml';
+$_SERVER['argv'][2] = dirname(__FILE__) . '/1216/phpunit1216.xml';
$_SERVER['argv'][3] = '--debug';
$_SERVER['argv'][4] = '--bootstrap';
-$_SERVER['argv'][5] = dirname(__FILE__).'/1216/bootstrap1216.php';
+$_SERVER['argv'][5] = dirname(__FILE__) . '/1216/bootstrap1216.php';
$_SERVER['argv'][6] = dirname(__FILE__) . '/1216/Issue1216Test.php';
require __DIR__ . '/../../bootstrap.php';
diff --git a/vendor/phpunit/phpunit/tests/Regression/GitHub/1265.phpt b/vendor/phpunit/phpunit/tests/Regression/GitHub/1265.phpt
index 47edf24..a179d5d 100644
--- a/vendor/phpunit/phpunit/tests/Regression/GitHub/1265.phpt
+++ b/vendor/phpunit/phpunit/tests/Regression/GitHub/1265.phpt
@@ -4,9 +4,9 @@ GH-1265: Could not use "PHPUnit_Runner_StandardTestSuiteLoader" as loader
<?php
$_SERVER['argv'][1] = '--configuration';
-$_SERVER['argv'][2] = dirname(__FILE__).'/1265/phpunit1265.xml';
+$_SERVER['argv'][2] = dirname(__FILE__) . '/1265/phpunit1265.xml';
$_SERVER['argv'][3] = 'Issue1265Test';
-$_SERVER['argv'][4] = dirname(__FILE__).'/1265/Issue1265Test.php';
+$_SERVER['argv'][4] = dirname(__FILE__) . '/1265/Issue1265Test.php';
require __DIR__ . '/../../bootstrap.php';
PHPUnit_TextUI_Command::main();
diff --git a/vendor/phpunit/phpunit/tests/Regression/GitHub/1330.phpt b/vendor/phpunit/phpunit/tests/Regression/GitHub/1330.phpt
index ec132dc..c31073e 100644
--- a/vendor/phpunit/phpunit/tests/Regression/GitHub/1330.phpt
+++ b/vendor/phpunit/phpunit/tests/Regression/GitHub/1330.phpt
@@ -5,9 +5,9 @@ GH-1330: Allow non-ambiguous shortened longopts
$_SERVER['argv'][1] = '--deb';
$_SERVER['argv'][2] = '--config';
-$_SERVER['argv'][3] = dirname(__FILE__).'/1330/phpunit1330.xml';
+$_SERVER['argv'][3] = dirname(__FILE__) . '/1330/phpunit1330.xml';
$_SERVER['argv'][4] = 'Issue1330Test';
-$_SERVER['argv'][5] = dirname(__FILE__).'/1330/Issue1330Test.php';
+$_SERVER['argv'][5] = dirname(__FILE__) . '/1330/Issue1330Test.php';
require __DIR__ . '/../../bootstrap.php';
PHPUnit_TextUI_Command::main();
diff --git a/vendor/phpunit/phpunit/tests/Regression/GitHub/1335.phpt b/vendor/phpunit/phpunit/tests/Regression/GitHub/1335.phpt
index 31b8e05..cd6aade 100644
--- a/vendor/phpunit/phpunit/tests/Regression/GitHub/1335.phpt
+++ b/vendor/phpunit/phpunit/tests/Regression/GitHub/1335.phpt
@@ -5,8 +5,8 @@ GH-1335: exportVariable multiple backslash problem
$_SERVER['argv'][1] = '--no-configuration';
$_SERVER['argv'][2] = '--bootstrap';
-$_SERVER['argv'][3] = dirname(__FILE__).'/1335/bootstrap1335.php';
-$_SERVER['argv'][4] = dirname(__FILE__).'/1335/Issue1335Test.php';
+$_SERVER['argv'][3] = dirname(__FILE__) . '/1335/bootstrap1335.php';
+$_SERVER['argv'][4] = dirname(__FILE__) . '/1335/Issue1335Test.php';
require __DIR__ . '/../../bootstrap.php';
PHPUnit_TextUI_Command::main();
diff --git a/vendor/phpunit/phpunit/tests/Regression/GitHub/1337.phpt b/vendor/phpunit/phpunit/tests/Regression/GitHub/1337.phpt
index d97ba4f..9c1d76f 100644
--- a/vendor/phpunit/phpunit/tests/Regression/GitHub/1337.phpt
+++ b/vendor/phpunit/phpunit/tests/Regression/GitHub/1337.phpt
@@ -6,7 +6,7 @@ GH-1337: Data Provider with \ at the end of the name breaks with process isolati
$_SERVER['argv'][1] = '--no-configuration';
$_SERVER['argv'][2] = '--process-isolation';
$_SERVER['argv'][3] = 'Issue1337Test';
-$_SERVER['argv'][4] = dirname(__FILE__).'/1337/Issue1337Test.php';
+$_SERVER['argv'][4] = dirname(__FILE__) . '/1337/Issue1337Test.php';
require __DIR__ . '/../../bootstrap.php';
PHPUnit_TextUI_Command::main();
diff --git a/vendor/phpunit/phpunit/tests/Regression/GitHub/1348.phpt b/vendor/phpunit/phpunit/tests/Regression/GitHub/1348.phpt
index e1892ba..82f94ec 100644
--- a/vendor/phpunit/phpunit/tests/Regression/GitHub/1348.phpt
+++ b/vendor/phpunit/phpunit/tests/Regression/GitHub/1348.phpt
@@ -3,16 +3,16 @@ GH-1348: STDOUT/STDERR IO streams should exist in process isolation
--SKIPIF--
<?php
if (defined('HHVM_VERSION'))
- print "skip: PHP runtime required";
+ print 'skip: PHP runtime required';
?>
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';
-$_SERVER['argv'][] = '--report-useless-tests';
-$_SERVER['argv'][] = '--process-isolation';
-$_SERVER['argv'][] = 'Issue1348Test';
-$_SERVER['argv'][] = __DIR__ . '/1348/Issue1348Test.php';
+$_SERVER['argv'][] = '--report-useless-tests';
+$_SERVER['argv'][] = '--process-isolation';
+$_SERVER['argv'][] = 'Issue1348Test';
+$_SERVER['argv'][] = __DIR__ . '/1348/Issue1348Test.php';
require __DIR__ . '/../../bootstrap.php';
PHPUnit_TextUI_Command::main();
diff --git a/vendor/phpunit/phpunit/tests/Regression/GitHub/1374.phpt b/vendor/phpunit/phpunit/tests/Regression/GitHub/1374.phpt
index c994f56..84d13be 100644
--- a/vendor/phpunit/phpunit/tests/Regression/GitHub/1374.phpt
+++ b/vendor/phpunit/phpunit/tests/Regression/GitHub/1374.phpt
@@ -5,7 +5,7 @@ GH-1374: tearDown() is called despite unmet requirements
$_SERVER['argv'][1] = '--no-configuration';
$_SERVER['argv'][2] = 'Issue1374Test';
-$_SERVER['argv'][3] = dirname(__FILE__).'/1374/Issue1374Test.php';
+$_SERVER['argv'][3] = dirname(__FILE__) . '/1374/Issue1374Test.php';
require __DIR__ . '/../../bootstrap.php';
PHPUnit_TextUI_Command::main();
diff --git a/vendor/phpunit/phpunit/tests/Regression/GitHub/1437.phpt b/vendor/phpunit/phpunit/tests/Regression/GitHub/1437.phpt
index c3b2e25..f9bd41b 100644
--- a/vendor/phpunit/phpunit/tests/Regression/GitHub/1437.phpt
+++ b/vendor/phpunit/phpunit/tests/Regression/GitHub/1437.phpt
@@ -5,7 +5,7 @@ GH-1437: Risky test messages mask failures
$_SERVER['argv'][1] = '--no-configuration';
$_SERVER['argv'][2] = 'Issue1437Test';
-$_SERVER['argv'][3] = dirname(__FILE__).'/1437/Issue1437Test.php';
+$_SERVER['argv'][3] = dirname(__FILE__) . '/1437/Issue1437Test.php';
require __DIR__ . '/../../bootstrap.php';
PHPUnit_TextUI_Command::main();
diff --git a/vendor/phpunit/phpunit/tests/Regression/GitHub/244.phpt b/vendor/phpunit/phpunit/tests/Regression/GitHub/244.phpt
index 29be767..3cb9aef 100644
--- a/vendor/phpunit/phpunit/tests/Regression/GitHub/244.phpt
+++ b/vendor/phpunit/phpunit/tests/Regression/GitHub/244.phpt
@@ -5,7 +5,7 @@ GH-244: Expected Exception should support string codes
$_SERVER['argv'][1] = '--no-configuration';
$_SERVER['argv'][2] = '--process-isolation';
$_SERVER['argv'][3] = 'Issue244Test';
-$_SERVER['argv'][4] = dirname(__FILE__).'/244/Issue244Test.php';
+$_SERVER['argv'][4] = dirname(__FILE__) . '/244/Issue244Test.php';
require __DIR__ . '/../../bootstrap.php';
PHPUnit_TextUI_Command::main();
diff --git a/vendor/phpunit/phpunit/tests/Regression/GitHub/322.phpt b/vendor/phpunit/phpunit/tests/Regression/GitHub/322.phpt
index 301265e..0d892c7 100644
--- a/vendor/phpunit/phpunit/tests/Regression/GitHub/322.phpt
+++ b/vendor/phpunit/phpunit/tests/Regression/GitHub/322.phpt
@@ -4,12 +4,12 @@ GH-322: group commandline option should override group/exclude setting in phpuni
<?php
$_SERVER['argv'][1] = '--configuration';
-$_SERVER['argv'][2] = dirname(__FILE__).'/322/phpunit322.xml';
+$_SERVER['argv'][2] = dirname(__FILE__) . '/322/phpunit322.xml';
$_SERVER['argv'][3] = '--debug';
$_SERVER['argv'][4] = '--group';
$_SERVER['argv'][5] = 'one';
$_SERVER['argv'][6] = 'Issue322Test';
-$_SERVER['argv'][7] = dirname(__FILE__).'/322/Issue322Test.php';
+$_SERVER['argv'][7] = dirname(__FILE__) . '/322/Issue322Test.php';
require __DIR__ . '/../../bootstrap.php';
PHPUnit_TextUI_Command::main();
diff --git a/vendor/phpunit/phpunit/tests/Regression/GitHub/433.phpt b/vendor/phpunit/phpunit/tests/Regression/GitHub/433.phpt
index de247c4..ead9437 100644
--- a/vendor/phpunit/phpunit/tests/Regression/GitHub/433.phpt
+++ b/vendor/phpunit/phpunit/tests/Regression/GitHub/433.phpt
@@ -5,7 +5,7 @@ GH-433: expectOutputString not completely working as expected
$_SERVER['argv'][1] = '--no-configuration';
$_SERVER['argv'][2] = 'Issue433Test';
-$_SERVER['argv'][3] = dirname(__FILE__).'/433/Issue433Test.php';
+$_SERVER['argv'][3] = dirname(__FILE__) . '/433/Issue433Test.php';
require __DIR__ . '/../../bootstrap.php';
PHPUnit_TextUI_Command::main();
diff --git a/vendor/phpunit/phpunit/tests/Regression/GitHub/445.phpt b/vendor/phpunit/phpunit/tests/Regression/GitHub/445.phpt
index 8041d0b..e57e7fb 100644
--- a/vendor/phpunit/phpunit/tests/Regression/GitHub/445.phpt
+++ b/vendor/phpunit/phpunit/tests/Regression/GitHub/445.phpt
@@ -6,7 +6,7 @@ GH-455: expectOutputString not working in strict mode
$_SERVER['argv'][1] = '--no-configuration';
$_SERVER['argv'][2] = '--disallow-test-output';
$_SERVER['argv'][3] = 'Issue445Test';
-$_SERVER['argv'][4] = dirname(__FILE__).'/445/Issue445Test.php';
+$_SERVER['argv'][4] = dirname(__FILE__) . '/445/Issue445Test.php';
require __DIR__ . '/../../bootstrap.php';
PHPUnit_TextUI_Command::main();
diff --git a/vendor/phpunit/phpunit/tests/Regression/GitHub/498.phpt b/vendor/phpunit/phpunit/tests/Regression/GitHub/498.phpt
index 828995f..51dbe75 100644
--- a/vendor/phpunit/phpunit/tests/Regression/GitHub/498.phpt
+++ b/vendor/phpunit/phpunit/tests/Regression/GitHub/498.phpt
@@ -7,7 +7,7 @@ $_SERVER['argv'][1] = '--no-configuration';
$_SERVER['argv'][2] = '--group';
$_SERVER['argv'][3] = 'trueOnly';
$_SERVER['argv'][4] = 'Issue498Test';
-$_SERVER['argv'][5] = dirname(__FILE__).'/498/Issue498Test.php';
+$_SERVER['argv'][5] = dirname(__FILE__) . '/498/Issue498Test.php';
require __DIR__ . '/../../bootstrap.php';
PHPUnit_TextUI_Command::main();
diff --git a/vendor/phpunit/phpunit/tests/Regression/GitHub/503.phpt b/vendor/phpunit/phpunit/tests/Regression/GitHub/503.phpt
index e95506c..2e7b30f 100644
--- a/vendor/phpunit/phpunit/tests/Regression/GitHub/503.phpt
+++ b/vendor/phpunit/phpunit/tests/Regression/GitHub/503.phpt
@@ -5,7 +5,7 @@ GH-503: assertEquals() Line Ending Differences Are Obscure
$_SERVER['argv'][1] = '--no-configuration';
$_SERVER['argv'][2] = 'Issue503Test';
-$_SERVER['argv'][3] = dirname(__FILE__).'/503/Issue503Test.php';
+$_SERVER['argv'][3] = dirname(__FILE__) . '/503/Issue503Test.php';
require __DIR__ . '/../../bootstrap.php';
PHPUnit_TextUI_Command::main();
diff --git a/vendor/phpunit/phpunit/tests/Regression/GitHub/581.phpt b/vendor/phpunit/phpunit/tests/Regression/GitHub/581.phpt
index ba1cf85..c2d6545 100644
--- a/vendor/phpunit/phpunit/tests/Regression/GitHub/581.phpt
+++ b/vendor/phpunit/phpunit/tests/Regression/GitHub/581.phpt
@@ -5,7 +5,7 @@ GH-581: PHPUnit_Util_Type::export adds extra newlines in Windows
$_SERVER['argv'][1] = '--no-configuration';
$_SERVER['argv'][2] = 'Issue581Test';
-$_SERVER['argv'][3] = dirname(__FILE__).'/581/Issue581Test.php';
+$_SERVER['argv'][3] = dirname(__FILE__) . '/581/Issue581Test.php';
require __DIR__ . '/../../bootstrap.php';
PHPUnit_TextUI_Command::main();
diff --git a/vendor/phpunit/phpunit/tests/Regression/GitHub/74.phpt b/vendor/phpunit/phpunit/tests/Regression/GitHub/74.phpt
index 53f4934..8a4f79d 100644
--- a/vendor/phpunit/phpunit/tests/Regression/GitHub/74.phpt
+++ b/vendor/phpunit/phpunit/tests/Regression/GitHub/74.phpt
@@ -5,7 +5,7 @@ GH-74: catchable fatal error in 3.5
$_SERVER['argv'][1] = '--no-configuration';
$_SERVER['argv'][2] = '--process-isolation';
$_SERVER['argv'][3] = 'Issue74Test';
-$_SERVER['argv'][4] = dirname(__FILE__).'/74/Issue74Test.php';
+$_SERVER['argv'][4] = dirname(__FILE__) . '/74/Issue74Test.php';
require __DIR__ . '/../../bootstrap.php';
PHPUnit_TextUI_Command::main();
diff --git a/vendor/phpunit/phpunit/tests/Regression/GitHub/765.phpt b/vendor/phpunit/phpunit/tests/Regression/GitHub/765.phpt
index 7599661..dc59dd6 100644
--- a/vendor/phpunit/phpunit/tests/Regression/GitHub/765.phpt
+++ b/vendor/phpunit/phpunit/tests/Regression/GitHub/765.phpt
@@ -5,7 +5,7 @@ GH-765: Fatal error triggered in PHPUnit when exception is thrown in data provid
$_SERVER['argv'][1] = '--no-configuration';
$_SERVER['argv'][2] = 'Issue765Test';
-$_SERVER['argv'][3] = dirname(__FILE__).'/765/Issue765Test.php';
+$_SERVER['argv'][3] = dirname(__FILE__) . '/765/Issue765Test.php';
require __DIR__ . '/../../bootstrap.php';
PHPUnit_TextUI_Command::main();
diff --git a/vendor/phpunit/phpunit/tests/Regression/GitHub/797.phpt b/vendor/phpunit/phpunit/tests/Regression/GitHub/797.phpt
index 73ba414..4a6490f 100644
--- a/vendor/phpunit/phpunit/tests/Regression/GitHub/797.phpt
+++ b/vendor/phpunit/phpunit/tests/Regression/GitHub/797.phpt
@@ -4,10 +4,10 @@ GH-797: Disabled $preserveGlobalState does not load bootstrap.php.
<?php
$_SERVER['argv'][1] = '--no-configuration';
-$_SERVER['argv'][] = '--process-isolation';
-$_SERVER['argv'][] = '--bootstrap';
-$_SERVER['argv'][] = __DIR__ . '/797/bootstrap797.php';
-$_SERVER['argv'][] = __DIR__ . '/797/Issue797Test.php';
+$_SERVER['argv'][] = '--process-isolation';
+$_SERVER['argv'][] = '--bootstrap';
+$_SERVER['argv'][] = __DIR__ . '/797/bootstrap797.php';
+$_SERVER['argv'][] = __DIR__ . '/797/Issue797Test.php';
require __DIR__ . '/../../bootstrap.php';
PHPUnit_TextUI_Command::main();
diff --git a/vendor/phpunit/phpunit/tests/Regression/GitHub/873.phpt.orig b/vendor/phpunit/phpunit/tests/Regression/GitHub/873-php5.phpt
index d1b4a15..89b7402 100644
--- a/vendor/phpunit/phpunit/tests/Regression/GitHub/873.phpt.orig
+++ b/vendor/phpunit/phpunit/tests/Regression/GitHub/873-php5.phpt
@@ -3,7 +3,7 @@ GH-873: PHPUnit suppresses exceptions thrown outside of test case function
--SKIPIF--
<?php
if (PHP_MAJOR_VERSION > 5) {
- print "skip: PHP 5 is required";
+ print 'skip: PHP 5 is required';
}
?>
--FILE--
diff --git a/vendor/phpunit/phpunit/tests/Regression/GitHub/873.phpt b/vendor/phpunit/phpunit/tests/Regression/GitHub/873-php7.phpt
index 711ccb2..b022f99 100644
--- a/vendor/phpunit/phpunit/tests/Regression/GitHub/873.phpt
+++ b/vendor/phpunit/phpunit/tests/Regression/GitHub/873-php7.phpt
@@ -2,8 +2,8 @@
GH-873: PHPUnit suppresses exceptions thrown outside of test case function
--SKIPIF--
<?php
-if (PHP_MAJOR_VERSION > 5) {
- print "skip: PHP 5 is required";
+if (PHP_MAJOR_VERSION < 7) {
+ print 'skip: PHP 7 is required';
}
?>
--FILE--
diff --git a/vendor/phpunit/phpunit/tests/Regression/GitHub/873.phpt.rej b/vendor/phpunit/phpunit/tests/Regression/GitHub/873.phpt.rej
deleted file mode 100644
index a7fe751..0000000
--- a/vendor/phpunit/phpunit/tests/Regression/GitHub/873.phpt.rej
+++ /dev/null
@@ -1,19 +0,0 @@
-***************
-*** 1,5 ****
- --TEST--
- GH-873: PHPUnit suppresses exceptions thrown outside of test case function
- --FILE--
- <?php
- $_SERVER['argv'][1] = '--no-configuration';
---- 1,11 ----
- --TEST--
- GH-873: PHPUnit suppresses exceptions thrown outside of test case function
-+ --SKIPIF--
-+ <?php
-+ if (PHP_MAJOR_VERSION < 7) {
-+ print "skip: PHP 7 is required";
-+ }
-+ ?>
- --FILE--
- <?php
- $_SERVER['argv'][1] = '--no-configuration';
diff --git a/vendor/phpunit/phpunit/tests/TextUI/colors-always.phpt b/vendor/phpunit/phpunit/tests/TextUI/colors-always.phpt
index 0beb8f2..28b527d 100644
--- a/vendor/phpunit/phpunit/tests/TextUI/colors-always.phpt
+++ b/vendor/phpunit/phpunit/tests/TextUI/colors-always.phpt
@@ -4,7 +4,7 @@ phpunit --colors=always BankAccountTest ../_files/BankAccountTest.php
<?php
$_SERVER['argv'][1] = '--no-configuration';
$_SERVER['argv'][2] = '--colors=always';
-$_SERVER['argv'][3] = __DIR__.'/../_files/BankAccountTest.php';
+$_SERVER['argv'][3] = __DIR__ . '/../_files/BankAccountTest.php';
require __DIR__ . '/../bootstrap.php';
PHPUnit_TextUI_Command::main();
diff --git a/vendor/phpunit/phpunit/tests/TextUI/custom-printer-debug.phpt b/vendor/phpunit/phpunit/tests/TextUI/custom-printer-debug.phpt
index c0c5cb1..19b9e05 100644
--- a/vendor/phpunit/phpunit/tests/TextUI/custom-printer-debug.phpt
+++ b/vendor/phpunit/phpunit/tests/TextUI/custom-printer-debug.phpt
@@ -3,10 +3,10 @@ phpunit -c ../_files/configuration.custom-printer.xml --debug BankAccountTest ..
--FILE--
<?php
$_SERVER['argv'][1] = '-c';
-$_SERVER['argv'][2] = dirname(__FILE__).'/../_files/configuration.custom-printer.xml';
+$_SERVER['argv'][2] = dirname(__FILE__) . '/../_files/configuration.custom-printer.xml';
$_SERVER['argv'][3] = '--debug';
$_SERVER['argv'][4] = 'BankAccountTest';
-$_SERVER['argv'][5] = dirname(__FILE__).'/../_files/BankAccountTest.php';
+$_SERVER['argv'][5] = dirname(__FILE__) . '/../_files/BankAccountTest.php';
require __DIR__ . '/../bootstrap.php';
PHPUnit_TextUI_Command::main();
diff --git a/vendor/phpunit/phpunit/tests/TextUI/custom-printer-verbose.phpt b/vendor/phpunit/phpunit/tests/TextUI/custom-printer-verbose.phpt
index cc7818f..2e2a990 100644
--- a/vendor/phpunit/phpunit/tests/TextUI/custom-printer-verbose.phpt
+++ b/vendor/phpunit/phpunit/tests/TextUI/custom-printer-verbose.phpt
@@ -3,10 +3,10 @@ phpunit -c ../_files/configuration.custom-printer.xml --verbose IncompleteTest .
--FILE--
<?php
$_SERVER['argv'][1] = '-c';
-$_SERVER['argv'][2] = dirname(__FILE__).'/../_files/configuration.custom-printer.xml';
+$_SERVER['argv'][2] = dirname(__FILE__) . '/../_files/configuration.custom-printer.xml';
$_SERVER['argv'][3] = '--verbose';
$_SERVER['argv'][4] = 'IncompleteTest';
-$_SERVER['argv'][5] = dirname(__FILE__).'/../_files/IncompleteTest.php';
+$_SERVER['argv'][5] = dirname(__FILE__) . '/../_files/IncompleteTest.php';
require __DIR__ . '/../bootstrap.php';
PHPUnit_TextUI_Command::main();
diff --git a/vendor/phpunit/phpunit/tests/TextUI/dataprovider-debug.phpt b/vendor/phpunit/phpunit/tests/TextUI/dataprovider-debug.phpt
index c6cfe86..e7e49b4 100644
--- a/vendor/phpunit/phpunit/tests/TextUI/dataprovider-debug.phpt
+++ b/vendor/phpunit/phpunit/tests/TextUI/dataprovider-debug.phpt
@@ -5,7 +5,7 @@ phpunit --debug DataProviderDebugTest ../_files/DataProviderDebugTest.php
$_SERVER['argv'][1] = '--no-configuration';
$_SERVER['argv'][2] = '--debug';
$_SERVER['argv'][3] = 'DataProviderDebugTest';
-$_SERVER['argv'][4] = dirname(__FILE__).'/../_files/DataProviderDebugTest.php';
+$_SERVER['argv'][4] = dirname(__FILE__) . '/../_files/DataProviderDebugTest.php';
require __DIR__ . '/../bootstrap.php';
PHPUnit_TextUI_Command::main();
diff --git a/vendor/phpunit/phpunit/tests/TextUI/debug.phpt b/vendor/phpunit/phpunit/tests/TextUI/debug.phpt
index 194961a..1639484 100644
--- a/vendor/phpunit/phpunit/tests/TextUI/debug.phpt
+++ b/vendor/phpunit/phpunit/tests/TextUI/debug.phpt
@@ -5,7 +5,7 @@ phpunit --debug BankAccountTest ../_files/BankAccountTest.php
$_SERVER['argv'][1] = '--no-configuration';
$_SERVER['argv'][2] = '--debug';
$_SERVER['argv'][3] = 'BankAccountTest';
-$_SERVER['argv'][4] = dirname(__FILE__).'/../_files/BankAccountTest.php';
+$_SERVER['argv'][4] = dirname(__FILE__) . '/../_files/BankAccountTest.php';
require __DIR__ . '/../bootstrap.php';
PHPUnit_TextUI_Command::main();
diff --git a/vendor/phpunit/phpunit/tests/TextUI/default-isolation.phpt b/vendor/phpunit/phpunit/tests/TextUI/default-isolation.phpt
index c52156c..864484c 100644
--- a/vendor/phpunit/phpunit/tests/TextUI/default-isolation.phpt
+++ b/vendor/phpunit/phpunit/tests/TextUI/default-isolation.phpt
@@ -5,7 +5,7 @@ phpunit --process-isolation BankAccountTest ../_files/BankAccountTest.php
$_SERVER['argv'][1] = '--no-configuration';
$_SERVER['argv'][2] = '--process-isolation';
$_SERVER['argv'][3] = 'BankAccountTest';
-$_SERVER['argv'][4] = dirname(__FILE__).'/../_files/BankAccountTest.php';
+$_SERVER['argv'][4] = dirname(__FILE__) . '/../_files/BankAccountTest.php';
require __DIR__ . '/../bootstrap.php';
PHPUnit_TextUI_Command::main();
diff --git a/vendor/phpunit/phpunit/tests/TextUI/default.phpt b/vendor/phpunit/phpunit/tests/TextUI/default.phpt
index a5ccc38..9fefe1a 100644
--- a/vendor/phpunit/phpunit/tests/TextUI/default.phpt
+++ b/vendor/phpunit/phpunit/tests/TextUI/default.phpt
@@ -4,7 +4,7 @@ phpunit BankAccountTest ../_files/BankAccountTest.php
<?php
$_SERVER['argv'][1] = '--no-configuration';
$_SERVER['argv'][2] = 'BankAccountTest';
-$_SERVER['argv'][3] = dirname(__FILE__).'/../_files/BankAccountTest.php';
+$_SERVER['argv'][3] = dirname(__FILE__) . '/../_files/BankAccountTest.php';
require __DIR__ . '/../bootstrap.php';
PHPUnit_TextUI_Command::main();
diff --git a/vendor/phpunit/phpunit/tests/TextUI/exclude-group-isolation.phpt b/vendor/phpunit/phpunit/tests/TextUI/exclude-group-isolation.phpt
index eee3776..736feda 100644
--- a/vendor/phpunit/phpunit/tests/TextUI/exclude-group-isolation.phpt
+++ b/vendor/phpunit/phpunit/tests/TextUI/exclude-group-isolation.phpt
@@ -7,7 +7,7 @@ $_SERVER['argv'][2] = '--process-isolation';
$_SERVER['argv'][3] = '--exclude-group';
$_SERVER['argv'][4] = 'balanceIsInitiallyZero';
$_SERVER['argv'][5] = 'BankAccountTest';
-$_SERVER['argv'][6] = dirname(__FILE__).'/../_files/BankAccountTest.php';
+$_SERVER['argv'][6] = dirname(__FILE__) . '/../_files/BankAccountTest.php';
require __DIR__ . '/../bootstrap.php';
PHPUnit_TextUI_Command::main();
diff --git a/vendor/phpunit/phpunit/tests/TextUI/exclude-group.phpt b/vendor/phpunit/phpunit/tests/TextUI/exclude-group.phpt
index 4be3400..f75d611 100644
--- a/vendor/phpunit/phpunit/tests/TextUI/exclude-group.phpt
+++ b/vendor/phpunit/phpunit/tests/TextUI/exclude-group.phpt
@@ -6,7 +6,7 @@ $_SERVER['argv'][1] = '--no-configuration';
$_SERVER['argv'][2] = '--exclude-group';
$_SERVER['argv'][3] = 'balanceIsInitiallyZero';
$_SERVER['argv'][4] = 'BankAccountTest';
-$_SERVER['argv'][5] = dirname(__FILE__).'/../_files/BankAccountTest.php';
+$_SERVER['argv'][5] = dirname(__FILE__) . '/../_files/BankAccountTest.php';
require __DIR__ . '/../bootstrap.php';
PHPUnit_TextUI_Command::main();
diff --git a/vendor/phpunit/phpunit/tests/TextUI/filter-class-isolation.phpt b/vendor/phpunit/phpunit/tests/TextUI/filter-class-isolation.phpt
index 3cf4119..31cf060 100644
--- a/vendor/phpunit/phpunit/tests/TextUI/filter-class-isolation.phpt
+++ b/vendor/phpunit/phpunit/tests/TextUI/filter-class-isolation.phpt
@@ -7,7 +7,7 @@ $_SERVER['argv'][2] = '--process-isolation';
$_SERVER['argv'][3] = '--filter';
$_SERVER['argv'][4] = 'BankAccountTest';
$_SERVER['argv'][5] = 'BankAccountTest';
-$_SERVER['argv'][6] = dirname(__FILE__).'/../_files/BankAccountTest.php';
+$_SERVER['argv'][6] = dirname(__FILE__) . '/../_files/BankAccountTest.php';
require __DIR__ . '/../bootstrap.php';
PHPUnit_TextUI_Command::main();
diff --git a/vendor/phpunit/phpunit/tests/TextUI/filter-class.phpt b/vendor/phpunit/phpunit/tests/TextUI/filter-class.phpt
index c5e2e60..7b3c8dd 100644
--- a/vendor/phpunit/phpunit/tests/TextUI/filter-class.phpt
+++ b/vendor/phpunit/phpunit/tests/TextUI/filter-class.phpt
@@ -6,7 +6,7 @@ $_SERVER['argv'][1] = '--no-configuration';
$_SERVER['argv'][2] = '--filter';
$_SERVER['argv'][3] = 'BankAccountTest';
$_SERVER['argv'][4] = 'BankAccountTest';
-$_SERVER['argv'][5] = dirname(__FILE__).'/../_files/BankAccountTest.php';
+$_SERVER['argv'][5] = dirname(__FILE__) . '/../_files/BankAccountTest.php';
require __DIR__ . '/../bootstrap.php';
PHPUnit_TextUI_Command::main();
diff --git a/vendor/phpunit/phpunit/tests/TextUI/filter-dataprovider-by-classname-and-range-isolation.phpt b/vendor/phpunit/phpunit/tests/TextUI/filter-dataprovider-by-classname-and-range-isolation.phpt
index f3cf561..f90a691 100644
--- a/vendor/phpunit/phpunit/tests/TextUI/filter-dataprovider-by-classname-and-range-isolation.phpt
+++ b/vendor/phpunit/phpunit/tests/TextUI/filter-dataprovider-by-classname-and-range-isolation.phpt
@@ -7,7 +7,7 @@ $_SERVER['argv'][2] = '--process-isolation';
$_SERVER['argv'][3] = '--filter';
$_SERVER['argv'][4] = 'DataProviderFilterTest#1-3';
$_SERVER['argv'][5] = 'DataProviderFilterTest';
-$_SERVER['argv'][6] = dirname(__FILE__).'/../_files/DataProviderFilterTest.php';
+$_SERVER['argv'][6] = dirname(__FILE__) . '/../_files/DataProviderFilterTest.php';
require __DIR__ . '/../bootstrap.php';
PHPUnit_TextUI_Command::main();
diff --git a/vendor/phpunit/phpunit/tests/TextUI/filter-dataprovider-by-classname-and-range.phpt b/vendor/phpunit/phpunit/tests/TextUI/filter-dataprovider-by-classname-and-range.phpt
index f19eb12..9c1e689 100644
--- a/vendor/phpunit/phpunit/tests/TextUI/filter-dataprovider-by-classname-and-range.phpt
+++ b/vendor/phpunit/phpunit/tests/TextUI/filter-dataprovider-by-classname-and-range.phpt
@@ -6,7 +6,7 @@ $_SERVER['argv'][1] = '--no-configuration';
$_SERVER['argv'][2] = '--filter';
$_SERVER['argv'][3] = 'DataProviderFilterTest#1-3';
$_SERVER['argv'][4] = 'DataProviderFilterTest';
-$_SERVER['argv'][5] = dirname(__FILE__).'/../_files/DataProviderFilterTest.php';
+$_SERVER['argv'][5] = dirname(__FILE__) . '/../_files/DataProviderFilterTest.php';
require __DIR__ . '/../bootstrap.php';
PHPUnit_TextUI_Command::main();
diff --git a/vendor/phpunit/phpunit/tests/TextUI/filter-dataprovider-by-number-isolation.phpt b/vendor/phpunit/phpunit/tests/TextUI/filter-dataprovider-by-number-isolation.phpt
index 9db7c7e..0d2ea77 100644
--- a/vendor/phpunit/phpunit/tests/TextUI/filter-dataprovider-by-number-isolation.phpt
+++ b/vendor/phpunit/phpunit/tests/TextUI/filter-dataprovider-by-number-isolation.phpt
@@ -7,7 +7,7 @@ $_SERVER['argv'][2] = '--process-isolation';
$_SERVER['argv'][3] = '--filter';
$_SERVER['argv'][4] = 'testTrue#3';
$_SERVER['argv'][5] = 'DataProviderFilterTest';
-$_SERVER['argv'][6] = dirname(__FILE__).'/../_files/DataProviderFilterTest.php';
+$_SERVER['argv'][6] = dirname(__FILE__) . '/../_files/DataProviderFilterTest.php';
require __DIR__ . '/../bootstrap.php';
PHPUnit_TextUI_Command::main();
diff --git a/vendor/phpunit/phpunit/tests/TextUI/filter-dataprovider-by-number.phpt b/vendor/phpunit/phpunit/tests/TextUI/filter-dataprovider-by-number.phpt
index 16b7288..79bf643 100644
--- a/vendor/phpunit/phpunit/tests/TextUI/filter-dataprovider-by-number.phpt
+++ b/vendor/phpunit/phpunit/tests/TextUI/filter-dataprovider-by-number.phpt
@@ -6,7 +6,7 @@ $_SERVER['argv'][1] = '--no-configuration';
$_SERVER['argv'][2] = '--filter';
$_SERVER['argv'][3] = 'testTrue#3';
$_SERVER['argv'][4] = 'DataProviderFilterTest';
-$_SERVER['argv'][5] = dirname(__FILE__).'/../_files/DataProviderFilterTest.php';
+$_SERVER['argv'][5] = dirname(__FILE__) . '/../_files/DataProviderFilterTest.php';
require __DIR__ . '/../bootstrap.php';
PHPUnit_TextUI_Command::main();
diff --git a/vendor/phpunit/phpunit/tests/TextUI/filter-dataprovider-by-only-range-isolation.phpt b/vendor/phpunit/phpunit/tests/TextUI/filter-dataprovider-by-only-range-isolation.phpt
index cefb087..2dfdd0c 100644
--- a/vendor/phpunit/phpunit/tests/TextUI/filter-dataprovider-by-only-range-isolation.phpt
+++ b/vendor/phpunit/phpunit/tests/TextUI/filter-dataprovider-by-only-range-isolation.phpt
@@ -7,7 +7,7 @@ $_SERVER['argv'][2] = '--process-isolation';
$_SERVER['argv'][3] = '--filter';
$_SERVER['argv'][4] = '#1-3';
$_SERVER['argv'][5] = 'DataProviderFilterTest';
-$_SERVER['argv'][6] = dirname(__FILE__).'/../_files/DataProviderFilterTest.php';
+$_SERVER['argv'][6] = dirname(__FILE__) . '/../_files/DataProviderFilterTest.php';
require __DIR__ . '/../bootstrap.php';
PHPUnit_TextUI_Command::main();
diff --git a/vendor/phpunit/phpunit/tests/TextUI/filter-dataprovider-by-only-range.phpt b/vendor/phpunit/phpunit/tests/TextUI/filter-dataprovider-by-only-range.phpt
index c96a89f..c3d344c 100644
--- a/vendor/phpunit/phpunit/tests/TextUI/filter-dataprovider-by-only-range.phpt
+++ b/vendor/phpunit/phpunit/tests/TextUI/filter-dataprovider-by-only-range.phpt
@@ -6,7 +6,7 @@ $_SERVER['argv'][1] = '--no-configuration';
$_SERVER['argv'][2] = '--filter';
$_SERVER['argv'][3] = '#1-3';
$_SERVER['argv'][4] = 'DataProviderFilterTest';
-$_SERVER['argv'][5] = dirname(__FILE__).'/../_files/DataProviderFilterTest.php';
+$_SERVER['argv'][5] = dirname(__FILE__) . '/../_files/DataProviderFilterTest.php';
require __DIR__ . '/../bootstrap.php';
PHPUnit_TextUI_Command::main();
diff --git a/vendor/phpunit/phpunit/tests/TextUI/filter-dataprovider-by-only-regexp-isolation.phpt b/vendor/phpunit/phpunit/tests/TextUI/filter-dataprovider-by-only-regexp-isolation.phpt
index 192637a..d109cfb 100644
--- a/vendor/phpunit/phpunit/tests/TextUI/filter-dataprovider-by-only-regexp-isolation.phpt
+++ b/vendor/phpunit/phpunit/tests/TextUI/filter-dataprovider-by-only-regexp-isolation.phpt
@@ -7,7 +7,7 @@ $_SERVER['argv'][2] = '--process-isolation';
$_SERVER['argv'][3] = '--filter';
$_SERVER['argv'][4] = '@false.*';
$_SERVER['argv'][5] = 'DataProviderFilterTest';
-$_SERVER['argv'][6] = dirname(__FILE__).'/../_files/DataProviderFilterTest.php';
+$_SERVER['argv'][6] = dirname(__FILE__) . '/../_files/DataProviderFilterTest.php';
require __DIR__ . '/../bootstrap.php';
PHPUnit_TextUI_Command::main();
diff --git a/vendor/phpunit/phpunit/tests/TextUI/filter-dataprovider-by-only-regexp.phpt b/vendor/phpunit/phpunit/tests/TextUI/filter-dataprovider-by-only-regexp.phpt
index 0a546ae..d87b304 100644
--- a/vendor/phpunit/phpunit/tests/TextUI/filter-dataprovider-by-only-regexp.phpt
+++ b/vendor/phpunit/phpunit/tests/TextUI/filter-dataprovider-by-only-regexp.phpt
@@ -6,7 +6,7 @@ $_SERVER['argv'][1] = '--no-configuration';
$_SERVER['argv'][2] = '--filter';
$_SERVER['argv'][3] = '@false.*';
$_SERVER['argv'][4] = 'DataProviderFilterTest';
-$_SERVER['argv'][5] = dirname(__FILE__).'/../_files/DataProviderFilterTest.php';
+$_SERVER['argv'][5] = dirname(__FILE__) . '/../_files/DataProviderFilterTest.php';
require __DIR__ . '/../bootstrap.php';
PHPUnit_TextUI_Command::main();
diff --git a/vendor/phpunit/phpunit/tests/TextUI/filter-dataprovider-by-only-string-isolation.phpt b/vendor/phpunit/phpunit/tests/TextUI/filter-dataprovider-by-only-string-isolation.phpt
index 16f0332..07c4002 100644
--- a/vendor/phpunit/phpunit/tests/TextUI/filter-dataprovider-by-only-string-isolation.phpt
+++ b/vendor/phpunit/phpunit/tests/TextUI/filter-dataprovider-by-only-string-isolation.phpt
@@ -7,7 +7,7 @@ $_SERVER['argv'][2] = '--process-isolation';
$_SERVER['argv'][3] = '--filter';
$_SERVER['argv'][4] = '@false test';
$_SERVER['argv'][5] = 'DataProviderFilterTest';
-$_SERVER['argv'][6] = dirname(__FILE__).'/../_files/DataProviderFilterTest.php';
+$_SERVER['argv'][6] = dirname(__FILE__) . '/../_files/DataProviderFilterTest.php';
require __DIR__ . '/../bootstrap.php';
PHPUnit_TextUI_Command::main();
diff --git a/vendor/phpunit/phpunit/tests/TextUI/filter-dataprovider-by-only-string.phpt b/vendor/phpunit/phpunit/tests/TextUI/filter-dataprovider-by-only-string.phpt
index 919fb82..0cf91eb 100644
--- a/vendor/phpunit/phpunit/tests/TextUI/filter-dataprovider-by-only-string.phpt
+++ b/vendor/phpunit/phpunit/tests/TextUI/filter-dataprovider-by-only-string.phpt
@@ -6,7 +6,7 @@ $_SERVER['argv'][1] = '--no-configuration';
$_SERVER['argv'][2] = '--filter';
$_SERVER['argv'][3] = '@false test';
$_SERVER['argv'][4] = 'DataProviderFilterTest';
-$_SERVER['argv'][5] = dirname(__FILE__).'/../_files/DataProviderFilterTest.php';
+$_SERVER['argv'][5] = dirname(__FILE__) . '/../_files/DataProviderFilterTest.php';
require __DIR__ . '/../bootstrap.php';
PHPUnit_TextUI_Command::main();
diff --git a/vendor/phpunit/phpunit/tests/TextUI/filter-dataprovider-by-range-isolation.phpt b/vendor/phpunit/phpunit/tests/TextUI/filter-dataprovider-by-range-isolation.phpt
index 846475a..2231b4d 100644
--- a/vendor/phpunit/phpunit/tests/TextUI/filter-dataprovider-by-range-isolation.phpt
+++ b/vendor/phpunit/phpunit/tests/TextUI/filter-dataprovider-by-range-isolation.phpt
@@ -7,7 +7,7 @@ $_SERVER['argv'][2] = '--process-isolation';
$_SERVER['argv'][3] = '--filter';
$_SERVER['argv'][4] = 'testTrue#1-3';
$_SERVER['argv'][5] = 'DataProviderFilterTest';
-$_SERVER['argv'][6] = dirname(__FILE__).'/../_files/DataProviderFilterTest.php';
+$_SERVER['argv'][6] = dirname(__FILE__) . '/../_files/DataProviderFilterTest.php';
require __DIR__ . '/../bootstrap.php';
PHPUnit_TextUI_Command::main();
diff --git a/vendor/phpunit/phpunit/tests/TextUI/filter-dataprovider-by-range.phpt b/vendor/phpunit/phpunit/tests/TextUI/filter-dataprovider-by-range.phpt
index ee8f629..2f2aa1d 100644
--- a/vendor/phpunit/phpunit/tests/TextUI/filter-dataprovider-by-range.phpt
+++ b/vendor/phpunit/phpunit/tests/TextUI/filter-dataprovider-by-range.phpt
@@ -6,7 +6,7 @@ $_SERVER['argv'][1] = '--no-configuration';
$_SERVER['argv'][2] = '--filter';
$_SERVER['argv'][3] = 'testTrue#1-3';
$_SERVER['argv'][4] = 'DataProviderFilterTest';
-$_SERVER['argv'][5] = dirname(__FILE__).'/../_files/DataProviderFilterTest.php';
+$_SERVER['argv'][5] = dirname(__FILE__) . '/../_files/DataProviderFilterTest.php';
require __DIR__ . '/../bootstrap.php';
PHPUnit_TextUI_Command::main();
diff --git a/vendor/phpunit/phpunit/tests/TextUI/filter-dataprovider-by-regexp-isolation.phpt b/vendor/phpunit/phpunit/tests/TextUI/filter-dataprovider-by-regexp-isolation.phpt
index 1987e2c..3a46c51 100644
--- a/vendor/phpunit/phpunit/tests/TextUI/filter-dataprovider-by-regexp-isolation.phpt
+++ b/vendor/phpunit/phpunit/tests/TextUI/filter-dataprovider-by-regexp-isolation.phpt
@@ -7,7 +7,7 @@ $_SERVER['argv'][2] = '--process-isolation';
$_SERVER['argv'][3] = '--filter';
$_SERVER['argv'][4] = 'testFalse@false.*';
$_SERVER['argv'][5] = 'DataProviderFilterTest';
-$_SERVER['argv'][6] = dirname(__FILE__).'/../_files/DataProviderFilterTest.php';
+$_SERVER['argv'][6] = dirname(__FILE__) . '/../_files/DataProviderFilterTest.php';
require __DIR__ . '/../bootstrap.php';
PHPUnit_TextUI_Command::main();
diff --git a/vendor/phpunit/phpunit/tests/TextUI/filter-dataprovider-by-regexp.phpt b/vendor/phpunit/phpunit/tests/TextUI/filter-dataprovider-by-regexp.phpt
index b4482c5..fdbd8bd 100644
--- a/vendor/phpunit/phpunit/tests/TextUI/filter-dataprovider-by-regexp.phpt
+++ b/vendor/phpunit/phpunit/tests/TextUI/filter-dataprovider-by-regexp.phpt
@@ -6,7 +6,7 @@ $_SERVER['argv'][1] = '--no-configuration';
$_SERVER['argv'][2] = '--filter';
$_SERVER['argv'][3] = 'testFalse@false.*';
$_SERVER['argv'][4] = 'DataProviderFilterTest';
-$_SERVER['argv'][5] = dirname(__FILE__).'/../_files/DataProviderFilterTest.php';
+$_SERVER['argv'][5] = dirname(__FILE__) . '/../_files/DataProviderFilterTest.php';
require __DIR__ . '/../bootstrap.php';
PHPUnit_TextUI_Command::main();
diff --git a/vendor/phpunit/phpunit/tests/TextUI/filter-dataprovider-by-string-isolation.phpt b/vendor/phpunit/phpunit/tests/TextUI/filter-dataprovider-by-string-isolation.phpt
index 3bed821..d91ca73 100644
--- a/vendor/phpunit/phpunit/tests/TextUI/filter-dataprovider-by-string-isolation.phpt
+++ b/vendor/phpunit/phpunit/tests/TextUI/filter-dataprovider-by-string-isolation.phpt
@@ -7,7 +7,7 @@ $_SERVER['argv'][2] = '--process-isolation';
$_SERVER['argv'][3] = '--filter';
$_SERVER['argv'][4] = 'testFalse@false test';
$_SERVER['argv'][5] = 'DataProviderFilterTest';
-$_SERVER['argv'][6] = dirname(__FILE__).'/../_files/DataProviderFilterTest.php';
+$_SERVER['argv'][6] = dirname(__FILE__) . '/../_files/DataProviderFilterTest.php';
require __DIR__ . '/../bootstrap.php';
PHPUnit_TextUI_Command::main();
diff --git a/vendor/phpunit/phpunit/tests/TextUI/filter-dataprovider-by-string.phpt b/vendor/phpunit/phpunit/tests/TextUI/filter-dataprovider-by-string.phpt
index a823881..eb3e6af 100644
--- a/vendor/phpunit/phpunit/tests/TextUI/filter-dataprovider-by-string.phpt
+++ b/vendor/phpunit/phpunit/tests/TextUI/filter-dataprovider-by-string.phpt
@@ -6,7 +6,7 @@ $_SERVER['argv'][1] = '--no-configuration';
$_SERVER['argv'][2] = '--filter';
$_SERVER['argv'][3] = 'testFalse@false test';
$_SERVER['argv'][4] = 'DataProviderFilterTest';
-$_SERVER['argv'][5] = dirname(__FILE__).'/../_files/DataProviderFilterTest.php';
+$_SERVER['argv'][5] = dirname(__FILE__) . '/../_files/DataProviderFilterTest.php';
require __DIR__ . '/../bootstrap.php';
PHPUnit_TextUI_Command::main();
diff --git a/vendor/phpunit/phpunit/tests/TextUI/filter-method-case-insensitive.phpt b/vendor/phpunit/phpunit/tests/TextUI/filter-method-case-insensitive.phpt
index cb61922..55519a1 100644
--- a/vendor/phpunit/phpunit/tests/TextUI/filter-method-case-insensitive.phpt
+++ b/vendor/phpunit/phpunit/tests/TextUI/filter-method-case-insensitive.phpt
@@ -6,7 +6,7 @@ $_SERVER['argv'][1] = '--no-configuration';
$_SERVER['argv'][2] = '--filter';
$_SERVER['argv'][3] = '/balanceIsInitiallyZero/i';
$_SERVER['argv'][4] = 'BankAccountTest';
-$_SERVER['argv'][5] = dirname(__FILE__).'/../_files/BankAccountTest.php';
+$_SERVER['argv'][5] = dirname(__FILE__) . '/../_files/BankAccountTest.php';
require __DIR__ . '/../bootstrap.php';
PHPUnit_TextUI_Command::main();
diff --git a/vendor/phpunit/phpunit/tests/TextUI/filter-method-case-sensitive-no-result.phpt b/vendor/phpunit/phpunit/tests/TextUI/filter-method-case-sensitive-no-result.phpt
index bf1a974..0551054 100644
--- a/vendor/phpunit/phpunit/tests/TextUI/filter-method-case-sensitive-no-result.phpt
+++ b/vendor/phpunit/phpunit/tests/TextUI/filter-method-case-sensitive-no-result.phpt
@@ -6,7 +6,7 @@ $_SERVER['argv'][1] = '--no-configuration';
$_SERVER['argv'][2] = '--filter';
$_SERVER['argv'][3] = '/balanceIsInitiallyZero/';
$_SERVER['argv'][4] = 'BankAccountTest';
-$_SERVER['argv'][5] = dirname(__FILE__).'/../_files/BankAccountTest.php';
+$_SERVER['argv'][5] = dirname(__FILE__) . '/../_files/BankAccountTest.php';
require __DIR__ . '/../bootstrap.php';
PHPUnit_TextUI_Command::main();
diff --git a/vendor/phpunit/phpunit/tests/TextUI/filter-method-isolation.phpt b/vendor/phpunit/phpunit/tests/TextUI/filter-method-isolation.phpt
index 4009065..9cd16ef 100644
--- a/vendor/phpunit/phpunit/tests/TextUI/filter-method-isolation.phpt
+++ b/vendor/phpunit/phpunit/tests/TextUI/filter-method-isolation.phpt
@@ -7,7 +7,7 @@ $_SERVER['argv'][2] = '--process-isolation';
$_SERVER['argv'][3] = '--filter';
$_SERVER['argv'][4] = 'testBalanceIsInitiallyZero';
$_SERVER['argv'][5] = 'BankAccountTest';
-$_SERVER['argv'][6] = dirname(__FILE__).'/../_files/BankAccountTest.php';
+$_SERVER['argv'][6] = dirname(__FILE__) . '/../_files/BankAccountTest.php';
require __DIR__ . '/../bootstrap.php';
PHPUnit_TextUI_Command::main();
diff --git a/vendor/phpunit/phpunit/tests/TextUI/filter-method.phpt b/vendor/phpunit/phpunit/tests/TextUI/filter-method.phpt
index c5cb650..9f5b01c 100644
--- a/vendor/phpunit/phpunit/tests/TextUI/filter-method.phpt
+++ b/vendor/phpunit/phpunit/tests/TextUI/filter-method.phpt
@@ -6,7 +6,7 @@ $_SERVER['argv'][1] = '--no-configuration';
$_SERVER['argv'][2] = '--filter';
$_SERVER['argv'][3] = 'testBalanceIsInitiallyZero';
$_SERVER['argv'][4] = 'BankAccountTest';
-$_SERVER['argv'][5] = dirname(__FILE__).'/../_files/BankAccountTest.php';
+$_SERVER['argv'][5] = dirname(__FILE__) . '/../_files/BankAccountTest.php';
require __DIR__ . '/../bootstrap.php';
PHPUnit_TextUI_Command::main();
diff --git a/vendor/phpunit/phpunit/tests/TextUI/filter-no-results.phpt b/vendor/phpunit/phpunit/tests/TextUI/filter-no-results.phpt
index 8ead7b9..a2720c8 100644
--- a/vendor/phpunit/phpunit/tests/TextUI/filter-no-results.phpt
+++ b/vendor/phpunit/phpunit/tests/TextUI/filter-no-results.phpt
@@ -6,7 +6,7 @@ $_SERVER['argv'][1] = '--no-configuration';
$_SERVER['argv'][2] = '--filter';
$_SERVER['argv'][3] = 'doesNotExist';
$_SERVER['argv'][4] = 'BankAccountTest';
-$_SERVER['argv'][5] = dirname(__FILE__).'/../_files/BankAccountTest.php';
+$_SERVER['argv'][5] = dirname(__FILE__) . '/../_files/BankAccountTest.php';
require __DIR__ . '/../bootstrap.php';
PHPUnit_TextUI_Command::main();
diff --git a/vendor/phpunit/phpunit/tests/TextUI/group-isolation.phpt b/vendor/phpunit/phpunit/tests/TextUI/group-isolation.phpt
index 4e68d65..9fc0d02 100644
--- a/vendor/phpunit/phpunit/tests/TextUI/group-isolation.phpt
+++ b/vendor/phpunit/phpunit/tests/TextUI/group-isolation.phpt
@@ -7,7 +7,7 @@ $_SERVER['argv'][2] = '--process-isolation';
$_SERVER['argv'][3] = '--group';
$_SERVER['argv'][4] = 'balanceIsInitiallyZero';
$_SERVER['argv'][5] = 'BankAccountTest';
-$_SERVER['argv'][6] = dirname(__FILE__).'/../_files/BankAccountTest.php';
+$_SERVER['argv'][6] = dirname(__FILE__) . '/../_files/BankAccountTest.php';
require __DIR__ . '/../bootstrap.php';
PHPUnit_TextUI_Command::main();
diff --git a/vendor/phpunit/phpunit/tests/TextUI/group.phpt b/vendor/phpunit/phpunit/tests/TextUI/group.phpt
index f0c0735..858456b 100644
--- a/vendor/phpunit/phpunit/tests/TextUI/group.phpt
+++ b/vendor/phpunit/phpunit/tests/TextUI/group.phpt
@@ -6,7 +6,7 @@ $_SERVER['argv'][1] = '--no-configuration';
$_SERVER['argv'][2] = '--group';
$_SERVER['argv'][3] = 'balanceIsInitiallyZero';
$_SERVER['argv'][4] = 'BankAccountTest';
-$_SERVER['argv'][5] = dirname(__FILE__).'/../_files/BankAccountTest.php';
+$_SERVER['argv'][5] = dirname(__FILE__) . '/../_files/BankAccountTest.php';
require __DIR__ . '/../bootstrap.php';
PHPUnit_TextUI_Command::main();
diff --git a/vendor/phpunit/phpunit/tests/TextUI/list-groups.phpt b/vendor/phpunit/phpunit/tests/TextUI/list-groups.phpt
index 5b23a60..fba9868 100644
--- a/vendor/phpunit/phpunit/tests/TextUI/list-groups.phpt
+++ b/vendor/phpunit/phpunit/tests/TextUI/list-groups.phpt
@@ -5,7 +5,7 @@ phpunit --list-groups BankAccountTest ../_files/BankAccountTest.php
$_SERVER['argv'][1] = '--no-configuration';
$_SERVER['argv'][2] = '--list-groups';
$_SERVER['argv'][3] = 'BankAccountTest';
-$_SERVER['argv'][4] = dirname(__FILE__).'/../_files/BankAccountTest.php';
+$_SERVER['argv'][4] = dirname(__FILE__) . '/../_files/BankAccountTest.php';
require __DIR__ . '/../bootstrap.php';
PHPUnit_TextUI_Command::main();
diff --git a/vendor/phpunit/phpunit/tests/TextUI/log-json-no-pretty-print.phpt b/vendor/phpunit/phpunit/tests/TextUI/log-json-no-pretty-print.phpt
index abdbb2f..b2b4ae8 100644
--- a/vendor/phpunit/phpunit/tests/TextUI/log-json-no-pretty-print.phpt
+++ b/vendor/phpunit/phpunit/tests/TextUI/log-json-no-pretty-print.phpt
@@ -12,7 +12,7 @@ $_SERVER['argv'][1] = '--no-configuration';
$_SERVER['argv'][2] = '--log-json';
$_SERVER['argv'][3] = 'php://stdout';
$_SERVER['argv'][4] = 'BankAccountTest';
-$_SERVER['argv'][5] = dirname(__FILE__).'/../_files/BankAccountTest.php';
+$_SERVER['argv'][5] = dirname(__FILE__) . '/../_files/BankAccountTest.php';
require __DIR__ . '/../bootstrap.php';
PHPUnit_TextUI_Command::main();
diff --git a/vendor/phpunit/phpunit/tests/TextUI/log-json-post-66021.phpt b/vendor/phpunit/phpunit/tests/TextUI/log-json-post-66021.phpt
index e9ab24d..9a85314 100644
--- a/vendor/phpunit/phpunit/tests/TextUI/log-json-post-66021.phpt
+++ b/vendor/phpunit/phpunit/tests/TextUI/log-json-post-66021.phpt
@@ -3,9 +3,9 @@ phpunit --log-json php://stdout BankAccountTest ../_files/BankAccountTest.php
--SKIPIF--
<?php
if (!defined('JSON_PRETTY_PRINT')) {
- print "skip: JSON_PRETTY_PRINT is required";
+ print 'skip: JSON_PRETTY_PRINT is required';
} else if (json_encode(array(), JSON_PRETTY_PRINT) != '[]') {
- print "skip: Does not have PHP #66021 (Blank line inside empty JSON array/object)";
+ print 'skip: Does not have PHP #66021 (Blank line inside empty JSON array/object)';
}
?>
--FILE--
@@ -14,7 +14,7 @@ $_SERVER['argv'][1] = '--no-configuration';
$_SERVER['argv'][2] = '--log-json';
$_SERVER['argv'][3] = 'php://stdout';
$_SERVER['argv'][4] = 'BankAccountTest';
-$_SERVER['argv'][5] = dirname(__FILE__).'/../_files/BankAccountTest.php';
+$_SERVER['argv'][5] = dirname(__FILE__) . '/../_files/BankAccountTest.php';
require __DIR__ . '/../bootstrap.php';
PHPUnit_TextUI_Command::main();
diff --git a/vendor/phpunit/phpunit/tests/TextUI/log-json-pre-66021.phpt b/vendor/phpunit/phpunit/tests/TextUI/log-json-pre-66021.phpt
index 190c215..866134a 100644
--- a/vendor/phpunit/phpunit/tests/TextUI/log-json-pre-66021.phpt
+++ b/vendor/phpunit/phpunit/tests/TextUI/log-json-pre-66021.phpt
@@ -3,9 +3,9 @@ phpunit --log-json php://stdout BankAccountTest ../_files/BankAccountTest.php
--SKIPIF--
<?php
if (!defined('JSON_PRETTY_PRINT')) {
- print "skip: JSON_PRETTY_PRINT is required";
+ print 'skip: JSON_PRETTY_PRINT is required';
} else if (json_encode(array(), JSON_PRETTY_PRINT) == '[]') {
- print "skip: Has PHP #66021 (Blank line inside empty JSON array/object)";
+ print 'skip: Has PHP #66021 (Blank line inside empty JSON array/object)';
}
?>
--FILE--
@@ -14,7 +14,7 @@ $_SERVER['argv'][1] = '--no-configuration';
$_SERVER['argv'][2] = '--log-json';
$_SERVER['argv'][3] = 'php://stdout';
$_SERVER['argv'][4] = 'BankAccountTest';
-$_SERVER['argv'][5] = dirname(__FILE__).'/../_files/BankAccountTest.php';
+$_SERVER['argv'][5] = dirname(__FILE__) . '/../_files/BankAccountTest.php';
require __DIR__ . '/../bootstrap.php';
PHPUnit_TextUI_Command::main();
diff --git a/vendor/phpunit/phpunit/tests/TextUI/log-tap.phpt b/vendor/phpunit/phpunit/tests/TextUI/log-tap.phpt
index 3babdb8..6e13626 100644
--- a/vendor/phpunit/phpunit/tests/TextUI/log-tap.phpt
+++ b/vendor/phpunit/phpunit/tests/TextUI/log-tap.phpt
@@ -6,7 +6,7 @@ $_SERVER['argv'][1] = '--no-configuration';
$_SERVER['argv'][2] = '--log-tap';
$_SERVER['argv'][3] = 'php://stdout';
$_SERVER['argv'][4] = 'BankAccountTest';
-$_SERVER['argv'][5] = dirname(__FILE__).'/../_files/BankAccountTest.php';
+$_SERVER['argv'][5] = dirname(__FILE__) . '/../_files/BankAccountTest.php';
require __DIR__ . '/../bootstrap.php';
PHPUnit_TextUI_Command::main();
diff --git a/vendor/phpunit/phpunit/tests/TextUI/log-xml.phpt b/vendor/phpunit/phpunit/tests/TextUI/log-xml.phpt
index ee84043..a031c85 100644
--- a/vendor/phpunit/phpunit/tests/TextUI/log-xml.phpt
+++ b/vendor/phpunit/phpunit/tests/TextUI/log-xml.phpt
@@ -6,7 +6,7 @@ $_SERVER['argv'][1] = '--no-configuration';
$_SERVER['argv'][2] = '--log-junit';
$_SERVER['argv'][3] = 'php://stdout';
$_SERVER['argv'][4] = 'BankAccountTest';
-$_SERVER['argv'][5] = dirname(__FILE__).'/../_files/BankAccountTest.php';
+$_SERVER['argv'][5] = dirname(__FILE__) . '/../_files/BankAccountTest.php';
require __DIR__ . '/../bootstrap.php';
PHPUnit_TextUI_Command::main();
diff --git a/vendor/phpunit/phpunit/tests/TextUI/options-after-arguments.phpt b/vendor/phpunit/phpunit/tests/TextUI/options-after-arguments.phpt
index 657ccb4..d4cdc1a 100644
--- a/vendor/phpunit/phpunit/tests/TextUI/options-after-arguments.phpt
+++ b/vendor/phpunit/phpunit/tests/TextUI/options-after-arguments.phpt
@@ -3,7 +3,7 @@ phpunit BankAccountTest ../_files/BankAccountTest.php --colors
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';
-$_SERVER['argv'][2] = __DIR__.'/../_files/BankAccountTest.php';
+$_SERVER['argv'][2] = __DIR__ . '/../_files/BankAccountTest.php';
$_SERVER['argv'][3] = '--colors=always';
require __DIR__ . '/../bootstrap.php';
diff --git a/vendor/phpunit/phpunit/tests/TextUI/output-isolation.phpt b/vendor/phpunit/phpunit/tests/TextUI/output-isolation.phpt
index 7783144..128a7e2 100644
--- a/vendor/phpunit/phpunit/tests/TextUI/output-isolation.phpt
+++ b/vendor/phpunit/phpunit/tests/TextUI/output-isolation.phpt
@@ -6,7 +6,7 @@ $_SERVER['argv'][1] = '--no-configuration';
$_SERVER['argv'][2] = '--process-isolation';
$_SERVER['argv'][3] = '--filter';
$_SERVER['argv'][4] = 'testExpectOutputStringFooActualFoo';
-$_SERVER['argv'][5] = dirname(__FILE__).'/../_files/OutputTestCase.php';
+$_SERVER['argv'][5] = dirname(__FILE__) . '/../_files/OutputTestCase.php';
require __DIR__ . '/../bootstrap.php';
PHPUnit_TextUI_Command::main();
diff --git a/vendor/phpunit/phpunit/tests/TextUI/repeat.phpt b/vendor/phpunit/phpunit/tests/TextUI/repeat.phpt
index a262f63..db5eddb 100644
--- a/vendor/phpunit/phpunit/tests/TextUI/repeat.phpt
+++ b/vendor/phpunit/phpunit/tests/TextUI/repeat.phpt
@@ -6,7 +6,7 @@ $_SERVER['argv'][1] = '--no-configuration';
$_SERVER['argv'][2] = '--repeat';
$_SERVER['argv'][3] = '3';
$_SERVER['argv'][4] = 'BankAccountTest';
-$_SERVER['argv'][5] = dirname(__FILE__).'/../_files/BankAccountTest.php';
+$_SERVER['argv'][5] = dirname(__FILE__) . '/../_files/BankAccountTest.php';
require __DIR__ . '/../bootstrap.php';
PHPUnit_TextUI_Command::main();
diff --git a/vendor/phpunit/phpunit/tests/TextUI/tap.phpt b/vendor/phpunit/phpunit/tests/TextUI/tap.phpt
index 88d855f..ca5676d 100644
--- a/vendor/phpunit/phpunit/tests/TextUI/tap.phpt
+++ b/vendor/phpunit/phpunit/tests/TextUI/tap.phpt
@@ -5,7 +5,7 @@ phpunit --tap BankAccountTest ../_files/BankAccountTest.php
$_SERVER['argv'][1] = '--no-configuration';
$_SERVER['argv'][2] = '--tap';
$_SERVER['argv'][3] = 'BankAccountTest';
-$_SERVER['argv'][4] = dirname(__FILE__).'/../_files/BankAccountTest.php';
+$_SERVER['argv'][4] = dirname(__FILE__) . '/../_files/BankAccountTest.php';
require __DIR__ . '/../bootstrap.php';
PHPUnit_TextUI_Command::main();
diff --git a/vendor/phpunit/phpunit/tests/TextUI/test-suffix-multiple.phpt b/vendor/phpunit/phpunit/tests/TextUI/test-suffix-multiple.phpt
index cf5d577..417f065 100644
--- a/vendor/phpunit/phpunit/tests/TextUI/test-suffix-multiple.phpt
+++ b/vendor/phpunit/phpunit/tests/TextUI/test-suffix-multiple.phpt
@@ -5,7 +5,7 @@ phpunit --test-suffix .test.php,.my.php ../_files/
$_SERVER['argv'][1] = '--no-configuration';
$_SERVER['argv'][2] = '--test-suffix';
$_SERVER['argv'][3] = '.test.php,.my.php';
-$_SERVER['argv'][4] = dirname(__FILE__).'/../_files/';
+$_SERVER['argv'][4] = dirname(__FILE__) . '/../_files/';
require __DIR__ . '/../bootstrap.php';
PHPUnit_TextUI_Command::main();
diff --git a/vendor/phpunit/phpunit/tests/TextUI/test-suffix-single.phpt b/vendor/phpunit/phpunit/tests/TextUI/test-suffix-single.phpt
index 85f13be..6c35937 100644
--- a/vendor/phpunit/phpunit/tests/TextUI/test-suffix-single.phpt
+++ b/vendor/phpunit/phpunit/tests/TextUI/test-suffix-single.phpt
@@ -5,7 +5,7 @@ phpunit --test-suffix .test.php ../_files/
$_SERVER['argv'][1] = '--no-configuration';
$_SERVER['argv'][2] = '--test-suffix';
$_SERVER['argv'][3] = '.test.php';
-$_SERVER['argv'][4] = dirname(__FILE__).'/../_files/';
+$_SERVER['argv'][4] = dirname(__FILE__) . '/../_files/';
require __DIR__ . '/../bootstrap.php';
PHPUnit_TextUI_Command::main();
diff --git a/vendor/phpunit/phpunit/tests/TextUI/testdox-html.phpt b/vendor/phpunit/phpunit/tests/TextUI/testdox-html.phpt
index 5ecbb82..95e4405 100644
--- a/vendor/phpunit/phpunit/tests/TextUI/testdox-html.phpt
+++ b/vendor/phpunit/phpunit/tests/TextUI/testdox-html.phpt
@@ -6,7 +6,7 @@ $_SERVER['argv'][1] = '--no-configuration';
$_SERVER['argv'][2] = '--testdox-html';
$_SERVER['argv'][3] = 'php://stdout';
$_SERVER['argv'][4] = 'BankAccountTest';
-$_SERVER['argv'][5] = dirname(__FILE__).'/../_files/BankAccountTest.php';
+$_SERVER['argv'][5] = dirname(__FILE__) . '/../_files/BankAccountTest.php';
require __DIR__ . '/../bootstrap.php';
PHPUnit_TextUI_Command::main();
diff --git a/vendor/phpunit/phpunit/tests/TextUI/testdox-text.phpt b/vendor/phpunit/phpunit/tests/TextUI/testdox-text.phpt
index 2c09d4e..79c6755 100644
--- a/vendor/phpunit/phpunit/tests/TextUI/testdox-text.phpt
+++ b/vendor/phpunit/phpunit/tests/TextUI/testdox-text.phpt
@@ -6,7 +6,7 @@ $_SERVER['argv'][1] = '--no-configuration';
$_SERVER['argv'][2] = '--testdox-text';
$_SERVER['argv'][3] = 'php://stdout';
$_SERVER['argv'][4] = 'BankAccountTest';
-$_SERVER['argv'][5] = dirname(__FILE__).'/../_files/BankAccountTest.php';
+$_SERVER['argv'][5] = dirname(__FILE__) . '/../_files/BankAccountTest.php';
require __DIR__ . '/../bootstrap.php';
PHPUnit_TextUI_Command::main();
diff --git a/vendor/phpunit/phpunit/tests/TextUI/testdox.phpt b/vendor/phpunit/phpunit/tests/TextUI/testdox.phpt
index 69fb23a..fb24e94 100644
--- a/vendor/phpunit/phpunit/tests/TextUI/testdox.phpt
+++ b/vendor/phpunit/phpunit/tests/TextUI/testdox.phpt
@@ -5,7 +5,7 @@ phpunit --testdox php://stdout BankAccountTest ../_files/BankAccountTest.php
$_SERVER['argv'][1] = '--no-configuration';
$_SERVER['argv'][2] = '--testdox';
$_SERVER['argv'][3] = 'BankAccountTest';
-$_SERVER['argv'][4] = dirname(__FILE__).'/../_files/BankAccountTest.php';
+$_SERVER['argv'][4] = dirname(__FILE__) . '/../_files/BankAccountTest.php';
require __DIR__ . '/../bootstrap.php';
PHPUnit_TextUI_Command::main();
diff --git a/vendor/phpunit/phpunit/tests/_files/Error.php b/vendor/phpunit/phpunit/tests/_files/TestTestError.php
index 6f61b8e..6f61b8e 100644
--- a/vendor/phpunit/phpunit/tests/_files/Error.php
+++ b/vendor/phpunit/phpunit/tests/_files/TestTestError.php