12612 Commits

Author SHA1 Message Date
Tomas Votruba
f41cfb1de8 Updated Rector to commit b4392749f4ab12077b8cadc6cc8745ad79dcdea8
b4392749f4 Fix some code samples (#535)
2021-07-28 12:55:48 +00:00
Tomas Votruba
28f5ca3f25 Updated Rector to commit 35dc186642e62e2e2e9b224180122618a02cde95
35dc186642 Update skip_null_safe_test.php.inc (#534)
2021-07-28 12:54:47 +00:00
Tomas Votruba
398f8f8197 Updated Rector to commit c93b40240fc04526047b3390920d862d7aa4c4b8
c93b40240f [DeadCode] Skip InstanceOf class not a Name on RemoveDeadInstanceOfRector (#531)
2021-07-28 11:14:29 +00:00
Tomas Votruba
74c3f7c261 Updated Rector to commit f44e09e077b78216cd721f2bdf83a4e063450b83
f44e09e077 [DeadCode][Defluent][NodeNameResolver] Using CallAnalyzer to check object call when possible (#529)
2021-07-28 11:11:32 +00:00
Tomas Votruba
6f760e17cc Updated Rector to commit 5d8789025dc14a3956b83bd934bbb78bf9e648ed
5d8789025d Fix NullsafeOperatorRector (#532)
2021-07-28 10:00:12 +00:00
Tomas Votruba
6c3196a2e7 Updated Rector to commit 8299b2db4185d08c9a965661fe25a7c6b89fc7f7
8299b2db41 [DeadCode] Skip direct method call / function call on RemoveDeadInstanceOfRector (#527)
2021-07-28 07:07:05 +00:00
Tomas Votruba
5ab3cd8ae8 Updated Rector to commit 9b663a882135b663a6cf631f307382c823aa2fc5
9b663a8821 [DeadCode] Refactor PureFunctionDetector: ensure NativeFunctionReflection for pure function check (#528)
2021-07-28 07:06:07 +00:00
Tomas Votruba
0032287992 Updated Rector to commit 687a77765f975a2449ea8010192ac84e6548bc51
687a77765f Added MemoryCacheStorage and use it in  (#525)
2021-07-28 07:05:44 +00:00
Tomas Votruba
b8d4e57170 Updated Rector to commit a7f111e201b95271acfdd090d017e3d112c5d1dd
a7f111e201 [PHPStan] Clean up PHPStan ignore error messages (#530)
2021-07-28 04:37:30 +00:00
Tomas Votruba
bb9a43a22d Updated Rector to commit 65eaecb4deb1d60e2a5ae99e2ed530ac7f6fe9ac
65eaecb4de [DeadCode] Skip Static Call fluent on RemoveEmptyMethodCallRector (#526)
2021-07-27 14:23:09 +00:00
Tomas Votruba
5394ed5dd5 Updated Rector to commit 4b5ac4d548d2dc782157acb50b3a352d81ca9238
4b5ac4d548 [DeadCode] Skip Assign to PropertyFetch on RemoveAssignOfVoidReturnFunctionRector (#523)
2021-07-27 14:21:12 +00:00
Tomas Votruba
9b938c3aa8 Updated Rector to commit a8fd8a33153a8c4e651640266fa3e8c2dfc9b965
a8fd8a3315 [DeadCode] Handle RemoveDeadInstanceOfRector on non typed property (#524)
2021-07-27 14:20:41 +00:00
Tomas Votruba
a23b777a9a Updated Rector to commit 3a96b9097d6fbc29085210f2d85dd5d95755ef31
3a96b9097d [DeadCode] Skip fluent return  on RemoveEmptyMethodCallRector (#521)
2021-07-27 11:16:44 +00:00
Tomas Votruba
9d2869edb7 Updated Rector to commit e5d95bda102dc870e822f2ba7b97f95ec54e62c1
e5d95bda10 [TypeDeclaration] Handle Recursive multiple class string array on CompleteVarDocTypePropertyRector (#520)
2021-07-26 23:57:06 +00:00
Tomas Votruba
211eb8ce3c Updated Rector to commit 834ea497963dbc20a452b0ebabab141ac8ef6681
834ea49796 [TypeDeclaration] Skip multiple class-string[] array on CompleteVarDocTypePropertyRector (#518)
2021-07-26 16:43:00 +00:00
Tomas Votruba
e105af90f5 Updated Rector to commit 89ef54d16c529539c882df7417ebfbb63dc384a3
89ef54d16c fix cs (#517)
2021-07-26 16:26:09 +00:00
Tomas Votruba
2e2725a511 Updated Rector to commit 6478ec1c41639675a88d7056ca441d0acec2ba5e
6478ec1c41 Sync FileCacheStorage with changes from phpstan-src (#498)
2021-07-26 13:28:02 +00:00
Tomas Votruba
97c6e16a85 Updated Rector to commit b47f2c980dac6f39c680c393489c843c3d6a5498
b47f2c980d [TypeDeclaration] Keep simple class on auto import for CompleteVarDocTypePropertyRector (#513)
2021-07-26 13:23:18 +00:00
Tomas Votruba
6ead7ed41b Updated Rector to commit 970769d3f91d6d020e3ab8d8863f4af0e06ca498
970769d3f9 [TypeDeclaration] Handle numeric string check on CompleteVarDocTypePropertyRector (#516)
2021-07-26 13:13:36 +00:00
Tomas Votruba
516a748cf7 Updated Rector to commit b47f2c980dac6f39c680c393489c843c3d6a5498
b47f2c980d [TypeDeclaration] Keep simple class on auto import for CompleteVarDocTypePropertyRector (#513)
2021-07-26 13:12:59 +00:00
Tomas Votruba
c231e32779 Updated Rector to commit eb91c61b9537167d6e07a08eae8874ad2c294f5d
eb91c61b95 [Config] Clean up rector.php config (#514)
2021-07-26 09:06:10 +00:00
Tomas Votruba
dfa7a8133f Updated Rector to commit 923bb729839db311cdc77f3105164949a9da61a7
923bb72983 [Naming] Remove MakeBoolPropertyRespectIsHasWasMethodNamingRector, not reliable and rather PHPStan scope (#511)
2021-07-25 16:57:05 +00:00
Tomas Votruba
3e96cfde08 Updated Rector to commit ba990a2ec7a4569d996ee70e2b6ef1d7d19adef3
ba990a2ec7 [Php74] Skip cast (string) on ReflectionType on ChangeReflectionTypeToStringToGetNameRector (#510)
2021-07-25 14:35:58 +00:00
Tomas Votruba
1139ca19b1 Updated Rector to commit cefa0d516bb4d6d05384f02bca977ba75096f660
cefa0d516b [Config] Clean up rector.php skip option config (#509)
2021-07-25 13:47:12 +00:00
Tomas Votruba
7b92aa73fa Rector 0.11.40 0.11.40 2021-07-25 12:41:49 +00:00
Tomas Votruba
c87080e236 Updated Rector to commit a5d59dab8bd712261c5f0c56be070d7c15487265
a5d59dab8b Remove PropertyAdder, extra layer without value (#507)
2021-07-25 12:40:11 +00:00
Tomas Votruba
a34300b4e6 Updated Rector to commit 875156d6d007df899fe78eb71f3b2f45b8193937
875156d6d0 [PHPStan] Clean up PHPStan ignore error messages (#508)
2021-07-25 12:21:52 +00:00
Tomas Votruba
c4c84e0db7 Updated Rector to commit 34fff11f804db752790ca22c7fd5e69bbf51f037
34fff11f80 Remove deprecated addConstructorDependencyToClass() from AbstractRector class, use PropertyToAddCollector directly instaed (#506)
2021-07-25 11:42:11 +00:00
Tomas Votruba
c141cde162 Updated Rector to commit 34c3e8fce9249c87666ac525aa8fb889d443beca
34c3e8fce9 [TypeDeclaration] Handle (object) cast on CompleteVarDocTypePropertyRector (#503)
2021-07-25 11:41:40 +00:00
Tomas Votruba
3f2ea1ec26 Updated Rector to commit dfbd366b74df51ca25f509c779499cd9978b5045
dfbd366b74 [Transform] Add MethodCallToMethodCallRector (#505)
2021-07-25 11:10:57 +00:00
Tomas Votruba
8f07228ff7 Updated Rector to commit 93add0f6c9aef0d30a46c16be1ac1ad013b6d3e4
93add0f6c9 [TypeDeclaration] Return null when  is null on AllAssignNodePropertyTypeInferer::inferProperty() (#504)
2021-07-25 11:00:04 +00:00
Tomas Votruba
dcbf54a15b Updated Rector to commit a4f8a77418a01e06e79ab23219e7702d0c9c93ea
a4f8a77418 include injected property in deps
2021-07-25 07:52:22 +00:00
Tomas Votruba
4a70b89e41 Updated Rector to commit 4456c4690bbe679448a02e20ebc521b1fa9b6b48
4456c4690b extend AutowiredClassMethodAnalyzer with property
2021-07-25 07:47:04 +00:00
Tomas Votruba
cae78baa44 Rector 0.11.39 0.11.39 2021-07-24 12:10:31 +00:00
Tomas Votruba
4c03335bdf Updated Rector to commit 771a3390b05887e1ff9443cb8b697b3a7455b4ca
771a3390b0 [TypeDeclaration] Handle simple class name as string for non-native class (#501)
2021-07-24 11:53:32 +00:00
Tomas Votruba
9ffc8ec64a Updated Rector to commit 3d1ec1d85daa2f63e80a8189d3a70c236a159e73
3d1ec1d85d bump docs
2021-07-23 16:35:16 +00:00
Tomas Votruba
29501d46b5 Updated Rector to commit 9d51f3c47f6826240523816fd106b6912b42487a
9d51f3c47f [Naming] Fix imported trait names (#500)
2021-07-23 14:43:26 +00:00
Tomas Votruba
bdc5fdd9c5 Updated Rector to commit e3a1f9399b380bc3dd7b6371eeb270aaa14adf96
e3a1f9399b Fix trait check in ClassManipulator (#497)
2021-07-23 12:47:55 +00:00
Tomas Votruba
27e4e06416 Updated Rector to commit 5967ffa2674cda52c5487be141a0b5297e913035
5967ffa267 Fix along other packages gha (#492)
2021-07-23 06:16:10 +00:00
Tomas Votruba
a3e534ff19 Updated Rector to commit db2e76b99cfca0c66d190410f2011a073451e7dc
db2e76b99c load stubs in config
2021-07-22 23:37:17 +00:00
Tomas Votruba
2f9cc5d362 Updated Rector to commit 178f3f643c433c41cbcb05995eaeba9a25a427b7
178f3f643c bump docs (#488)
2021-07-22 18:40:24 +00:00
Tomas Votruba
e5ec4dcb7a Updated Rector to commit c98696c2769bdd0f3c8a7fc3dead625f3ce064f2
c98696c276 [DeadCode] Skip RemoveUnusedPrivatePropertyRector on property used by Trait in Source (#481)
2021-07-22 17:24:18 +00:00
Tomas Votruba
de7dc26c17 Updated Rector to commit 0f9dd92f6c206568dbeb948f98355ecaaff3d205
0f9dd92f6c Fix ClassPropertyAssignToConstructorPromotionRector to skip properties that have attributes (#468)
2021-07-22 17:17:29 +00:00
Tomas Votruba
2601c9a904 Updated Rector to commit 99e5c8add071694fc78f315eaecf42c5edd74aaa
99e5c8add0 [Stubs] Fix Regression Scoped autoload introduced in 0.11.38 (#484)
2021-07-22 17:14:05 +00:00
Tomas Votruba
918f365f5d Updated Rector to commit 17db5110437df6b5610ff1090d9519372bae8e9b
17db511043 [TypeDeclaration] Handle nullable array param type on AddArrayParamDocTypeRector (#485)
2021-07-22 17:04:20 +00:00
Tomas Votruba
29db7ec980 Updated Rector to commit 1747d9899af2115e6aa0af488a106b3abc8ea413
1747d9899a [DeadCode] Skip next used as variable variable on RemoveUnusedVariableAssignRector (#486)
2021-07-22 14:50:45 +00:00
Tomas Votruba
26b3ebb197 Rector 0.11.38 0.11.38 2021-07-21 14:29:45 +00:00
Tomas Votruba
8b47bb5ba9 Updated Rector to commit bba606c609ede6368a7cd1a84c73b9d86b1480aa
bba606c609 Fix alias object imports (#480)
2021-07-21 14:23:45 +00:00
Tomas Votruba
aae88d8c24 Updated Rector to commit dc10595b7c60fef8de68ab6981264dff075a1b23
dc10595b7c [Privatization] Handle empty construct change property to local variable on ChangeLocalPropertyToVariableRector (#479)
2021-07-21 13:50:51 +00:00
Tomas Votruba
e3f99041de Updated Rector to commit 24a32dfefb21f925bbf48ad58b3d834d7988ca40
24a32dfefb Fix docs double import (#478)
2021-07-21 13:46:30 +00:00