php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #68242 Weird errors with PHPUnit on PHP 7
Submitted: 2014-10-16 10:43 UTC Modified: 2014-10-16 12:56 UTC
From: sebastian@php.net Assigned: sebastian (profile)
Status: Closed Package: Scripting Engine problem
PHP Version: master-Git-2014-10-16 (Git) OS: Linux
Private report: No CVE-ID: None
 [2014-10-16 10:43 UTC] sebastian@php.net
Description:
------------
See example.

Test script:
---------------
$ git clone git@github.com:sebastianbergmann/phpunit.git

$ cd phpunit

$ curl -s https://getcomposer.org/installer | php

Expected result:
----------------
$ /usr/local/php-5.6/bin/php ./phpunit
PHPUnit 4.3.2 by Sebastian Bergmann.

Configuration read from /usr/local/src/phpunit/phpunit.xml.dist

.............................................................   61 / 1307 (  4%)
.............................................................  122 / 1307 (  9%)
.............................................................  183 / 1307 ( 14%)
.............................................................  244 / 1307 ( 18%)
.............................................................  305 / 1307 ( 23%)
.............................................................  366 / 1307 ( 28%)
.............................................................  427 / 1307 ( 32%)
.............................................................  488 / 1307 ( 37%)
.............................................................  549 / 1307 ( 42%)
.............................................................  610 / 1307 ( 46%)
.............................................................  671 / 1307 ( 51%)
.............................................................  732 / 1307 ( 56%)
.............................................................  793 / 1307 ( 60%)
.............................................................  854 / 1307 ( 65%)
.............................................................  915 / 1307 ( 70%)
.............................................................  976 / 1307 ( 74%)
............................................................. 1037 / 1307 ( 79%)
............................................................. 1098 / 1307 ( 84%)
............................................................. 1159 / 1307 ( 88%)
............................................................. 1220 / 1307 ( 93%)
...........................................S.S............... 1281 / 1307 ( 98%)
..........................

Time: 10.43 seconds, Memory: 30.00Mb

There were 2 skipped tests:

1) /usr/local/src/phpunit/tests/TextUI/log-json-no-pretty-print.phpt
PHP without JSON_PRETTY_PRINT is required

/usr/local/src/phpunit/src/Extensions/PhptTestCase.php:156
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/TextUI/TestRunner.php:423
/usr/local/src/phpunit/src/TextUI/Command.php:186
/usr/local/src/phpunit/src/TextUI/Command.php:138

2) /usr/local/src/phpunit/tests/TextUI/log-json-pre-66021.phpt
Has PHP #66021 (Blank line inside empty JSON array/object)

/usr/local/src/phpunit/src/Extensions/PhptTestCase.php:156
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/TextUI/TestRunner.php:423
/usr/local/src/phpunit/src/TextUI/Command.php:186
/usr/local/src/phpunit/src/TextUI/Command.php:138

OK, but incomplete, skipped, or risky tests!
Tests: 1307, Assertions: 2005, Skipped: 2.


Actual result:
--------------
$ /usr/local/php-7/bin/php ./phpunit
PHPUnit 4.3.2 by Sebastian Bergmann.

Configuration read from /usr/local/src/phpunit/phpunit.xml.dist

.............................................................   61 / 1307 (  4%)
.............................................................  122 / 1307 (  9%)
.............................................................  183 / 1307 ( 14%)
.............................................................  244 / 1307 ( 18%)
.............................................................  305 / 1307 ( 23%)
.............................................................  366 / 1307 ( 28%)
.............................................................  427 / 1307 ( 32%)
.............................................................  488 / 1307 ( 37%)
.............................................................  549 / 1307 ( 42%)
.............................................................  610 / 1307 ( 46%)
........................
Notice: Undefined index: file in /usr/local/src/phpunit/src/Util/GlobalState.php on line 273

Notice: Undefined index: file in /usr/local/src/phpunit/src/Util/GlobalState.php on line 277
S....................................  671 / 1307 ( 51%)
.................F...........................................  732 / 1307 ( 56%)
................................................F..F..F..F...  793 / 1307 ( 60%)
..FF.FFFFFFFFFFFFFFFEFESFEF.F.FFFFFF......E.F............EEE.  854 / 1307 ( 65%)
.............................................................  915 / 1307 ( 70%)
.............................................................  976 / 1307 ( 74%)
............................................................. 1037 / 1307 ( 79%)
............................................................. 1098 / 1307 ( 84%)
............................................................. 1159 / 1307 ( 88%)
............................................................. 1220 / 1307 ( 93%)
...........................................S.S............... 1281 / 1307 ( 98%)
..........................

Time: 3.55 seconds, Memory: 18.00Mb

There were 7 errors:

1) Framework_TestCaseTest::testGlobalsBackupPre
Undefined index: file

/usr/local/src/phpunit/src/Util/GlobalState.php:109
/usr/local/src/phpunit/src/Framework/TestCase.php:733
/usr/local/src/phpunit/src/Framework/TestResult.php:643
/usr/local/src/phpunit/src/Framework/TestCase.php:708
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/TextUI/TestRunner.php:423
/usr/local/src/phpunit/src/TextUI/Command.php:186
/usr/local/src/phpunit/src/TextUI/Command.php:138

2) Framework_TestCaseTest::testStaticAttributesBackupPre
Undefined index: file

/usr/local/src/phpunit/src/Util/GlobalState.php:109
/usr/local/src/phpunit/src/Framework/TestCase.php:733
/usr/local/src/phpunit/src/Framework/TestResult.php:643
/usr/local/src/phpunit/src/Framework/TestCase.php:708
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/TextUI/TestRunner.php:423
/usr/local/src/phpunit/src/TextUI/Command.php:186
/usr/local/src/phpunit/src/TextUI/Command.php:138

3) Framework_TestCaseTest::testIsInIsolationReturnsTrue
Undefined index: file

