Tomas Votruba
|
c2d1a98f95
|
drop array_values need
|
2019-01-22 20:33:03 +01:00 |
|
Tomas Votruba
|
25da54641b
|
improve static code quality
|
2019-01-14 23:08:20 +01:00 |
|
Tomas Votruba
|
cfe7ecc2ff
|
standardize /config directory location to root
|
2019-01-12 02:04:45 +01:00 |
|
Tomas Votruba
|
e6a5f55f94
|
drop ArrayToYieldDataProviderRector instead, update docs
|
2019-01-03 17:39:25 +01:00 |
|
Tomas Votruba
|
ca1588309b
|
Add YieldClassMethodToArrayClassMethodRector
|
2019-01-03 17:39:25 +01:00 |
|
Tomas Votruba
|
2b4696bb1a
|
make NameResolver match regular expressions
|
2019-01-03 17:39:25 +01:00 |
|
Tomas Votruba
|
c5e9428490
|
[PHPUnit] Add UseSpecificWillMethodRector
|
2018-12-31 22:07:12 +01:00 |
|
Tomas Votruba
|
80404600aa
|
[PHPUnit] add test case for is_readable [closes #851]
|
2018-12-31 13:09:33 +01:00 |
|
Tomas Votruba
|
65764c4eec
|
shorten indent on test file list
|
2018-12-17 01:28:51 +01:00 |
|
Tomas Votruba
|
9d8be88d2f
|
fix printer to keep '(param): ReturnType' spacing
|
2018-12-17 01:27:38 +01:00 |
|
Tomas Votruba
|
3ce2e41a03
|
remove unused configs
|
2018-12-16 02:39:26 +01:00 |
|
Tomas Votruba
|
8f57b231ba
|
add getValue(), isValue() and areValues() to AbstractRector
|
2018-12-15 21:07:05 +01:00 |
|
Tomas Votruba
|
3fd5984010
|
add transformArrayToYields() and transformYieldsToArray() methods to NodeTransformer
|
2018-12-14 20:01:47 +01:00 |
|
Tomas Votruba
|
45248dee04
|
Add AssertEqualsParameterToSpecificMethodsTypeRector
|
2018-12-11 13:02:28 +01:00 |
|
Tomas Votruba
|
ba3d0707e6
|
remove unused configs
|
2018-12-10 16:40:09 +01:00 |
|
Tomas Votruba
|
a59e35678c
|
Add SpecificAssertInternalTypeRector
|
2018-12-10 16:01:14 +01:00 |
|
Tomas Votruba
|
e1a386054b
|
[PHPUnit] Add SpecificAssertContainsRector
|
2018-12-10 16:01:14 +01:00 |
|
Tomas Votruba
|
2a00f0d51b
|
rename Wrong ns to Fixture in tests
|
2018-12-07 21:51:59 +01:00 |
|
Tomas Votruba
|
837606ab50
|
add assertNot* cases to AssertTrueFalseToSpecificMethodRector
|
2018-12-06 02:30:36 +01:00 |
|
Tomas Votruba
|
ef288d4045
|
[tests] rename test files to fixtures
|
2018-12-06 02:09:02 +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
|
7c6a8be85e
|
simlify tests by SimplifyTestsRector
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
|
2018-12-03 22:53:11 +01:00 |
|
Tomas Votruba
|
73466ac247
|
rename test files method to provideFiles()
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
|
2018-12-03 20:13:46 +01:00 |
|
Gabriel Caruso
|
3ba2759970
|
[PHPUnit] Convert iterator_count into assertCount
|
2018-11-18 13:19:15 -02:00 |
|
Tomas Votruba
|
bf37049776
|
Move Expression re-type to AbstractRector
|
2018-11-07 20:52:37 +01:00 |
|
Tomas Votruba
|
7deeab99ec
|
merge ClassLikeMaintainer + ClassDependencyMaintaienr to ClassMaintainer
|
2018-11-04 20:13:03 +01:00 |
|
Tomas Votruba
|
1d56621757
|
move Builder under PhpParser\Node namespace
|
2018-11-04 19:06:27 +01:00 |
|
Tomas Votruba
|
aaf409eed2
|
move php-parser related code under PhpParser namespace, add Maintainer type for services reading/writing to nodes
|
2018-11-04 02:17:02 +01:00 |
|
Tomas Votruba
|
67eebbc0fe
|
move MethodCallNodeFactory to NodeFactoryTrait
|
2018-11-03 22:39:44 +01:00 |
|
Tomas Votruba
|
d71d6a1f12
|
make use of NodeFactoryTrait
|
2018-11-03 21:53:08 +01:00 |
|
Tomas Votruba
|
b9dd90266a
|
make use of helper method of AbstractRector
|
2018-10-31 22:15:41 +01:00 |
|
Tomas Votruba
|
a33074bdf5
|
remove rename identifier helper method, too overdetailed
|
2018-10-31 21:43:43 +01:00 |
|
Tomas Votruba
|
c5981e50e2
|
Remove active from AssertComparisonToSpecificMethodRector
|
2018-10-31 21:32:48 +01:00 |
|
Tomas Votruba
|
a2d68ad756
|
[PHPUnit] Remove active* helper properties
|
2018-10-31 20:57:26 +01:00 |
|
Tomas Votruba
|
218366f762
|
[cs] apply private method order
|
2018-10-31 16:35:15 +01:00 |
|
Tomas Votruba
|
05e5df7406
|
[cs] apply property sort
|
2018-10-31 16:35:15 +01:00 |
|
Tomas Votruba
|
09027d06eb
|
resolve phpstan reports
|
2018-10-22 18:02:36 +02:00 |
|
Gabriel Caruso
|
5d304b3aee
|
[PHPUnit] Fix AssertCompareToSpecificMethodRector false positives
When a property, method or variable has one of the names to be
refactored, e.g. `count`, it gets wrong refactored
|
2018-10-21 14:00:00 -03:00 |
|
Tomas Votruba
|
4cee626ee4
|
Remove MethodArgumentAnalyzer
|
2018-10-21 15:38:21 +02:00 |
|
Tomas Votruba
|
486f7f4b64
|
[PHPUnit] Add SimplifyForeachInstanceOfRector
|
2018-10-21 13:17:20 +02:00 |
|
Tomas Votruba
|
f330c5e9c2
|
make return null consistent on no change
|
2018-10-21 13:06:28 +02:00 |
|
Tomas Votruba
|
a2c0fd23b1
|
fix new phpstan reports
|
2018-10-21 10:53:32 +02:00 |
|
Tomas Votruba
|
3233316053
|
Make ConstructorMethodBuilder respect parent constructor
|
2018-10-20 09:38:49 +02:00 |
|
Tomas Votruba
|
ba0c3eea95
|
apply this Rector to code
|
2018-10-15 21:49:45 +08:00 |
|
Tomas Votruba
|
5933cca87d
|
remove callAnalyzer form Rectors
|
2018-10-15 14:45:34 +08:00 |
|
Tomas Votruba
|
5deb94f9ff
|
unite refactor(node) naming to node, to make clear the main argument name
|
2018-10-15 14:45:34 +08:00 |
|
Tomas Votruba
|
f0fdc8e410
|
remove unused methods
|
2018-10-15 14:36:25 +08:00 |
|
Tomas Votruba
|
d4009b3888
|
Add NameAnalyzerTrait
|
2018-10-15 14:36:25 +08:00 |
|
Tomas Votruba
|
9b569f6c44
|
make use of TypeAnalyzerTrait
|
2018-10-15 08:14:21 +08:00 |
|
Tomas Votruba
|
0934960e6d
|
make use of CallAnalyzer to prevent Var string errors with non-string funciton and method call names
|
2018-10-13 23:13:13 +08:00 |
|