Skip to content

Commit f894793

Browse files
github-actions[bot]github-actionsgilbertsoft
authored
[!!!][TASK] Sync files with the latest TYPO3 Core version (#53)
* [TASK] Sync src/CsFixerConfig.php with the latest TYPO3 Core version * Update rules count Co-authored-by: github-actions <[email protected]> Co-authored-by: Simon Gilli <[email protected]>
1 parent 74b21c2 commit f894793

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/CsFixerConfig.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ class CsFixerConfig extends Config implements CsFixerConfigInterface
5454
'function_typehint_space' => true,
5555
'lowercase_cast' => true,
5656
'method_argument_space' => ['on_multiline' => 'ensure_fully_multiline'],
57+
'modernize_strpos' => true,
5758
'modernize_types_casting' => true,
5859
'native_function_casing' => true,
5960
'new_with_braces' => true,

tests/Unit/CsFixerConfigTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public function testCreateReturnsCorrectClass(): void
2929
$csFixerConfig = CsFixerConfig::create();
3030
self::assertInstanceOf(CsFixerConfig::class, $csFixerConfig);
3131
self::assertTrue($csFixerConfig->getRiskyAllowed());
32-
self::assertCount(52, $csFixerConfig->getRules());
32+
self::assertCount(53, $csFixerConfig->getRules());
3333
}
3434

3535
public function testAddRules(): void

0 commit comments

Comments
 (0)