File tree Expand file tree Collapse file tree 2 files changed +10
-9
lines changed
Expand file tree Collapse file tree 2 files changed +10
-9
lines changed Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" UTF-8" ?>
2- <phpunit backupGlobals =" false"
3- backupStaticAttributes =" false"
2+ <phpunit
3+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
4+ xsi : noNamespaceSchemaLocation =" vendor/phpunit/phpunit/phpunit.xsd"
45 colors =" true"
56 convertErrorsToExceptions =" true"
67 convertNoticesToExceptions =" true"
78 convertWarningsToExceptions =" true"
89 processIsolation =" false"
910 stopOnFailure =" false"
10- syntaxCheck =" false"
1111 bootstrap =" vendor/autoload.php"
12- >
12+ >
1313 <testsuites >
1414 <testsuite name =" EmailChecker Test Suite" >
1515 <directory >./tests/</directory >
1616 </testsuite >
1717 </testsuites >
18- <filter >
19- <whitelist >
20- <directory >./src/EmailChecker/ </directory >
21- </whitelist >
22- </filter >
18+ <coverage >
19+ <include >
20+ <directory >./src/EmailChecker</directory >
21+ </include >
22+ </coverage >
2323</phpunit >
Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ public function testParseInvalidEmail(string $email): void
3535 Utilities::parseEmailAddress ($ email );
3636 self ::fail (sprintf ('"%s" should not be a valid email ' , $ email ));
3737 } catch (InvalidEmailException $ e ) {
38+ $ this ->expectNotToPerformAssertions ();
3839 return ;
3940 }
4041 }
You can’t perform that action at this time.
0 commit comments