/usr/local/src/phpunit/src/Util/GlobalState.php:273
/usr/local/src/phpunit/src/Framework/TestCase.php:637
/usr/local/src/phpunit/tests/Framework/TestCaseTest.php:394
/usr/local/src/phpunit/src/Framework/TestCase.php:905
/usr/local/src/phpunit/src/Framework/TestCase.php:772
/usr/local/src/phpunit/src/Framework/TestResult.php:643
/usr/local/src/phpunit/src/Framework/TestCase.php:708
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/TextUI/TestRunner.php:423
/usr/local/src/phpunit/src/TextUI/Command.php:186
/usr/local/src/phpunit/src/TextUI/Command.php:138

4) Framework_TestImplementorTest::testSuccessfulRun
Undefined index: file

/usr/local/src/phpunit/src/Util/GlobalState.php:109
/usr/local/src/phpunit/src/Framework/TestCase.php:733
/usr/local/src/phpunit/tests/_files/DoubleTestCase.php:20
/usr/local/src/phpunit/tests/Framework/TestImplementorTest.php:65
/usr/local/src/phpunit/src/Framework/TestCase.php:905
/usr/local/src/phpunit/src/Framework/TestCase.php:772
/usr/local/src/phpunit/src/Framework/TestResult.php:643
/usr/local/src/phpunit/src/Framework/TestCase.php:708
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/TextUI/TestRunner.php:423
/usr/local/src/phpunit/src/TextUI/Command.php:186
/usr/local/src/phpunit/src/TextUI/Command.php:138

5) Util_ConfigurationTest::testPHPConfigurationIsHandledCorrectly
Undefined index: file

/usr/local/src/phpunit/src/Util/GlobalState.php:109
/usr/local/src/phpunit/src/Framework/TestCase.php:733
/usr/local/src/phpunit/src/Framework/TestResult.php:643
/usr/local/src/phpunit/src/Framework/TestCase.php:708
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/TextUI/TestRunner.php:423
/usr/local/src/phpunit/src/TextUI/Command.php:186
/usr/local/src/phpunit/src/TextUI/Command.php:138

6) Util_ConfigurationTest::testHandlePHPConfigurationDoesNotOverwrittenExistingEnvArrayVariables
Undefined index: file

/usr/local/src/phpunit/src/Util/GlobalState.php:109
/usr/local/src/phpunit/src/Framework/TestCase.php:733
/usr/local/src/phpunit/src/Framework/TestResult.php:643
/usr/local/src/phpunit/src/Framework/TestCase.php:708
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/TextUI/TestRunner.php:423
/usr/local/src/phpunit/src/TextUI/Command.php:186
/usr/local/src/phpunit/src/TextUI/Command.php:138

7) Util_ConfigurationTest::testHandlePHPConfigurationDoesNotOverriteVariablesFromPutEnv
Undefined index: file

/usr/local/src/phpunit/src/Util/GlobalState.php:109
/usr/local/src/phpunit/src/Framework/TestCase.php:733
/usr/local/src/phpunit/src/Framework/TestResult.php:643
/usr/local/src/phpunit/src/Framework/TestCase.php:708
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/TextUI/TestRunner.php:423
/usr/local/src/phpunit/src/TextUI/Command.php:186
/usr/local/src/phpunit/src/TextUI/Command.php:138

--

There were 33 failures:

1) Framework_ConstraintTest::testConstraintIsEqual2 with data set #13 (SplObjectStorage, SplObjectStorage, 'Failed asserting that two objects are equal.
--- Expected
+++ Actual
@@ @@
-SplObjectStorage Object &0000000013f8a70b0000000002739801 (
-    \'0000000013f8a7050000000002715dc1\' => Array &0 (
-        \'obj\' => stdClass Object &0000000013f8a7050000000002715dc1 (
-            \'foo\' => \'bar\'
-        )
+SplObjectStorage Object &0000000013f8a70c0000000002739801 (
+    \'0000000013f8a7060000000002715dc1\' => Array &0 (
+        \'obj\' => stdClass Object &0000000013f8a7060000000002715dc1 ()
         \'inf\' => null
     )
-    \'0000000013f8a7060000000002715dc1\' => Array &0
 )
')
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
 -        )
+-        'inf' => null
+-    )
+-    '0000000013f8a7060000000002715dc1' => Array &1 (
 +SplObjectStorage Object &0000000013f8a70c0000000002739801 (
 +    '0000000013f8a7060000000002715dc1' => Array &0 (
-+        'obj' => stdClass Object &0000000013f8a7060000000002715dc1 ()
+         'obj' => stdClass Object &0000000013f8a7060000000002715dc1 ()
          'inf' => null
      )
--    '0000000013f8a7060000000002715dc1' => Array &0
  )
 '

/usr/local/src/phpunit/src/Framework/Constraint/IsEqual.php:172
/usr/local/src/phpunit/src/Framework/Assert.php:2218
/usr/local/src/phpunit/src/Framework/Assert.php:497
/usr/local/src/phpunit/tests/Framework/ConstraintTest.php:944
/usr/local/src/phpunit/src/Framework/TestCase.php:905
/usr/local/src/phpunit/src/Framework/TestCase.php:772
/usr/local/src/phpunit/src/Framework/TestResult.php:643
/usr/local/src/phpunit/src/Framework/TestCase.php:708
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/TextUI/TestRunner.php:423
/usr/local/src/phpunit/src/TextUI/Command.php:186
/usr/local/src/phpunit/src/TextUI/Command.php:138

2) Framework_SuiteTest::testInheritedTests
Failed asserting that false is true.

/usr/local/src/phpunit/src/Framework/Constraint.php:153
/usr/local/src/phpunit/src/Framework/Constraint.php:99
/usr/local/src/phpunit/src/Framework/Assert.php:2218
/usr/local/src/phpunit/src/Framework/Assert.php:916
/usr/local/src/phpunit/tests/Framework/SuiteTest.php:119
/usr/local/src/phpunit/src/Framework/TestCase.php:905
/usr/local/src/phpunit/src/Framework/TestCase.php:772
/usr/local/src/phpunit/src/Framework/TestResult.php:643
/usr/local/src/phpunit/src/Framework/TestCase.php:708
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/TextUI/TestRunner.php:423
/usr/local/src/phpunit/src/TextUI/Command.php:186
/usr/local/src/phpunit/src/TextUI/Command.php:138

