Skip to content

Commit 11ed648

Browse files
committed
refactor: modernize PHPUnit bootstrap file with strict types and improved path handling
1 parent e02008f commit 11ed648

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

web/app/tests/bootstrap.php

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<?php
2+
3+
declare(strict_types=1);
4+
5+
/*
6+
* Bootstrap file for PHPUnit tests
7+
*/
8+
9+
// Set error reporting to the maximum level
10+
error_reporting(E_ALL);
11+
12+
// Include the Composer autoloader
13+
require_once dirname(__DIR__) . '/vendor/autoload.php';
14+
15+
// Configure additional test environment settings if needed
16+
// date_default_timezone_set('UTC');

0 commit comments

Comments
 (0)