Skip to content

Commit e1b59b1

Browse files
committed
misc
1 parent f30316e commit e1b59b1

15 files changed

Lines changed: 22 additions & 20 deletions

File tree

‎composer.json‎

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,25 @@
44
"license": "MIT",
55
"description": "Rector downgrade PHP rules",
66
"require": {
7-
"php": ">=8.2"
7+
"php": ">=8.3"
88
},
99
"require-dev": {
10-
"phpstan/extension-installer": "^1.3",
11-
"phpstan/phpstan": "^2.1.32",
10+
"phpstan/extension-installer": "^1.4",
11+
"phpstan/phpstan": "^2.1.33",
1212
"phpstan/phpstan-webmozart-assert": "^2.0",
1313
"phpunit/phpunit": "^11.5",
14+
"rector/jack": "^0.5.1",
1415
"rector/rector-src": "dev-main",
1516
"rector/swiss-knife": "^2.3",
1617
"rector/type-perfect": "^2.1",
17-
"symplify/easy-coding-standard": "^12.3",
18+
"symplify/easy-coding-standard": "^13.0",
1819
"symplify/phpstan-extensions": "^12.0",
1920
"symplify/phpstan-rules": "^14.9",
2021
"symplify/rule-doc-generator": "^12.2",
2122
"symplify/vendor-patches": "^11.5",
22-
"tomasvotruba/class-leak": "^1.0",
23-
"tracy/tracy": "^2.10"
23+
"tomasvotruba/class-leak": "^2.1",
24+
"tomasvotruba/unused-public": "^2.2",
25+
"tracy/tracy": "^2.11"
2426
},
2527
"autoload": {
2628
"psr-4": {

‎rules-tests/DowngradePhp72/Rector/ClassMethod/DowngradeParameterTypeWideningRector/Source/ParentNullableString.php‎

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

55
namespace Rector\Tests\DowngradePhp72\Rector\ClassMethod\DowngradeParameterTypeWideningRector\Source;
66

7-
class ParentNullableString
7+
final class ParentNullableString
88
{
99
public function load(string $value = null)
1010
{

‎rules-tests/DowngradePhp72/Rector/FunctionLike/DowngradeObjectTypeDeclarationRector/Source/AnotherClass.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
namespace Rector\Tests\DowngradePhp72\Rector\FunctionLike\DowngradeObjectTypeDeclarationRector\Source;
55

66

7-
class AnotherClass
7+
final class AnotherClass
88
{
99

1010
}

‎rules-tests/DowngradePhp74/Rector/ArrowFunction/ArrowFunctionToAnonymousFunctionRector/Source/Foo.php‎

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

55
namespace Rector\Tests\DowngradePhp74\Rector\ArrowFunction\ArrowFunctionToAnonymousFunctionRector\Source;
66

7-
class Foo {
7+
final class Foo {
88
public $bar = 1;
99
}

‎rules-tests/DowngradePhp74/Rector/Property/DowngradeTypedPropertyRector/Source/AnotherClass.php‎

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

33
namespace Rector\Tests\DowngradePhp74\Rector\Property\DowngradeTypedPropertyRector\Source;
44

5-
class AnotherClass
5+
final class AnotherClass
66
{
77

88
}

‎rules-tests/DowngradePhp80/Rector/ClassMethod/DowngradeStaticTypeDeclarationRector/Source/AnotherClass.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
namespace Rector\Tests\DowngradePhp80\Rector\ClassMethod\DowngradeStaticTypeDeclarationRector\Source;
55

66

7-
class AnotherClass
7+
final class AnotherClass
88
{
99

1010
}

‎rules-tests/DowngradePhp80/Rector/FunctionLike/DowngradeMixedTypeDeclarationRector/Source/AnotherClass.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
namespace Rector\Tests\DowngradePhp80\Rector\FunctionLike\DowngradeMixedTypeDeclarationRector\Source;
55

66

7-
class AnotherClass
7+
final class AnotherClass
88
{
99

1010
}

‎rules-tests/DowngradePhp80/Rector/FunctionLike/DowngradeUnionTypeDeclarationRector/Source/Foo1.php‎

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

33
namespace Rector\Tests\DowngradePhp80\Rector\FunctionLike\DowngradeUnionTypeDeclarationRector\Source;
44

5-
class Foo1 implements FooInterface
5+
final class Foo1 implements FooInterface
66
{
77
}

‎rules-tests/DowngradePhp80/Rector/FunctionLike/DowngradeUnionTypeDeclarationRector/Source/Foo2.php‎

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

33
namespace Rector\Tests\DowngradePhp80\Rector\FunctionLike\DowngradeUnionTypeDeclarationRector\Source;
44

5-
class Foo2 implements FooInterface
5+
final class Foo2 implements FooInterface
66
{
77
}

‎rules-tests/DowngradePhp80/Rector/MethodCall/DowngradeNamedArgumentRector/Source/Foo.php‎

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

55
namespace Rector\Tests\DowngradePhp80\Rector\MethodCall\DowngradeNamedArgumentRector\Source;
66

7-
class Foo
7+
final class Foo
88
{
99
public function __construct(
1010
public ?array $a = null,

0 commit comments

Comments
 (0)