3) Framework_SuiteTest::testNotExistingTestCase
Failed asserting that 1 matches expected 0.

/usr/local/src/phpunit/src/Framework/Constraint/IsEqual.php:172
/usr/local/src/phpunit/src/Framework/Assert.php:2218
/usr/local/src/phpunit/src/Framework/Assert.php:497
/usr/local/src/phpunit/tests/Framework/SuiteTest.php:150
/usr/local/src/phpunit/src/Framework/TestCase.php:905
/usr/local/src/phpunit/src/Framework/TestCase.php:772
/usr/local/src/phpunit/src/Framework/TestResult.php:643
/usr/local/src/phpunit/src/Framework/TestCase.php:708
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/TextUI/TestRunner.php:423
/usr/local/src/phpunit/src/TextUI/Command.php:186
/usr/local/src/phpunit/src/TextUI/Command.php:138

4) Framework_SuiteTest::testOneTestCase
Failed asserting that 1 matches expected 0.

/usr/local/src/phpunit/src/Framework/Constraint/IsEqual.php:172
/usr/local/src/phpunit/src/Framework/Assert.php:2218
/usr/local/src/phpunit/src/Framework/Assert.php:497
/usr/local/src/phpunit/tests/Framework/SuiteTest.php:181
/usr/local/src/phpunit/src/Framework/TestCase.php:905
/usr/local/src/phpunit/src/Framework/TestCase.php:772
/usr/local/src/phpunit/src/Framework/TestResult.php:643
/usr/local/src/phpunit/src/Framework/TestCase.php:708
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/TextUI/TestRunner.php:423
/usr/local/src/phpunit/src/TextUI/Command.php:186
/usr/local/src/phpunit/src/TextUI/Command.php:138

5) Framework_SuiteTest::testBeforeAnnotation
Failed asserting that 0 matches expected 2.

/usr/local/src/phpunit/src/Framework/Constraint/IsEqual.php:172
/usr/local/src/phpunit/src/Framework/Assert.php:2218
/usr/local/src/phpunit/src/Framework/Assert.php:497
/usr/local/src/phpunit/tests/Framework/SuiteTest.php:220
/usr/local/src/phpunit/src/Framework/TestCase.php:905
/usr/local/src/phpunit/src/Framework/TestCase.php:772
/usr/local/src/phpunit/src/Framework/TestResult.php:643
/usr/local/src/phpunit/src/Framework/TestCase.php:708
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/TextUI/TestRunner.php:423
/usr/local/src/phpunit/src/TextUI/Command.php:186
/usr/local/src/phpunit/src/TextUI/Command.php:138

6) Framework_TestCaseTest::testSuccess
Failed asserting that 1 matches expected 0.

/usr/local/src/phpunit/src/Framework/Constraint/IsEqual.php:172
/usr/local/src/phpunit/src/Framework/Assert.php:2218
/usr/local/src/phpunit/src/Framework/Assert.php:497
/usr/local/src/phpunit/tests/Framework/TestCaseTest.php:91
/usr/local/src/phpunit/src/Framework/TestCase.php:905
/usr/local/src/phpunit/src/Framework/TestCase.php:772
/usr/local/src/phpunit/src/Framework/TestResult.php:643
/usr/local/src/phpunit/src/Framework/TestCase.php:708
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/TextUI/TestRunner.php:423
/usr/local/src/phpunit/src/TextUI/Command.php:186
/usr/local/src/phpunit/src/TextUI/Command.php:138

7) Framework_TestCaseTest::testFailure
Failed asserting that 1 matches expected 0.

/usr/local/src/phpunit/src/Framework/Constraint/IsEqual.php:172
/usr/local/src/phpunit/src/Framework/Assert.php:2218
/usr/local/src/phpunit/src/Framework/Assert.php:497
/usr/local/src/phpunit/tests/Framework/TestCaseTest.php:101
/usr/local/src/phpunit/src/Framework/TestCase.php:905
/usr/local/src/phpunit/src/Framework/TestCase.php:772
/usr/local/src/phpunit/src/Framework/TestResult.php:643
/usr/local/src/phpunit/src/Framework/TestCase.php:708
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/TextUI/TestRunner.php:423
/usr/local/src/phpunit/src/TextUI/Command.php:186
/usr/local/src/phpunit/src/TextUI/Command.php:138

8) Framework_TestCaseTest::testExceptionInSetUp
Failed asserting that false is true.

/usr/local/src/phpunit/src/Framework/Constraint.php:153
/usr/local/src/phpunit/src/Framework/Constraint.php:99
/usr/local/src/phpunit/src/Framework/Assert.php:2218
/usr/local/src/phpunit/src/Framework/Assert.php:916
/usr/local/src/phpunit/tests/Framework/TestCaseTest.php:121
/usr/local/src/phpunit/src/Framework/TestCase.php:905
/usr/local/src/phpunit/src/Framework/TestCase.php:772
/usr/local/src/phpunit/src/Framework/TestResult.php:643
/usr/local/src/phpunit/src/Framework/TestCase.php:708
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/TextUI/TestRunner.php:423
/usr/local/src/phpunit/src/TextUI/Command.php:186
/usr/local/src/phpunit/src/TextUI/Command.php:138

9) Framework_TestCaseTest::testExceptionInAssertPreConditions
Failed asserting that false is true.

