Skip to content

Commit 9fba77e

Browse files
committed
finalize rules as well
1 parent e3cd89a commit 9fba77e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/code_analysis.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050

5151
-
5252
name: 'Finalize classes'
53-
run: vendor/bin/swiss-knife finalize-classes src tests --dry-run
53+
run: vendor/bin/swiss-knife finalize-classes src tests rules --dry-run
5454

5555
-
5656
name: 'Check before/after test fixture on no-changes'

rules/Transform/Rector/Scalar/ScalarValueToConstFetchRector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
/**
2323
* @see \Rector\Tests\Transform\Rector\Scalar\ScalarValueToConstFetchRector\ScalarValueToConstFetchRectorTest
2424
*/
25-
class ScalarValueToConstFetchRector extends AbstractRector implements ConfigurableRectorInterface
25+
final class ScalarValueToConstFetchRector extends AbstractRector implements ConfigurableRectorInterface
2626
{
2727
/**
2828
* @var ScalarValueToConstFetch[]

rules/Transform/ValueObject/ArrayDimFetchToMethodCall.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
use PHPStan\Type\ObjectType;
88

9-
class ArrayDimFetchToMethodCall
9+
final class ArrayDimFetchToMethodCall
1010
{
1111
public function __construct(
1212
private readonly ObjectType $objectType,

0 commit comments

Comments
 (0)