Skip to content

Commit e7b00d3

Browse files
Specially "breaking" the code-style 😀
1 parent baf713b commit e7b00d3

2 files changed

Lines changed: 7 additions & 11 deletions

File tree

tests/style.json

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,11 @@
11
{
22
"preset": "laravel",
33
"rules": {
4-
"@PHP83Migration": true,
4+
"@PHP83Migration": true,
55
"concat_space": {
6-
"spacing": "one"
7-
},
6+
"spacing": "one" },
87
"blank_line_before_statement": {
9-
"statements": [
10-
"declare",
11-
"phpdoc",
12-
"continue",
13-
"return"
8+
"statements": [ "declare", "phpdoc", "continue", "return"
149
]
1510
}
1611
},

tests/style.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,13 @@ class ConstructorClass
99
public const First = 0;
1010
public const Second = 1;
1111

12-
public int $firstValue = 1;
12+
public int $firstValue = 1;
1313

14-
public int $secondValue = 1;
14+
public int $secondValue = 1;
1515

1616
public function __construct(
17-
protected int|string $value
17+
18+
protected int | string $value
1819
) {}
1920
}
2021

0 commit comments

Comments
 (0)