-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove functionality that has not been documented (and has been advis…
…ed against) for years
- Loading branch information
1 parent
2fc1036
commit 36354a9
Showing
19 changed files
with
65 additions
and
325 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
23 changes: 0 additions & 23 deletions
23
tests/end-to-end/execution-order/_files/DependencyTestSuite.php
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 18 additions & 8 deletions
26
tests/end-to-end/execution-order/stop-on-defect-via-cli.phpt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,36 @@ | ||
--TEST-- | ||
phpunit --stop-on-defect ./tests/_files/StopOnWarningTestSuite.php | ||
phpunit --stop-on-defect ./tests/_files/FailureTest.php | ||
--FILE-- | ||
<?php declare(strict_types=1); | ||
$_SERVER['argv'][] = '--do-not-cache-result'; | ||
$_SERVER['argv'][] = '--no-configuration'; | ||
$_SERVER['argv'][] = '--stop-on-defect'; | ||
$_SERVER['argv'][] = \realpath(__DIR__ . '/../../_files/StopOnWarningTestSuite.php'); | ||
$_SERVER['argv'][] = \realpath(__DIR__ . '/../../_files/FailureTest.php'); | ||
|
||
require __DIR__ . '/../../bootstrap.php'; | ||
|
||
PHPUnit\TextUI\Command::main(); | ||
--EXPECTF-- | ||
PHPUnit %s by Sebastian Bergmann and contributors. | ||
|
||
W | ||
F | ||
|
||
Time: %s, Memory: %s | ||
|
||
There was 1 warning: | ||
There was 1 failure: | ||
|
||
1) Warning | ||
No tests found in class "PHPUnit\TestFixture\NoTestCases". | ||
1) PHPUnit\TestFixture\FailureTest::testAssertArrayEqualsArray | ||
message | ||
Failed asserting that two arrays are equal. | ||
--- Expected | ||
+++ Actual | ||
@@ @@ | ||
Array ( | ||
- 0 => 1 | ||
+ 0 => 2 | ||
) | ||
|
||
WARNINGS! | ||
Tests: 1, Assertions: 0, Warnings: 1. | ||
%sFailureTest.php:%d | ||
|
||
FAILURES! | ||
Tests: 1, Assertions: 1, Failures: 1. |
26 changes: 18 additions & 8 deletions
26
tests/end-to-end/execution-order/stop-on-defect-via-config.phpt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,36 @@ | ||
--TEST-- | ||
phpunit -c ../_files/configuration_stop_on_defect.xml ./tests/_files/StopOnWarningTestSuite.php | ||
phpunit -c ../_files/configuration_stop_on_defect.xml ./tests/_files/FailureTest.php | ||
--FILE-- | ||
<?php declare(strict_types=1); | ||
$_SERVER['argv'][] = '--do-not-cache-result'; | ||
$_SERVER['argv'][] = '-c'; | ||
$_SERVER['argv'][] = \realpath(__DIR__ . '/../../_files/configuration_stop_on_defect.xml'); | ||
$_SERVER['argv'][] = \realpath(__DIR__ . '/../../_files/StopOnWarningTestSuite.php'); | ||
$_SERVER['argv'][] = \realpath(__DIR__ . '/../../_files/FailureTest.php'); | ||
|
||
require __DIR__ . '/../../bootstrap.php'; | ||
|
||
PHPUnit\TextUI\Command::main(); | ||
--EXPECTF-- | ||
PHPUnit %s by Sebastian Bergmann and contributors. | ||
|
||
W | ||
F | ||
|
||
Time: %s, Memory: %s | ||
|
||
There was 1 warning: | ||
There was 1 failure: | ||
|
||
1) Warning | ||
No tests found in class "PHPUnit\TestFixture\NoTestCases". | ||
1) PHPUnit\TestFixture\FailureTest::testAssertArrayEqualsArray | ||
message | ||
Failed asserting that two arrays are equal. | ||
--- Expected | ||
+++ Actual | ||
@@ @@ | ||
Array ( | ||
- 0 => 1 | ||
+ 0 => 2 | ||
) | ||
|
||
WARNINGS! | ||
Tests: 1, Assertions: 0, Warnings: 1. | ||
%sFailureTest.php:%d | ||
|
||
FAILURES! | ||
Tests: 1, Assertions: 1, Failures: 1. |
26 changes: 0 additions & 26 deletions
26
tests/end-to-end/execution-order/stop-on-warning-via-cli.phpt
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.