Tomáš Votruba
6830fb3fea
Merge pull request #1430 from ktomk/patch-cwd
...
Add working directory option
2019-05-18 22:47:42 +02:00
Tomáš Votruba
6fa471f5ae
[PHP 7.4] Spread array ( #1416 )
...
[PHP 7.4] Spread array
2019-05-16 12:01:32 +03:00
Tomas Votruba
e2fba5c6fd
[PHP 7.4] Add array spread operator
2019-05-16 01:37:12 +02:00
Tomas Votruba
058dd47509
composer: use php-parser with ...
2019-05-15 09:30:23 +02:00
Tomáš Votruba
a25278acdf
Merge pull request #1429 from sasezaki/fix/howitworks_md
...
Add missing end bracket at HowItWorks.md's sample
2019-05-14 19:40:58 +02:00
Tom Klingenberg
4a13ed5387
Add working directory option
...
New command-line utility option:
-d, --working-dir=WORKING-DIR
If specified, use the given directory as working directory.
Follows same syntax as Composer (quick port from there).
There is a clash with the process command -d alias. It's behavior
changes:
Old usage of the -d flag will throw an exception as it now requires an
argument.
Instead use the -n switch which is also in the commons for --dry-run (e.g.
see git).
2019-05-14 17:04:22 +02:00
sasezaki
3740d4b77f
Add missing end bracket at HowItWorks.md's sample
2019-05-14 23:36:24 +09:00
Tomáš Votruba
eeae05176a
speedup RenameClassRector on doc comments ( #1425 )
...
speedup RenameClassRector on doc comments
2019-05-14 00:00:45 +02:00
Tomas Votruba
932bb277fa
speedup RenameClassRector on doc comments
2019-05-13 23:39:29 +02:00
Tomáš Votruba
2b4f3feb2c
Merge pull request #1424 from mxr576/issue/1423
...
[SplitStringClassConstantToClassConstFetchRector] Remove duplicated namespace separator
2019-05-13 10:46:04 +02:00
Dezső BICZÓ
e5daee5397
Remove duplicated namespace separator
...
#1423
2019-05-13 09:43:50 +02:00
Tomáš Votruba
2b2928eab9
Merge pull request #1418 from rectorphp/inject-annot
...
[PHP-DI] Add php-di @Inject annotation import
2019-05-12 18:59:45 +02:00
Tomáš Votruba
de4cca7f3b
Merge pull request #1414 from rectorphp/split-all-classlike-psr4
...
[PSR-4 Split] Split interfaces and traits as well
2019-05-12 18:45:22 +02:00
Tomas Votruba
088b1f136d
[PHP-DI] Add php-di-decouple level [ closes #1400 ]
2019-05-12 18:03:07 +02:00
Tomas Votruba
5d73191fa8
decouple JmsInjectAnnotationRector to configurable InjectAnnotationClassRector
2019-05-12 18:02:28 +02:00
Tomáš Votruba
2c5d7fa610
Merge pull request #1417 from rectorphp/bug-traits
...
Add trait analysis without class dependency
2019-05-12 11:08:21 +02:00
Tomas Votruba
d280fd6ebe
add trait scope without need for class
2019-05-12 10:45:59 +02:00
Tomas Votruba
83f527d571
use stable php-parser with arrow functoin
2019-05-11 15:07:00 +02:00
Tomáš Votruba
47ff59851a
Merge pull request #1415 from DaveLiddament/patch-1
...
Removed duplicated code
2019-05-11 14:33:25 +02:00
Tomáš Votruba
72c278d741
[PHP 7.4] Add ClosureToArrowFunctionRector ( #1410 )
...
[PHP 7.4] Add ClosureToArrowFunctionRector
2019-05-11 14:32:50 +02:00
Dave Liddament
c3db77127d
Removed duplicated code
2019-05-11 13:21:01 +01:00
Tomas Votruba
ca289def87
[TypeDeclaration] Add AddFunctionReturnTypeRector
2019-05-11 12:56:13 +02:00
Jan Mikeš
31d2ce4d3b
[PSR-4 Split] Split interfaces and traits as well
2019-05-11 00:29:14 +02:00
Tomáš Votruba
3c1cf11e5c
Merge pull request #1412 from mxr576/issue/1409
...
[ImportFullyQualifiedNamesRector] Allow to opt-out from doc block modification
2019-05-10 23:25:43 +02:00
Dezső BICZÓ
6d7ef0c8e5
Allow to opt-out from doc block modification
...
#1409
2019-05-10 18:42:01 +02:00
Tomáš Votruba
548d13276e
[TypeDeclaration] Add AddFunctionReturnTypeRector ( #1406 )
...
[TypeDeclaration] Add AddFunctionReturnTypeRector
2019-05-10 15:16:09 +02:00
Tomas Votruba
83d2219ca7
[TypeDeclaration] Add AddFunctionReturnTypeRector
2019-05-10 14:55:55 +02:00
Tomas Votruba
45940ade54
use phpstan 0.11.6
2019-05-10 12:39:37 +02:00
Tomáš Votruba
ffb07eb5b9
[TypeDeclaration] Create new set ( #1404 )
...
[TypeDeclaration] Create new set
2019-05-09 14:19:54 +02:00
Tomáš Votruba
69c7a0ed87
Merge pull request #1382 from rectorphp/class-renaming-support
...
Add support to rename classes and it's namespace
2019-05-09 12:29:24 +02:00
Tomas Votruba
e0af68e5fd
[TypeDeclaration] Decouple new set
2019-05-09 12:14:36 +02:00
Tomáš Votruba
4d46de5453
[Symfony 4.3] Add swapped dispatch() arguments for EventDispatcher ( #1403 )
...
[Symfony 4.3] Add swapped dispatch() arguments for EventDispatcher
2019-05-09 12:06:59 +02:00
Tomas Votruba
3ab113cf53
[Symfony] Add MakeDispatchFirstArgumentEventRector
2019-05-09 11:58:44 +02:00
Tomas Votruba
b043688e13
[Symfony 4.3] Add rename of event classes
2019-05-09 11:42:28 +02:00
Jan Mikeš
9958a44ec3
Added support for renaming class and it’s namespace
2019-05-08 13:00:28 +02:00
Tomáš Votruba
fac1503915
Fix travis for Laravel self-run ( #1398 )
...
Fix travis for Laravel self-run
2019-05-07 17:12:47 +02:00
Tomas Votruba
e2d2d7ed5c
fix FileProcessor node need for node scope resolver
2019-05-07 16:54:32 +02:00
Tomas Votruba
5eed9b2788
gitignore: add laravel-dir
2019-05-07 16:54:32 +02:00
Tomáš Votruba
f7bbd03d61
Merge pull request #1397 from rectorphp/dead-fixes
...
[DeadCode] Various set fixes
2019-05-07 16:16:55 +02:00
Tomas Votruba
adc50652a0
fix CallableThisArrayToAnonymousFunctionRector for invalid array items
2019-05-07 16:03:04 +02:00
Tomas Votruba
de331920c8
fix CallableThisArrayToAnonymousFunctionRector for empty first item in array
2019-05-07 15:52:19 +02:00
Tomas Votruba
b8b37303dd
[ref] apply code-quality
2019-05-07 15:32:27 +02:00
Tomas Votruba
2c03baf350
fix anonymous class for RemoveUnusedPrivateMethodRector
2019-05-07 14:52:54 +02:00
Tomas Votruba
35c3ed6764
skip anonymous class in RemoveUnusedPrivatePropertyRector
2019-05-07 14:43:47 +02:00
Tomas Votruba
3d6e45e146
fix RemoveDoubleAssignRector in different scopes
2019-05-07 14:41:11 +02:00
Tomas Votruba
e38feaf055
decouple FlowOfControlLocator
2019-05-07 14:41:11 +02:00
Tomas Votruba
bf8c0c0442
various cleanup
2019-05-07 14:41:11 +02:00
Tomas Votruba
cc75a2173a
travis: use laravel dev
2019-05-07 14:41:11 +02:00
Tomas Votruba
c324a63512
[DeadCode] Fix RemoveAndTrue to work only with real true values
2019-05-07 13:39:30 +02:00
Tomáš Votruba
df6fee747a
Merge pull request #1395 from LeSuisse/preserve-filemod
...
Preserve file permissions when updating a file
2019-05-07 05:51:49 +02:00