/usr/local/src/phpunit/src/Framework/Constraint.php:153
/usr/local/src/phpunit/src/Framework/Constraint.php:99
/usr/local/src/phpunit/src/Framework/Assert.php:2218
/usr/local/src/phpunit/src/Framework/Assert.php:916
/usr/local/src/phpunit/tests/Framework/TestCaseTest.php:133
/usr/local/src/phpunit/src/Framework/TestCase.php:905
/usr/local/src/phpunit/src/Framework/TestCase.php:772
/usr/local/src/phpunit/src/Framework/TestResult.php:643
/usr/local/src/phpunit/src/Framework/TestCase.php:708
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/TextUI/TestRunner.php:423
/usr/local/src/phpunit/src/TextUI/Command.php:186
/usr/local/src/phpunit/src/TextUI/Command.php:138

10) Framework_TestCaseTest::testExceptionInTest
Failed asserting that false is true.

/usr/local/src/phpunit/src/Framework/Constraint.php:153
/usr/local/src/phpunit/src/Framework/Constraint.php:99
/usr/local/src/phpunit/src/Framework/Assert.php:2218
/usr/local/src/phpunit/src/Framework/Assert.php:916
/usr/local/src/phpunit/tests/Framework/TestCaseTest.php:145
/usr/local/src/phpunit/src/Framework/TestCase.php:905
/usr/local/src/phpunit/src/Framework/TestCase.php:772
/usr/local/src/phpunit/src/Framework/TestResult.php:643
/usr/local/src/phpunit/src/Framework/TestCase.php:708
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/TextUI/TestRunner.php:423
/usr/local/src/phpunit/src/TextUI/Command.php:186
/usr/local/src/phpunit/src/TextUI/Command.php:138

11) Framework_TestCaseTest::testExceptionInAssertPostConditions
Failed asserting that false is true.

/usr/local/src/phpunit/src/Framework/Constraint.php:153
/usr/local/src/phpunit/src/Framework/Constraint.php:99
/usr/local/src/phpunit/src/Framework/Assert.php:2218
/usr/local/src/phpunit/src/Framework/Assert.php:916
/usr/local/src/phpunit/tests/Framework/TestCaseTest.php:157
/usr/local/src/phpunit/src/Framework/TestCase.php:905
/usr/local/src/phpunit/src/Framework/TestCase.php:772
/usr/local/src/phpunit/src/Framework/TestResult.php:643
/usr/local/src/phpunit/src/Framework/TestCase.php:708
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/TextUI/TestRunner.php:423
/usr/local/src/phpunit/src/TextUI/Command.php:186
/usr/local/src/phpunit/src/TextUI/Command.php:138

12) Framework_TestCaseTest::testExceptionInTearDown
Failed asserting that false is true.

/usr/local/src/phpunit/src/Framework/Constraint.php:153
/usr/local/src/phpunit/src/Framework/Constraint.php:99
/usr/local/src/phpunit/src/Framework/Assert.php:2218
/usr/local/src/phpunit/src/Framework/Assert.php:916
/usr/local/src/phpunit/tests/Framework/TestCaseTest.php:169
/usr/local/src/phpunit/src/Framework/TestCase.php:905
/usr/local/src/phpunit/src/Framework/TestCase.php:772
/usr/local/src/phpunit/src/Framework/TestResult.php:643
/usr/local/src/phpunit/src/Framework/TestCase.php:708
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/TextUI/TestRunner.php:423
/usr/local/src/phpunit/src/TextUI/Command.php:186
/usr/local/src/phpunit/src/TextUI/Command.php:138

13) Framework_TestCaseTest::testNoArgTestCasePasses
Failed asserting that 1 matches expected 0.

/usr/local/src/phpunit/src/Framework/Constraint/IsEqual.php:172
/usr/local/src/phpunit/src/Framework/Assert.php:2218
/usr/local/src/phpunit/src/Framework/Assert.php:497
/usr/local/src/phpunit/tests/Framework/TestCaseTest.php:185
/usr/local/src/phpunit/src/Framework/TestCase.php:905
/usr/local/src/phpunit/src/Framework/TestCase.php:772
/usr/local/src/phpunit/src/Framework/TestResult.php:643
/usr/local/src/phpunit/src/Framework/TestCase.php:708
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/TextUI/TestRunner.php:423
/usr/local/src/phpunit/src/TextUI/Command.php:186
/usr/local/src/phpunit/src/TextUI/Command.php:138

14) Framework_TestCaseTest::testWasRun
Failed asserting that false is true.

/usr/local/src/phpunit/src/Framework/Constraint.php:153
/usr/local/src/phpunit/src/Framework/Constraint.php:99
/usr/local/src/phpunit/src/Framework/Assert.php:2218
/usr/local/src/phpunit/src/Framework/Assert.php:916
/usr/local/src/phpunit/tests/Framework/TestCaseTest.php:193
/usr/local/src/phpunit/src/Framework/TestCase.php:905
/usr/local/src/phpunit/src/Framework/TestCase.php:772
/usr/local/src/phpunit/src/Framework/TestResult.php:643
/usr/local/src/phpunit/src/Framework/TestCase.php:708
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/TextUI/TestRunner.php:423
/usr/local/src/phpunit/src/TextUI/Command.php:186
/usr/local/src/phpunit/src/TextUI/Command.php:138

15) Framework_TestCaseTest::testException
Failed asserting that false is true.

/usr/local/src/phpunit/src/Framework/Constraint.php:153
/usr/local/src/phpunit/src/Framework/Constraint.php:99
/usr/local/src/phpunit/src/Framework/Assert.php:2218
/usr/local/src/phpunit/src/Framework/Assert.php:916
/usr/local/src/phpunit/tests/Framework/TestCaseTest.php:204
/usr/local/src/phpunit/src/Framework/TestCase.php:905
/usr/local/src/phpunit/src/Framework/TestCase.php:772
/usr/local/src/phpunit/src/Framework/TestResult.php:643
/usr/local/src/phpunit/src/Framework/TestCase.php:708
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/TextUI/TestRunner.php:423
/usr/local/src/phpunit/src/TextUI/Command.php:186
/usr/local/src/phpunit/src/TextUI/Command.php:138

16) Framework_TestCaseTest::testExceptionWithMessage
Failed asserting that false is true.

