Skip to content

Commit

Permalink
Merge branch '7.3'
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Sep 7, 2018
2 parents 9dddd1e + ab2926e commit 577470e
Show file tree
Hide file tree
Showing 368 changed files with 239 additions and 257 deletions.
10 changes: 5 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
/build/binary-phar-autoload.php
/cache.properties
/composer.lock
/tests/TextUI/*.diff
/tests/TextUI/*.exp
/tests/TextUI/*.log
/tests/TextUI/*.out
/tests/TextUI/*.php
/tests/end-to-end/*.diff
/tests/end-to-end/*.exp
/tests/end-to-end/*.log
/tests/end-to-end/*.out
/tests/end-to-end/*.php
/vendor
2 changes: 1 addition & 1 deletion build/travis-ci-fail.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
verbose="true">
<testsuites>
<testsuite name="small">
<directory suffix=".phpt">../tests/Fail</directory>
<directory suffix=".phpt">../tests/fail</directory>
</testsuite>
</testsuites>

Expand Down
12 changes: 4 additions & 8 deletions phpunit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,12 @@
cacheResult="true"
verbose="true">
<testsuites>
<testsuite name="small">
<directory>tests/Framework</directory>
<directory>tests/Runner</directory>
<directory>tests/Util</directory>
<testsuite name="unit">
<directory suffix="Test.php">tests/unit</directory>
</testsuite>

<testsuite name="large">
<directory suffix=".phpt">tests/Framework/MockObject/Generator</directory>
<directory suffix=".phpt">tests/TextUI</directory>
<directory suffix=".phpt">tests/Regression</directory>
<testsuite name="end-to-end">
<directory suffix=".phpt">tests/end-to-end</directory>
</testsuite>
</testsuites>

Expand Down
2 changes: 1 addition & 1 deletion tests/_files/configuration.one-file-suite.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<phpunit>
<testsuites>
<testsuite name="One File Suite">
<file>../../tests/TextUI/debug.phpt</file>
<file>../../tests/end-to-end/debug.phpt</file>
</testsuite>
</testsuites>
</phpunit>
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--TEST--
phpunit AbstractTest ../_files/AbstractTest.php
phpunit AbstractTest ../../_files/AbstractTest.php
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--TEST--
phpunit AssertionExampleTest ../_files/AssertionExampleTest.php
phpunit AssertionExampleTest ../../_files/AssertionExampleTest.php
--SKIPIF--
<?php
if (PHP_MAJOR_VERSION < 7) {
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--TEST--
phpunit --colors=never --coverage-text=php://stdout IgnoreCodeCoverageClassTest ../_files/IgnoreCodeCoverageClassTest.php --whitelist ../../tests/_files/IgnoreCodeCoverageClass.php
phpunit --colors=never --coverage-text=php://stdout IgnoreCodeCoverageClassTest ../../_files/IgnoreCodeCoverageClassTest.php --whitelist ../../../tests/_files/IgnoreCodeCoverageClass.php
--SKIPIF--
<?php
if (!extension_loaded('xdebug')) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--TEST--
phpunit --colors=never --coverage-text=php://stdout ../_files/phpt-for-coverage.phpt --whitelist ../_files/CoveredClass.php
phpunit --colors=never --coverage-text=php://stdout ../../_files/phpt-for-coverage.phpt --whitelist ../../_files/CoveredClass.php
--SKIPIF--
<?php
if (!extension_loaded('xdebug')) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--TEST--
phpunit --colors=always BankAccountTest ../_files/BankAccountTest.php
phpunit --colors=always BankAccountTest ../../_files/BankAccountTest.php
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--TEST--
phpunit ConcreteTest ../_files/ConcreteTest.php
phpunit ConcreteTest ../../_files/ConcreteTest.php
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--TEST--
phpunit -c ../_files/configuration.custom-printer.xml --debug BankAccountTest ../_files/BankAccountTest.php
phpunit -c ../../_files/configuration.custom-printer.xml --debug BankAccountTest ../../_files/BankAccountTest.php
--FILE--
<?php
$_SERVER['argv'][1] = '-c';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--TEST--
phpunit -c ../_files/configuration.custom-printer.xml --verbose IncompleteTest ../_files/IncompleteTest.php
phpunit -c ../../_files/configuration.custom-printer.xml --verbose IncompleteTest ../../_files/IncompleteTest.php
--FILE--
<?php
$_SERVER['argv'][1] = '-c';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--TEST--
phpunit --debug DataProviderDebugTest ../_files/DataProviderDebugTest.php
phpunit --debug DataProviderDebugTest ../../_files/DataProviderDebugTest.php
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--TEST--
phpunit ../_files/DataProviderIssue2833
phpunit ../../_files/DataProviderIssue2833
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--TEST--
phpunit -c ../_files/DataProviderIssue2859/phpunit.xml
phpunit -c ../../_files/DataProviderIssue2859/phpunit.xml
--FILE--
<?php
$_SERVER['argv'][1] = '-c';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--TEST--
phpunit --exclude-group=foo ../_files/DataProviderIssue2922
phpunit --exclude-group=foo ../../_files/DataProviderIssue2922
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--TEST--
phpunit --process-isolation --log-junit php://stdout DataProviderTest ../_files/DataProviderTest.php
phpunit --process-isolation --log-junit php://stdout DataProviderTest ../../_files/DataProviderTest.php
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--TEST--
phpunit --log-junit php://stdout DataProviderTest ../_files/DataProviderTest.php
phpunit --log-junit php://stdout DataProviderTest ../../_files/DataProviderTest.php
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--TEST--
phpunit DataProviderTestDoxTest ../_files/DataProviderTestDoxTest.php
phpunit DataProviderTestDoxTest ../../_files/DataProviderTestDoxTest.php
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';
Expand Down
2 changes: 1 addition & 1 deletion tests/TextUI/debug.phpt → tests/end-to-end/debug.phpt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--TEST--
phpunit --debug BankAccountTest ../_files/BankAccountTest.php
phpunit --debug BankAccountTest ../../_files/BankAccountTest.php
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--TEST--
phpunit --process-isolation BankAccountTest ../_files/BankAccountTest.php
phpunit --process-isolation BankAccountTest ../../_files/BankAccountTest.php
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--TEST--
phpunit BankAccountTest ../_files/BankAccountTest.php
phpunit BankAccountTest ../../_files/BankAccountTest.php
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--TEST--
phpunit --verbose ClonedDependencyTest ../_files/ClonedDependencyTest.php
phpunit --verbose ClonedDependencyTest ../../_files/ClonedDependencyTest.php
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--TEST--
phpunit --process-isolation --verbose DependencyTestSuite ../_files/DependencyTestSuite.php
phpunit --process-isolation --verbose DependencyTestSuite ../../_files/DependencyTestSuite.php
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--TEST--
phpunit --verbose DependencyTestSuite ../_files/DependencyTestSuite.php
phpunit --verbose DependencyTestSuite ../../_files/DependencyTestSuite.php
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--TEST--
phpunit --process-isolation StackTest ../_files/StackTest.php
phpunit --process-isolation StackTest ../../_files/StackTest.php
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--TEST--
phpunit StackTest ../_files/StackTest.php
phpunit StackTest ../../_files/StackTest.php
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--TEST--
phpunit --process-isolation MultiDependencyTest ../_files/MultiDependencyTest.php
phpunit --process-isolation MultiDependencyTest ../../_files/MultiDependencyTest.php
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--TEST--
phpunit MultiDependencyTest ../_files/MultiDependencyTest.php
phpunit MultiDependencyTest ../../_files/MultiDependencyTest.php
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--TEST--
phpunit --colors=never --coverage-text=php://stdout --disable-coverage-ignore IgnoreCodeCoverageClassTest tests/_files/IgnoreCodeCoverageClassTest.php --whitelist ../../tests/_files/IgnoreCodeCoverageClass.php
phpunit --colors=never --coverage-text=php://stdout --disable-coverage-ignore IgnoreCodeCoverageClassTest tests/_files/IgnoreCodeCoverageClassTest.php --whitelist ../../../tests/_files/IgnoreCodeCoverageClass.php
--SKIPIF--
<?php
if (!extension_loaded('xdebug')) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--TEST--
phpunit EmptyTestCaseTest ../_files/EmptyTestCaseTest.php
phpunit EmptyTestCaseTest ../../_files/EmptyTestCaseTest.php
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--TEST--
phpunit ExceptionStackTest ../_files/ExceptionStackTest.php
phpunit ExceptionStackTest ../../_files/ExceptionStackTest.php
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--TEST--
phpunit --process-isolation --exclude-group balanceIsInitiallyZero BankAccountTest ../_files/BankAccountTest.php
phpunit --process-isolation --exclude-group balanceIsInitiallyZero BankAccountTest ../../_files/BankAccountTest.php
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--TEST--
phpunit --exclude-group balanceIsInitiallyZero BankAccountTest ../_files/BankAccountTest.php
phpunit --exclude-group balanceIsInitiallyZero BankAccountTest ../../_files/BankAccountTest.php
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--TEST--
phpunit --process-isolation FailureTest ../_files/FailureTest.php
phpunit --process-isolation FailureTest ../../_files/FailureTest.php
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--TEST--
phpunit --reverse-list FailureTest ../_files/FailureTest.php
phpunit --reverse-list FailureTest ../../_files/FailureTest.php
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--TEST--
phpunit FailureTest ../_files/FailureTest.php
phpunit FailureTest ../../_files/FailureTest.php
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--TEST--
phpunit FatalTest --process-isolation ../_files/FatalTest.php
phpunit FatalTest --process-isolation ../../_files/FatalTest.php
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--TEST--
phpunit --process-isolation --filter BankAccountTest BankAccountTest ../_files/BankAccountTest.php
phpunit --process-isolation --filter BankAccountTest BankAccountTest ../../_files/BankAccountTest.php
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--TEST--
phpunit --filter BankAccountTest BankAccountTest ../_files/BankAccountTest.php
phpunit --filter BankAccountTest BankAccountTest ../../_files/BankAccountTest.php
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--TEST--
phpunit --process-isolation --filter DataProviderFilterTest#1-3 DataProviderFilterTest ../_files/DataProviderFilterTest.php
phpunit --process-isolation --filter DataProviderFilterTest#1-3 DataProviderFilterTest ../../_files/DataProviderFilterTest.php
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--TEST--
phpunit --filter DataProviderFilterTest#1-3 DataProviderFilterTest ../_files/DataProviderFilterTest.php
phpunit --filter DataProviderFilterTest#1-3 DataProviderFilterTest ../../_files/DataProviderFilterTest.php
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--TEST--
phpunit --process-isolation --filter testTrue#3 DataProviderFilterTest ../_files/DataProviderFilterTest.php
phpunit --process-isolation --filter testTrue#3 DataProviderFilterTest ../../_files/DataProviderFilterTest.php
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--TEST--
phpunit --filter testTrue#3 DataProviderFilterTest ../_files/DataProviderFilterTest.php
phpunit --filter testTrue#3 DataProviderFilterTest ../../_files/DataProviderFilterTest.php
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--TEST--
phpunit --process-isolation --filter \#1-3 DataProviderFilterTest ../_files/DataProviderFilterTest.php
phpunit --process-isolation --filter \#1-3 DataProviderFilterTest ../../_files/DataProviderFilterTest.php
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--TEST--
phpunit --filter \#1-3 DataProviderFilterTest ../_files/DataProviderFilterTest.php
phpunit --filter \#1-3 DataProviderFilterTest ../../_files/DataProviderFilterTest.php
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--TEST--
phpunit --process-isolation --filter @false.* DataProviderFilterTest ../_files/DataProviderFilterTest.php
phpunit --process-isolation --filter @false.* DataProviderFilterTest ../../_files/DataProviderFilterTest.php
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--TEST--
phpunit --filter @false.* DataProviderFilterTest ../_files/DataProviderFilterTest.php
phpunit --filter @false.* DataProviderFilterTest ../../_files/DataProviderFilterTest.php
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--TEST--
phpunit --process-isolation --filter @false\ test DataProviderFilterTest ../_files/DataProviderFilterTest.php
phpunit --process-isolation --filter @false\ test DataProviderFilterTest ../../_files/DataProviderFilterTest.php
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--TEST--
phpunit --filter @false\ test DataProviderFilterTest ../_files/DataProviderFilterTest.php
phpunit --filter @false\ test DataProviderFilterTest ../../_files/DataProviderFilterTest.php
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--TEST--
phpunit --process-isolation --filter testTrue#1-3 DataProviderFilterTest ../_files/DataProviderFilterTest.php
phpunit --process-isolation --filter testTrue#1-3 DataProviderFilterTest ../../_files/DataProviderFilterTest.php
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--TEST--
phpunit --filter testTrue#1-3 DataProviderFilterTest ../_files/DataProviderFilterTest.php
phpunit --filter testTrue#1-3 DataProviderFilterTest ../../_files/DataProviderFilterTest.php
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--TEST--
phpunit --process-isolation --filter testFalse@false.* DataProviderFilterTest ../_files/DataProviderFilterTest.php
phpunit --process-isolation --filter testFalse@false.* DataProviderFilterTest ../../_files/DataProviderFilterTest.php
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';
Expand Down
Loading

0 comments on commit 577470e

Please sign in to comment.