Skip to content

Commit 50511be

Browse files
committed
Allow risky style fixers
1 parent b4c1418 commit 50511be

3 files changed

Lines changed: 4 additions & 1 deletion

File tree

.php_cs.dist

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ return PhpCsFixer\Config::create()
6969
'trailing_comma_in_multiline_array' => true,
7070
'whitespace_after_comma_in_array' => true,
7171
])
72+
->setRiskyAllowed(true)
7273
->setFinder(
7374
PhpCsFixer\Finder::create()
7475
->in(__DIR__)

.styleci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ enabled:
5050
- trailing_comma_in_multiline_array
5151
- whitespace_after_comma_in_array
5252

53+
risky: true
54+
5355
finder:
5456
name:
5557
- "*.php"

Tests/Unit/Renderer/RecordRendererTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ public function configurationIsGeneratedCorrectlyFromRequest(array $requestArgum
114114
->getMock();
115115
$rootlineUtilityMock = $this->getMockBuilder(RootlineUtility::class)->disableOriginalConstructor()->getMock();
116116
$rootlineUtilityMock->expects($this->any())->method('get')->willReturn(
117-
[
117+
[
118118
[
119119
'uid' => '1',
120120
'pid' => '0',

0 commit comments

Comments
 (0)