/usr/local/src/phpunit/src/Framework/Constraint.php:153
/usr/local/src/phpunit/src/Framework/Constraint.php:99
/usr/local/src/phpunit/src/Framework/Assert.php:2218
/usr/local/src/phpunit/src/Framework/Assert.php:916
/usr/local/src/phpunit/tests/Framework/TestCaseTest.php:215
/usr/local/src/phpunit/src/Framework/TestCase.php:905
/usr/local/src/phpunit/src/Framework/TestCase.php:772
/usr/local/src/phpunit/src/Framework/TestResult.php:643
/usr/local/src/phpunit/src/Framework/TestCase.php:708
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/TextUI/TestRunner.php:423
/usr/local/src/phpunit/src/TextUI/Command.php:186
/usr/local/src/phpunit/src/TextUI/Command.php:138

17) Framework_TestCaseTest::testExceptionWithWrongMessage
Failed asserting that 0 matches expected 1.

/usr/local/src/phpunit/src/Framework/Constraint/IsEqual.php:172
/usr/local/src/phpunit/src/Framework/Assert.php:2218
/usr/local/src/phpunit/src/Framework/Assert.php:497
/usr/local/src/phpunit/tests/Framework/TestCaseTest.php:225
/usr/local/src/phpunit/src/Framework/TestCase.php:905
/usr/local/src/phpunit/src/Framework/TestCase.php:772
/usr/local/src/phpunit/src/Framework/TestResult.php:643
/usr/local/src/phpunit/src/Framework/TestCase.php:708
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/TextUI/TestRunner.php:423
/usr/local/src/phpunit/src/TextUI/Command.php:186
/usr/local/src/phpunit/src/TextUI/Command.php:138

18) Framework_TestCaseTest::testExceptionWithRegexpMessage
Failed asserting that false is true.

/usr/local/src/phpunit/src/Framework/Constraint.php:153
/usr/local/src/phpunit/src/Framework/Constraint.php:99
/usr/local/src/phpunit/src/Framework/Assert.php:2218
/usr/local/src/phpunit/src/Framework/Assert.php:916
/usr/local/src/phpunit/tests/Framework/TestCaseTest.php:241
/usr/local/src/phpunit/src/Framework/TestCase.php:905
/usr/local/src/phpunit/src/Framework/TestCase.php:772
/usr/local/src/phpunit/src/Framework/TestResult.php:643
/usr/local/src/phpunit/src/Framework/TestCase.php:708
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/TextUI/TestRunner.php:423
/usr/local/src/phpunit/src/TextUI/Command.php:186
/usr/local/src/phpunit/src/TextUI/Command.php:138

19) Framework_TestCaseTest::testExceptionWithWrongRegexpMessage
Failed asserting that 0 matches expected 1.

/usr/local/src/phpunit/src/Framework/Constraint/IsEqual.php:172
/usr/local/src/phpunit/src/Framework/Assert.php:2218
/usr/local/src/phpunit/src/Framework/Assert.php:497
/usr/local/src/phpunit/tests/Framework/TestCaseTest.php:251
/usr/local/src/phpunit/src/Framework/TestCase.php:905
/usr/local/src/phpunit/src/Framework/TestCase.php:772
/usr/local/src/phpunit/src/Framework/TestResult.php:643
/usr/local/src/phpunit/src/Framework/TestCase.php:708
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/TextUI/TestRunner.php:423
/usr/local/src/phpunit/src/TextUI/Command.php:186
/usr/local/src/phpunit/src/TextUI/Command.php:138

20) Framework_TestCaseTest::testExceptionWithInvalidRegexpMessage
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'Invalid expected exception message regex given: '#runtime .*? occurred/''
+''

/usr/local/src/phpunit/src/Framework/Constraint/IsEqual.php:172
/usr/local/src/phpunit/src/Framework/Assert.php:2218
/usr/local/src/phpunit/src/Framework/Assert.php:497
/usr/local/src/phpunit/tests/Framework/TestCaseTest.php:271
/usr/local/src/phpunit/src/Framework/TestCase.php:905
/usr/local/src/phpunit/src/Framework/TestCase.php:772
/usr/local/src/phpunit/src/Framework/TestResult.php:643
/usr/local/src/phpunit/src/Framework/TestCase.php:708
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/TextUI/TestRunner.php:423
/usr/local/src/phpunit/src/TextUI/Command.php:186
/usr/local/src/phpunit/src/TextUI/Command.php:138

21) Framework_TestCaseTest::testNoException
Failed asserting that 0 matches expected 1.

/usr/local/src/phpunit/src/Framework/Constraint/IsEqual.php:172
/usr/local/src/phpunit/src/Framework/Assert.php:2218
/usr/local/src/phpunit/src/Framework/Assert.php:497
/usr/local/src/phpunit/tests/Framework/TestCaseTest.php:282
/usr/local/src/phpunit/src/Framework/TestCase.php:905
/usr/local/src/phpunit/src/Framework/TestCase.php:772
/usr/local/src/phpunit/src/Framework/TestResult.php:643
/usr/local/src/phpunit/src/Framework/TestCase.php:708
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/TextUI/TestRunner.php:423
/usr/local/src/phpunit/src/TextUI/Command.php:186
/usr/local/src/phpunit/src/TextUI/Command.php:138

22) Framework_TestCaseTest::testWrongException
Failed asserting that 0 matches expected 1.

/usr/local/src/phpunit/src/Framework/Constraint/IsEqual.php:172
/usr/local/src/phpunit/src/Framework/Assert.php:2218
/usr/local/src/phpunit/src/Framework/Assert.php:497
/usr/local/src/phpunit/tests/Framework/TestCaseTest.php:293
/usr/local/src/phpunit/src/Framework/TestCase.php:905
/usr/local/src/phpunit/src/Framework/TestCase.php:772
/usr/local/src/phpunit/src/Framework/TestResult.php:643
/usr/local/src/phpunit/src/Framework/TestCase.php:708
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/TextUI/TestRunner.php:423
/usr/local/src/phpunit/src/TextUI/Command.php:186
/usr/local/src/phpunit/src/TextUI/Command.php:138

