Tomas Votruba
9164d46a3b
[Naming] Add MakeGetterClassMethodNameStartWithGetRector ( #4003 )
...
* [Naming] Add MakeGetterClassMethodNameStartWithGetRector
* [rector] [Naming] Add MakeGetterClassMethodNameStartWithGetRector
* [cs] [Naming] Add MakeGetterClassMethodNameStartWithGetRector
Co-authored-by: rector-bot <tomas@getrector.org>
2020-08-22 15:46:09 +00:00
dobryy
003afc1435
[Order] Move ClassLike and Class_ rules into correct namespaces ( #3969 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
2020-08-16 13:42:22 +02:00
dobryy
d893ee7209
[Order] Order first level class statements ( #3968 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
2020-08-16 12:08:37 +02:00
Tomas Votruba
1c4b510513
PHPStan: require iterable types ( #3936 )
...
* phpstan: require iterable types
* add link on relative path and line
* fix missing class type
* typed array in Rector code + add data provide support resolver
* remove duplicated set
* drop unused yaml ecs config
* add out-of-the-box directory for 3rd party packages
* static fixes
* [rector] static fixes
* [cs] static fixes
* [rector] [cs] static fixes
* generic types
Co-authored-by: rector-bot <tomas@getrector.org>
2020-08-11 10:59:04 +00:00
dobryy
e4af8cc721
[Order] Order constants by visibility ( #3934 )
...
* [Order] Order constants by visibility
* phpstan iterable types fixes
* Fix PHPStan issue (unrelated to PR)
* Doc Update
2020-08-10 21:59:40 +00:00
Tomas Votruba
172653b606
drop EnsureDataProviderInDocBlockRector, job for coding standards ( #3938 )
2020-08-10 10:40:22 +02:00
dobryy
0f63ef4b1c
[Order] Visibility rules refactoring ( #3933 )
...
* [Order] Visibility rules refactoring
* [Order] Import missed FQCN
* phpstan iterable types fixes
2020-08-09 19:21:31 +02:00
dobryy
05ece4e8d1
[Order] Order properties by visibility ( #3929 )
2020-08-08 00:21:17 +02:00
dobryy
29d44284cc
[Order] Order class methods by visibility ( #3923 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
2020-08-07 18:23:40 +02:00
Tomas Votruba
6b0249a025
drop slevomat cs to prevent breaking build for last months ( #3917 )
2020-08-05 22:57:39 +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
dobryy
056e50018c
[Order] Add test for StmtOrder ( #3884 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
2020-08-05 09:47:09 +02:00
Tomas Votruba
e7429d96a4
make use of constant ( #3875 )
2020-08-02 13:17:33 +00: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
fe72e003ed
use constants in configs
2020-07-30 13:53:53 +02:00
dobryy
6547082ddd
[Order] Order any param (Nullable or with default value) that has type of Object
2020-07-27 16:39:34 +02:00
dobryy
f37cd4cac3
[Order] Apply rule
2020-07-26 15:11:41 +02:00
dobryy
99494d4c32
[Order] Order __constructor dependencies by type alphabetically
2020-07-26 15:11:28 +02:00
TomasVotruba
7ed4cb19c4
simplify config globs
2020-07-25 20:14:28 +02:00
TomasVotruba
0944b75f7e
correct namespace in configs
2020-07-18 11:58:17 +02:00
TomasVotruba
0c816d60f8
[config] switch rules config from YAML to PHP
2020-07-16 12:48:54 +02:00
TomasVotruba
a8a6e7bcad
rename file to fileInfo
2020-06-30 01:45:05 +02:00
TomasVotruba
0cb82c2a6f
apply new Naming_
2020-06-30 00:57:38 +02:00
TomasVotruba
7f49658112
change test(string ) to test(SmartFileInfo ) in tests
2020-06-25 20:02:36 +02:00
TomasVotruba
2248dc00fc
add @scrumworks - amateri.com sponsor to particular rules, thank you
2020-06-21 13:43:17 +02:00
TomasVotruba
654d97c602
[Order] Add OrderClassConstantsByIntegerValueRector
2020-06-15 17:07:52 +02:00
TomasVotruba
e15003ad21
[Order] Add OrderPropertyByComplexityRector
2020-05-04 02:48:48 +02:00
TomasVotruba
68680a3cdb
[Order] Add OrderPublicInterfaceMethodRector
2020-05-04 00:10:46 +02:00
TomasVotruba
c3e82579e4
[Order] Add OrderPrivateMethodsByUseRector
2020-05-03 23:03:03 +02:00