Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions rector.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
use Rector\Php81\Rector\ClassMethod\NewInInitializerRector;
use Rector\Php81\Rector\FuncCall\NullToStrictStringFuncCallArgRector;
use Rector\Php82\Rector\Param\AddSensitiveParameterAttributeRector;
use Rector\Php83\Rector\ClassMethod\AddOverrideAttributeToOverriddenMethodsRector;

return RectorConfig::configure()
->withPaths([
Expand All @@ -25,4 +26,5 @@
NullToStrictStringFuncCallArgRector::class,
ClassPropertyAssignToConstructorPromotionRector::class,
NewInInitializerRector::class,
AddOverrideAttributeToOverriddenMethodsRector::class,
]);
2 changes: 1 addition & 1 deletion src/Change/PrepareChangelog.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

final readonly class PrepareChangelog implements Change
{
private const FILE = 'CHANGELOG.md';
private const string FILE = 'CHANGELOG.md';

public function decide(Context $context): callable|array|null
{
Expand Down
2 changes: 1 addition & 1 deletion src/Change/PrepareDocsInternals.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

final readonly class PrepareDocsInternals implements Change
{
private const FILE = 'docs/internals.md';
private const string FILE = 'docs/internals.md';

public function decide(Context $context): callable|array|null
{
Expand Down
2 changes: 1 addition & 1 deletion src/Change/PrepareGitHubWorkflowBuild.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

final readonly class PrepareGitHubWorkflowBuild implements Change
{
private const FILE = '.github/workflows/build.yml';
private const string FILE = '.github/workflows/build.yml';

public function decide(Context $context): callable|array|null
{
Expand Down
2 changes: 1 addition & 1 deletion src/Change/PrepareGitHubWorkflowCodeStyle.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

final readonly class PrepareGitHubWorkflowCodeStyle implements Change
{
private const FILE = '.github/workflows/code-style.yml';
private const string FILE = '.github/workflows/code-style.yml';

public function decide(Context $context): callable|array|null
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

final readonly class PrepareGitHubWorkflowComposerDependencyAnalyser implements Change
{
private const FILE = '.github/workflows/composer-dependency-analyser.yml';
private const string FILE = '.github/workflows/composer-dependency-analyser.yml';

public function decide(Context $context): callable|array|null
{
Expand Down
2 changes: 1 addition & 1 deletion src/Change/PrepareGitHubWorkflowMutation.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

final readonly class PrepareGitHubWorkflowMutation implements Change
{
private const FILE = '.github/workflows/mutation.yml';
private const string FILE = '.github/workflows/mutation.yml';

public function decide(Context $context): callable|array|null
{
Expand Down
2 changes: 1 addition & 1 deletion src/Change/PrepareGitHubWorkflowPhpstan.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

final readonly class PrepareGitHubWorkflowPhpstan implements Change
{
private const FILE = '.github/workflows/phpstan.yml';
private const string FILE = '.github/workflows/phpstan.yml';

public function decide(Context $context): callable|array|null
{
Expand Down
2 changes: 1 addition & 1 deletion src/Change/PrepareGitHubWorkflowPsalm.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

final readonly class PrepareGitHubWorkflowPsalm implements Change
{
private const FILE = '.github/workflows/psalm.yml';
private const string FILE = '.github/workflows/psalm.yml';

public function decide(Context $context): callable|array|null
{
Expand Down
2 changes: 1 addition & 1 deletion src/Change/PrepareGitignore.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

final readonly class PrepareGitignore implements Change
{
private const FILE = '.gitignore';
private const string FILE = '.gitignore';

public function decide(Context $context): callable|array|null
{
Expand Down
2 changes: 1 addition & 1 deletion src/Change/PrepareReadme.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

final readonly class PrepareReadme implements Change
{
private const FILE = 'README.md';
private const string FILE = 'README.md';

public function decide(Context $context): callable|array|null
{
Expand Down