23) Framework_TestCaseTest::testGlobalsBackupPost
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'ii'
+'i'

/usr/local/src/phpunit/src/Framework/Constraint/IsEqual.php:172
/usr/local/src/phpunit/src/Framework/Assert.php:2218
/usr/local/src/phpunit/src/Framework/Assert.php:497
/usr/local/src/phpunit/tests/Framework/TestCaseTest.php:356
/usr/local/src/phpunit/src/Framework/TestCase.php:905
/usr/local/src/phpunit/src/Framework/TestCase.php:772
/usr/local/src/phpunit/src/Framework/TestResult.php:643
/usr/local/src/phpunit/src/Framework/TestCase.php:708
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/TextUI/TestRunner.php:423
/usr/local/src/phpunit/src/TextUI/Command.php:186
/usr/local/src/phpunit/src/TextUI/Command.php:138

24) Framework_TestCaseTest::testIsInIsolationReturnsFalse
Failed asserting that false is true.

/usr/local/src/phpunit/src/Framework/Constraint.php:153
/usr/local/src/phpunit/src/Framework/Constraint.php:99
/usr/local/src/phpunit/src/Framework/Assert.php:2218
/usr/local/src/phpunit/src/Framework/Assert.php:916
/usr/local/src/phpunit/tests/Framework/TestCaseTest.php:387
/usr/local/src/phpunit/src/Framework/TestCase.php:905
/usr/local/src/phpunit/src/Framework/TestCase.php:772
/usr/local/src/phpunit/src/Framework/TestResult.php:643
/usr/local/src/phpunit/src/Framework/TestCase.php:708
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/TextUI/TestRunner.php:423
/usr/local/src/phpunit/src/TextUI/Command.php:186
/usr/local/src/phpunit/src/TextUI/Command.php:138

25) Framework_TestCaseTest::testExpectOutputStringFooActualFoo
Failed asserting that false is true.

/usr/local/src/phpunit/src/Framework/Constraint.php:153
/usr/local/src/phpunit/src/Framework/Constraint.php:99
/usr/local/src/phpunit/src/Framework/Assert.php:2218
/usr/local/src/phpunit/src/Framework/Assert.php:916
/usr/local/src/phpunit/tests/Framework/TestCaseTest.php:406
/usr/local/src/phpunit/src/Framework/TestCase.php:905
/usr/local/src/phpunit/src/Framework/TestCase.php:772
/usr/local/src/phpunit/src/Framework/TestResult.php:643
/usr/local/src/phpunit/src/Framework/TestCase.php:708
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/TextUI/TestRunner.php:423
/usr/local/src/phpunit/src/TextUI/Command.php:186
/usr/local/src/phpunit/src/TextUI/Command.php:138

26) Framework_TestCaseTest::testExpectOutputRegexFooActualFoo
Failed asserting that false is true.

/usr/local/src/phpunit/src/Framework/Constraint.php:153
/usr/local/src/phpunit/src/Framework/Constraint.php:99
/usr/local/src/phpunit/src/Framework/Assert.php:2218
/usr/local/src/phpunit/src/Framework/Assert.php:916
/usr/local/src/phpunit/tests/Framework/TestCaseTest.php:424
/usr/local/src/phpunit/src/Framework/TestCase.php:905
/usr/local/src/phpunit/src/Framework/TestCase.php:772
/usr/local/src/phpunit/src/Framework/TestResult.php:643
/usr/local/src/phpunit/src/Framework/TestCase.php:708
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/TextUI/TestRunner.php:423
/usr/local/src/phpunit/src/TextUI/Command.php:186
/usr/local/src/phpunit/src/TextUI/Command.php:138

27) Framework_TestCaseTest::testSkipsIfRequiresHigherVersionOfPHPUnit
Failed asserting that 0 matches expected 1.

/usr/local/src/phpunit/src/Framework/Constraint/IsEqual.php:172
/usr/local/src/phpunit/src/Framework/Assert.php:2218
/usr/local/src/phpunit/src/Framework/Assert.php:497
/usr/local/src/phpunit/tests/Framework/TestCaseTest.php:441
/usr/local/src/phpunit/src/Framework/TestCase.php:905
/usr/local/src/phpunit/src/Framework/TestCase.php:772
/usr/local/src/phpunit/src/Framework/TestResult.php:643
/usr/local/src/phpunit/src/Framework/TestCase.php:708
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/TextUI/TestRunner.php:423
/usr/local/src/phpunit/src/TextUI/Command.php:186
/usr/local/src/phpunit/src/TextUI/Command.php:138

28) Framework_TestCaseTest::testSkipsIfRequiresHigherVersionOfPHP
Failed asserting that 0 matches expected 1.

/usr/local/src/phpunit/src/Framework/Constraint/IsEqual.php:172
/usr/local/src/phpunit/src/Framework/Assert.php:2218
/usr/local/src/phpunit/src/Framework/Assert.php:497
/usr/local/src/phpunit/tests/Framework/TestCaseTest.php:453
/usr/local/src/phpunit/src/Framework/TestCase.php:905
/usr/local/src/phpunit/src/Framework/TestCase.php:772
/usr/local/src/phpunit/src/Framework/TestResult.php:643
/usr/local/src/phpunit/src/Framework/TestCase.php:708
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/TextUI/TestRunner.php:423
/usr/local/src/phpunit/src/TextUI/Command.php:186
/usr/local/src/phpunit/src/TextUI/Command.php:138

29) Framework_TestCaseTest::testSkipsIfRequiresNonExistingOs
Failed asserting that 0 matches expected 1.

