Skip to content

Commit 770a6d1

Browse files
committed
Merge branch 'PHP-7.0'
* PHP-7.0: fix test if unlink fails occasionally fix dir separator in test
2 parents 965ff1c + 5360b3d commit 770a6d1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Zend/tests/bug72101.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ $foo->bar($a, $b, $c);
7777
Fatal error: Uncaught Error: Class 'DoesNotExists' not found in %sbug72101.php:61
7878
Stack trace:
7979
#0 %sbug72101.php(8): {closure}(2, 'Parameter 1 to ...', '%s', 8, Array)
80-
#1 %s/bug72101.php(27): PHPUnit_Framework_MockObject_Stub_ReturnCallback->invoke(Object(PHPUnit_Framework_MockObject_Invocation_Static))
80+
#1 %sbug72101.php(27): PHPUnit_Framework_MockObject_Stub_ReturnCallback->invoke(Object(PHPUnit_Framework_MockObject_Invocation_Static))
8181
#2 %sbug72101.php(19): PHPUnit_Framework_MockObject_Matcher->invoked(Object(PHPUnit_Framework_MockObject_Invocation_Static))
8282
#3 %sbug72101.php(51): PHPUnit_Framework_MockObject_InvocationMocker->invoke(Object(PHPUnit_Framework_MockObject_Invocation_Static))
8383
#4 %sbug72101.php(72): Mock_MethodCallbackByReference_7b180d26->bar(0, 0, 0)

ext/pdo_sqlite/tests/bug70221.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ function _test() { return 42; }
1212
$db->sqliteCreateFunction('test', '_test', 0);
1313
print("Everything is fine, no exceptions here\n");
1414
unset($db);
15-
unlink($dbfile);
15+
@unlink($dbfile);
1616
?>
1717
--EXPECT--
1818
Everything is fine, no exceptions here

0 commit comments

Comments
 (0)