TomasVotruba
db0876a0b4
add class renames
2020-01-11 22:20:45 +01:00
Tomas Votruba
d73b193e5b
[CakePHP 3.0] Add AppUsesStaticCallToUseStatementRector ( #2643 )
...
[CakePHP 3.0] Add AppUsesStaticCallToUseStatementRector
2020-01-11 22:19:25 +01:00
TomasVotruba
fa12a080e4
[CakePHP] Add ImplicitShortClassNameUseStatementRector
2020-01-11 22:14:25 +01:00
TomasVotruba
3050843a49
[CakePHP 3.0] Add AppUsesStaticCallToUseStatementRector
2020-01-11 22:14:25 +01:00
Tomas Votruba
9960874b70
use Github Actions to compiler and publish prefixed rector.phar ( #2641 )
...
use Github Actions to compiler and publish prefixed rector.phar
2020-01-11 16:39:42 +01:00
TomasVotruba
aa4d0017d0
use Github Actions to compile and publish prefixed rector.phar, coverage and the rest
2020-01-11 16:31:06 +01:00
Dorian Villet
58ac2cd797
[AddDoesNotPerformAssertionToNonAssertingTestRector] Add failing test for Prophecy assertions.
2020-01-11 14:48:17 +01:00
Tomas Votruba
413a348e00
[ForeachItemsAssignToEmptyArrayToAssignRector] apply on code it… ( #2587 )
...
[ForeachItemsAssignToEmptyArrayToAssignRector] apply on code it should not
2020-01-11 12:34:24 +01:00
Dorian Villet
f9b8a4102d
Rename fixtures files.
2020-01-11 12:29:52 +01:00
Tomas Votruba
3f805d93c3
fix pattern miss matching ( #2639 )
...
fix pattern miss matching
2020-01-11 11:10:55 +01:00
Tomas Votruba
2e83fe78c1
[Php70] add a rector to pass only variables as arguments by ref… ( #2546 )
...
[Php70] add a rector to pass only variables as arguments by reference
2020-01-11 11:08:56 +01:00
TomasVotruba
16f32a05c5
fix pattern miss matching
2020-01-11 10:52:49 +01:00
Tomas Votruba
9cac83e364
[AddDoesNotPerformAssertionToNonAssertingTestRector] fix skippi… ( #2636 )
...
[AddDoesNotPerformAssertionToNonAssertingTestRector] fix skipping if annotation already exists (fixes infinite loop too)
2020-01-11 10:32:28 +01:00
Tomas Votruba
d31b77e779
Merge pull request #2638 from rectorphp/fix-non-compound
...
[CodingStyle] Prevent adding non-namespaced imports to non-namespaced class
2020-01-11 10:27:03 +01:00
TomasVotruba
23c0fb1d2a
[CodingStyle] Prevent adding non-namespaced imports to non-namespaced class
2020-01-11 09:54:10 +01:00
Dorian Villet
0a64874194
Fix it.
2020-01-11 01:56:26 +01:00
Dorian Villet
28fb2aa3c3
Add broken tests for ForeachItemsAssignToEmptyArrayToAssignRector.
2020-01-11 01:47:14 +01:00
Dorian Villet
2108efd37e
[CountOnNullRector] fix Rector applying on properties with phpdocs array.
2020-01-11 01:44:42 +01:00
TomasVotruba
4107774ffc
use own name to publish phar
2020-01-11 01:14:03 +01:00
Tomas Votruba
779d154839
drop redundant interface and factory, remove symfony/var-dumper… ( #2633 )
...
drop redundant interface and factory, remove symfony/var-dumper from rector.phar
2020-01-11 01:08:23 +01:00
TomasVotruba
d0ad4cb06e
try phar build
2020-01-11 01:08:09 +01:00
Dorian Villet
7eeee4f44e
AddDoesNotPerformAssertionToNonAssertingTestRector: fix skipping if annotation already exists. Fixes #2634 .
2020-01-11 01:04:44 +01:00
TomasVotruba
b827e2cfe9
remove var-dumper from rector.phar
2020-01-11 00:53:51 +01:00
TomasVotruba
acdeb51f0d
decopuling composer.json modifying methods
2020-01-11 00:43:13 +01:00
TomasVotruba
a79e0a8887
drop redundant interface and factory
2020-01-11 00:43:13 +01:00
Dorian Villet
56c9d312ee
Fix it.
2020-01-10 16:53:57 +01:00
Dorian Villet
e073b9ac01
Add failing test case for mixed[] (return array).
2020-01-10 16:49:03 +01:00
Dorian Villet
9874e80e7d
Simplify the test case method for one that better illustrate the issue.
2020-01-10 16:42:01 +01:00
Dorian Villet
426dd6ab4b
Fix CS.
2020-01-10 16:29:33 +01:00
Dorian Villet
8facc752a4
Fix AddArrayReturnDocTypeRector on @return iterable<mixed>.
2020-01-10 16:22:14 +01:00
Lctrs
85e73f9827
[Php70] add a rector to pass only variables as arguments by reference
2020-01-10 15:37:08 +01:00
Tomas Votruba
a21b805655
Add a --no-progress-bar option (inspired from ECS) for nicer CI… ( #2629 )
...
Add a --no-progress-bar option (inspired from ECS) for nicer CI output.
2020-01-10 15:10:19 +01:00
Dorian Villet
8787d375bf
Add a --no-progress-bar option (inspired from ECS) for nicer CI output.
2020-01-10 15:06:05 +01:00
Tomas Votruba
532ce9e642
Merge pull request #2625 from C0pyR1ght/master
...
REAME changed URL to relative path
2020-01-10 10:37:01 +01:00
Luca Feiser
c6eb1967fd
changed url to relative path
2020-01-10 09:43:15 +01:00
Tomas Votruba
bbd01c5902
Add Gmagick to Imagick set ( #2624 )
...
Add Gmagick to Imagick set
2020-01-09 17:34:24 +01:00
TomasVotruba
846354ef67
Add Gmagick to Imagick set
2020-01-09 17:27:23 +01:00
Tomas Votruba
216895818b
Merge pull request #2623 from C0pyR1ght/patch-2
...
added get started to readme
2020-01-09 17:15:02 +01:00
Tomas Votruba
c65023f15f
Merge pull request #2622 from C0pyR1ght/patch-1
...
added link
2020-01-09 17:13:41 +01:00
C0pyR1ght
17ae9eec5d
added get started
2020-01-09 17:02:33 +01:00
C0pyR1ght
ec081a3ece
Update README.md
2020-01-09 16:58:20 +01:00
C0pyR1ght
244736cee1
added link
2020-01-09 16:39:29 +01:00
Tomas Votruba
80df1320e2
[CI] Fix GitHub actions phar build ( #2619 )
...
[CI] Fix GitHub actions phar build
2020-01-09 13:34:15 +01:00
TomasVotruba
d11399dadf
run phar build only on master, rights for token needed
2020-01-09 13:24:24 +01:00
TomasVotruba
c76a07969e
travis: remove broken windows build, maintainer needed
2020-01-09 13:22:06 +01:00
Tomas Votruba
8eafe7a6ab
Merge pull request #2618 from Jaapze/master
...
More reliable way getting first stmt item
2020-01-09 13:18:41 +01:00
Jaapze
13ed8437b9
Check if $node->stmts has a null value
2020-01-09 12:59:18 +01:00
Jaapze
a1754b38ce
More reliable way getting first stmt item
...
The key values are not reliable, this problem is caused by unsetting the values in the stmts array of a node without resetting them. It's not only in this rector file and might need a bigger fix, but this one was bugging me whole day.
2020-01-09 11:41:58 +01:00
Tomas Votruba
b29ea88fb6
Improve Rector success message. ( #2610 )
...
Improve Rector success message.
2020-01-08 23:53:01 +01:00
Tomas Votruba
8760d0a2c1
Add support for PHPStan 0.12+ @template annotation. ( #2613 )
...
Add support for PHPStan 0.12+ @template annotation.
2020-01-08 23:36:34 +01:00