Skip to content

Commit 67f8de3

Browse files
committed
chore: add declare_strict_types and void_return
1 parent b9df900 commit 67f8de3

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.php-cs-fixer.dist.php

Lines changed: 6 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,10 @@
1315
->exclude('build')
1416
->append([__FILE__]);
1517

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

1823
$options = [
1924
'finder' => $finder,

0 commit comments

Comments
 (0)