Skip to content

Commit

Permalink
chore: add psalm_autoload.php for linter
Browse files Browse the repository at this point in the history
  • Loading branch information
datamweb committed Sep 20, 2024
1 parent ee779a0 commit d5d7654
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
->append([
__FILE__,
__DIR__ . '/rector.php',
__DIR__ . '/psalm_autoload.php',
]);

$overrides = [
Expand Down
9 changes: 9 additions & 0 deletions psalm_autoload.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@

declare(strict_types=1);

/**
* This file is part of CodeIgniter Shield.
*
* (c) CodeIgniter Foundation <[email protected]>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/

require __DIR__ . '/vendor/codeigniter4/framework/system/Test/bootstrap.php';

$helperDirs = [
Expand Down

0 comments on commit d5d7654

Please sign in to comment.