Abdul Malik Ikhsan
be06b60eac
Typo Fix: Strings::endWith() should be Strings::endsWith() ( #4475 )
...
* Typo Fix: Strings::endWith() should be Strings::endsWith()
* [rector] Typo Fix: Strings::endWith() should be Strings::endsWith()
* [cs] Typo Fix: Strings::endWith() should be Strings::endsWith()
* phpstan
* [rector] phpstan
* [cs] phpstan
* cs fix
Co-authored-by: rector-bot <tomas@getrector.org>
2020-10-23 11:23:12 +02:00
Tomas Votruba
fd9bd00713
[DoctrineCodeQuality] Fix oveCurrentDateTimeDefaultInEntityToConstructorRector for default value ( #4436 )
...
* [DoctrineCodeQuality] Fix oveCurrentDateTimeDefaultInEntityToConstructorRector for default value
* re-use local property method
* improve new_ nesting
* [rector] improve new_ nesting
* static fixes
* bump deps
Co-authored-by: rector-bot <tomas@getrector.org>
2020-10-18 08:45:56 +00:00
Tomas Votruba
01514ab9a8
[SimplePhpDocParser] Add README + getParam*() helper methods ( #4393 )
2020-10-11 16:17:43 +02:00
Igor
35537dba84
[SOLID] Change if && to early return ( #4344 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
2020-10-10 18:27:13 +02:00
Tomas Votruba
3808d1b941
[Nette 3.0] Set update ( #4381 )
2020-10-09 22:01:37 +02:00
Tomas Votruba
7aad4bbf2f
[PHPStan] Enable regex constant rule ( #4279 )
2020-09-23 11:16:40 +02:00
Igor
f2ecdeb0b1
[Naming] Foreach over "data", renames to "datum" ( #4221 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
2020-09-15 10:23:13 +02:00
Tomas Votruba
4f1beae3fd
[DX] Fix NoAbstractMethodRule cases ( #4180 )
...
* decouple IsAbleFuncCallInterface
* decouple WithFunctionToNetteUtilsStringsRectorInterface
* decouple NodeTraversableInterface
* decouple RectorInterfaceAwareInterface
* [ci] disable markdown check to prevent user bothering
2020-09-09 09:07:14 +00:00
Tomas Votruba
7ac228c638
[CI] Add type-declaration set ( #4089 )
...
* [CI] Add type-declaration set
* [rector] [CI] Add type-declaration set
* [cs] [CI] Add type-declaration set
* skip nullable void
* add anonymous parent/interface support
* refactor MultiExceptionCatchRector to use Catch_ over integers
* type fixes
* fix unoin array type override
* remove unused test cases
* drop overcomplicated InlineValidationRulesToArrayDefinitionRector
* skip assign on var
* [rector] skip assign on var
* [cs] skip assign on var
* [rector] [cs] skip assign on var
* skip assign on var
* fixes
* [rector] fixes
* [cs] fixes
Co-authored-by: rector-bot <tomas@getrector.org>
2020-09-01 17:56:30 +00:00
Tomas Votruba
41b679cb2a
[DX] Replacing arrays with objects ( #4008 )
...
* [phpstan] Add forbidden array destruct to prevent array mess
* use ArrayCallable value object
* add OpeningAndClosingSpace
* drop ConstructorInjectionToActionInjectionRector, antipattern
* use value objects
* [rector] use value objects
Co-authored-by: rector-bot <tomas@getrector.org>
2020-08-23 09:39:09 +00:00
dobryy
a3be7e03ca
[DX] Rename namespaces of Rector rules to respect node, instead of domain ( #3911 )
2020-08-12 11:08:59 +02:00
Tomas Votruba
7a603dde2d
[TypeDeclaration] Add nested key support ( #3941 )
...
* [TypeDeclaration] Add nested key support
* [rector] [TypeDeclaration] Add nested key support
* [cs] [TypeDeclaration] Add nested key support
Co-authored-by: rector-bot <tomas@getrector.org>
2020-08-11 11:58:03 +00:00
dobryy
411d76f9a9
[Order] Make OrderPrivateMethodsByUseRector process file in one run u… ( #3889 )
...
* [Order] Make OrderPrivateMethodsByUseRector process file in one run using while loop
* [Order] Enable rule in CI
* [rector] [Order] Enable rule in CI
* [cs] [Order] Enable rule in CI
* [Order] Use constant for number of max attempts and throw exception when exceeded.
* [rector] [Order] Use constant for number of max attempts and throw exception when exceeded.
* [cs] [Order] Use constant for number of max attempts and throw exception when exceeded.
Co-authored-by: rector-bot <tomas@getrector.org>
2020-08-05 22:45:36 +02:00
TomasVotruba
3ff6a971b7
add sponsor
2020-08-03 09:38:45 +02:00
Tomas Votruba
e35131524c
[Nette 3.0] Various rules updates ( #3878 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
2020-08-03 09:26:01 +02:00
Tomas Votruba
55acb3578a
[MagicDisclosure] Add SetterOnSetterMethodCallToStandaloneAssignRector ( #3860 )
...
* [MagicDisclosure] Add MethodCallOnSetterMethodCallToStandaloneAssignRector
* merge ChainMethodCallManipulator to ChainMethodCallNodeAnalyzer for better DX
* [MagicDisclosure] Add in arg defluent
* rebase
2020-08-01 11:41:16 +00:00
dobryy
3aa2fc8727
[Order] Order properties and constants with respect of complexity and position ( #3826 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
2020-07-31 22:20:45 +02:00
TomasVotruba
9488eb5d07
add debug notes
2020-07-29 03:39:48 +02:00
TomasVotruba
5859625d5d
[Nette] Add TranslateClassMethodToVariadicsRector
2020-07-29 03:21:08 +02:00
TomasVotruba
94088334c7
fix missing test fixture in generator
2020-07-29 02:29:44 +02:00
TomasVotruba
1e7ad43b4d
rename CreateRector command to only Create
2020-07-29 02:27:21 +02:00
TomasVotruba
f845935e4a
[Nette 3.0] Get config to merge with defaults
2020-07-28 17:46:48 +02:00
TomasVotruba
d94e529f29
[Nette] Improve AddDatePickerToDateControlRector
2020-07-27 10:44:51 +02:00
TomasVotruba
63c515a834
[Nette] Load data from __construct of same class
2020-07-27 02:07:36 +02:00
TomasVotruba
86d8666438
[Nette] move quality rules to nette-code-quality directory
2020-07-26 18:48:18 +02:00
TomasVotruba
0650075005
[Nette] Add ChangeControlArrayAccessToAnnotatedControlVariableRector
2020-07-26 15:54:46 +02:00
dobryy
f37cd4cac3
[Order] Apply rule
2020-07-26 15:11:41 +02:00
TomasVotruba
e3c9add4b2
[Nette] Add dim fetch support
2020-07-26 11:54:56 +02:00
TomasVotruba
9e2b9a8859
refactor to collector pattern
2020-07-26 00:10:36 +02:00
TomasVotruba
54fa79b423
decouple OnVariableMethodCallsFormControlTypeResolver
2020-07-25 20:25:12 +02:00
TomasVotruba
7ed4cb19c4
simplify config globs
2020-07-25 20:14:28 +02:00
TomasVotruba
c50aedca5c
[Nette] add support for getComponent() resolution in form array access
2020-07-25 18:24:40 +02:00
TomasVotruba
350a1be7ba
[Nette] Improve AddDatePickerToDateControlRector
2020-07-25 16:23:30 +02:00
TomasVotruba
32e1e87a80
[Nette] Add MakeGetComponentAssignAnnotatedRector
2020-07-25 12:39:53 +02:00
TomasVotruba
6872ad1f07
add support for connection with method call
2020-07-25 00:55:09 +02:00
TomasVotruba
aa91188a04
[Nette] skip being assigned
2020-07-24 23:23:51 +02:00
TomasVotruba
88a0a64f46
[Nette] add add*() method resolution for factories
2020-07-24 22:16:19 +02:00
TomasVotruba
dc60a96ff6
[Nette] add support for new instance type
2020-07-24 18:32:31 +02:00
TomasVotruba
c0fd5a3633
improve docs
2020-07-24 17:28:43 +02:00
TomasVotruba
44040eba97
[Nette] Add external form factory support
2020-07-24 17:16:37 +02:00
TomasVotruba
adcaf173d3
add custom control by method name
2020-07-24 16:02:09 +02:00
TomasVotruba
92b670d8d5
Skip already fetched in form contorl
2020-07-23 00:09:48 +02:00
TomasVotruba
d4f6c497a7
[Nette] Add form dim access to standalone node control
2020-07-22 21:38:34 +02:00
TomasVotruba
c2c1066374
[rector] apply on rules
2020-07-19 20:52:42 +02:00
TomasVotruba
ee291d1fdc
use strings over ::class in type detection, as they ge tprifexed by phar builder
2020-07-12 16:38:04 +02:00
TomasVotruba
3c3c3a9530
remove func call from methods calls
2020-07-06 01:59:41 +02:00
TomasVotruba
0cb82c2a6f
apply new Naming_
2020-06-30 00:57:38 +02:00
TomasVotruba
190847e94d
skip tests in ContextGetByTypeToConstructorInjectionRector
2020-06-26 00:27:35 +02:00
TomasVotruba
a148d3440c
fix rector description
2020-06-24 10:37:57 +02:00
TomasVotruba
ad4bba4aac
update docs
2020-06-21 16:32:27 +02:00