/usr/local/src/phpunit/src/Framework/Constraint/IsEqual.php:172
/usr/local/src/phpunit/src/Framework/Assert.php:2218
/usr/local/src/phpunit/src/Framework/Assert.php:497
/usr/local/src/phpunit/tests/Framework/TestCaseTest.php:465
/usr/local/src/phpunit/src/Framework/TestCase.php:905
/usr/local/src/phpunit/src/Framework/TestCase.php:772
/usr/local/src/phpunit/src/Framework/TestResult.php:643
/usr/local/src/phpunit/src/Framework/TestCase.php:708
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/TextUI/TestRunner.php:423
/usr/local/src/phpunit/src/TextUI/Command.php:186
/usr/local/src/phpunit/src/TextUI/Command.php:138

30) Framework_TestCaseTest::testSkipsIfRequiresNonExistingFunction
Failed asserting that 0 matches expected 1.

/usr/local/src/phpunit/src/Framework/Constraint/IsEqual.php:172
/usr/local/src/phpunit/src/Framework/Assert.php:2218
/usr/local/src/phpunit/src/Framework/Assert.php:497
/usr/local/src/phpunit/tests/Framework/TestCaseTest.php:477
/usr/local/src/phpunit/src/Framework/TestCase.php:905
/usr/local/src/phpunit/src/Framework/TestCase.php:772
/usr/local/src/phpunit/src/Framework/TestResult.php:643
/usr/local/src/phpunit/src/Framework/TestCase.php:708
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/TextUI/TestRunner.php:423
/usr/local/src/phpunit/src/TextUI/Command.php:186
/usr/local/src/phpunit/src/TextUI/Command.php:138

31) Framework_TestCaseTest::testSkipsIfRequiresNonExistingExtension
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'Extension testExt is required.'
+''

/usr/local/src/phpunit/src/Framework/Constraint/IsEqual.php:172
/usr/local/src/phpunit/src/Framework/Assert.php:2218
/usr/local/src/phpunit/src/Framework/Assert.php:497
/usr/local/src/phpunit/tests/Framework/TestCaseTest.php:491
/usr/local/src/phpunit/src/Framework/TestCase.php:905
/usr/local/src/phpunit/src/Framework/TestCase.php:772
/usr/local/src/phpunit/src/Framework/TestResult.php:643
/usr/local/src/phpunit/src/Framework/TestCase.php:708
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/TextUI/TestRunner.php:423
/usr/local/src/phpunit/src/TextUI/Command.php:186
/usr/local/src/phpunit/src/TextUI/Command.php:138

32) Framework_TestCaseTest::testSkipsProvidesMessagesForAllSkippingReasons
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'PHP 99-dev (or later) is required.
-PHPUnit 9-dev (or later) is required.
-Operating system matching /DOESNOTEXIST/i is required.
-Function testFuncOne is required.
-Function testFuncTwo is required.
-Extension testExtOne is required.
-Extension testExtTwo is required.'
+''

/usr/local/src/phpunit/src/Framework/Constraint/IsEqual.php:172
/usr/local/src/phpunit/src/Framework/Assert.php:2218
/usr/local/src/phpunit/src/Framework/Assert.php:497
/usr/local/src/phpunit/tests/Framework/TestCaseTest.php:508
/usr/local/src/phpunit/src/Framework/TestCase.php:905
/usr/local/src/phpunit/src/Framework/TestCase.php:772
/usr/local/src/phpunit/src/Framework/TestResult.php:643
/usr/local/src/phpunit/src/Framework/TestCase.php:708
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/TextUI/TestRunner.php:423
/usr/local/src/phpunit/src/TextUI/Command.php:186
/usr/local/src/phpunit/src/TextUI/Command.php:138

33) Framework_TestListenerTest::testFailure
Failed asserting that 0 matches expected 1.

/usr/local/src/phpunit/src/Framework/Constraint/IsEqual.php:172
/usr/local/src/phpunit/src/Framework/Assert.php:2218
/usr/local/src/phpunit/src/Framework/Assert.php:497
/usr/local/src/phpunit/tests/Framework/TestListenerTest.php:137
/usr/local/src/phpunit/src/Framework/TestCase.php:905
/usr/local/src/phpunit/src/Framework/TestCase.php:772
/usr/local/src/phpunit/src/Framework/TestResult.php:643
/usr/local/src/phpunit/src/Framework/TestCase.php:708
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/TextUI/TestRunner.php:423
/usr/local/src/phpunit/src/TextUI/Command.php:186
/usr/local/src/phpunit/src/TextUI/Command.php:138

--

There were 4 skipped tests:

1) ExceptionMessageRegExpTest::testMessageXdebugScreamCompatibility
Extension xdebug is required.

/usr/local/src/phpunit/src/Framework/Assert.php:3033
/usr/local/src/phpunit/src/Framework/TestCase.php:557
/usr/local/src/phpunit/src/Framework/TestCase.php:756
/usr/local/src/phpunit/src/Framework/TestResult.php:643
/usr/local/src/phpunit/src/Framework/TestCase.php:708

2) Framework_TestCaseTest::testStaticAttributesBackupPost
This test depends on "Framework_TestCaseTest::testStaticAttributesBackupPre" to pass.

/usr/local/src/phpunit/src/Framework/TestCase.php:1789
/usr/local/src/phpunit/src/Framework/TestCase.php:621
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/TextUI/TestRunner.php:423
/usr/local/src/phpunit/src/TextUI/Command.php:186
/usr/local/src/phpunit/src/TextUI/Command.php:138

3) /usr/local/src/phpunit/tests/TextUI/log-json-no-pretty-print.phpt
PHP without JSON_PRETTY_PRINT is required

/usr/local/src/phpunit/src/Extensions/PhptTestCase.php:156
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/TextUI/TestRunner.php:423
/usr/local/src/phpunit/src/TextUI/Command.php:186
/usr/local/src/phpunit/src/TextUI/Command.php:138

4) /usr/local/src/phpunit/tests/TextUI/log-json-pre-66021.phpt
Has PHP #66021 (Blank line inside empty JSON array/object)

