5200 Commits

Author SHA1 Message Date
Adamo Crespi
761c720068
Update packages/CodingStyle/tests/Rector/Use_/RemoveUnusedAliasRector/Fixture/different_namespaces_same_name.php.inc
Co-Authored-By: Tomáš Votruba <tomas.vot@gmail.com>
2019-06-04 11:12:40 +02:00
Aerendir
cf92b2a53a Don't remove aliases of classes with same name but different namespaces.
Issue #1537.
2019-06-03 18:09:40 +02:00
Tomáš Votruba
cbdb6fa8a4
Merge pull request #1524 from rectorphp/spacing-doc
Cover multiline in description-aware nodes [closes #1522]
2019-06-03 01:07:26 +03:00
Tomas Votruba
86c39fc98a try to fix broken indent in param description 2019-06-02 23:33:37 +03:00
Tomas Votruba
cbfa9e1676 add failing test for #1522 2019-06-02 18:06:51 +03:00
Tomas Votruba
068329b141 [Symfony] Add MakeCommandLazyRector 2019-06-02 18:06:51 +03:00
Tomáš Votruba
f53260958e
Merge pull request #1523 from rectorphp/ordering
make RectorsFinder return consistent order by shorter names
2019-06-02 11:01:14 +03:00
Tomas Votruba
4049b579c4 make RectorsFinder return consistent order by shorter names 2019-06-02 10:45:57 +03:00
Tomas Votruba
4e6d1610ca update CHANGELOG v0.5.3 2019-06-01 12:58:27 +03:00
Tomáš Votruba
493ca3dd88
make LevelOptionResolver smarter (#1521)
make LevelOptionResolver smarter
2019-06-01 12:14:31 +03:00
Tomas Votruba
6ddf372c15 add --set alias to --level, better name 2019-06-01 11:48:43 +03:00
Tomas Votruba
9665d586ce make LevelOptionResolver smarter 2019-06-01 11:46:18 +03:00
Tomas Votruba
039686889e fix missing use file info 2019-06-01 02:12:21 +03:00
Tomáš Votruba
e83d6e634e
Merge pull request #1520 from rectorphp/count-php73
[PHP] Add is_countable to CountOnNull
2019-06-01 02:01:38 +03:00
Tomas Votruba
ffa631c3c9 [PHP] Add is_countable to CountOnNull 2019-06-01 01:56:36 +03:00
Tomas Votruba
1851329f19 fix php72 type declaratoin misspel 2019-06-01 01:37:27 +03:00
Tomáš Votruba
2481614bdb
fix RenameClassRector to change only direct class names, not children (#1517)
fix RenameClassRector to change only direct class names, not children
v0.5.2
2019-05-31 19:51:48 +03:00
Tomas Votruba
6854f3ef1e fix RenameClassRector to change only direct class names, not children [closes #1514] 2019-05-31 19:46:43 +03:00
Tomáš Votruba
a69d08bac5
Merge pull request #1513 from rectorphp/static
Make Symfony 4.3 + phpdoc-parser 0.3.4 compatible
2019-05-31 13:58:33 +03:00
Tomas Votruba
4632e1ea24 add original content for text phpdoc nodes 2019-05-31 12:53:59 +02:00
Tomas Votruba
a2842c2a0d speedup UseAddingCommander for file re-use 2019-05-31 12:53:59 +02:00
Tomas Votruba
fca3bf38ca fix multiline BC break in phpdoc-parser 2019-05-31 12:53:59 +02:00
Tomas Votruba
f6da9d2854 fix static 2019-05-31 12:53:59 +02:00
Tomáš Votruba
6398090e1a
Merge pull request #1511 from rectorphp/unable
fix PHPStormVarAnnotationRector for too nested var [closes #1407]
2019-05-31 08:24:43 +02:00
Tomas Votruba
d44ee44076 fix PHPStormVarAnnotationRector for too nested var [closes #1407] 2019-05-31 08:23:24 +02:00
Tomáš Votruba
0639042f05
[CodeQuality] Add trait and parent class support for CompleteDynamicPropertiesRector (#1510)
[CodeQuality] Add trait and parent class support for CompleteDynamicPropertiesRector
2019-05-31 08:22:55 +02:00
Tomas Votruba
f799d5385c [CodeQuality] Add trait and parent class support for CompleteDynamicPropertiesRector 2019-05-31 08:11:46 +02:00
Tomáš Votruba
deea2a975f
[PHP] Fix AddDefaultValueForUndefinedVariableRector for static variable (#1509)
[PHP] Fix AddDefaultValueForUndefinedVariableRector for static variable
2019-05-31 01:21:14 +02:00
Tomas Votruba
cad5bb2793 [PHP] Fix AddDefaultValueForUndefinedVariableRector for static variable 2019-05-31 01:11:53 +02:00
Tomáš Votruba
bcd3ef61d3
Merge pull request #1508 from rectorphp/concat-fix
[CodeQuality] Fix unneeded return in CallableThisArrayToAnonymousFunctionRector
2019-05-31 00:46:58 +02:00
Tomas Votruba
027a072fb3 [CodeQuality] Fix unneeded return in CallableThisArrayToAnonymousFunctionRector 2019-05-31 00:45:56 +02:00
Tomáš Votruba
44e7467ab5
Merge pull request #1507 from rectorphp/concat-fix
[PHP] Fix BinaryOpBetweenNumberAndStringRector for concat
2019-05-31 00:35:23 +02:00
Tomas Votruba
c81cd9a8f7 make test shorter 2019-05-31 00:33:00 +02:00
Tomas Votruba
20408b424c [PHP] Fix BinaryOpBetweenNumberAndStringRector for concat 2019-05-31 00:32:44 +02:00
Tomáš Votruba
7dd8162dfd
Ensure static variables are considered as declared. (#1506)
Ensure `static` variables are considered as declared.
2019-05-31 00:24:55 +02:00
Tomáš Votruba
29a278405b
make fixture shorter 2019-05-31 00:24:32 +02:00
Tomáš Votruba
2a69841cad
Test void methods doesn't have the return statement added. (#1500)
Test `void` methods doesn't have the `return` statement added.
2019-05-30 20:19:49 +02:00
Adamo Crespi
eaf22f8069
Update no_return_for_void.php.inc 2019-05-30 20:14:18 +02:00
Tomáš Votruba
4a7e210b45
Merge pull request #1502 from Aerendir/ignore-concatenation-dots-1501
Test concatenation dot is ignored.
2019-05-30 20:00:04 +02:00
Aerendir
0be25f882d Ensure static variables are considered as declared.
Issue #1505.
2019-05-30 18:27:07 +02:00
Aerendir
439fdbd6ff Test concatenation dot is ignored. 2019-05-30 15:53:14 +02:00
Aerendir
2d64a07c33 Test void methods doesn't have the return statement added. 2019-05-30 15:43:28 +02:00
Tomas Votruba
8ff359830e fix indent v0.5.1 2019-05-30 12:38:28 +02:00
Tomáš Votruba
8fdaf9b157
Merge pull request #1496 from rectorphp/symfony-43
[Symfony 4.3] Add class renames, method renames and added arguments
2019-05-30 12:37:05 +02:00
Tomas Votruba
b18733a78a [Symfony 4.3] Add class renames, method renames and added arguments 2019-05-30 12:36:05 +02:00
Tomáš Votruba
3166323e5e
Fix documentation minor mistake (#1493)
Fix documentation minor mistake
2019-05-29 19:21:19 +02:00
PéCé
18ca7fb5f7 Changes in generated doc 2019-05-29 15:40:20 +02:00
PéCé
40e8d794ef Fix source doc file 2019-05-29 15:27:35 +02:00
PéCé
6d7e6d8605
Fix documentation minor mistake 2019-05-29 12:52:07 +02:00
Tomas Votruba
7bd2d79d2d fix space 2019-05-28 22:59:08 +02:00