Skip to content

Commit ebe667e

Browse files
committed
Ensure all assertions are invoked the same
1 parent ef9e866 commit ebe667e

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

tests/system/Test/BootstrapFCPATHTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public function testSetFCPATH()
3939
{
4040
$result1 = $this->readOutput($this->file1);
4141
$correctPath = $this->correctFCPATH();
42-
self::assertEquals($correctPath, $result1);
42+
$this->assertEquals($correctPath, $result1);
4343
}
4444

4545
private function correctFCPATH()

utils/PhpCsFixer/CodeIgniter4.php

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -137,9 +137,13 @@ public function __construct()
137137
'php_unit_namespaced' => true,
138138
'php_unit_set_up_tear_down_visibility' => true,
139139
'php_unit_test_annotation' => ['style' => 'prefix'],
140-
'phpdoc_align' => true,
141-
'phpdoc_indent' => true,
142-
'phpdoc_inline_tag_normalizer' => [
140+
'php_unit_test_case_static_method_calls' => [
141+
'call_type' => 'this',
142+
'methods' => [],
143+
],
144+
'phpdoc_align' => true,
145+
'phpdoc_indent' => true,
146+
'phpdoc_inline_tag_normalizer' => [
143147
'tags' => [
144148
'example',
145149
'id',

0 commit comments

Comments
 (0)