3740 Commits

Author SHA1 Message Date
Tomas Votruba
5de35b9706 [PHP] Add SensitiveHereNowDocRector 2018-10-17 09:53:42 +02:00
Tomáš Votruba
25e3c6c511
Merge pull request #706 from rectorphp/php-unset-case
[PHP] Add UnsetCastRector
2018-10-17 15:52:09 +08:00
Tomas Votruba
e2d68961f6 [PHP] Add UnsetCastRector 2018-10-17 09:47:47 +02:00
Tomáš Votruba
a88c3ba9da
Merge pull request #703 from rectorphp/cq-foreach-to-coala
[CodeQuality] Add SimplifyForeachToCoalescingRector
2018-10-17 15:47:22 +08:00
Tomáš Votruba
ca0319687a
Merge pull request #704 from rectorphp/ano-ctor
Add class-based annotation support to AnnotatedPropertyInject... Rector
2018-10-17 00:17:24 +08:00
Tomas Votruba
0cacba00ff Add class-based annotation support to AnnotatedPropertyInjectToConstructorInjectionRector 2018-10-16 23:41:18 +08:00
Tomas Votruba
86614bba3a [Architecture] Add failing test for #700 2018-10-16 20:53:22 +08:00
Tomas Votruba
dbdf0b82cf Add autoregistration of code-quality services to make level up-to-date 2018-10-16 20:47:08 +08:00
Tomas Votruba
e21ebbbaf2 [CodeQuality] Add SimplifyForeachToCoalescingRector 2018-10-16 15:34:26 +08:00
Tomáš Votruba
f76048c961
Merge pull request #701 from rectorphp/cq-binary-switch
[CodeQuality] Add SimplifyBinarySwitchRector
2018-10-16 13:33:32 +08:00
Tomas Votruba
986c5802e8 [CodeQuality] Add SimplifyBinarySwitchRector 2018-10-16 12:49:55 +08:00
Tomas Votruba
2ed272973d move RobotLoader cache to tmp instead of root 2018-10-16 12:46:42 +08:00
Tomáš Votruba
d7a6202325
Merge pull request #699 from rectorphp/cq-simplify-callbacks
[CodeQuality] Add SimplifyArrayCallableRector
2018-10-16 11:01:54 +08:00
Tomas Votruba
2d9618e175 add more array with callback functions 2018-10-16 00:04:08 +08:00
Tomas Votruba
3c0873e3b3 [CodeQuality] Add SimplifyArrayCallableRector 2018-10-16 00:00:46 +08:00
Tomáš Votruba
68b3372cc5
Merge pull request #698 from rectorphp/cq-false-to-negate
[CodeQuality] Add SimplifyFalseComparisonToNegateRector
2018-10-15 22:07:28 +08:00
Tomas Votruba
8a9f9a58c4 manual cleanup of such case 2018-10-15 21:57:40 +08:00
Tomas Votruba
e731e46541 restor 3rd party comparison strict, might be relevant 2018-10-15 21:52:08 +08:00
Tomas Votruba
ba0c3eea95 apply this Rector to code 2018-10-15 21:49:45 +08:00
Tomas Votruba
a7afe1fed9 [CodeQuality] Add SimplifyFalseComparisonToNegateRector 2018-10-15 21:47:46 +08:00
Tomáš Votruba
5be9bcc2fd
Merge pull request #697 from rectorphp/cq-negative
[CodeQuality] Expand SimplifyConditionsRector by Identical comparisons
2018-10-15 21:10:24 +08:00
Tomas Votruba
5745eab201 apply this Rector to code 2018-10-15 21:04:55 +08:00
Tomas Votruba
120dc7c538 Expand SimplifyConditionsRector by Identical comparisons 2018-10-15 21:04:55 +08:00
Tomáš Votruba
4a623fa0c7
Merge pull request #696 from rectorphp/standard-printer-trait
make use of BetterStandardPrinterTrait in Rectors
2018-10-15 18:12:03 +08:00
Tomas Votruba
da570b7205 make use of BetterStandardPrinterTrait in Rectors 2018-10-15 18:09:27 +08:00
Tomáš Votruba
123e1dfbd1
Merge pull request #695 from rectorphp/cq-mirror
[CodeQuality] Add SimplifyMirrorAssignRector
2018-10-15 17:46:13 +08:00
Tomas Votruba
eb65b54111 [CodeQuality] Add SimplifyMirrorAssignRector 2018-10-15 17:41:53 +08:00
Tomas Votruba
aa2782cf0c keep only create-rector.yml.dist as example 2018-10-15 17:10:45 +08:00
Tomáš Votruba
87c955e846
Merge pull request #694 from rectorphp/name-analyzer
Add NameResolver, to cover functionality of naming
2018-10-15 17:07:00 +08:00
Tomas Votruba
6c752f5128 Add NameResolver, to cover functionality of naming 2018-10-15 16:46:15 +08:00
Tomáš Votruba
74b0961523
Merge pull request #693 from rectorphp/types-cleanup
Make use of TypeAnalyzerTrait and NameAnalyzerTrait
2018-10-15 14:55:02 +08:00
Tomas Votruba
5933cca87d remove callAnalyzer form Rectors 2018-10-15 14:45:34 +08:00
Tomas Votruba
5deb94f9ff unite refactor(node) naming to node, to make clear the main argument name 2018-10-15 14:45:34 +08:00
Tomas Votruba
f0fdc8e410 remove unused methods 2018-10-15 14:36:25 +08:00
Tomas Votruba
d4009b3888 Add NameAnalyzerTrait 2018-10-15 14:36:25 +08:00
Tomas Votruba
0e33b525fe Remove unused methods 2018-10-15 14:36:25 +08:00
Tomas Votruba
3cb093f87f init getTypes() remove in other analyzers 2018-10-15 10:35:45 +08:00
Tomas Votruba
66b8c86d72 add CakePHP 3.7 set [closes #687] 2018-10-15 10:34:38 +08:00
Tomáš Votruba
a24351e14f
Merge pull request #691 from rectorphp/cq-array-values
[CodeQuality] Add SimplifyInArrayValuesRector
2018-10-15 08:35:53 +08:00
Tomas Votruba
b4b728dc28 [CodeQuality] Add SimplifyInArrayValuesRector 2018-10-15 08:30:41 +08:00
Tomas Votruba
deff6bb56e [ContributorTools] Fix Rector path in test config 2018-10-15 08:26:09 +08:00
Tomas Votruba
0bda599a8b update example to real one 2018-10-15 08:23:23 +08:00
Tomas Votruba
5bc58a84a1 gitignore: add create-rector.yml 2018-10-15 08:21:55 +08:00
Tomáš Votruba
ca3ae3f905
Merge pull request #688 from rectorphp/type-analyzer-trait
Add TypeAnalyzerTrait to cleanup Rectors
2018-10-15 08:20:11 +08:00
Tomas Votruba
9b569f6c44 make use of TypeAnalyzerTrait 2018-10-15 08:14:21 +08:00
Tomas Votruba
68f4efc502 Add TypeAnalyzerTrait 2018-10-15 08:14:21 +08:00
Gabriel Caruso
24c99f488f
Merge pull request #690 from rectorphp/missing-code-quality-rectors
[CodeQuality] Add missing rectors
2018-10-14 16:47:21 -03:00
Gabriel Caruso
c128c0bbf4
[CodeQuality] Add missing rectors
These new Rector were added in #684, #682, #681, #677 and #676
2018-10-14 16:44:32 -03:00
Gabriel Caruso
d4253c9765
Merge pull request #689 from adrienbrault/patch-1
Fix guzzle50.yml syntax error
2018-10-14 15:48:28 -03:00
Adrien Brault
420f2bf1f6
Fix guzzle50.yml syntax error
Unexpected characters (: 'getPath']) at line 18 (near "'GuzzleHttp\\get_path': ['GuzzleHttp\\Utils': 'getPath']").
2018-10-14 18:19:08 +02:00