6885 Commits

Author SHA1 Message Date
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
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
Tomas Votruba
21bbcff91b
Merge pull request #2507 from rectorphp/fix-return-array-comment
Fix AddArrayReturnDocTypeRector for existing comment
2019-12-27 15:12:33 +01:00
TomasVotruba
97eb67be92 fix AddArrayReturnDocTypeRector for existing comment 2019-12-27 15:01:50 +01:00
Tomas Votruba
7a497d9cd4
add hasByType() method to PhpDocInfo (#2505)
add hasByType() method to PhpDocInfo
2019-12-27 14:03:54 +01:00
TomasVotruba
22898a23cc add hasByType() method to PhpDocInfo 2019-12-27 13:48:50 +01:00
Tomas Votruba
f73f38fa01
[Gedmo to Knp] Add Translatable Behavior Rector (#2503)
[Gedmo to Knp] Add Translatable Behavior Rector
2019-12-27 13:43:08 +01:00
TomasVotruba
d4849b1cf3 add Translatable Behavior Rector 2019-12-27 13:25:14 +01:00
TomasVotruba
7908945c15 update CHANGELOG 2019-12-27 01:12:49 +01:00
Tomas Votruba
71bcf699ae
Apply HelperFunctionToConstructorInjectionRector only in non-st… (#2502)
Apply HelperFunctionToConstructorInjectionRector only in non-static class method scope
v0.6.4
2019-12-27 01:09:04 +01:00
TomasVotruba
ff5c3474a5 Apply HelperFunctionToConstructorInjectionRector only in non-static class method scope 2019-12-27 00:56:30 +01:00
Tomas Votruba
14d207a137
Fix return override in case of parent vendor lock (#2501)
Fix return override in case of parent vendor lock
2019-12-27 00:26:00 +01:00
TomasVotruba
5bdc59187d decopule PhpParserTypeAnalyzer 2019-12-27 00:09:19 +01:00
TomasVotruba
0a6cc9676f decouple VendorLockResolver 2019-12-27 00:09:19 +01:00
Tomas Votruba
c4c28d0d2f
[PHP] add PHP version feature checks (#2500)
[PHP] add PHP version feature checks
2019-12-27 00:08:47 +01:00
Felix Sokoliuk
4a13da1cba add PHP version feature checks 2019-12-26 23:14:00 +01:00
Tomas Votruba
51bd9bc07e
Fix function override under namespace (#2499)
Fix function override under namespace
2019-12-26 22:21:54 +01:00
TomasVotruba
787d826111 travis: drop duplicated job 2019-12-26 21:56:54 +01:00
TomasVotruba
faf1585431 fix function override under namespace 2019-12-26 21:54:08 +01:00
Tomas Votruba
4f21858534
Merge pull request #2497 from rectorphp/dead-ternary-to-boolish
[DeadCode] Add TernaryToBooleanOrFalseToBooleanAndRector
2019-12-26 20:39:54 +01:00
TomasVotruba
5ba17d53ac [DeadCode] Add TernaryToBooleanOrFalseToBooleanAndRector 2019-12-26 20:29:10 +01:00
TomasVotruba
c868cf7c8f add nette-application-code-quality set 2019-12-26 19:36:19 +01:00
Tomas Votruba
0d5e64856f
[Nette] Add magic template code quality (#2496)
[Nette] Add magic template code quality
2019-12-26 19:35:17 +01:00
TomasVotruba
7de28f6c0c update docs [skip ci] 2019-12-26 19:35:02 +01:00
TomasVotruba
d61a911e6a [NetteCodeQuality] Add TemplateMagicAssignToExplicitVariableArrayRector 2019-12-26 19:04:56 +01:00
Tomas Votruba
c8f6e2818b
[docs] Fix codesample in TypedPropertyRector (#2492)
[docs] Fix codesample in TypedPropertyRector
2019-12-26 18:56:26 +01:00
Tomas Votruba
f8b644b6ff
fix PREG_SPLIT_DELIM_CAPTURE for split Nette Utils (#2493)
fix PREG_SPLIT_DELIM_CAPTURE for split Nette Utils
2019-12-26 15:49:49 +01:00
Tomas Votruba
caa428b6e6
Merge pull request #2491 from ruudk/patch-1
Fix codesample in TypedPropertyRector
2019-12-26 15:42:26 +01:00
TomasVotruba
16199dbd01 fix PREG_SPLIT_DELIM_CAPTURE for split Nette Utils 2019-12-26 15:39:45 +01:00
Ruud Kamphuis
abbd6357f9
Fix codesample in TypedPropertyRector
This rector does not remove the PHPDoc.
2019-12-26 15:06:42 +01:00
Ruud Kamphuis
20e4266a93
Fix codesample in TypedPropertyRector
This rector does not remove the PHPDoc.
2019-12-26 15:04:31 +01:00
Tomas Votruba
26aef3aa15
Fix name resolution in ArrayKeyFirstLastRector (#2489)
Fix name resolution in ArrayKeyFirstLastRector
2019-12-26 14:48:09 +01:00
TomasVotruba
858af6b19c Fix name resolution in ArrayKeyFirstLastRector 2019-12-26 14:37:53 +01:00
Tomas Votruba
f68e8086df
Merge pull request #2487 from rectorphp/fix-binary
Skip non-variable non-scalars in BinaryOpBetweenNumberAndStringRector
2019-12-26 13:38:27 +01:00
TomasVotruba
04cc7e6122 skip non-variable non-scalars in BinaryOpBetweenNumberAndStringRector 2019-12-26 12:59:30 +01:00
TomasVotruba
3f293929ea add test case for #2454 2019-12-26 12:53:01 +01:00
Tomas Votruba
cb707149f7
Fix alias object conflict with existing type (#2486)
Fix alias object conflict with existing type
2019-12-26 12:28:26 +01:00
TomasVotruba
4407860e79 fix alias object conflict with existing type 2019-12-26 12:16:41 +01:00
Tomas Votruba
b9a5f8e463
Fix grouped use statement import (#2485)
Fix grouped use statement import
2019-12-26 11:40:35 +01:00
TomasVotruba
e0bfbda7ca update docs 2019-12-26 11:25:25 +01:00
TomasVotruba
d6b9122615 Fix double import of grouped namespaces 2019-12-26 11:12:48 +01:00
Tomas Votruba
4a5408e8f1
[Gedmo to Knp] Add TreeBehaviorRector (#2484)
[Gedmo to Knp] Add TreeBehaviorRector
2019-12-26 01:02:06 +01:00
TomasVotruba
0dec93ead6 [Gedmo to Knp] Add TreeBehaviorRector 2019-12-26 00:46:43 +01:00
Tomas Votruba
b398e8740c
Merge pull request #2483 from staabm/patch-2
Fix typos
2019-12-25 21:19:57 +01:00