36 Commits

Author SHA1 Message Date
Tomas Votruba
23019830ac Updated Rector to commit 99da81012ca04cb5d98883411f17cd4e5be72c98
99da81012c [Core] Refactor RectifiedAnalyzer to only exclude Class_ (#1681)
2022-01-15 17:05:09 +00:00
Tomas Votruba
fd3e7425db Updated Rector to commit 4399f28ee1aeec1bfe4446a97d741cee60c5eaf5
4399f28ee1 [Core] Apply CREATED_BY_RULE attribute as array collection of applied Rector rule (#1600)
2021-12-31 10:33:05 +00:00
Tomas Votruba
1cfe2fe793 Updated Rector to commit c51fcbf5ba8e4530c6992dafba25a447b89f24d0
c51fcbf5ba [Core] [DeadCode] Refactor RectifiedAnalyzer and ExprUsedInNextNodeAnalyzer (#1533)
2021-12-20 18:22:21 +00:00
Tomas Votruba
c726969380 Updated Rector to commit fc10fce13dcf9767f54e4202b509020fed338645
fc10fce13d [Rectify] [Php81] Enable Rectify on Readonly Property only (#1384)
2021-12-04 12:47:17 +00:00
Tomas Votruba
2d7c98b0a1 Updated Rector to commit bc5462b8aeba5369c7476b20b9e0847964bb65ec
bc5462b8ae [DeadCode][EarlyReturn] Handle RemoveUnusedVariableAssignRector + RemoveAlwaysElseRector (#1277)
2021-11-20 13:38:45 +00:00
Tomas Votruba
0fea0fdc92 Updated Rector to commit 08ce1d06edc631bbe6c92482cc82dd35f8d387f6
08ce1d06ed [Php70] Avoid error Undefined property: PhpParser\Node\Stmt\Class_:: on ThisCallOnStaticMethodToStaticCallRector (#1197)
2021-11-09 13:36:07 +00:00
Tomas Votruba
7f56f8ae35 Updated Rector to commit 66800f00f1ec158f96416b8e0b84c93f54abb1d5
66800f00f1 [Scoped] Fixing Scoped build bin rector.php (#1174)
2021-11-07 04:15:35 +00:00
Tomas Votruba
a42ac7439f Updated Rector to commit c3b6efea7ee5351ce66461fe02c5f9b7282816bb
c3b6efea7e Move from CLASS_NODE attribute to more reliable parent node finder (#1162)
2021-11-06 12:10:48 +00:00
Tomas Votruba
bf8d644cbf Updated Rector to commit c31cabf0b3a67d59000824836fa5fc42ec1a2d2f
c31cabf0b3 [MYSQL_TO_MYSQLI] Restore Mysql to Mysqli Behaviour when used with Dead Code SetList (#1161)
2021-11-06 00:53:30 +00:00
Tomas Votruba
4743880dc6 Updated Rector to commit 23046668ed10da4dbe39cbefdeb4c10fa478b81d
23046668ed [PHPStan 1.0] Remove node naming visitors and re-use PHPStan ones (#1144)
2021-11-05 23:24:22 +00:00
Tomas Votruba
a94a50e863 Updated Rector to commit e525dad6ab1a005e79b751f4cfb1eaf94ae3c90f
e525dad6ab [PHPStan 1.0] Use Nette filesystem over phpstan filewriter (#1115)
2021-10-30 14:18:31 +00:00
Tomas Votruba
070eedc010 Updated Rector to commit fd5edffa386fba605d2a4243d67e56e78571d7a5
fd5edffa38 [TypeDeclaration] Add TypedPropertyFromStrictGetterMethodReturnTypeRector (#1048)
2021-10-23 21:09:26 +00:00
Tomas Votruba
9a92488e2c Updated Rector to commit 82b689d71324d0872ca688dddcf2157bfb7d5d3c
82b689d713 add trigger warning about deprecated resolve() and getStaticType() methods in NodeTypeResolver + update all packages (#976)
2021-10-07 19:40:12 +00:00
Tomas Votruba
9d6051f97f Updated Rector to commit 6bfe0133002f30d16489deb9ef6028efdbbaa795
6bfe013300 [NodeCollector] Add ArrayCallableDynamicMethod value object (#951)
2021-10-03 08:23:40 +00:00
Tomas Votruba
1c439c5835 Updated Rector to commit 6ee381754bad543713d7d6661cdde18bdeec4425
6ee381754b [DeadCode] Skip Array Callable dynamic method on RemoveUnusedPrivateMethodRector (#909)
2021-09-21 20:03:28 +00:00
Tomas Votruba
6f36e4ebba Updated Rector to commit 9c52b6367df314666469b583e5a23c80750ed0f6
9c52b6367d [MysqlToMySqli][DeadCode] Handle MYSQL_TO_MYSQLI and DEAD_CODE SetList usage (#884)
2021-09-15 14:16:32 +00:00
Tomas Votruba
516b0c236e Updated Rector to commit ace586b7f28f007f8b9e3b2589434f99d6860616
ace586b7f2 adjust fixture + fixed removing overwriting private functions (#613)
2021-08-08 17:00:17 +00:00
Tomas Votruba
cd8b211b7b Updated Rector to commit bb384013c3f04d9ae1471fdfa50fbff943b7821c
bb384013c3 [CodeQuality] CodeQuality config set list clean up (#606)
2021-08-06 20:12:05 +00:00
Tomas Votruba
ed866c99db Updated Rector to commit 7398a6637c49cd6f329d27a37f5006a69c219924
7398a6637c Add failing test fixture for RemoveUnusedPrivateMethodRector (#604)
2021-08-06 06:45:08 +00:00
Tomas Votruba
d2c1af4455 Updated Rector to commit 738cea7736f865c1d660c1f168fc6e35639466a2
738cea7736 [DeadCode] Skip array_map in class extends Exception on RemoveUnusedPrivateMethodRector (#598)
2021-08-05 12:41:19 +00:00
Tomas Votruba
1452c5d9ff Updated Rector to commit b3480900f3da86846dfabdfcd7e12f07b16a3f78
b3480900f3 [CodingStyle] Remove YieldClassMethodToArrayClassMethodRector, rather PHPStorm job (#576)
2021-08-02 17:48:07 +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
9d280b5757 Updated Rector to commit 40fbe10f105f92d3c895750d1c37c977be951e82
40fbe10f10 [Generics] Remove GenericsPHPStormMethodAnnotationRector, now native in PHPStorm (#444)
2021-07-16 14:37:41 +00:00
Tomas Votruba
dd04e0a00c Updated Rector to commit 9c19b3a1027d1fbb674c98f4d2606420f70f25b3
9c19b3a102 Fix PHPStan notice (#443)
2021-07-16 10:06:10 +00:00
Tomas Votruba
81db79d69e Updated Rector to commit b2c0a05d56fafa8c2690261e28aa515163f5c7eb
b2c0a05d56 [DeadCode] Skip RemoveAssignOfVoidReturnFunctionRector on used in next statement (#434)
2021-07-15 23:10:57 +00:00
Tomas Votruba
cdc3b7adef Updated Rector to commit f451b0b8e1e6761ec7f50809745d44d01caba66d
f451b0b8e1 [PHP 8.0] Bump to promoted properties (#4)
2021-05-10 23:39:21 +00:00
Tomas Votruba
7d36c3b0b9 Updated Rector to commit a80cf5292d6df5e83b7d17c78630506e361bede9
a80cf5292d revert to working scoper 0.14
2021-05-10 22:23:08 +00:00
Tomas Votruba
363a910cf7 Updated Rector to commit a7db1ad94df4879885b9106773d2f8335cb40e49
a7db1ad94d use scoper 0.15
2021-05-10 22:10:16 +00:00
Tomas Votruba
d56e7982d0 Updated Rector to commit dedd4b55fe3e03cae9bd5ac822cfdccd8deb3fb6
dedd4b55fe make node_helper.php safe for similar names
2021-05-09 20:15:43 +00:00
Tomas Votruba
e8a76e8f2b
Do not prefix "parent", "self", "static" and native constants (#6159)
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-04-17 12:09:58 +00:00
Tomas Votruba
27e9ad030a
Remove buggy rules that depend on false condition of all class and calls analysis, to improve static reflection (#5958)
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-03-23 23:13:35 +01:00
Tomas Votruba
ae1c6b90f7
Remove dynamic type checks #2 (#5941) 2021-03-21 21:31:18 +00:00
Tomas Votruba
44375f6637
Post Nette tags split cleanup (#5925)
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-03-20 21:47:40 +00:00
TomasVotruba
b3536831fa move nette tags to own package 2021-03-20 21:16:07 +01:00
TomasVotruba
e13c2ecfd5 update decoupled tags 2021-03-20 21:10:34 +01:00
Tomas Votruba
157c39aefc
[DX] move src/tests rules from micro-packages to single PSR-4 structure (#5826) 2021-03-12 23:20:25 +01:00