File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 11.php_cs.cache
2+ .phpunit.result.cache
23composer.lock
34/vendor /
45/phpcov /
Original file line number Diff line number Diff line change 2525 },
2626 "require-dev" : {
2727 "friendsofphp/php-cs-fixer" : " ^2.0" ,
28- "phpdocumentor/phpdocumentor" : " *" ,
29- "phpunit/phpunit" : " ^4.8.35 || ^5.7.11 || ^6.0.5" ,
28+ "phpunit/phpunit" : " ^4.8.35 || ^5.7.11 || ^6.0.5 || ^7 || ^8" ,
3029 "theseer/autoload" : " ^1.22"
3130 },
3231 "autoload" : {
Original file line number Diff line number Diff line change @@ -106,9 +106,13 @@ public function testOptionalExists()
106106 $ this ->assertTrue (class_exists ('Foo \\Bar \\Baz ' ));
107107 }
108108
109+ /**
110+ * Just testing that no error/exception is thrown here
111+ */
109112 public function testOptionalNotExists ()
110113 {
111114 Dependencies::optional (array (__DIR__ .'/fixtures/DoesNotExist.php ' ));
115+ $ this ->assertTrue (true );
112116 }
113117
114118 public function testOptionalFirstExists ()
You can’t perform that action at this time.
0 commit comments