9387 Commits

Author SHA1 Message Date
Tomas Votruba
8928593a1d
Merge pull request #3653 from dobryy/split-underscore-to-pascal-case-variable-property-name
[Naming] Split UnderscoreToPascalCaseVariableAndPropertyNameRector
2020-07-05 21:54:11 +02:00
dobryy
98045758dd Split into two rules and skip magically accessed property names 2020-07-05 21:48:23 +02:00
kodiakhq[bot]
771b2dc85d
Merge pull request #3654 from rectorphp/template-fix
[Sension] improve template annotation
v0.7.43
2020-07-05 19:20:01 +00:00
TomasVotruba
836200068b improve template annotation 2020-07-05 21:16:17 +02:00
Tomas Votruba
26c305774f
Merge pull request #3650 from Gymnasiast/patch-1 2020-07-05 14:28:29 +02:00
Michael Steenbeek
34ab9b2ca8
Also fix the typo in ContainerBuilderCompileEnvArgumentRector.php 2020-07-05 12:33:42 +02:00
kodiakhq[bot]
2c5522458b
Merge pull request #3651 from rectorphp/fix-on-static-call-name
fix get name or static call
2020-07-05 09:36:06 +00:00
TomasVotruba
dc3b09c1a7 fix get name or static call 2020-07-05 11:32:08 +02:00
TomasVotruba
9d938daffb use early return 2020-07-05 02:07:55 +02:00
TomasVotruba
f00eb1c7b7 skip inversion of weak comparison 2020-07-05 01:58:13 +02:00
derrickschoen
13095696b7 Missing Use statement 2020-07-05 01:28:05 +02:00
derrickschoen
20dba391a6 Whitespace 2020-07-05 01:28:05 +02:00
derrickschoen
34b1d76f3d BooleanOr to BooleanAnd needed for other rectors 2020-07-05 01:28:05 +02:00
derrickschoen
4d5003c9bd BooleanAnd is not the inverse of BooleanOr 2020-07-05 01:28:05 +02:00
derrickschoen
169d075f97 BooleanAnd is not the inverse of BooleanOr 2020-07-05 01:28:05 +02:00
derrickschoen
372f08f013 Fix ifs with else falling through if they are the last if. 2020-07-05 01:28:05 +02:00
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