-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Labels
type/bugSomething is brokenSomething is broken
Description
Q | A |
---|---|
PHPUnit version | 12.4-ge6071930d |
PHP version | 8.3.24 |
Installation Method | cloned repo sources |
Summary
running a PHPT test with a require
and a non existing path does not error/warn and just runs the test
Current behavior
test will be executed
How to reproduce
--SKIPIF--
<?php declare(strict_types=1);
require __DIR__ . '/some/non/existing/file.php';
--FILE--
<?php declare(strict_types=1);
echo "hello world\n";
--EXPECT--
hello world
Expected behavior
phpunit runner warning about require of non-existant file
Metadata
Metadata
Assignees
Labels
type/bugSomething is brokenSomething is broken