Skip to content

Commit 625da71

Browse files
committed
chore: add declare_strict_types rule to cs-fixer
1 parent c48cb81 commit 625da71

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.php-cs-fixer.dist.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
use CodeIgniter\CodingStandard\CodeIgniter4;
46
use Nexus\CsConfig\Factory;
57
use PhpCsFixer\Finder;
@@ -13,7 +15,9 @@
1315
->exclude('build')
1416
->append([__FILE__]);
1517

16-
$overrides = [];
18+
$overrides = [
19+
'declare_strict_types' => true,
20+
];
1721

1822
$options = [
1923
'finder' => $finder,

0 commit comments

Comments
 (0)