Commit Graph

3068 Commits

Author SHA1 Message Date
Tomas Votruba
44ed5df29f Updated Rector to commit 9ffa707afd96ae67e73d52a1e1dfab478d251e12
9ffa707afd Remove unused priority aware sorter etc (#3118)
2022-11-28 12:14:20 +00:00
Tomas Votruba
23a994ee6e Updated Rector to commit 183bb5bda001a9d8d7302a350fe4c8979dbe4f19
183bb5bda0 Remove ReturnTypeDeclarationReturnTypeInferer (#3117)
2022-11-28 12:02:35 +00:00
Tomas Votruba
7feb5bf3e3 Updated Rector to commit 742378fb0f73a07fd8d63c9dd41ea5f6b8021ef2
742378fb0f [TypeDeclaration] Add AddReturnTypeDeclarationFromYieldsRector (#3114)
2022-11-28 11:47:46 +00:00
Tomas Votruba
cc9387f91d Updated Rector to commit fdb9239a9f079bef34db3e0b864ebbc996022c12
fdb9239a9f [CodeQuality] Skip from non-typed param on SimplifyEmptyCheckOnEmptyArrayRector (#3115)
2022-11-28 10:39:45 +00:00
Tomas Votruba
060a00ccd9 Updated Rector to commit 93e87a1574bf15cb21a9d5eb0ef84d6a91a30f07
93e87a1574 [Php80] Do not remove existing attribute on NestedAnnotationToAttributeRector (#3116)
2022-11-28 10:38:42 +00:00
Tomas Votruba
cef35235bd Updated Rector to commit c72e697796062def8dff0db00d3ae875ec18fb3a
c72e697796 Remove return doc resolving from ReturnTypeDeclarationRector (#3113)
2022-11-28 01:16:49 +00:00
Tomas Votruba
84537d899c Updated Rector to commit 06a050a11a8466ede78981a4209f45e4c9e4e7a8
06a050a11a cs
2022-11-28 00:30:00 +00:00
Tomas Votruba
82b9caaed2 Updated Rector to commit 6a87f70301abfd2e521ed24ac7190ce234a06c26
6a87f70301 user error const
2022-11-28 00:28:34 +00:00
Tomas Votruba
10623e91f0 Updated Rector to commit a0db5e38beebe47e8d0edc84fb8148f57001649e
a0db5e38be remove from set
2022-11-28 00:23:25 +00:00
Tomas Votruba
105da345bb Updated Rector to commit ab670b487796369245cef17254d310b56805633c
ab670b4877 note
2022-11-28 00:21:32 +00:00
Tomas Votruba
116d294510 Updated Rector to commit 5eff14fcc51da2ba72b763be5cd60183b9db46bc
5eff14fcc5 Deprecated and remove AddArrayParamDocTypeRector to work with strict type declarations only (#3112)
2022-11-28 00:05:06 +00:00
Tomas Votruba
d27ad935cb Updated Rector to commit 83b13f530c9612a65ff921c994e7fa0cd29a21bf
83b13f530c Remove deprecated ParamTypeDeclarationRector, that treated docs as strict types to keep type declaration set reliable (#3111)
2022-11-27 23:28:48 +00:00
Tomas Votruba
997c77c140 Updated Rector to commit 0d8c29645d2beaf5e0c1b96215628e5bae16c7f5
0d8c29645d [TypeDeclaration] Decouple AddParamTypeFromPropertyTypeRector (#3109)
2022-11-27 23:03:34 +00:00
Tomas Votruba
7eb6b4b9d3 Updated Rector to commit f862bf997aa6cb52d0c2fa3ed75744e4da1b3475
f862bf997a Remove GetterNodeParamTypeInferer (#3108)
2022-11-27 21:45:20 +00:00
Tomas Votruba
9149620423 Updated Rector to commit ca8249d3c0abad56143d7ecd17b08fe4d0764e30
ca8249d3c0 Enable spl array rule (#3107)
2022-11-27 21:29:39 +00:00
Tomas Votruba
00d4ffef47 Updated Rector to commit 803fad69aeb8c9f417923e24d877c521e93df30a
803fad69ae Enable PHPUnit data provider rule (#3106)
2022-11-27 21:23:52 +00:00
Tomas Votruba
f0d81253f6 Updated Rector to commit 10c76b3d85cc21a8834cd8952ff47a6bbcbf5915
10c76b3d85 [TypeDeclaration] Add AddParamTypeSplFixedArrayRector (#3105)
2022-11-27 21:07:35 +00:00
Tomas Votruba
b492db7306 Updated Rector to commit 48febdb978201ffdd2d62ccb970ede09c3160134
48febdb978 [TypeDeclaration] Add AddParamTypeBasedOnPHPUnitDataProviderRector + remove too narrow KnownArrayParamTypeInferer (#3104)
2022-11-27 17:56:33 +00:00
Tomas Votruba
566033e175 Updated Rector to commit 2af3c7fb68f59fbc5f8ffee9a4fa80d430331159
2af3c7fb68 Deprecated type-declaration-strict to type-declaration set, as single group of rules (#3103)
2022-11-27 16:42:00 +00:00
Tomas Votruba
067bd1245f Updated Rector to commit 1f8c88a5f1966ba9f3ec740f8c9bebc13f6d46f4
1f8c88a5f1 fix reporting on renamed proeprty match type (#3098)
2022-11-26 13:09:30 +00:00
Tomas Votruba
3b829bfdce Updated Rector to commit 07b529abc4a1e8cd8ebe0ea90333a15016ab5062
07b529abc4 [BetterPhpDocParser] Call phpdocInfo->markAsChanged() on change param/return type on PhpDocTypeChanger (#3099)
2022-11-26 13:08:12 +00:00
Tomas Votruba
05578e7653 Updated Rector to commit f37a6eb0de44306065b24137a7922190622f5ccc
f37a6eb0de Add ClassOnThisVariableObjectRector to rules docs (#3096)
2022-11-26 10:04:16 +00:00
Tomas Votruba
f4d905239b Updated Rector to commit 9a93704c5aa267807287645f9d07772a554ac960
9a93704c5a Add parent constructor call only once (#3094)
2022-11-26 09:45:45 +00:00
Tomas Votruba
0442e9ecd7 Updated Rector to commit c98ec0e60219fdde5842e6efe0afa6848c5d3f5e
c98ec0e602 Fix ClassOnThisVariableObjectRector code example (#3095)
2022-11-26 09:30:32 +00:00
Tomas Votruba
e7ef0c8412 Updated Rector to commit 1e8ffcc6a113ae4ad2a3e04b86d2f7ef22bbac01
1e8ffcc6a1 [Php80] Add ClassOnThisVariableObjectRector (#3093)
2022-11-25 23:37:32 +00:00
Tomas Votruba
96db1edee6 Updated Rector to commit 8ef808705cd8f467602f2411ec831552648295ae
8ef808705c deprecate createShortClassConstFetch() as the FQN must be used by convention (#3092)
2022-11-25 15:33:24 +00:00
Tomas Votruba
bd5d4027f7 Updated Rector to commit 8ef808705cd8f467602f2411ec831552648295ae
8ef808705c deprecate createShortClassConstFetch() as the FQN must be used by convention (#3092)
2022-11-25 15:17:49 +00:00
Tomas Votruba
aecb5f86de Updated Rector to commit 8ef808705cd8f467602f2411ec831552648295ae
8ef808705c deprecate createShortClassConstFetch() as the FQN must be used by convention (#3092)
2022-11-25 15:06:04 +00:00
Tomas Votruba
d446f7302b Updated Rector to commit 7842486329539de6901544f0e50707b6a2aea29e
7842486329 Fix few rules reporting in case of no change (#3090)
2022-11-24 14:41:27 +00:00
Tomas Votruba
4a64f39171 Updated Rector to commit 7842486329539de6901544f0e50707b6a2aea29e
7842486329 Fix few rules reporting in case of no change (#3090)
2022-11-24 14:31:52 +00:00
Tomas Votruba
91fba736ad Updated Rector to commit b981b372c1d56437ad16c19bcace3f94fe7519c7
b981b372c1 end of line
2022-11-24 11:55:01 +00:00
Tomas Votruba
c856b5faf0 Updated Rector to commit a9372bb3e90aa966412b2deab075a44769bb119c
a9372bb3e9 Add list-rules command for tool interoperabtility (#3087)
2022-11-23 11:11:18 +00:00
Tomas Votruba
8b12bd8a12 Updated Rector to commit 335d593e34bbc124a505bdb150eb971fb92a0e87
335d593e34 [TypeDeclaration] Handle return self on TypedPropertyFromStrictGetterMethodReturnTypeRector on php 8.0 feature enabled (#3088)
2022-11-23 10:02:01 +00:00
Tomas Votruba
ed44a0660b Updated Rector to commit 30afbb8da236ab0935851b91a7fb4b5cf26aa2e8
30afbb8da2 Fix StrContainsRector when strpos offset is set (#3086)
2022-11-23 07:31:53 +00:00
Tomas Votruba
fde9488adf Updated Rector to commit 30afbb8da236ab0935851b91a7fb4b5cf26aa2e8
30afbb8da2 Fix StrContainsRector when strpos offset is set (#3086)
2022-11-22 20:11:10 +00:00
Tomas Votruba
8a05dae6dd Updated Rector to commit 30afbb8da236ab0935851b91a7fb4b5cf26aa2e8
30afbb8da2 Fix StrContainsRector when strpos offset is set (#3086)
2022-11-22 20:03:52 +00:00
Tomas Votruba
f4e86ad8b3 Updated Rector to commit eddc376c77b1211e055e7cdbc8214c3d1dae3d8a
eddc376c77 [Core] Remove RectifiedNode value object for RectifiedAnalyzer (#3079)
2022-11-21 17:08:26 +00:00
Tomas Votruba
d164f1a05f Updated Rector to commit eddc376c77b1211e055e7cdbc8214c3d1dae3d8a
eddc376c77 [Core] Remove RectifiedNode value object for RectifiedAnalyzer (#3079)
2022-11-21 16:16:00 +00:00
Tomas Votruba
957a902ebd Updated Rector to commit eddc376c77b1211e055e7cdbc8214c3d1dae3d8a
eddc376c77 [Core] Remove RectifiedNode value object for RectifiedAnalyzer (#3079)
2022-11-21 14:49:30 +00:00
Tomas Votruba
a5406b6411 Updated Rector to commit eddc376c77b1211e055e7cdbc8214c3d1dae3d8a
eddc376c77 [Core] Remove RectifiedNode value object for RectifiedAnalyzer (#3079)
2022-11-20 12:34:31 +00:00
Tomas Votruba
e5b061e232 Updated Rector to commit 23c2282d9aecc36c9123656be3b39dc8edca795e
23c2282d9a [ci] run phpstan on packages too to detect bugs in configs (#3081)
2022-11-19 12:05:34 +00:00
Tomas Votruba
75e646ce54 Updated Rector to commit 6c7caa63c4025b47a382cd2e28b6f05fbcb55e71
6c7caa63c4 Reverts Use MethodCallRename directly (#3080)
2022-11-19 11:50:17 +00:00
Tomas Votruba
141dc65509 Updated Rector to commit 24b9eb7a4cf97a05b66163545a9d315e0f15d7f5
24b9eb7a4c [Core] Refactor CreatedByRuleDecorator to make consistent check for consecutive same Rector run (#3078)
2022-11-19 07:50:13 +00:00
Tomas Votruba
87bf8a85b4 Updated Rector to commit 31bf9e468a1c271296236e6363a4d7e69f7f73c1
31bf9e468a Use MethodCallRename directly (#3077)
2022-11-18 21:07:17 +00:00
Tomas Votruba
f30d1123a7 Updated Rector to commit 0d16e131d69ce999dea28bde40af1f6be3edbd7d
0d16e131d6 remove monolog 2.0 set, only marginal and beyond full path (#3076)
2022-11-18 20:56:35 +00:00
Tomas Votruba
3a59daa588 Updated Rector to commit a1ec5d278803a7f31105911da8063ca42ded2735
a1ec5d2788 Cleanup PHPStan errors (#3075)
2022-11-18 20:47:19 +00:00
Tomas Votruba
dcc7f6941e Updated Rector to commit b5ddb028c0b29c03b20fb4967f88873ddfd42411
b5ddb028c0 Skip MakeTypedPropertyNullableIfCheckedRector for constructor assigment. (#3074)
2022-11-18 00:08:55 +00:00
Tomas Votruba
d085266247 Updated Rector to commit a1df08d2dfe392f42b58288c47646e2a565851dc
a1df08d2df [Core] Connect Expression parent Node on transform Stmt to Expr (#3071)
2022-11-17 10:57:22 +00:00
Tomas Votruba
8360fa1a7a Updated Rector to commit a8f322ad7e93f7902fca0a057e8d604482f71080
a8f322ad7e [Core] Remove BetterStandardPrinter::pStmt_Class() (#3072)
2022-11-17 10:44:46 +00:00
Tomas Votruba
ad35b62266 Updated Rector to commit 8ac960d30cd26f5e071cda5835e4df5c26d30314
8ac960d30c fix(UpdateFileNameByClassNameFileSystemRector): compare shortClass Wi… (#3070)
2022-11-16 21:18:32 +00:00