6927 Commits

Author SHA1 Message Date
Tomas Votruba
93acc28efa
[CodingStyle] Skip re-escaping chars by SymplifyQuoteEscapeRect… (#2530)
[CodingStyle] Skip re-escaping chars by SymplifyQuoteEscapeRector
2019-12-30 14:43:09 +01:00
TomasVotruba
5858c7601f [CodingStyle] Skip re-escaping chars by SymplifyQuoteEscapeRector 2019-12-30 12:13:17 +01:00
Tomas Votruba
e7629f186d
[SOLID] Add RemoveAlwaysElseRector (#2528)
[SOLID] Add RemoveAlwaysElseRector
2019-12-30 12:07:04 +01:00
TomasVotruba
83aebb7f77 [DeadCode] Add RemoveUnusedElseAfterThrowRector 2019-12-30 11:57:16 +01:00
TomasVotruba
c8316f4e0e apply Rector CI 2019-12-29 23:55:12 +01:00
Tomas Votruba
42b34b66a1
[DeadCode] RemoveUnusedElseForReturnedValueRector (#2527)
[DeadCode] RemoveUnusedElseForReturnedValueRector
2019-12-29 22:55:59 +01:00
TomasVotruba
3e575b89e5 [DeadCode] RemoveUnusedElseForReturnedValueRector 2019-12-29 22:40:05 +01:00
Tomas Votruba
11b5bee518
add ctor only test-case (#2526)
add ctor only test-case
2019-12-29 21:25:06 +01:00
TomasVotruba
07b4927891 add ctor only test-case 2019-12-29 21:24:47 +01:00
Tomas Votruba
4f826fb13a
add test case for #1244 (#2525)
add test case for #1244
2019-12-29 21:24:16 +01:00
TomasVotruba
f2284702db add test case for #1244 2019-12-29 21:20:33 +01:00
Tomas Votruba
b081e765c2
Merge pull request #2524 from rectorphp/code-quality-absolute
[CodeQuality] Add AbsolutizeRequireAndIncludePathRector
2019-12-29 20:25:31 +01:00
Tomas Votruba
b557706c89
Merge pull request #2523 from rectorphp/key-match
[CodeQuality] Add ArrayKeyExistsTernaryThenValueToCoalescingRector
2019-12-29 18:20:34 +01:00
TomasVotruba
2b60867493 [CodeQuality] Add AbsolutizeRequireAndIncludePathRector 2019-12-29 17:11:21 +01:00
TomasVotruba
48030e7257 [CodeQuality] Add ArrayKeyExistsTernaryThenValueToCoalescingRector 2019-12-29 16:52:34 +01:00
TomasVotruba
d4ba12f437 add example 2019-12-29 16:38:02 +01:00
Tomas Votruba
c2f76f54da
Merge pull request #2520 from rectorphp/fix-identical-boolean-false
[CodingStyle] Fix IdenticalFalseToBooleanNotRector for null|bool
2019-12-29 14:12:20 +01:00
TomasVotruba
97e574e5f2 [CodingStyle] Fix IdenticalFalseToBooleanNotRector for null|bool 2019-12-29 13:17:36 +01:00
Tomas Votruba
214c69e1ec
README: add docs for #2087 (#2519)
README: add docs for #2087
2019-12-29 13:06:16 +01:00
Tomas Votruba
6980a999e0
[TypeDeclaration] Fix static property type resolution (#2518)
[TypeDeclaration] Fix static property type resolution
2019-12-29 13:00:42 +01:00
TomasVotruba
e5bf8aa6a0 README: add docs for #2087 2019-12-29 13:00:38 +01:00
TomasVotruba
207d638888 [TypeDeclaration] Fix static property type resolution 2019-12-29 12:45:12 +01:00
Tomas Votruba
7ac00f3d80
add resource type to StaticTypeMapper (#2517)
add resource type to StaticTypeMapper
2019-12-29 12:11:40 +01:00
TomasVotruba
e520cf9416 add resource type to StaticTypeMapper 2019-12-29 11:22:49 +01:00
TomasVotruba
1290c83cb4 fix commit -m 2019-12-28 14:25:20 +01:00
TomasVotruba
6ccf892554 travis: fix then syntax 2019-12-28 14:12:15 +01:00
TomasVotruba
e3eb27f3b1 rebuild 2019-12-28 11:33:33 +01:00
TomasVotruba
90021edc20 travis: fix syntax if 2019-12-28 11:18:23 +01:00
Tomas Votruba
32ecc78448
Merge pull request #2514 from rectorphp/doctrine-dbal
[Doctrine/dbal] Add 2.10 and 3.0 sets
2019-12-28 11:09:37 +01:00
TomasVotruba
bff48951d5 add dbal sets 2019-12-28 11:07:47 +01:00
TomasVotruba
c025c72e36 travis: add coverage to test jobs 2019-12-27 20:11:01 +01:00
TomasVotruba
5fa9827451 travis: skip broken windows to speedup travis 2019-12-27 20:10:34 +01:00
TomasVotruba
33b26c85a4 README: add prefixed rector 2019-12-27 20:04:34 +01:00
TomasVotruba
29de1c381a travis: skip broken windows to speedup travis 2019-12-27 20:02:35 +01:00
TomasVotruba
9541a54ca1 travis: add build stage 2019-12-27 19:57:46 +01:00
TomasVotruba
b8d59894c2 rebuild 2019-12-27 19:55:47 +01:00
Tomas Votruba
87d1b04e17
Update Travis (#2512)
Update Travis
2019-12-27 19:18:43 +01:00
TomasVotruba
f177f4ed7e travis: differ between stable tag and push of phar 2019-12-27 19:00:53 +01:00
TomasVotruba
e04e496be9 build phar on tag 2019-12-27 18:55:58 +01:00
Tomas Votruba
3d3307ce13
Fix single-line comment and constant scalar type match (#2511)
Fix single-line comment and constant scalar type match
2019-12-27 18:54:00 +01:00
TomasVotruba
89c7c66376 run standalone run in tests battery 2019-12-27 18:53:32 +01:00
TomasVotruba
c38fdd6cea travis: drop duplicated PHP 7.2 job 2019-12-27 18:51:02 +01:00
TomasVotruba
8e588eb4bb update docs 2019-12-27 18:50:00 +01:00
TomasVotruba
bf76b6d2c4 Fix single-line comment 2019-12-27 18:37:24 +01:00
Tomas Votruba
b711990463
[CodeQuality] Add IntvalToTypeCastRector (#2510)
[CodeQuality] Add IntvalToTypeCastRector
2019-12-27 18:07:44 +01:00
Tomas Votruba
2121e7f4b2
Do not suggest typed property when defined in vendored parent (#2509)
Do not suggest typed property when defined in vendored parent
2019-12-27 18:07:08 +01:00
Ruud Kamphuis
433f929cc3
Do not suggest typed property when defined in vendored parent
When the property is defined in vendored code, it doesn't make sense to suggest typed properties on classes that extend from it.
2019-12-27 17:51:40 +01:00
TomasVotruba
9dd43747b7 [CodeQuality] Add IntvalToTypeCastRector 2019-12-27 17:50:32 +01:00
Tomas Votruba
e380711dce
Merge pull request #2508 from rectorphp/fix-param-type-union
Fix param type union
2019-12-27 16:30:12 +01:00
TomasVotruba
0e933e2927 fix union type for ParamTypeDeclarationRector 2019-12-27 16:16:39 +01:00