/usr/local/src/phpunit/src/Extensions/PhptTestCase.php:156
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/TextUI/TestRunner.php:423
/usr/local/src/phpunit/src/TextUI/Command.php:186
/usr/local/src/phpunit/src/TextUI/Command.php:138

FAILURES!
Tests: 1306, Assertions: 1892, Failures: 33, Errors: 7, Skipped: 4.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2014-10-16 12:46 UTC] nikic@php.net
I can't reproduce your results, but the "Undefined index file" problem should be fixed with https://github.com/php/php-src/commit/fc6ce7d1c1852385b35b3a41feb4c47d9e1ce945. Could you please give it another try?
 [2014-10-16 12:55 UTC] sebastian@php.net
Thank you, Nikita, your patch solves the issue for me. Now I get the following:

PHPUnit 4.3.2 by Sebastian Bergmann.

Configuration read from /usr/local/src/phpunit/phpunit.xml.dist

.............................................................   61 / 1307 (  4%)
.............................................................  122 / 1307 (  9%)
.............................................................  183 / 1307 ( 14%)
.............................................................  244 / 1307 ( 18%)
.............................................................  305 / 1307 ( 23%)
.............................................................  366 / 1307 ( 28%)
.............................................................  427 / 1307 ( 32%)
.............................................................  488 / 1307 ( 37%)
.............................................................  549 / 1307 ( 42%)
.............................................................  610 / 1307 ( 46%)
........................S....................................  671 / 1307 ( 51%)
.................F...........................................  732 / 1307 ( 56%)
.............................................................  793 / 1307 ( 60%)
.............................................................  854 / 1307 ( 65%)
.............................................................  915 / 1307 ( 70%)
.............................................................  976 / 1307 ( 74%)
............................................................. 1037 / 1307 ( 79%)
............................................................. 1098 / 1307 ( 84%)
............................................................. 1159 / 1307 ( 88%)
............................................................. 1220 / 1307 ( 93%)
...........................................S.S............... 1281 / 1307 ( 98%)
..........................

Time: 3.63 seconds, Memory: 16.00Mb

There was 1 failure:

1) Framework_ConstraintTest::testConstraintIsEqual2 with data set #13 (SplObjectStorage, SplObjectStorage, 'Failed asserting that two objects are equal.
--- Expected
+++ Actual
@@ @@
-SplObjectStorage Object &0000000045e4266d000000004a29f64d (
-    \'0000000045e42663000000004a2b338d\' => Array &0 (
-        \'obj\' => stdClass Object &0000000045e42663000000004a2b338d (
-            \'foo\' => \'bar\'
-        )
+SplObjectStorage Object &0000000045e4266a000000004a29f64d (
+    \'0000000045e42660000000004a2b338d\' => Array &0 (
+        \'obj\' => stdClass Object &0000000045e42660000000004a2b338d ()
         \'inf\' => null
     )
-    \'0000000045e42660000000004a2b338d\' => Array &0
 )
')
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
 -        )
+-        'inf' => null
+-    )
+-    '0000000045e42660000000004a2b338d' => Array &1 (
 +SplObjectStorage Object &0000000045e4266a000000004a29f64d (
 +    '0000000045e42660000000004a2b338d' => Array &0 (
-+        'obj' => stdClass Object &0000000045e42660000000004a2b338d ()
+         'obj' => stdClass Object &0000000045e42660000000004a2b338d ()
          'inf' => null
      )
--    '0000000045e42660000000004a2b338d' => Array &0
  )
 '

/usr/local/src/phpunit/src/Framework/Constraint/IsEqual.php:172
/usr/local/src/phpunit/src/Framework/Assert.php:2218
/usr/local/src/phpunit/src/Framework/Assert.php:497
/usr/local/src/phpunit/tests/Framework/ConstraintTest.php:944
/usr/local/src/phpunit/src/Framework/TestCase.php:905
/usr/local/src/phpunit/src/Framework/TestCase.php:772
/usr/local/src/phpunit/src/Framework/TestResult.php:643
/usr/local/src/phpunit/src/Framework/TestCase.php:708
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/TextUI/TestRunner.php:423
/usr/local/src/phpunit/src/TextUI/Command.php:186
/usr/local/src/phpunit/src/TextUI/Command.php:138

--

There were 3 skipped tests:

1) ExceptionMessageRegExpTest::testMessageXdebugScreamCompatibility
Extension xdebug is required.

/usr/local/src/phpunit/src/Framework/Assert.php:3033
/usr/local/src/phpunit/src/Framework/TestCase.php:557
/usr/local/src/phpunit/src/Framework/TestCase.php:756
/usr/local/src/phpunit/src/Framework/TestResult.php:643
/usr/local/src/phpunit/src/Framework/TestCase.php:708

2) /usr/local/src/phpunit/tests/TextUI/log-json-no-pretty-print.phpt
PHP without JSON_PRETTY_PRINT is required

/usr/local/src/phpunit/src/Extensions/PhptTestCase.php:156
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/TextUI/TestRunner.php:423
/usr/local/src/phpunit/src/TextUI/Command.php:186
/usr/local/src/phpunit/src/TextUI/Command.php:138

3) /usr/local/src/phpunit/tests/TextUI/log-json-pre-66021.phpt
Has PHP #66021 (Blank line inside empty JSON array/object)

/usr/local/src/phpunit/src/Extensions/PhptTestCase.php:156
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/Framework/TestSuite.php:751
/usr/local/src/phpunit/src/TextUI/TestRunner.php:423
/usr/local/src/phpunit/src/TextUI/Command.php:186
/usr/local/src/phpunit/src/TextUI/Command.php:138

FAILURES!
Tests: 1307, Assertions: 2003, Failures: 1, Skipped: 3.
 [2014-10-16 12:56 UTC] sebastian@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: sebastian
 [2014-10-16 12:56 UTC] sebastian@php.net
The fix for this bug has been committed.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.

 For Windows:

http://windows.php.net/snapshots/
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Nov 21 17:01:32 2024 UTC