1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
From: =?utf-8?q?David_Pr=C3=A9vot?= <taffit@debian.org>
Date: Fri, 23 Aug 2019 14:22:42 -1000
Subject: Compatibility with recent PHPUnit (8)
---
tests/directoryscanner.test.php | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/directoryscanner.test.php b/tests/directoryscanner.test.php
index 5edca05..520b347 100644
--- a/tests/directoryscanner.test.php
+++ b/tests/directoryscanner.test.php
@@ -62,7 +62,7 @@ namespace TheSeer\DirectoryScanner\Tests {
/**
* @expectedException \TheSeer\DirectoryScanner\Exception
- * @expectedExceptionCode \TheSeer\DirectoryScanner\Exception::InvalidFlag
+ * @expectedException \TheSeer\DirectoryScanner\Exception::InvalidFlag
*/
public function testSettingInvalidFlagThrowsException() {
$tmp = new DirectoryScanner();
@@ -71,7 +71,7 @@ namespace TheSeer\DirectoryScanner\Tests {
/**
* @expectedException \TheSeer\DirectoryScanner\Exception
- * @expectedExceptionCode \TheSeer\DirectoryScanner\Exception::InvalidFlag
+ * @expectedException \TheSeer\DirectoryScanner\Exception::InvalidFlag
*/
public function testUnSettingInvalidFlagThrowsException() {
$tmp = new DirectoryScanner();
|