Skip to content

Commit 3254122

Browse files
committed
Move bootstrap.php to root
1 parent 8aa4dfb commit 3254122

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

tests/bootstrap.php renamed to bootstrap.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
* the LICENSE file that was distributed with this source code.
1212
*/
1313

14-
require_once __DIR__ . '/../vendor/codeigniter4/framework/system/Test/bootstrap.php';
14+
require_once __DIR__ . '/vendor/codeigniter4/framework/system/Test/bootstrap.php';
1515

16-
$iterator = new RecursiveIteratorIterator(new RecursiveDirectoryIterator(__DIR__ . '/../vendor/codeigniter4/framework/system/Helpers'));
16+
$iterator = new RecursiveIteratorIterator(new RecursiveDirectoryIterator(__DIR__ . '/vendor/codeigniter4/framework/system/Helpers'));
1717

1818
/** @var SplFileInfo $helper */
1919
foreach ($iterator as $helper) {

phpstan.neon.dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ parameters:
1515
- tests/*/data/*
1616
tmpDir: build/phpstan
1717
bootstrapFiles:
18-
- vendor/codeigniter4/framework/system/Test/bootstrap.php
18+
- bootstrap.php
1919
codeigniter:
2020
additionalModelNamespaces:
2121
- CodeIgniter\PHPStan\Tests\Fixtures\Type

phpunit.dist.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
33
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
4-
bootstrap="tests/bootstrap.php"
4+
bootstrap="bootstrap.php"
55
cacheDirectory="build/.phpunit.cache"
66
colors="true"
77
columns="max"

tests/extension-test.neon

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ parameters:
22
featureToggles:
33
listType: true
44
bootstrapFiles:
5-
- %rootDir%/../../../tests/bootstrap.php
5+
- ../bootstrap.php
66
codeigniter:
77
additionalModelNamespaces:
88
- CodeIgniter\PHPStan\Tests\Fixtures\Type

0 commit comments

Comments
 (0)