Skip to content

Commit 11023cc

Browse files
committed
Ensure all assertions are invoked the same
1 parent 32f74f1 commit 11023cc

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

tests/system/Test/BootstrapFCPATHTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public function testSetFCPATH()
4141
{
4242
$result1 = $this->readOutput($this->file1);
4343
$correctPath = $this->correctFCPATH();
44-
self::assertEquals($correctPath, $result1);
44+
$this->assertEquals($correctPath, $result1);
4545
}
4646

4747
private function correctFCPATH()

utils/PhpCsFixer/CodeIgniter4.php

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -157,11 +157,15 @@ public function __construct()
157157
'target' => 'newest',
158158
'use_class_const' => true,
159159
],
160-
'php_unit_set_up_tear_down_visibility' => true,
161-
'php_unit_test_annotation' => ['style' => 'prefix'],
162-
'phpdoc_align' => true,
163-
'phpdoc_indent' => true,
164-
'phpdoc_inline_tag_normalizer' => [
160+
'php_unit_set_up_tear_down_visibility' => true,
161+
'php_unit_test_annotation' => ['style' => 'prefix'],
162+
'php_unit_test_case_static_method_calls' => [
163+
'call_type' => 'this',
164+
'methods' => [],
165+
],
166+
'phpdoc_align' => true,
167+
'phpdoc_indent' => true,
168+
'phpdoc_inline_tag_normalizer' => [
165169
'tags' => [
166170
'example',
167171
'id',

0 commit comments

Comments
 (0)