9421 Commits

Author SHA1 Message Date
Derrick Schoen
09fd6fee8a Found a bug where if there is a nested if with an "OR" and all conditions evaluate to true, the rector changes the output.
When calling invertCondition() with a BooleanOr, it returns a BooleanAnd that needs a BooleanNot added.

Attempting to rebase and squanch to one commit.
2020-07-05 01:28:05 +02:00
Michael Steenbeek
722ac45e16
Fix typo in rector_rules_overview.md 2020-07-04 23:14:12 +02:00
Tomas Votruba
82d2270835
Merge pull request #3649 from rectorphp/concat-simplify
decouple createConcat() method
2020-07-04 19:10:16 +02:00
TomasVotruba
8776345920 decouple createConcat() method 2020-07-04 18:01:55 +02:00
TomasVotruba
ae2d069ba1 composer: bump to latest Symplify 8.1.3 2020-07-04 17:40:13 +02:00
TomasVotruba
769e25ce8f use property_exist over isset magic 2020-07-04 17:37:44 +02:00
TomasVotruba
3353bc2ed4 update Fixture splitter class name 2020-07-04 17:23:50 +02:00
Tomas Votruba
c349a5abce
Merge pull request #3648 from dobryy/replace-multiple-class-occurrences-in-string-rule
update rule to support multiple occurrences of the class in the string
2020-07-04 17:19:50 +02:00
dobryy
0eb87f03e7 pull request comments related changes 2020-07-04 17:03:52 +02:00
dobryy
f10fe2b33d update rule to support multiple occurrences of the class in the string 2020-07-03 23:54:20 +02:00
TomasVotruba
3fb42ea735 remove forgotten dev dependency 2020-07-03 18:08:51 +02:00
kodiakhq[bot]
68aa6c73e2
Merge pull request #3644 from rectorphp/template-fix
[Sensio] Fix nested function scope of return
2020-07-03 15:57:15 +00:00
TomasVotruba
94252d3eb3 [Sensio] Fix nested function scope of return 2020-07-03 17:53:40 +02:00
TomasVotruba
cbbb65715a fix cs v0.7.42 2020-07-03 16:44:43 +02:00
TomasVotruba
b3f6838eb5 restore original composer 2020-07-03 16:41:59 +02:00
TomasVotruba
9ac9809919 decouple methods 2020-07-03 15:05:25 +02:00
TomasVotruba
743171f881 swap file/content 2020-07-03 14:59:29 +02:00
TomasVotruba
0a8bef35f8 remove extra semicolon 2020-07-03 01:50:42 +02:00
TomasVotruba
ea078b8b7e fix extra path 2020-07-03 01:49:27 +02:00
TomasVotruba
2eae52cea6 fix require autoload path 2020-07-03 01:48:43 +02:00
TomasVotruba
715d9c535a fix path 2020-07-03 01:40:05 +02:00
TomasVotruba
912e7f98d6 fix path 2020-07-03 01:38:32 +02:00
TomasVotruba
77130343d9 lock to php-parser 4.5, till phpstan is ready 2020-07-03 01:32:34 +02:00
TomasVotruba
7c9df7a636 drop broken reflection ci build, not needed any more 2020-07-03 01:21:24 +02:00
TomasVotruba
d7c5a923c1 compiler - add PHP 7.3- support for php-parser src 2020-07-03 01:13:37 +02:00
Tomas Votruba
47fc574747
Merge pull request #3638 from rectorphp/speed-limits 2020-07-02 15:40:09 +02:00
TomasVotruba
a0fde28793 remove fixes issue test case 2020-07-02 15:22:45 +02:00
TomasVotruba
3da25665ba remove covered issue 2020-07-02 15:21:23 +02:00
TomasVotruba
f1d54301a3 remove unused RectorContainerFactoryTest, also createFromSet() method 2020-07-02 15:19:07 +02:00
TomasVotruba
97571e6159 speedup DoctrineRepositoryAsService 2020-07-02 15:15:49 +02:00
TomasVotruba
aed222aecc remove confirmed test case 2020-07-02 15:09:47 +02:00
kodiakhq[bot]
2a897e0556
Merge pull request #3637 from rectorphp/probe-speedup
[DynamicTypeAnalysis] Speedup dynamic type storage in tests
2020-07-02 13:08:57 +00:00
TomasVotruba
bef11bd7be add speed trap 2020-07-02 15:06:18 +02:00
TomasVotruba
b569784281 add ProbeStorageInterface 2020-07-02 15:05:28 +02:00
TomasVotruba
0e2b52000d note about hashes in tests compoarision 2020-07-02 14:19:23 +02:00
Tomas Votruba
0beb8a3b01
Merge pull request #3636 from rectorphp/speedup 2020-07-02 14:07:22 +02:00
TomasVotruba
9a75aaa4b9 rename issue 2863 to CommentPreserving 2020-07-02 13:55:39 +02:00
TomasVotruba
574de08dfa remove issue-tests, already covered in specific rule tests 2020-07-02 13:40:51 +02:00
TomasVotruba
76d8044eb0 spacing 2020-07-02 01:27:04 +02:00
Tomas Votruba
32650bc5b3
Merge pull request #3634 from rectorphp/ci-run
fix rector.phar build
2020-07-02 01:22:28 +02:00
TomasVotruba
ade98bb5fd fix rector.phar build 2020-07-02 01:19:45 +02:00
TomasVotruba
c69ed7d637 make local const private 2020-07-02 01:01:45 +02:00
Tomas Votruba
d9584305ce
Merge pull request #3633 from rectorphp/fix-array-this-call
[CodeQuality] fix callable this if part of the method
2020-07-02 01:01:19 +02:00
TomasVotruba
9656d25eb1 fix callable this if part of the method 2020-07-02 01:00:24 +02:00
TomasVotruba
f15019a28b use extact version in phpstan compiler to rector.phar 2020-07-02 00:49:00 +02:00
Tomas Votruba
e7dde4c0d5
Merge pull request #3632 from rectorphp/repeated-literal-class
[SOLID] Prevent adding constant, that is reserved keyword in RepeatedLiteralToClassConstantRector
2020-07-02 00:45:43 +02:00
TomasVotruba
9327cffa0e [SOLID] Prevent adding constant, that is reserved keyword in RepeatedLiteralToClassConstantRector 2020-07-02 00:45:01 +02:00
Tomas Votruba
02bf6bda1b
Merge pull request #3631 from rectorphp/complete-dev-deps
[phar] include phpstan dev deps
2020-07-02 00:36:13 +02:00
TomasVotruba
f5365a6dbc [phar] include phpstan dev deps 2020-07-02 00:33:02 +02:00
Tomas Votruba
a922d77d2e
Merge pull request #3630 from rectorphp/reflection-over-broker 2020-07-02 00:00:39 +02:00