1863 Commits

Author SHA1 Message Date
Tomas Votruba
689555219f apply ConfiguredProvideConfigRector
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
2018-12-04 21:17:06 +01:00
Tomas Votruba
1450f0af45 Update Sensio tests
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
2018-12-04 21:11:22 +01:00
Tomas Votruba
e60a009cc2 make use of FileFinder in packages builder, remove duplicated source loading in AdditionalAutoloader
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
2018-12-04 21:11:22 +01:00
Tomas Votruba
3e74cf4c85 tests cleanup
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
2018-12-04 15:34:40 +01:00
Tomas Votruba
3420edeae3 add JoinWrongAndCorrectTestsRector
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
2018-12-04 03:10:15 +01:00
Tomas Votruba
14580c07e7 add old way to IntegrationRectorTestCaseTrait
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
2018-12-03 22:50:16 +01:00
Tomas Votruba
bef084c11c drop manual rebuilds, fast enough
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
2018-12-03 21:19:21 +01:00
Tomas Votruba
ac909ace06 CountOnNullRectorTest - change to integration
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
2018-12-03 20:57:37 +01:00
Tomas Votruba
50eb735abd fix cs
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
2018-12-03 19:35:45 +01:00
Tomas Votruba
c16e48974c resolve anonymous assert name phpstan vs php-parser incompatbility
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
2018-12-03 19:35:45 +01:00
Tomas Votruba
78a1e5a4e4 fix cs
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
2018-12-03 19:14:34 +01:00
Sullivan SENECHAL
4762edde29
Return error code on diff with dry-run option 2018-12-03 15:39:51 +01:00
Sullivan SENECHAL
a970b0d7bb
Apply Rector process 2018-12-03 15:39:51 +01:00
Tomas Votruba
9faa7fbd4b [PHP] Add *ScalarTypehintRector + *TypeInfo
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
2018-12-01 15:55:46 +01:00
Tomas Votruba
296d3a32e4 Make PseudoNamespaceToNamespaceRector config consistent with rest of Rectors [closes #781]
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
2018-12-01 13:15:17 +01:00
Tomas Votruba
abbbca3e06 fix Symfony 4.2 process compat
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
2018-11-30 17:46:40 +01:00
Tomas Votruba
26253a0872 make ECS optional dependency to reduce amount of installed packages and allow own cs tools
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
2018-11-30 17:46:40 +01:00
Tomas Votruba
15bafc3d36 docs: update How to create own Rector tutorial 2018-11-11 14:09:58 +01:00
Tomas Votruba
0abecd8087 use short config in code samples + update Rector overview 2018-11-11 14:09:49 +01:00
Tomas Votruba
3ecf8172ed validate condition in BinaryOpMaintainer 2018-11-09 23:25:05 +01:00
Tomas Votruba
ea28a2600a fix SimplifyEmptyArrayCheckRector for not empty non-arrays 2018-11-09 23:22:42 +01:00
Tomas Votruba
9eacf38b3b resolve only types with scope 2018-11-09 19:32:50 +01:00
Tomas Votruba
f36d033f97 add shortcuts to ProcessCommand options 2018-11-09 19:14:47 +01:00
Tomas Votruba
b0fb72623d inline unsued variable 2018-11-09 19:01:02 +01:00
Tomas Votruba
3491f386a9 reset applied rectors 2018-11-09 19:00:19 +01:00
Tomas Votruba
5b050a09c2 Add BetterStandardPrinter comment 2018-11-09 18:42:50 +01:00
Tomas Votruba
904417add9 merge NodeAddingTrait and NodeRemovingTrait to NodeCommandersTrait 2018-11-09 17:17:33 +01:00
Tomas Votruba
b789d2b1e4 fixup! show applied Rectors even on adding/removing nodes 2018-11-09 15:47:51 +01:00
Tomas Votruba
7682a10dd9 show applied Rectors even on adding/removing nodes 2018-11-09 15:47:23 +01:00
Tomas Votruba
b390f1b887 add isActive() to CommanterInterface 2018-11-09 15:46:51 +01:00
Tomas Votruba
f05c71c58d do not touch end newlines, keep only in tests 2018-11-09 13:36:58 +01:00
Tomas Votruba
1be856068b show config on run 2018-11-09 01:54:33 +01:00
Tomas Votruba
36dc29b56d merge Utils package to PhpParser 2018-11-08 13:04:38 +01:00
Tomas Votruba
b14f326697 Show version run [closes #774] 2018-11-08 12:24:55 +01:00
Tomas Votruba
9201ad86e2 cleanup [skip ci] 2018-11-07 23:38:44 +01:00
Tomas Votruba
52d133f1f1 move VariableInfo to Node namespace 2018-11-07 23:31:07 +01:00
Tomas Votruba
29e933c66b Add PropertyAddingCommander 2018-11-07 23:24:29 +01:00
Tomas Votruba
efc39b394d Add NodeAddingCommander 2018-11-07 21:58:41 +01:00
Tomas Votruba
b62c31bcad Add NodeRemovingCommander 2018-11-07 21:30:55 +01:00
Tomas Votruba
bf37049776 Move Expression re-type to AbstractRector 2018-11-07 20:52:37 +01:00
Tomas Votruba
51443d27ec misc 2018-11-07 20:39:33 +01:00
Tomas Votruba
ec6378f2b8 Allow 2nd Node in BinaryOpMaintainer 2018-11-07 02:29:05 +01:00
Tomas Votruba
8cce043697 make use of BinaryOpMaintainer 2018-11-07 01:24:44 +01:00
Tomas Votruba
082864b772 fix SimplifyEmptyArrayCheckRector for non-empty cases 2018-11-07 01:07:31 +01:00
Tomas Votruba
e0ff2bcf60 Add AppliedRectorCollector 2018-11-05 02:31:28 +01:00
Tomas Votruba
9cd672b571 do not report all loaded Rector on start, no added value 2018-11-05 02:31:25 +01:00
Tomas Votruba
f6b786c749 show exceptions on -v 2018-11-05 02:31:25 +01:00
Tomas Votruba
0e1c24cdbe Add and <-> or to AssignAndBinaryMap inversion 2018-11-05 01:56:49 +01:00
Tomas Votruba
b0bb0568ca show Rector class on caused error 2018-11-05 00:36:12 +01:00
Tomas Votruba
e713775f20 add --debug option 2018-11-04 22:55:16 +01:00