update v 1.0.7.5

This commit is contained in:
Sujit Prasad
2016-06-13 20:41:55 +05:30
parent aa9786d829
commit 283d97e3ea
5078 changed files with 339851 additions and 175995 deletions

View File

@@ -1,7 +1,3 @@
build/api
build/code-browser
build/coverage
build/logs
build/pdepend
cache.properties
phpunit.xml
/vendor
/composer.lock

View File

@@ -6,10 +6,18 @@ php:
- 5.4
- 5.5
- 5.6
- 7.0
- nightly
- hhvm
before_install:
- composer self-update
install:
- travis_retry composer install --no-interaction --prefer-source
script:
- phpunit --bootstrap src/Timer.php tests
- ./vendor/bin/phpunit --bootstrap src/Timer.php tests
notifications:
email: false

View File

@@ -44,4 +44,4 @@ print PHP_Timer::resourceUsage();
The code above yields the output below:
Time: 0 ms, Memory: 0.50Mb
Time: 0 ms, Memory: 0.50MB

View File

@@ -21,9 +21,13 @@
"require": {
"php": ">=5.3.3"
},
"require-dev": {
"phpunit/phpunit": "~4|~5"
},
"autoload": {
"classmap": [
"src/"
]
}
}

View File

@@ -91,7 +91,7 @@ class PHP_Timer
public static function resourceUsage()
{
return sprintf(
'Time: %s, Memory: %4.2fMb',
'Time: %s, Memory: %4.2fMB',
self::timeSinceStartOfRequest(),
memory_get_peak_usage(true) / 1048576
);

View File

@@ -54,7 +54,7 @@ class PHP_TimerTest extends PHPUnit_Framework_TestCase
public function testResourceUsage()
{
$this->assertStringMatchesFormat(
'Time: %s, Memory: %s',
'Time: %s, Memory: %fMB',
PHP_Timer::resourceUsage()
);
}

View File

@@ -1,22 +1,13 @@
build/api
build/code-browser
build/coverage
build/logs
build/pdepend
build/phar
build/phpdox
build/*.phar
build/*.phar.asc
tests/TextUI/*.diff
tests/TextUI/*.exp
tests/TextUI/*.log
tests/TextUI/*.out
tests/TextUI/*.php
/bin
/vendor
/.ant_targets
/.idea
/build/phar
/build/*.phar
/build/*.phar.asc
/tests/TextUI/*.diff
/tests/TextUI/*.exp
/tests/TextUI/*.log
/tests/TextUI/*.out
/tests/TextUI/*.php
/cache.properties
/composer.lock
/composer.phar
phpunit.xml
cache.properties
.idea
.ant_targets
/vendor

View File

@@ -7,11 +7,13 @@ php:
- 5.5
- 5.6
- 7.0
- nightly
- hhvm
matrix:
allow_failures:
- php: 7.0
- php: nightly
- php: hhvm
sudo: false
@@ -25,7 +27,7 @@ install:
script:
- ./phpunit
- ./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 phpunit.xml
- xmllint --noout --schema phpunit.xsd tests/_files/configuration.xml
- xmllint --noout --schema phpunit.xsd tests/_files/configuration_empty.xml
- xmllint --noout --schema phpunit.xsd tests/_files/configuration_xinclude.xml -xinclude

View File

@@ -13,7 +13,7 @@ Please note that this project is released with a [Contributor Code of Conduct](C
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).
Pull requests for bug fixes must be based on the current stable branch whereas pull requests for new features must be based on the `master` branch.
We are trying to keep backwards compatibility breaks in PHPUnit to an absolute minimum. Please take this into account when proposing changes.

View File

@@ -2,6 +2,27 @@
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.26] - 2016-05-17
### Fixed
* Fixed [phpunit-mock-objects/#301](https://github.com/sebastianbergmann/phpunit-mock-objects/issues/301): `PHPUnit_Framework_MockObject_MockBuilder::getMock()` calls `PHPUnit_Framework_TestCase::getMock()` with more arguments than accepted
## [4.8.25] - 2016-05-10
### Fixed
* Fixed [#2112](https://github.com/sebastianbergmann/phpunit/issues/2112): Output is html entity encoded when ran through `phpdbg`
* Fixed [#2158](https://github.com/sebastianbergmann/phpunit/issues/2158): Failure to run tests in separate processes if a file included into main process contains constant definition
## [4.8.24] - 2016-03-14
### Fixed
* Fixed [#1959](https://github.com/sebastianbergmann/phpunit/issues/1959): Prophecy errors are not handled correctly
* Fixed [#2039](https://github.com/sebastianbergmann/phpunit/issues/2039): TestDox does not handle snake_case test methods properly
* Fixed [#2109](https://github.com/sebastianbergmann/phpunit/issues/2109): Process isolation leaks global variable
## [4.8.23] - 2016-02-11
### Fixed
@@ -169,6 +190,9 @@ New PHAR release due to updated dependencies
* 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.26]: https://github.com/sebastianbergmann/phpunit/compare/4.8.25...4.8.26
[4.8.25]: https://github.com/sebastianbergmann/phpunit/compare/4.8.24...4.8.25
[4.8.24]: https://github.com/sebastianbergmann/phpunit/compare/4.8.23...4.8.24
[4.8.23]: https://github.com/sebastianbergmann/phpunit/compare/4.8.22...4.8.23
[4.8.22]: https://github.com/sebastianbergmann/phpunit/compare/4.8.21...4.8.22
[4.8.21]: https://github.com/sebastianbergmann/phpunit/compare/4.8.20...4.8.21

View File

@@ -1,95 +1,108 @@
<?xml version="1.0" encoding="UTF-8"?>
<project name="phpunit" default="setup">
<target name="setup" depends="clean,composer"/>
<target name="setup" depends="clean,install-dependencies"/>
<target name="validate" depends="php-syntax-check,validate-composer-json,validate-phpunit-xsd"/>
<target name="clean" description="Cleanup build artifacts">
<target name="clean" unless="clean.done" description="Cleanup build artifacts">
<delete dir="${basedir}/bin"/>
<delete dir="${basedir}/vendor"/>
<delete file="${basedir}/composer.lock"/>
<delete dir="${basedir}/build/phar"/>
<delete>
<fileset dir="${basedir}/build">
<include name="**/*.phar" />
<include name="**/*.phar.asc" />
<include name="**/*.phar"/>
<include name="**/*.phar.asc"/>
</fileset>
</delete>
<property name="clean.done" value="true"/>
</target>
<target name="composer" description="Install dependencies with Composer">
<tstamp>
<format property="thirty.days.ago" pattern="MM/dd/yyyy hh:mm aa" offset="-30" unit="day"/>
</tstamp>
<delete>
<fileset dir="${basedir}">
<include name="composer.phar" />
<date datetime="${thirty.days.ago}" when="before"/>
</fileset>
</delete>
<target name="validate-composer-json" unless="validate-composer-json.done" description="Validate composer.json">
<exec executable="${basedir}/build/tools/composer" failonerror="true" taskname="composer">
<env key="COMPOSER_DISABLE_XDEBUG_WARN" value="1"/>
<arg value="validate"/>
<arg value="--no-check-lock"/>
<arg value="--strict"/>
<arg value="${basedir}/composer.json"/>
</exec>
<get src="https://getcomposer.org/composer.phar" dest="${basedir}/composer.phar" skipexisting="true"/>
<property name="validate-composer-json.done" value="true"/>
</target>
<exec executable="php">
<arg value="composer.phar"/>
<target name="-dependencies-installed">
<available file="${basedir}/composer.lock" property="dependencies-installed"/>
</target>
<target name="install-dependencies" unless="dependencies-installed" depends="-dependencies-installed,validate-composer-json" description="Install dependencies with Composer">
<exec executable="${basedir}/build/tools/composer" taskname="composer">
<env key="COMPOSER_DISABLE_XDEBUG_WARN" value="1"/>
<arg value="install"/>
</exec>
</target>
<target name="signed-phar"
description="Create signed PHAR archive of PHPUnit and all its dependencies (release)"
depends="phar">
<exec executable="bash" outputproperty="version">
<arg value="-c" />
<arg value="${basedir}/phpunit --version | awk 'BEGIN { ORS = &quot;&quot;; } {print $2}'" />
<target name="php-syntax-check" unless="php-syntax-check.done" description="Perform syntax check on PHP files">
<apply executable="php" failonerror="true" taskname="lint">
<arg value="-l"/>
<fileset dir="${basedir}/src">
<include name="**/*.php"/>
<modified/>
</fileset>
<fileset dir="${basedir}/tests">
<include name="**/*.php"/>
<modified/>
</fileset>
</apply>
<property name="php-syntax-check.done" value="true"/>
</target>
<target name="validate-phpunit-xsd" unless="validate-phpunit-xsd.done" description="Validate phpunit.xsd">
<exec executable="xmllint" failonerror="true" taskname="xmllint">
<arg value="--noout"/>
<arg path="${basedir}/phpunit.xsd"/>
</exec>
<property name="validate-phpunit-xsd.done" value="true"/>
</target>
<target name="test" depends="validate,install-dependencies" description="Run tests">
<exec executable="${basedir}/phpunit" taskname="phpunit"/>
</target>
<target name="signed-phar" depends="phar" description="Create signed PHAR archive of PHPUnit and all its dependencies">
<exec executable="gpg" failonerror="true">
<arg value="--armor"/>
<arg value="--detach-sign"/>
<arg path="${basedir}/build/phpunit-library-${version}.phar"/>
</exec>
<exec executable="gpg" failonerror="true">
<arg value="--armor" />
<arg value="--detach-sign" />
<arg path="${basedir}/build/phpunit-library-${version}.phar" />
</exec>
<exec executable="gpg" failonerror="true">
<arg value="--armor" />
<arg value="--detach-sign" />
<arg path="${basedir}/build/phpunit-${version}.phar" />
<arg value="--armor"/>
<arg value="--detach-sign"/>
<arg path="${basedir}/build/phpunit-${version}.phar"/>
</exec>
</target>
<target name="phar"
description="Create PHAR archive of PHPUnit and all its dependencies (release)"
depends="phar-prepare">
<exec executable="bash" outputproperty="version">
<arg value="-c" />
<arg value="${basedir}/phpunit --version | awk 'BEGIN { ORS = &quot;&quot;; } {print $2}'" />
</exec>
<antcall target="phar-build">
<param name="version" value="${version}"/>
<target name="phar" depends="-phar-determine-version,-phar-prepare" description="Create PHAR archive of PHPUnit and all its dependencies">
<antcall target="-phar-build">
<param name="type" value="release"/>
</antcall>
</target>
<target name="phar-alpha"
description="Create PHAR archive of PHPUnit and all its dependencies (alpha)"
depends="phar-prepare">
<antcall target="phar-build">
<param name="version" value="alpha"/>
<target name="phar-nightly" depends="-phar-prepare" description="Create PHAR archive of PHPUnit and all its dependencies (nightly)">
<antcall target="-phar-build">
<param name="type" value="nightly"/>
</antcall>
</target>
<target name="phar-beta"
description="Create PHAR archive of PHPUnit and all its dependencies (beta)"
depends="phar-prepare">
<antcall target="phar-build">
<param name="version" value="beta"/>
</antcall>
</target>
<target name="phar-prepare" depends="clean,composer">
<target name="-phar-prepare" depends="clean,install-dependencies">
<mkdir dir="${basedir}/build/phar"/>
<copy file="${basedir}/composer.json" tofile="${basedir}/composer.json.bak"/>
<exec executable="php">
<arg value="composer.phar"/>
<exec executable="${basedir}/build/tools/composer">
<arg value="require"/>
<arg value="phpunit/dbunit:~1.4"/>
<arg value="phpunit/phpunit-selenium:~1.4"/>
@@ -99,189 +112,212 @@
<move file="${basedir}/composer.json.bak" tofile="${basedir}/composer.json"/>
<exec executable="${basedir}/build/phar-manifest.php" output="${basedir}/build/phar/manifest.txt"/>
<copy todir="${basedir}/build/phar" file="${basedir}/build/ca.pem" />
<copy todir="${basedir}/build/phar" file="${basedir}/build/ca.pem"/>
<copy file="${basedir}/vendor/phpunit/php-code-coverage/LICENSE" tofile="${basedir}/build/phar/php-code-coverage/LICENSE"/>
<copy file="${basedir}/vendor/phpunit/php-code-coverage/LICENSE"
tofile="${basedir}/build/phar/php-code-coverage/LICENSE"/>
<copy todir="${basedir}/build/phar/php-code-coverage">
<fileset dir="${basedir}/vendor/phpunit/php-code-coverage/src">
<include name="**/*" />
<include name="**/*"/>
</fileset>
</copy>
<copy file="${basedir}/vendor/phpunit/php-file-iterator/LICENSE" tofile="${basedir}/build/phar/php-file-iterator/LICENSE"/>
<copy file="${basedir}/vendor/phpunit/php-file-iterator/LICENSE"
tofile="${basedir}/build/phar/php-file-iterator/LICENSE"/>
<copy todir="${basedir}/build/phar/php-file-iterator">
<fileset dir="${basedir}/vendor/phpunit/php-file-iterator/src">
<include name="**/*.php" />
<include name="**/*.php"/>
</fileset>
</copy>
<copy file="${basedir}/vendor/phpunit/php-text-template/LICENSE" tofile="${basedir}/build/phar/php-text-template/LICENSE"/>
<copy file="${basedir}/vendor/phpunit/php-text-template/LICENSE"
tofile="${basedir}/build/phar/php-text-template/LICENSE"/>
<copy todir="${basedir}/build/phar/php-text-template">
<fileset dir="${basedir}/vendor/phpunit/php-text-template/src">
<include name="**/*.php" />
<include name="**/*.php"/>
</fileset>
</copy>
<copy file="${basedir}/vendor/phpunit/php-timer/LICENSE" tofile="${basedir}/build/phar/php-timer/LICENSE"/>
<copy todir="${basedir}/build/phar/php-timer">
<fileset dir="${basedir}/vendor/phpunit/php-timer/src">
<include name="**/*.php" />
<include name="**/*.php"/>
</fileset>
</copy>
<copy file="${basedir}/vendor/phpunit/php-token-stream/LICENSE" tofile="${basedir}/build/phar/php-token-stream/LICENSE"/>
<copy file="${basedir}/vendor/phpunit/php-token-stream/LICENSE"
tofile="${basedir}/build/phar/php-token-stream/LICENSE"/>
<copy todir="${basedir}/build/phar/php-token-stream">
<fileset dir="${basedir}/vendor/phpunit/php-token-stream/src">
<include name="**/*.php" />
<include name="**/*.php"/>
</fileset>
</copy>
<copy file="${basedir}/vendor/phpunit/phpunit-mock-objects/LICENSE" tofile="${basedir}/build/phar/phpunit-mock-objects/LICENSE"/>
<copy file="${basedir}/vendor/phpunit/phpunit-mock-objects/LICENSE"
tofile="${basedir}/build/phar/phpunit-mock-objects/LICENSE"/>
<copy todir="${basedir}/build/phar/phpunit-mock-objects">
<fileset dir="${basedir}/vendor/phpunit/phpunit-mock-objects/src">
<include name="**/*" />
<include name="**/*"/>
</fileset>
</copy>
<copy file="${basedir}/vendor/sebastian/comparator/LICENSE" tofile="${basedir}/build/phar/sebastian-comparator/LICENSE"/>
<copy file="${basedir}/vendor/sebastian/comparator/LICENSE"
tofile="${basedir}/build/phar/sebastian-comparator/LICENSE"/>
<copy todir="${basedir}/build/phar/sebastian-comparator">
<fileset dir="${basedir}/vendor/sebastian/comparator/src">
<include name="**/*.php" />
<include name="**/*.php"/>
</fileset>
</copy>
<copy file="${basedir}/vendor/sebastian/diff/LICENSE" tofile="${basedir}/build/phar/sebastian-diff/LICENSE"/>
<copy todir="${basedir}/build/phar/sebastian-diff">
<fileset dir="${basedir}/vendor/sebastian/diff/src">
<include name="**/*.php" />
<include name="**/*.php"/>
</fileset>
</copy>
<copy file="${basedir}/vendor/sebastian/environment/LICENSE" tofile="${basedir}/build/phar/sebastian-environment/LICENSE"/>
<copy file="${basedir}/vendor/sebastian/environment/LICENSE"
tofile="${basedir}/build/phar/sebastian-environment/LICENSE"/>
<copy todir="${basedir}/build/phar/sebastian-environment">
<fileset dir="${basedir}/vendor/sebastian/environment/src">
<include name="**/*.php" />
<include name="**/*.php"/>
</fileset>
</copy>
<copy file="${basedir}/vendor/sebastian/exporter/LICENSE" tofile="${basedir}/build/phar/sebastian-exporter/LICENSE"/>
<copy file="${basedir}/vendor/sebastian/exporter/LICENSE"
tofile="${basedir}/build/phar/sebastian-exporter/LICENSE"/>
<copy todir="${basedir}/build/phar/sebastian-exporter">
<fileset dir="${basedir}/vendor/sebastian/exporter/src">
<include name="**/*.php" />
<include name="**/*.php"/>
</fileset>
</copy>
<copy file="${basedir}/vendor/sebastian/recursion-context/LICENSE" tofile="${basedir}/build/phar/sebastian-recursion-context/LICENSE"/>
<copy file="${basedir}/vendor/sebastian/recursion-context/LICENSE"
tofile="${basedir}/build/phar/sebastian-recursion-context/LICENSE"/>
<copy todir="${basedir}/build/phar/sebastian-recursion-context">
<fileset dir="${basedir}/vendor/sebastian/recursion-context/src">
<include name="**/*.php" />
<include name="**/*.php"/>
</fileset>
</copy>
<copy file="${basedir}/vendor/sebastian/global-state/LICENSE" tofile="${basedir}/build/phar/sebastian-global-state/LICENSE"/>
<copy file="${basedir}/vendor/sebastian/global-state/LICENSE"
tofile="${basedir}/build/phar/sebastian-global-state/LICENSE"/>
<copy todir="${basedir}/build/phar/sebastian-global-state">
<fileset dir="${basedir}/vendor/sebastian/global-state/src">
<include name="**/*.php" />
<include name="**/*.php"/>
</fileset>
</copy>
<copy file="${basedir}/vendor/sebastian/version/LICENSE" tofile="${basedir}/build/phar/sebastian-version/LICENSE"/>
<copy file="${basedir}/vendor/sebastian/version/LICENSE"
tofile="${basedir}/build/phar/sebastian-version/LICENSE"/>
<copy todir="${basedir}/build/phar/sebastian-version">
<fileset dir="${basedir}/vendor/sebastian/version/src">
<include name="**/*.php" />
<include name="**/*.php"/>
</fileset>
</copy>
<copy file="${basedir}/vendor/doctrine/instantiator/LICENSE" tofile="${basedir}/build/phar/doctrine-instantiator/LICENSE"/>
<copy file="${basedir}/vendor/doctrine/instantiator/LICENSE"
tofile="${basedir}/build/phar/doctrine-instantiator/LICENSE"/>
<copy todir="${basedir}/build/phar/doctrine-instantiator">
<fileset dir="${basedir}/vendor/doctrine/instantiator/src">
<include name="**/*.php" />
<include name="**/*.php"/>
</fileset>
</copy>
<copy file="${basedir}/vendor/symfony/yaml/Symfony/Component/Yaml/LICENSE" tofile="${basedir}/build/phar/symfony/LICENSE"/>
<copy file="${basedir}/vendor/symfony/yaml/Symfony/Component/Yaml/LICENSE"
tofile="${basedir}/build/phar/symfony/LICENSE"/>
<copy todir="${basedir}/build/phar/symfony">
<fileset dir="${basedir}/vendor/symfony">
<include name="**/*.php" />
<exclude name="**/Tests/**" />
<include name="**/*.php"/>
<exclude name="**/Tests/**"/>
</fileset>
</copy>
<copy todir="${basedir}/build/phar/dbunit">
<fileset dir="${basedir}/vendor/phpunit/dbunit/PHPUnit">
<include name="**/*.php" />
<exclude name="**/Autoload.*" />
<include name="**/*.php"/>
<exclude name="**/Autoload.*"/>
</fileset>
</copy>
<copy todir="${basedir}/build/phar/php-invoker">
<fileset dir="${basedir}/vendor/phpunit/php-invoker/src">
<include name="**/*.php" />
<include name="**/*.php"/>
</fileset>
</copy>
<copy todir="${basedir}/build/phar/phpunit-selenium">
<fileset dir="${basedir}/vendor/phpunit/phpunit-selenium/PHPUnit">
<include name="**/*.php" />
<exclude name="**/Autoload.*" />
<include name="**/*.php"/>
<exclude name="**/Autoload.*"/>
</fileset>
</copy>
<copy file="${basedir}/vendor/phpdocumentor/reflection-docblock/LICENSE" tofile="${basedir}/build/phar/phpdocumentor-reflection-docblock/LICENSE"/>
<copy file="${basedir}/vendor/phpdocumentor/reflection-docblock/LICENSE"
tofile="${basedir}/build/phar/phpdocumentor-reflection-docblock/LICENSE"/>
<copy todir="${basedir}/build/phar/phpdocumentor-reflection-docblock">
<fileset dir="${basedir}/vendor/phpdocumentor/reflection-docblock/src">
<include name="**/*.php" />
<include name="**/*.php"/>
</fileset>
</copy>
<copy file="${basedir}/vendor/phpspec/prophecy/LICENSE" tofile="${basedir}/build/phar/phpspec-prophecy/LICENSE"/>
<copy file="${basedir}/vendor/phpspec/prophecy/LICENSE"
tofile="${basedir}/build/phar/phpspec-prophecy/LICENSE"/>
<copy todir="${basedir}/build/phar/phpspec-prophecy">
<fileset dir="${basedir}/vendor/phpspec/prophecy/src">
<include name="**/*.php" />
<include name="**/*.php"/>
</fileset>
</copy>
</target>
<target name="phar-build">
<target name="-phar-build" depends="-phar-determine-version">
<copy todir="${basedir}/build/phar/phpunit">
<fileset dir="${basedir}/src">
<include name="**/*.php" />
<include name="**/*.tpl*" />
<include name="**/*.php"/>
<include name="**/*.tpl*"/>
</fileset>
</copy>
<exec executable="${basedir}/build/phar-version.php" outputproperty="_version">
<arg value="${version}" />
<arg value="${version}"/>
<arg value="${type}"/>
</exec>
<exec executable="${basedir}/build/bin/phpab">
<arg value="--all" />
<arg value="--static" />
<arg value="--once" />
<arg value="--phar" />
<arg value="--hash" />
<arg value="SHA-1" />
<arg value="--output" />
<arg path="${basedir}/build/phpunit-library-${_version}.phar" />
<arg value="--template" />
<arg path="${basedir}/build/library-phar-autoload.php.in" />
<arg path="${basedir}/build/phar" />
<exec executable="${basedir}/build/tools/phpab" taskname="phpab">
<arg value="--all"/>
<arg value="--static"/>
<arg value="--once"/>
<arg value="--phar"/>
<arg value="--hash"/>
<arg value="SHA-1"/>
<arg value="--output"/>
<arg path="${basedir}/build/phpunit-library-${_version}.phar"/>
<arg value="--template"/>
<arg path="${basedir}/build/library-phar-autoload.php.in"/>
<arg path="${basedir}/build/phar"/>
</exec>
<exec executable="${basedir}/build/bin/phpab">
<arg value="--all" />
<arg value="--static" />
<arg value="--phar" />
<arg value="--hash" />
<arg value="SHA-1" />
<arg value="--output" />
<arg path="${basedir}/build/phpunit-${_version}.phar" />
<arg value="--template" />
<arg path="${basedir}/build/binary-phar-autoload.php.in" />
<arg path="${basedir}/build/phar" />
<exec executable="${basedir}/build/tools/phpab" taskname="phpab">
<arg value="--all"/>
<arg value="--static"/>
<arg value="--phar"/>
<arg value="--hash"/>
<arg value="SHA-1"/>
<arg value="--output"/>
<arg path="${basedir}/build/phpunit-${_version}.phar"/>
<arg value="--template"/>
<arg path="${basedir}/build/binary-phar-autoload.php.in"/>
<arg path="${basedir}/build/phar"/>
</exec>
<chmod file="${basedir}/build/phpunit-${_version}.phar" perm="ugo+rx"/>
</target>
<target name="-phar-determine-version">
<exec executable="bash" outputproperty="version">
<arg value="-c"/>
<arg value="${basedir}/phpunit --version | awk 'BEGIN { ORS = &quot;&quot;; } {print $2}'"/>
</exec>
</target>
</project>

View File

@@ -1,22 +1,20 @@
#!/usr/bin/env php
<?php
if (!isset($argv[1])) {
if (!isset($argv[1]) || !isset($argv[2])) {
exit(1);
}
if ($argv[1] == 'alpha' || $argv[1] == 'beta') {
$version = sprintf('%s-%s', $argv[1], date('Y-m-d'));
} else {
$version = $argv[1];
}
file_put_contents(
__DIR__ . '/phar/phpunit/Runner/Version.php',
str_replace(
'private static $pharVersion;',
'private static $pharVersion = "' . $version . '";',
'private static $pharVersion = "' . $argv[1] . '";',
file_get_contents(__DIR__ . '/phar/phpunit/Runner/Version.php')
)
);
print $version;
if ($argv[2] == 'release') {
print $argv[1];
} else {
print $argv[2];
}

Binary file not shown.

View File

@@ -17,15 +17,14 @@
}
],
"support": {
"issues": "https://github.com/sebastianbergmann/phpunit/issues",
"irc": "irc://irc.freenode.net/phpunit"
"issues": "https://github.com/sebastianbergmann/phpunit/issues"
},
"require": {
"php": ">=5.3.3",
"phpunit/php-file-iterator": "~1.4",
"phpunit/php-text-template": "~1.2",
"phpunit/php-code-coverage": "~2.1",
"phpunit/php-timer": ">=1.0.6",
"phpunit/php-timer": "^1.0.6",
"phpunit/phpunit-mock-objects": "~2.3",
"phpspec/prophecy": "^1.3.1",
"symfony/yaml": "~2.1|~3.0",

View File

@@ -1,23 +0,0 @@
<?xml version="1.0" encoding="utf-8" ?>
<phpdox xmlns="http://xml.phpdox.net/config">
<project name="PHPUnit" source="src" workdir="build/phpdox">
<collector publiconly="false">
<include mask="*.php" />
</collector>
<generator output="build">
<enrich base="${basedir}/build/logs">
<source type="build" />
<source type="git" />
<source type="phploc" />
<source type="checkstyle" />
<source type="pmd" />
</enrich>
<build engine="html" enabled="true" output="api">
<file extension="html" />
</build>
</generator>
</project>
</phpdox>

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:annotation>
<xs:documentation source="https://phpunit.de/manual/4.8/en/appendixes.configuration.html">
This Schema file defines the rules by which the XML configuration file of PHPUnit 4.8 may be structured.
@@ -162,17 +162,19 @@
</xs:attributeGroup>
<xs:complexType name="phpType">
<xs:sequence>
<xs:element name="includePath" type="xs:anyURI" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="ini" type="namedValueType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="const" type="namedValueType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="var" type="namedValueType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="env" type="namedValueType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="post" type="namedValueType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="get" type="namedValueType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="cookie" type="namedValueType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="server" type="namedValueType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="files" type="namedValueType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="request" type="namedValueType" minOccurs="0" maxOccurs="unbounded"/>
<xs:choice maxOccurs="unbounded">
<xs:element name="includePath" type="xs:anyURI" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="ini" type="namedValueType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="const" type="namedValueType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="var" type="namedValueType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="env" type="namedValueType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="post" type="namedValueType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="get" type="namedValueType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="cookie" type="namedValueType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="server" type="namedValueType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="files" type="namedValueType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="request" type="namedValueType" minOccurs="0" maxOccurs="unbounded"/>
</xs:choice>
</xs:sequence>
</xs:complexType>
<xs:complexType name="namedValueType">

View File

@@ -71,19 +71,17 @@ class PHPUnit_Framework_Constraint_TraversableContains extends PHPUnit_Framework
if (is_object($this->value)) {
foreach ($other as $element) {
if (($this->checkForObjectIdentity &&
$element === $this->value) ||
(!$this->checkForObjectIdentity &&
$element == $this->value)) {
if ($this->checkForObjectIdentity && $element === $this->value) {
return true;
} elseif (!$this->checkForObjectIdentity && $element == $this->value) {
return true;
}
}
} else {
foreach ($other as $element) {
if (($this->checkForNonObjectIdentity &&
$element === $this->value) ||
(!$this->checkForNonObjectIdentity &&
$element == $this->value)) {
if ($this->checkForNonObjectIdentity && $element === $this->value) {
return true;
} elseif (!$this->checkForNonObjectIdentity && $element == $this->value) {
return true;
}
}

View File

@@ -1004,7 +1004,7 @@ abstract class PHPUnit_Framework_TestCase extends PHPUnit_Framework_Assert imple
if ($this->prophet !== null) {
try {
$this->prophet->checkPredictions();
} catch (Throwable $t) {
} catch (Throwable $e) {
/* Intentionally left empty */
} catch (Exception $e) {
/* Intentionally left empty */
@@ -1324,6 +1324,7 @@ abstract class PHPUnit_Framework_TestCase extends PHPUnit_Framework_Assert imple
* @param bool $callAutoload Can be used to disable __autoload() during the generation of the test double class.
* @param bool $cloneArguments
* @param bool $callOriginalMethods
* @param object $proxyTarget
*
* @return PHPUnit_Framework_MockObject_MockObject
*
@@ -1331,7 +1332,7 @@ abstract class PHPUnit_Framework_TestCase extends PHPUnit_Framework_Assert imple
*
* @since Method available since Release 3.0.0
*/
public function getMock($originalClassName, $methods = array(), array $arguments = array(), $mockClassName = '', $callOriginalConstructor = true, $callOriginalClone = true, $callAutoload = true, $cloneArguments = false, $callOriginalMethods = false)
public function getMock($originalClassName, $methods = array(), array $arguments = array(), $mockClassName = '', $callOriginalConstructor = true, $callOriginalClone = true, $callAutoload = true, $cloneArguments = false, $callOriginalMethods = false, $proxyTarget = null)
{
$mockObject = $this->getMockObjectGenerator()->getMock(
$originalClassName,
@@ -1342,7 +1343,8 @@ abstract class PHPUnit_Framework_TestCase extends PHPUnit_Framework_Assert imple
$callOriginalClone,
$callAutoload,
$cloneArguments,
$callOriginalMethods
$callOriginalMethods,
$proxyTarget
);
$this->mockObjects[] = $mockObject;

View File

@@ -30,7 +30,7 @@ class PHPUnit_Runner_Version
}
if (self::$version === null) {
$version = new SebastianBergmann\Version('4.8.23', dirname(dirname(__DIR__)));
$version = new SebastianBergmann\Version('4.8.26', dirname(dirname(__DIR__)));
self::$version = $version->getVersion();
}
@@ -45,12 +45,13 @@ class PHPUnit_Runner_Version
public static function series()
{
if (strpos(self::id(), '-')) {
$tmp = explode('-', self::id());
return $tmp[0];
$tmp = explode('-', self::id());
$version = $tmp[0];
} else {
$version = self::id();
}
return implode('.', array_slice(explode('.', self::id()), 0, 2));
return implode('.', array_slice(explode('.', $version), 0, 2));
}
/**
@@ -68,12 +69,8 @@ class PHPUnit_Runner_Version
*/
public static function getReleaseChannel()
{
if (strpos(self::$pharVersion, 'alpha') !== false) {
return '-alpha';
}
if (strpos(self::$pharVersion, 'beta') !== false) {
return '-beta';
if (strpos(self::$pharVersion, '-') !== false) {
return '-nightly';
}
return '';

View File

@@ -597,7 +597,7 @@ class PHPUnit_TextUI_TestRunner extends PHPUnit_Runner_BaseTestRunner
*/
protected function write($buffer)
{
if (PHP_SAPI != 'cli') {
if (PHP_SAPI != 'cli' && PHP_SAPI != 'phpdbg') {
$buffer = htmlspecialchars($buffer);
}

View File

@@ -75,12 +75,22 @@ $configurationFilePath = '{configurationFilePath}';
if ('' !== $configurationFilePath) {
$configuration = PHPUnit_Util_Configuration::getInstance($configurationFilePath);
$configuration->handlePHPConfiguration();
unset($configuration);
}
function __phpunit_error_handler($errno, $errstr, $errfile, $errline, $errcontext)
{
return true;
}
set_error_handler("__phpunit_error_handler");
{constants}
{included_files}
{globals}
restore_error_handler();
if (isset($GLOBALS['__PHPUNIT_BOOTSTRAP'])) {
require_once $GLOBALS['__PHPUNIT_BOOTSTRAP'];
unset($GLOBALS['__PHPUNIT_BOOTSTRAP']);

View File

@@ -0,0 +1,3 @@
<?php
eval('?>' . file_get_contents('php://input'));

View File

@@ -127,7 +127,7 @@ class PHPUnit_Util_Printer
$this->incrementalFlush();
}
} else {
if (PHP_SAPI != 'cli') {
if (PHP_SAPI != 'cli' && PHP_SAPI != 'phpdbg') {
$buffer = htmlspecialchars($buffer);
}

View File

@@ -81,23 +81,21 @@ class PHPUnit_Util_TestDox_NamePrettifier
$this->strings[] = $string;
}
if (strpos($name, '_') !== false) {
return str_replace('_', ' ', $name);
}
$max = strlen($name);
if (substr($name, 0, 4) == 'test') {
$offset = 4;
} else {
$offset = 0;
$name[0] = strtoupper($name[0]);
$name = substr($name, 4);
}
$name[0] = strtoupper($name[0]);
if (strpos($name, '_') !== false) {
return trim(str_replace('_', ' ', $name));
}
$max = strlen($name);
$wasNumeric = false;
for ($i = $offset; $i < $max; $i++) {
if ($i > $offset &&
for ($i = 0; $i < $max; $i++) {
if ($i > 0 &&
ord($name[$i]) >= 65 &&
ord($name[$i]) <= 90) {
$buffer .= ' ' . strtolower($name[$i]);

View File

@@ -15,6 +15,6 @@ PHPUnit %s by Sebastian Bergmann and contributors.
.1.2
Time: %s, Memory: %sMb
Time: %s, Memory: %s
OK (2 tests, 2 assertions)

View File

@@ -20,6 +20,6 @@ PHPUnit %s by Sebastian Bergmann and contributors.
Starting test 'Issue1216Test::testConfigAvailableInBootstrap'.
.
Time: %s, Memory: %sMb
Time: %s, Memory: %s
OK (1 test, 1 assertion)

View File

@@ -16,6 +16,6 @@ PHPUnit %s by Sebastian Bergmann and contributors.
.
Time: %s, Memory: %sMb
Time: %s, Memory: %s
OK (1 test, 1 assertion)

View File

@@ -19,6 +19,6 @@ PHPUnit %s by Sebastian Bergmann and contributors.
Starting test 'Issue1330Test::testTrue'.
.
Time: %s, Memory: %sMb
Time: %s, Memory: %s
OK (1 test, 1 assertion)

View File

@@ -16,6 +16,6 @@ PHPUnit %s by Sebastian Bergmann and contributors.
............
Time: %s, Memory: %sMb
Time: %s, Memory: %s
OK (12 tests, 12 assertions)

View File

@@ -16,6 +16,6 @@ PHPUnit %s by Sebastian Bergmann and contributors.
..
Time: %s, Memory: %sMb
Time: %s, Memory: %s
OK (2 tests, 2 assertions)

View File

@@ -25,7 +25,7 @@ PHPUnit %s by Sebastian Bergmann and contributors.
STDOUT does not break test result
E
Time: %s, Memory: %sMb
Time: %s, Memory: %s
There was 1 error:

View File

@@ -22,7 +22,7 @@ PHPUnit %s by Sebastian Bergmann and contributors.
F.E.E
Time: %s, Memory: %sMb
Time: %s, Memory: %s
There were 2 errors:

View File

@@ -15,7 +15,7 @@ PHPUnit %s by Sebastian Bergmann and contributors.
S
Time: %s, Memory: %sMb
Time: %s, Memory: %s
OK, but incomplete, skipped, or risky tests!
Tests: 1, Assertions: 0, Skipped: 1.

View File

@@ -15,7 +15,7 @@ PHPUnit %s by Sebastian Bergmann and contributors.
F
Time: %s, Memory: %sMb
Time: %s, Memory: %s
There was 1 failure:

View File

@@ -16,7 +16,7 @@ PHPUnit %s by Sebastian Bergmann and contributors.
I
Time: %s, Memory: %sMb
Time: %s, Memory: %s
OK, but incomplete, skipped, or risky tests!
Tests: 1, Assertions: 0, Incomplete: 1.

View File

@@ -15,7 +15,7 @@ PHPUnit %s by Sebastian Bergmann and contributors.
F
Time: %s, Memory: %sMb
Time: %s, Memory: %s
There was 1 failure:

View File

@@ -21,6 +21,6 @@ PHPUnit %s by Sebastian Bergmann and contributors.
.
Time: %s, Memory: %sMb
Time: %s, Memory: %s
OK (1 test, 4 assertions)

View File

@@ -15,7 +15,7 @@ PHPUnit %s by Sebastian Bergmann and contributors.
R*
Time: %s, Memory: %sMb
Time: %s, Memory: %s
OK, but incomplete, skipped, or risky tests!
Tests: 1, Assertions: 0, Risky: 1.

View File

@@ -0,0 +1,19 @@
--TEST--
#2158: Failure to run tests in separate processes if a file included into main process contains constant definition
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';
$_SERVER['argv'][2] = 'Issue2158Test';
$_SERVER['argv'][3] = __DIR__ . '/2158/Issue2158Test.php';
require __DIR__ . '/../../bootstrap.php';
PHPUnit_TextUI_Command::main();
?>
--EXPECTF--
PHPUnit %s by Sebastian Bergmann and contributors.
%s
Time: %s, Memory: %s
OK (2 tests, 2 assertions)

View File

@@ -0,0 +1,23 @@
<?php
class Issue2158Test extends PHPUnit_Framework_TestCase
{
/**
* Set constant in main process
*/
public function testSomething()
{
include(__DIR__ . '/constant.inc');
$this->assertTrue(true);
}
/**
* Constant defined previously in main process constant should be available and
* no errors should be yielded by reload of included files
*
* @runInSeparateProcess
*/
public function testSomethingElse()
{
$this->assertTrue(defined('TEST_CONSTANT'));
}
}

View File

@@ -0,0 +1,5 @@
<?php
define('TEST_CONSTANT', true);
?>

View File

@@ -15,7 +15,7 @@ PHPUnit %s by Sebastian Bergmann and contributors.
.FFF
Time: %s, Memory: %sMb
Time: %s, Memory: %s
There were 3 failures:

View File

@@ -21,6 +21,6 @@ PHPUnit %s by Sebastian Bergmann and contributors.
Starting test 'Issue322Test::testOne'.
.
Time: %s, Memory: %sMb
Time: %s, Memory: %s
OK (1 test, 0 assertions)

View File

@@ -15,7 +15,7 @@ PHPUnit %s by Sebastian Bergmann and contributors.
..F
Time: %s, Memory: %sMb
Time: %s, Memory: %s
There was 1 failure:

View File

@@ -16,7 +16,7 @@ PHPUnit %s by Sebastian Bergmann and contributors.
..F
Time: %s, Memory: %sMb
Time: %s, Memory: %s
There was 1 failure:

View File

@@ -17,7 +17,7 @@ PHPUnit %s by Sebastian Bergmann and contributors.
F
Time: %s, Memory: %sMb
Time: %s, Memory: %s
There was 1 failure:

View File

@@ -15,7 +15,7 @@ PHPUnit %s by Sebastian Bergmann and contributors.
F
Time: %s, Memory: %sMb
Time: %s, Memory: %s
There was 1 failure:

View File

@@ -15,7 +15,7 @@ PHPUnit %s by Sebastian Bergmann and contributors.
F
Time: %s, Memory: %sMb
Time: %s, Memory: %s
There was 1 failure:

View File

@@ -15,7 +15,7 @@ PHPUnit %s by Sebastian Bergmann and contributors.
E
Time: %s, Memory: %sMb
Time: %s, Memory: %s
There was 1 error:

View File

@@ -15,7 +15,7 @@ PHPUnit %s by Sebastian Bergmann and contributors.
.F
Time: %s, Memory: %sMb
Time: %s, Memory: %s
There was 1 failure:

View File

@@ -17,6 +17,6 @@ PHPUnit %s by Sebastian Bergmann and contributors.
.
Time: %s, Memory: %sMb
Time: %s, Memory: %s
OK (1 test, 1 assertion)

View File

@@ -19,6 +19,6 @@ PHPUnit %s by Sebastian Bergmann and contributors.
............................................................... 126 / 150 ( 84%)
........................
Time: %s, Memory: %sMb
Time: %s, Memory: %s
OK (150 tests, 150 assertions)

View File

@@ -6,7 +6,7 @@ $_SERVER['argv'][1] = '--no-configuration';
$_SERVER['argv'][2] = 'Issue1021Test';
$_SERVER['argv'][3] = dirname(__FILE__) . '/1021/Issue1021Test.php';
require __DIR__ . '/../bootstrap.php';
require __DIR__ . '/../../bootstrap.php';
PHPUnit_TextUI_Command::main();
?>
--EXPECTF--
@@ -14,6 +14,6 @@ PHPUnit %s by Sebastian Bergmann and contributors.
..
Time: %s, Memory: %sMb
Time: %s, Memory: %s
OK (2 tests, 1 assertion)

View File

@@ -6,7 +6,7 @@ $_SERVER['argv'][1] = '--no-configuration';
$_SERVER['argv'][2] = 'Issue523Test';
$_SERVER['argv'][3] = dirname(__FILE__) . '/523/Issue523Test.php';
require __DIR__ . '/../bootstrap.php';
require __DIR__ . '/../../bootstrap.php';
PHPUnit_TextUI_Command::main();
?>
--EXPECTF--
@@ -14,6 +14,6 @@ PHPUnit %s by Sebastian Bergmann and contributors.
.
Time: %s, Memory: %sMb
Time: %s, Memory: %s
OK (1 test, 1 assertion)

View File

@@ -6,7 +6,7 @@ $_SERVER['argv'][1] = '--no-configuration';
$_SERVER['argv'][2] = 'Issue578Test';
$_SERVER['argv'][3] = dirname(__FILE__) . '/578/Issue578Test.php';
require __DIR__ . '/../bootstrap.php';
require __DIR__ . '/../../bootstrap.php';
PHPUnit_TextUI_Command::main();
?>
--EXPECTF--
@@ -14,7 +14,7 @@ PHPUnit %s by Sebastian Bergmann and contributors.
EEE
Time: %s, Memory: %sMb
Time: %s, Memory: %s
There were 3 errors:

View File

@@ -6,7 +6,7 @@ $_SERVER['argv'][1] = '--no-configuration';
$_SERVER['argv'][2] = 'Issue684Test';
$_SERVER['argv'][3] = dirname(__FILE__) . '/684/Issue684Test.php';
require __DIR__ . '/../bootstrap.php';
require __DIR__ . '/../../bootstrap.php';
PHPUnit_TextUI_Command::main();
?>
--EXPECTF--
@@ -14,7 +14,7 @@ PHPUnit %s by Sebastian Bergmann and contributors.
F
Time: %s, Memory: %sMb
Time: %s, Memory: %s
There was 1 failure:

View File

@@ -8,7 +8,7 @@ $_SERVER['argv'][3] = 'foo,bar';
$_SERVER['argv'][4] = 'ParentSuite';
$_SERVER['argv'][5] = dirname(__FILE__) . '/783/ParentSuite.php';
require __DIR__ . '/../bootstrap.php';
require __DIR__ . '/../../bootstrap.php';
PHPUnit_TextUI_Command::main();
?>
--EXPECTF--
@@ -16,6 +16,6 @@ PHPUnit %s by Sebastian Bergmann and contributors.
..
Time: %s, Memory: %sMb
Time: %s, Memory: %s
OK (2 tests, 0 assertions)

View File

@@ -14,7 +14,7 @@ PHPUnit %s by Sebastian Bergmann and contributors.
F
Time: %s, Memory: %sMb
Time: %s, Memory: %s
There was 1 failure:

View File

@@ -14,6 +14,6 @@ PHPUnit %s by Sebastian Bergmann and contributors.
...
Time: %s, Memory: %sMb
Time: %s, Memory: %s
%s[30;42mOK (3 tests, 3 assertions)%s[0m

View File

@@ -14,6 +14,6 @@ PHPUnit %s by Sebastian Bergmann and contributors.
..
Time: %s, Memory: %sMb
Time: %s, Memory: %s
OK (2 tests, 0 assertions)

View File

@@ -22,6 +22,6 @@ Starting test 'BankAccountTest::testBalanceCannotBecomeNegative'.
Starting test 'BankAccountTest::testBalanceCannotBecomeNegative2'.
.
Time: %s, Memory: %sMb
Time: %s, Memory: %s
OK (3 tests, 3 assertions)

View File

@@ -19,7 +19,7 @@ Configuration: %sconfiguration.custom-printer.xml
I
Time: %s, Memory: %sMb
Time: %s, Memory: %s
There was 1 incomplete test:

View File

@@ -29,6 +29,6 @@ Starting test 'DataProviderDebugTest::testProvider with data set #5 (Binary Stri
Starting test 'DataProviderDebugTest::testProvider with data set #6 (Binary String: 0x0009)'.
.
Time: %s, Memory: %sMb
Time: %s, Memory: %s
OK (7 tests, 7 assertions)

View File

@@ -34,7 +34,7 @@ Failed asserting that 2 matches expected 3.
</testsuites>
Time: %s, Memory: %sMb
Time: %s, Memory: %s
There was 1 failure:

View File

@@ -33,7 +33,7 @@ Failed asserting that 2 matches expected 3.
</testsuites>
Time: %s, Memory: %sMb
Time: %s, Memory: %s
There was 1 failure:

View File

@@ -21,6 +21,6 @@ Starting test 'BankAccountTest::testBalanceCannotBecomeNegative'.
Starting test 'BankAccountTest::testBalanceCannotBecomeNegative2'.
.
Time: %s, Memory: %sMb
Time: %s, Memory: %s
OK (3 tests, 3 assertions)

View File

@@ -15,6 +15,6 @@ PHPUnit %s by Sebastian Bergmann and contributors.
...
Time: %s, Memory: %sMb
Time: %s, Memory: %s
OK (3 tests, 3 assertions)

View File

@@ -14,6 +14,6 @@ PHPUnit %s by Sebastian Bergmann and contributors.
...
Time: %s, Memory: %sMb
Time: %s, Memory: %s
OK (3 tests, 3 assertions)

View File

@@ -18,7 +18,7 @@ Runtime: %s
...FSS
Time: %s, Memory: %sMb
Time: %s, Memory: %s
There was 1 failure:

View File

@@ -17,7 +17,7 @@ Runtime: %s
...FSS
Time: %s, Memory: %sMb
Time: %s, Memory: %s
There was 1 failure:

View File

@@ -15,6 +15,6 @@ PHPUnit %s by Sebastian Bergmann and contributors.
..
Time: %s, Memory: %sMb
Time: %s, Memory: %s
OK (2 tests, 5 assertions)

View File

@@ -14,6 +14,6 @@ PHPUnit %s by Sebastian Bergmann and contributors.
..
Time: %s, Memory: %sMb
Time: %s, Memory: %s
OK (2 tests, 5 assertions)

View File

@@ -15,6 +15,6 @@ PHPUnit %s by Sebastian Bergmann and contributors.
...
Time: %s, Memory: %sMb
Time: %s, Memory: %s
OK (3 tests, 2 assertions)

View File

@@ -14,6 +14,6 @@ PHPUnit %s by Sebastian Bergmann and contributors.
...
Time: %s, Memory: %sMb
Time: %s, Memory: %s
OK (3 tests, 2 assertions)

View File

@@ -14,7 +14,7 @@ PHPUnit %s by Sebastian Bergmann and contributors.
F
Time: %s, Memory: %sMb
Time: %s, Memory: %s
There was 1 failure:

View File

@@ -14,7 +14,7 @@ PHPUnit %s by Sebastian Bergmann and contributors.
EE
Time: %s, Memory: %sMb
Time: %s, Memory: %s
There were 2 errors:

View File

@@ -17,6 +17,6 @@ PHPUnit %s by Sebastian Bergmann and contributors.
..
Time: %s, Memory: %sMb
Time: %s, Memory: %s
OK (2 tests, 2 assertions)

View File

@@ -16,6 +16,6 @@ PHPUnit %s by Sebastian Bergmann and contributors.
..
Time: %s, Memory: %sMb
Time: %s, Memory: %s
OK (2 tests, 2 assertions)

View File

@@ -15,7 +15,7 @@ PHPUnit %s by Sebastian Bergmann and contributors.
FFFFFFFFFFFFF
Time: %s, Memory: %sMb
Time: %s, Memory: %s
There were 13 failures:

View File

@@ -14,7 +14,7 @@ PHPUnit %s by Sebastian Bergmann and contributors.
FFFFFFFFFFFFF
Time: %s, Memory: %sMb
Time: %s, Memory: %s
There were 13 failures:

View File

@@ -15,7 +15,7 @@ PHPUnit %s by Sebastian Bergmann and contributors.
E
Time: %s, Memory: %sMb
Time: %s, Memory: %s
There was 1 error:

View File

@@ -17,6 +17,6 @@ PHPUnit %s by Sebastian Bergmann and contributors.
...
Time: %s, Memory: %sMb
Time: %s, Memory: %s
OK (3 tests, 3 assertions)

View File

@@ -16,6 +16,6 @@ PHPUnit %s by Sebastian Bergmann and contributors.
...
Time: %s, Memory: %sMb
Time: %s, Memory: %s
OK (3 tests, 3 assertions)

View File

@@ -17,6 +17,6 @@ PHPUnit %s by Sebastian Bergmann and contributors.
...
Time: %s, Memory: %sMb
Time: %s, Memory: %s
OK (3 tests, 3 assertions)

View File

@@ -16,6 +16,6 @@ PHPUnit %s by Sebastian Bergmann and contributors.
...
Time: %s, Memory: %sMb
Time: %s, Memory: %s
OK (3 tests, 3 assertions)

View File

@@ -17,6 +17,6 @@ PHPUnit %s by Sebastian Bergmann and contributors.
.
Time: %s, Memory: %sMb
Time: %s, Memory: %s
OK (1 test, 1 assertion)

View File

@@ -16,6 +16,6 @@ PHPUnit %s by Sebastian Bergmann and contributors.
.
Time: %s, Memory: %sMb
Time: %s, Memory: %s
OK (1 test, 1 assertion)

View File

@@ -17,6 +17,6 @@ PHPUnit %s by Sebastian Bergmann and contributors.
...
Time: %s, Memory: %sMb
Time: %s, Memory: %s
OK (3 tests, 3 assertions)

View File

@@ -16,6 +16,6 @@ PHPUnit %s by Sebastian Bergmann and contributors.
...
Time: %s, Memory: %sMb
Time: %s, Memory: %s
OK (3 tests, 3 assertions)

View File

@@ -17,6 +17,6 @@ PHPUnit %s by Sebastian Bergmann and contributors.
..
Time: %s, Memory: %sMb
Time: %s, Memory: %s
OK (2 tests, 2 assertions)

Some files were not shown because too many files have changed in this diff Show More