Skip to content

Commit 2a72de0

Browse files
#252: Fixed Rector configuration and applied Rector
1 parent 9797ac7 commit 2a72de0

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

rector.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
__DIR__ . '/tests',
1313
])
1414
->withSets([
15-
LevelSetList::UP_TO_PHP_80,
16-
SymfonySetList::SYMFONY_60,
15+
LevelSetList::UP_TO_PHP_81,
16+
SymfonySetList::SYMFONY_61,
1717
])
1818
->withImportNames(
1919
importShortClasses: false,

src/BooleanToYesNoSubscriber.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class BooleanToYesNoSubscriber implements EventSubscriberInterface
3535
{
3636
public function __construct(
3737
/** @var string[] */
38-
private array $fieldNames
38+
private readonly array $fieldNames
3939
) {
4040
}
4141

src/JsonSchemaSubscriber.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
class JsonSchemaSubscriber implements EventSubscriberInterface
3535
{
3636
public function __construct(
37-
private string $fieldName = 'schema'
37+
private readonly string $fieldName = 'schema'
3838
) {
3939
}
4040

0 commit comments

Comments
 (0)