Tomas Votruba
c83ac3683e
Decouple specific rules from NonPhpFileProcessor to NonPhpRectorInterface contract ( #6285 )
2021-05-02 11:50:34 +00:00
Tomas Votruba
5cda5de4ac
Decouple Rector PHPStan rules to own package ( #6242 )
2021-04-25 23:12:14 +00:00
Tomas Votruba
a3ec81fe1f
Add setter/getter factory ( #6219 )
2021-04-23 18:14:51 +00:00
TomasVotruba
420a2a8148
typo
2021-04-15 23:40:47 +02:00
Tomas Votruba
0ef3b600e3
[PHPStanExtensions] Add NoClassReflectionStaticReflectionRule ( #6078 )
2021-04-10 14:17:21 +02:00
Tomas Votruba
b2412ad62a
Refactor doctrine/annotation from dynamic to own static-reflection parser ( #5974 )
...
* remove doctrine/annotations
* Refactor doctrine/annotation parser to static reflection with phpdoc-parser
* remove doctirne-annotation-parser-syncer
* remove annotation stubs
* use nodes
* almost there
* [ci-review] Rector Rectify
* skip temporary
* phpstan: remove fixed messages
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-04-04 11:01:11 +02:00
TomasVotruba
00014cbb39
[cs] apply on coding standard
2021-03-18 02:24:29 +01:00
Tomas Votruba
f92c18514a
[DX] Forbid @required annotation ( #5869 )
2021-03-16 00:49:31 +00:00
Tomas Votruba
d7cb28e37a
[Symfony 5.1] Add RouteCollectionBuilderToRoutingConfiguratorRector ( #5835 )
...
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-03-13 16:11:49 +00:00
Tomas Votruba
157c39aefc
[DX] move src/tests rules from micro-packages to single PSR-4 structure ( #5826 )
2021-03-12 23:20:25 +01:00
Tomas Votruba
c791f5ed60
[RectorGenerator] Decouple to external package ( #5825 )
2021-03-12 20:13:27 +01:00
Tomas Votruba
67670e70ad
[DX] move packages from src/tests to single PSR-4 directory ( #5824 )
2021-03-12 01:21:29 +00:00
Tomas Votruba
ba1444959d
[TypeDeclaration] Improve param by caller type #2 ( #5787 )
2021-03-07 14:27:17 +00:00
Tomas Votruba
d7353baf2c
Misc cleanup ( #5456 )
...
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-02-08 12:33:17 +00:00
Tomas Votruba
e9cdf37d16
Decopule nodes docs generator ( #5453 )
...
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-02-08 02:04:48 +01:00
TomasVotruba
6dd74ffb89
remove unused sniff
2021-01-20 15:05:20 +01:00
Tomas Votruba
d256bbd8c0
change rector-ci.php to rector.php ( #4994 )
2020-12-25 19:11:33 +01:00
Tomas Votruba
a2dbaedb0e
[Privatization] Move MakeUnusedClassesWithChildrenAbstractRector here ( #4987 )
2020-12-25 15:45:17 +01:00
Tomas Votruba
37b3cecda3
Upgrade to php-parser 4.10.4 and PHPStan 0.12.63 ( #4926 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
2020-12-20 22:05:48 +01:00
TomasVotruba
32eba83751
recomment
2020-12-20 00:43:59 +01:00
Tomas Votruba
f197e25793
droping events ( #4865 )
...
* drop unused ReportCollector and releted avain chains
* update fixed comma trail downgrade in php-parser
* add post runner interface
* [CodingStyle] Enabe post-inc-dec
* [ci-review] Rector Rectify
* test ci
* bump phpunit
Co-authored-by: rector-bot <tomas@getrector.org>
2020-12-12 14:58:47 +00:00
Tomas Votruba
377c734975
drop old compiler ( #4716 )
2020-11-27 17:54:14 +01:00
Tomas Votruba
0456cc088c
[Docs] Improve rule doc generator to generat rules_overview with categories ( #4688 )
...
* numbers
* update ECS config to Symplify 9
* regenerate rules with categorize
* [CI] disable automated rebase, as not working propperly
* update misc
2020-11-25 21:34:34 +00:00
Tomas Votruba
da6d703687
Improve Blade class renames ( #4676 )
...
* [Console] Use single point of command naming
* use blade in process command
* filter out blade templates from PHP files
* make test process blade as non php file
* add failing test
* remove duplicated tests
* rename php to php.inc suffix to make it skip to CI tools
* [ci-review] Rector Rectify
Co-authored-by: rector-bot <tomas@getrector.org>
2020-11-23 19:16:48 +00:00
Tomas Votruba
6eb7ad40a1
use explicit in service definitions ( #4674 )
2020-11-23 14:10:13 +00:00
Tomas Votruba
2116630748
[ci] remove old merageable file ( #4497 )
...
* [ci] remove old merageable file
* updat ecs
2020-10-28 23:26:17 +00:00
Tomas Votruba
01514ab9a8
[SimplePhpDocParser] Add README + getParam*() helper methods ( #4393 )
2020-10-11 16:17:43 +02:00
Tomas Votruba
8ae3868a57
[Restoration] Add RestoreFullyQualifiedNameRector ( #4336 )
...
* [Restoration] Add RestoreFullyQualifiedNameRector
* update docs
* use service aware test case for PHPStan rules
* improve FullyQualifiedNameMatcher
* cs fixes
* add return doc resolution
* composer: bump to symfony 4.4/5.1
2020-10-01 19:45:29 +00:00
Abdul Malik Ikhsan
ae816c2c3d
Fixes #4337 : Make Option::SKIP works again with ParameterProvider ( #4339 )
2020-10-01 18:55:10 +02:00
Tomas Votruba
70bf2ea830
[DOCS] Switch DumpRectorCommand from console to string printer ( #4281 )
...
* monorepob-builder: add v prefix
* monorepob-builder: add v prefix
* bump symplify
* decouple SymfonyConsole from DumpRectorCommand
* moving to migrify php-config-printer
* regenerate docs
* include rules oerview
2020-09-24 18:54:39 +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
41a9b63c6f
fix ci ( #4057 )
2020-08-29 11:03:40 +02:00
TomasVotruba
efef51d237
use option
2020-08-19 00:09:49 +02:00
Tomas Votruba
3b87f6c5c8
update ecs.php to use constants over strings ( #3982 )
2020-08-18 16:42:54 +00:00
dobryy
2e7bdca4e2
[DX] Rename namespaces respect node type ( #3973 )
2020-08-18 17:57:30 +02:00
Tomas Votruba
74fc11088d
move Polyfill to rules ( #3951 )
2020-08-12 18:30:42 +00: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
Tomas Votruba
6b0249a025
drop slevomat cs to prevent breaking build for last months ( #3917 )
2020-08-05 22:57:39 +00:00
Tomas Votruba
09f67341ee
Add set-path constant support ( #3886 )
2020-08-03 21:14:41 +02:00
TomasVotruba
2eddb274c2
use standard __ for vars
2020-07-28 23:54:13 +02:00
TomasVotruba
99db894192
restore types
2020-07-27 10:44:51 +02:00
TomasVotruba
ee9d0439cf
make use of Set constants
2020-07-20 01:06:56 +02:00
TomasVotruba
cb13e7116e
skip dynamic name
2020-07-19 20:21:52 +02:00
TomasVotruba
bda3e5aa28
load rector.php config
2020-07-18 21:15:27 +02:00
TomasVotruba
0944b75f7e
correct namespace in configs
2020-07-18 11:58:17 +02:00
TomasVotruba
78f830a6f7
add PHP support to FileHashComputer
2020-07-17 00:59:52 +02:00
TomasVotruba
2c433947e2
ecs.php - apply cs, improve paths
2020-07-16 20:46:59 +02:00
TomasVotruba
70895c8f6b
switch ecs.yaml to ecs.php
2020-07-16 17:37:24 +02:00