Skip to content

Commit 10c732e

Browse files
committed
refactor: add strict types to tests
1 parent 046fddf commit 10c732e

3 files changed

Lines changed: 5 additions & 0 deletions

File tree

.php-cs-fixer.tests.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
]);
3131

3232
$overrides = [
33+
'declare_strict_types' => true,
3334
'phpdoc_to_return_type' => true,
3435
'void_return' => true,
3536
];

tests/_support/Commands/Foobar.php

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

3+
declare(strict_types=1);
4+
35
/**
46
* This file is part of CodeIgniter 4 framework.
57
*

tests/system/Debug/ExceptionsTest.php

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

3+
declare(strict_types=1);
4+
35
/**
46
* This file is part of CodeIgniter 4 framework.
57
*

0 commit comments

Comments
 (0)