Skip to content

Commit

Permalink
Merge 2.x into 3.x
Browse files Browse the repository at this point in the history
  • Loading branch information
SonataCI authored Nov 14, 2024
2 parents 523021e + c883321 commit c5d1db0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions rector.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@

use Rector\Config\RectorConfig;
use Rector\Php70\Rector\FunctionLike\ExceptionHandlerTypehintRector;
use Rector\PHPUnit\CodeQuality\Rector\Class_\NarrowUnusedSetUpDefinedPropertyRector;
use Rector\PHPUnit\CodeQuality\Rector\Class_\PreferPHPUnitThisCallRector;
use Rector\PHPUnit\Set\PHPUnitSetList;
use Rector\Set\ValueObject\LevelSetList;
Expand All @@ -40,5 +41,6 @@
$rectorConfig->skip([
ExceptionHandlerTypehintRector::class,
PreferPHPUnitThisCallRector::class,
NarrowUnusedSetUpDefinedPropertyRector::class,
]);
};
2 changes: 1 addition & 1 deletion src/Mapper/Builder/OptionsBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ final class OptionsBuilder
private function __construct(
private string $type,
string $fieldName,
string $targetEntity
string $targetEntity,
) {
$this->options['fieldName'] = $fieldName;
$this->options['targetEntity'] = $targetEntity;
Expand Down
2 changes: 1 addition & 1 deletion src/Model/BaseManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ abstract class BaseManager implements ManagerInterface, ClearableManagerInterfac
*/
public function __construct(
protected string $class,
protected ManagerRegistry $registry
protected ManagerRegistry $registry,
) {
}

Expand Down

0 comments on commit c5d1db0

Please sign in to comment.