5623 Commits

Author SHA1 Message Date
Tomas Votruba
e691d4e808 Updated Rector to commit 56f4768465eb6154456b8dba6d15fb99eace3bfe
56f4768465 [automated] Apply Coding Standard (#6197)
2024-07-28 10:14:30 +00:00
Tomas Votruba
f2a8c55503 Updated Rector to commit 2a328edef4bb5056da7ffe2b244a4e1f796ffd16
2a328edef4 [automated] Re-Generate Nodes/Rectors Documentation (#6196)
2024-07-28 00:32:59 +00:00
Tomas Votruba
608879e768 Updated Rector to commit 7d6b6ed95f9c6c4731a0915f9624ec342548de65
7d6b6ed95f [AutoImport] Add new line for add use statement if next first stmt is not Use_ or GroupUse (#6194)
2024-07-27 07:38:48 +00:00
Tomas Votruba
2f1188fc5d Updated Rector to commit 1746c2d4efbd77438aae9b9ea8c21855bc750b42
1746c2d4ef [AutoImport] Skip early on no \ in identifier name on NameImportingPhpDocNodeVisitor (#6189)
2024-07-26 08:05:30 +00:00
Tomas Votruba
aac69782fe Updated Rector to commit 3268b08b8629be3ad00d435c0ca8fe53447ae535
3268b08b86 fix issue #8755 about wrong systemError location (#6184)
2024-07-25 15:42:54 +00:00
Tomas Votruba
1b431b24ad Updated Rector to commit 3268b08b8629be3ad00d435c0ca8fe53447ae535
3268b08b86 fix issue #8755 about wrong systemError location (#6184)
2024-07-25 12:26:44 +00:00
Tomas Votruba
38b9cd6da5 Updated Rector to commit b95c4e8b061f0bf94a2608936edee7beaf228f18
b95c4e8b06 Fix scoper build due to composer/pcre conflict (#6186)
2024-07-25 11:04:48 +00:00
Tomas Votruba
044e636401 Rector 1.2.2 2024-07-25 07:44:34 +00:00
Tomas Votruba
65dfd8cb76 Updated Rector to commit 07fffd50f3b62196856f22622815768385554272
07fffd50f3 [TypeDeclaration] Skip possible value resetted on TypedPropertyFromCreateMockAssignRector (#6178)
2024-07-23 21:21:50 +00:00
Tomas Votruba
8d7c7faf2f Updated Rector to commit 417b208b58da94040e01c5f9629ae33db472df78
417b208b58 [TypeDeclaration] Add TypedPropertyFromCreateMockAssignRector (#6177)
2024-07-23 17:11:54 +00:00
Tomas Votruba
cecbffbf7d Updated Rector to commit b0c89a98a0eb4a62d3141d950484d6e3ea7fdbda
b0c89a98a0 fix: Convert DateTime to Carbon properly when hours/minutes/seconds are used (#6176)
2024-07-23 16:05:22 +00:00
Tomas Votruba
dd8c5b5f6d Updated Rector to commit 29e926608b0008df286370f94cf5c26b4aa86226
29e926608b  [NodeTypeResolver] Fill scope of dynamic variable variable  (#6175)
2024-07-22 22:19:14 +00:00
Tomas Votruba
5ab7399531 Updated Rector to commit e4c27be2ed869ed495cb5631ec9e6efc0ddc68ee
e4c27be2ed [NodeTypeResolver] Clean up re-fill scope on PHPStanNodeScopeResolver on variable variable (#6174)
2024-07-22 22:11:28 +00:00
Tomas Votruba
2ec758b3bc Updated Rector to commit 5eb07c4285a12d1e6275fad54311b11930bcd818
5eb07c4285 [TypeDeclaration] Add ReturnTypeFromMockObjectRector (#6166)
2024-07-21 22:31:48 +00:00
Tomas Votruba
c762db2d8d Updated Rector to commit 117a5eea1a0c98c45bc4127ec6c623b9438f88be
117a5eea1a [TypeDeclaration] Fix configuration example on AddReturnTypeDeclarationRector (#6154)
2024-07-16 15:58:54 +00:00
Tomas Votruba
75226ec447 Updated Rector to commit 2cd7dba83c81b77a7f3af81d9f62b6052a7a3345
2cd7dba83c 📖 Add short description about Rector opnionated set (#6140)
2024-07-12 22:49:30 +00:00
Tomas Votruba
8ae3b50fdb Updated Rector to commit eae3e2c7e9a82537b31b5ca382b7665bc4e2f5fd
eae3e2c7e9 [e2e][Printer] Handle crash indentation on AddParamBasedOnParentClassMethodRector (#6112)
2024-07-12 09:32:13 +00:00
Tomas Votruba
47b41514ef Updated Rector to commit d102bd166e8cc13ec50506dac2b2765ba29698a7
d102bd166e typo
2024-07-11 21:14:58 +00:00
Tomas Votruba
6da53ce15c Updated Rector to commit 18846cb4c3052cb313619fea47c8a7b56d8e99b1
18846cb4c3 [TypeDeclaration] Skip has named arg on AddMethodCallBasedStrictParamTypeRector (#6137)
2024-07-11 14:17:27 +00:00
Tomas Votruba
5b23ce9838 Updated Rector to commit 5302c406920f5ada7538a55c129cf83863eabd74
5302c40692 [DeadCode] Remove unused @var on key after remove key on RemoveUnusedForeachKeyRector (#6135)
2024-07-09 20:23:20 +00:00
Tomas Votruba
881c265196 Updated Rector to commit 18ac56ba991202762fae3deb9e7ab190b2d369e4
18ac56ba99 refactor: Move function first-class-callable to a standalone rule (#6131)
2024-07-08 19:59:30 +00:00
Tomas Votruba
0905cd621e Updated Rector to commit 18ac56ba991202762fae3deb9e7ab190b2d369e4
18ac56ba99 refactor: Move function first-class-callable to a standalone rule (#6131)
2024-07-08 16:45:50 +00:00
Tomas Votruba
f6e296c7c2 Updated Rector to commit 18ac56ba991202762fae3deb9e7ab190b2d369e4
18ac56ba99 refactor: Move function first-class-callable to a standalone rule (#6131)
2024-07-08 13:48:56 +00:00
Tomas Votruba
242d297ba9 Updated Rector to commit e63e9a22fe148c02a55817fc432a769bc5914346
e63e9a22fe [Php71] Handle not identical to Float for empty string should compare to 0.0 on BinaryOpBetweenNumberAndStringRector (#6117)
2024-07-05 09:56:07 +00:00
Tomas Votruba
ccc200b8e4 Updated Rector to commit e63e9a22fe148c02a55817fc432a769bc5914346
e63e9a22fe [Php71] Handle not identical to Float for empty string should compare to 0.0 on BinaryOpBetweenNumberAndStringRector (#6117)
2024-07-05 09:18:34 +00:00
Tomas Votruba
be24836c68 Updated Rector to commit e63e9a22fe148c02a55817fc432a769bc5914346
e63e9a22fe [Php71] Handle not identical to Float for empty string should compare to 0.0 on BinaryOpBetweenNumberAndStringRector (#6117)
2024-07-05 07:41:28 +00:00
Tomas Votruba
b845779e98 Updated Rector to commit 3fe55534ea6c60a09d5ab1de5573f9b907a55bcf
3fe55534ea  [DeadCode] Skip fluent no return type on RemoveUnusedPrivateMethodRector take 2 (#6116)
2024-07-04 13:07:32 +00:00
Tomas Votruba
2720c63eec Updated Rector to commit 5fe7f4e12add95d0cb6d476ea9f4776492b38ed3
5fe7f4e12a Deprecate BoolReturnTypeFromStrictScalarReturnsRector, use BoolReturnTypeFromBooleanStrictReturnsRector instead (#6115)
2024-07-03 23:11:56 +00:00
Tomas Votruba
4aaedf51cb Updated Rector to commit 049f1efef6046aa7287fc129891abf3e310e4e6d
049f1efef6 Add - number support, deprecate ReturnTypeFromStrictScalarReturnExprRector functionality, already split (#6114)
2024-07-03 20:32:54 +00:00
Tomas Votruba
cd6dafbe86 Updated Rector to commit 2c1ae9bc46b3c8d31b1a45dcaac57c7d1522a8c1
2c1ae9bc46 Split StringReturnTypeFromStrictScalarReturnsRector into string, bool and numeric scalar + strict return type rules (#6113)
2024-07-03 20:14:45 +00:00
Tomas Votruba
3839c795dc Updated Rector to commit d8400c7cf1b75378603c7276c95393e2fd74c5b5
d8400c7cf1 [type-declarations] Add StringsReturnTypeFromStrictScalarReturnsRector to complete the string returns (#6111)
2024-07-03 16:42:04 +00:00
Tomas Votruba
1c29427ddb Updated Rector to commit 133c810f25c546682941c91717ce99f6787bfac7
133c810f25 [type-declarations] Add ReturnNullableTypeRector (#6110)
2024-07-03 15:34:41 +00:00
Tomas Votruba
f0ee411314 Updated Rector to commit fd5f15c7987257b5247bc05e36a932a4cccc29cc
fd5f15c798 [TypeDeclaration] Introducing ClosureReturnTypeRector to handle closure types separately (#6106)
2024-07-03 10:47:09 +00:00
Tomas Votruba
96ee33c4c8 Updated Rector to commit da745df35d8ab8be72f648c288a1c542ed666d5f
da745df35d [TypeDeclaration] handle explicit if else new on ReturnTypeFromReturnNewRector (#6104)
2024-07-02 23:06:05 +00:00
Tomas Votruba
5fc84d85a4 Updated Rector to commit 710a8136ee8be9469853573952685e0d4c9c7873
710a8136ee Clean up return in __construct() in nullable checked fixture (#6101)
2024-07-02 12:18:08 +00:00
Tomas Votruba
d344c32402 Updated Rector to commit 710a8136ee8be9469853573952685e0d4c9c7873
710a8136ee Clean up return in __construct() in nullable checked fixture (#6101)
2024-07-02 06:41:47 +00:00
Tomas Votruba
09c6a33811 Updated Rector to commit 863811bfec240f5f1109c2ce5c2de1e7cdee7246
863811bfec Add fixture nullable from assign (#6100)
2024-07-01 20:51:10 +00:00
Tomas Votruba
1640db30e4 Updated Rector to commit b4c0d8dd10d3172e4bb9d00a3e206691ccf73edf
b4c0d8dd10 Refactor BooleanTypeMapper to handle value based on context (#6095)
2024-07-01 19:40:50 +00:00
Tomas Votruba
5da3e29f46 Updated Rector to commit b4c0d8dd10d3172e4bb9d00a3e206691ccf73edf
b4c0d8dd10 Refactor BooleanTypeMapper to handle value based on context (#6095)
2024-07-01 19:29:43 +00:00
Tomas Votruba
db70c30349 Updated Rector to commit ba84c336b8beeeaca21934e8fe34bcd0a6d68f1e
ba84c336b8 [dev] Bump release notes generator that includes Symfony, Doctrine and PHPUnit PRs too (#6099)
2024-07-01 14:30:02 +00:00
Tomas Votruba
2203e980bd Updated Rector to commit 436f0bc52f8fbd648b2fca69ecb5f7700aebdb99
436f0bc52f Grammar fix (#6097)
2024-07-01 10:45:29 +00:00
Tomas Votruba
78890ded1d Updated Rector to commit 3c2100b3a8d2372094135efa9c4d0433078337b5
3c2100b3a8 Union mapper cleanup (#6094)
2024-07-01 07:18:28 +00:00
Tomas Votruba
738f33982e Updated Rector to commit ef333502fb722ef471049b492a257781d02d0d62
ef333502fb Make NameScopeFactory simpler (#6092)
2024-07-01 06:16:16 +00:00
Tomas Votruba
e6124b8871 Updated Rector to commit 554cad981917c1d402601c9fb158e3be9a66eeb1
554cad9819 Avoid pre-mature abstract of union type (#6090)
2024-06-30 21:11:54 +00:00
Tomas Votruba
9f439aaaf7 Updated Rector to commit 2d9ef9e6b876e6a5b7cdac01ca87d4b72ea3c895
2d9ef9e6b8 Remove UnionTypeCommonTypeNarrower as no longer needed, comparison handled by PHPStan (#6082)
2024-06-30 10:32:51 +00:00
Tomas Votruba
d03b346d78 Updated Rector to commit 1d6d468e8b6b6713d029fe5e6ffc05344cf08130
1d6d468e8b Remove TypeWithClassTypeSpecifierInterface as unused and solve in PHPStan (#6080)
2024-06-30 09:28:21 +00:00
Tomas Votruba
fce5077ee4 Updated Rector to commit 8c0ac8546f05cffd14df4a5d0f43787bfbbecfbd
8c0ac8546f Fix grammar for report sart with short open tag (#6079)
2024-06-30 04:21:20 +00:00
Tomas Votruba
041b312f9b Updated Rector to commit d2b050471bb9e555ee0fe7765dc86bb73cf99f54
d2b050471b Misc cleanup (#6076)
2024-06-29 07:25:59 +00:00
Tomas Votruba
0ffcae08fc Updated Rector to commit 0cf02b0af6531ed472b7f744f2829b0ad1f3c485
0cf02b0af6 Split docblock name imports and name imports as different scope, skip for HTML nodes (#6071)
2024-06-28 20:06:53 +00:00
Tomas Votruba
3732dae0b1 Updated Rector to commit 9c41ee08fd90edc940ad117ea79d6a316138e867
9c41ee08fd Make CatchExceptionNameMatchingTypeRector run without alias resolver (#6067)
2024-06-28 13:08:07 +00:00