File: 0003-Compatibility-with-recent-PHPUnit-8.patch

package info (click to toggle)
php-directory-scanner 1.3.3-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 256 kB
  • sloc: php: 364; xml: 209; sh: 11; makefile: 4
file content (30 lines) | stat: -rw-r--r-- 1,287 bytes parent folder | download | duplicates (3)
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();