Skip to content

Commit

Permalink
#252: Fixed Rector configuration and applied Rector
Browse files Browse the repository at this point in the history
  • Loading branch information
raymondschouten committed May 30, 2024
1 parent 9797ac7 commit 2a72de0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions rector.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
__DIR__ . '/tests',
])
->withSets([
LevelSetList::UP_TO_PHP_80,
SymfonySetList::SYMFONY_60,
LevelSetList::UP_TO_PHP_81,
SymfonySetList::SYMFONY_61,
])
->withImportNames(
importShortClasses: false,
Expand Down
2 changes: 1 addition & 1 deletion src/BooleanToYesNoSubscriber.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class BooleanToYesNoSubscriber implements EventSubscriberInterface
{
public function __construct(
/** @var string[] */
private array $fieldNames
private readonly array $fieldNames
) {
}

Expand Down
2 changes: 1 addition & 1 deletion src/JsonSchemaSubscriber.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
class JsonSchemaSubscriber implements EventSubscriberInterface
{
public function __construct(
private string $fieldName = 'schema'
private readonly string $fieldName = 'schema'
) {
}

Expand Down

0 comments on commit 2a72de0

Please sign in to comment.