Add error message for bootstrap not found error
declare(strict_types=1);
-require __DIR__ . '/../../../ext/tests/include/bootstrap.php';
+(static function (): void {
+ $bootstrap = __DIR__ . '/../../../ext/tests/include/bootstrap.php';
+ if (file_exists($bootstrap)) {
+ require $bootstrap;
+ } else {
+ throw new RuntimeException('Bootstrap file not found');
+ }
+})();
