675 Commits

Author SHA1 Message Date
Tomas Votruba
8c4a7ce958 Add MethodCallToReturnRector 2019-10-24 11:14:07 +02:00
Tomas Votruba
0a5efeaf84 add Standalone 2019-10-22 15:13:46 +02:00
Tomas Votruba
71d96e50e1 Prevent CI floods with progress bar 2019-10-16 09:46:11 +02:00
Tomas Votruba
c80860e69b add uuid and phpunit stub 2019-10-10 12:10:49 +01:00
Tomas Votruba
6f9ec4addd composer: lower deps to phpstan-phpunit 0.9 to allow phpunit 6 install 2019-10-10 11:47:37 +01:00
Tomas Votruba
c27604b0d8 try lowerring uuid deps 2019-10-10 11:41:28 +01:00
Tomas Votruba
0dcd2b0014 [Solid] Add UseInterfaceOverImplementationInConstructorRector 2019-10-09 01:41:51 +01:00
Tomas Votruba
9271588573 [StrictCodeQuality] Add VarInlineAnnotationToAssertRector 2019-10-05 00:09:15 +02:00
Tomas Votruba
b27f7fe797 [CodingStyle] Skip common annotation aliases in RemoveUnusedAliasRector 2019-10-02 15:01:09 +02:00
Dorian Villet
ccc88b12dd Add a dev dependency on psr/event-dispatcher to allow to run the complete-check on PHP 7.4. Otherwise getting this error :
PHP Fatal error:  During class fetch: Uncaught ReflectionException: Class Psr\EventDispatcher\EventDispatcherInterface not found in rector/vendor/symfony/config/Resource/ClassExistenceResource.php:150
Stack trace:
 0 [internal function]: Symfony\Component\Config\Resource\ClassExistenceResource::throwOnRequiredClass()
 1 [internal function]: spl_autoload_call()
 2 rector/vendor/symfony/event-dispatcher-contracts/EventDispatcherInterface.php(16): interface_exists()
 3 rector/vendor/squizlabs/php_codesniffer/autoload.php(167): include('...')
 4 rector/vendor/squizlabs/php_codesniffer/autoload.php(134): PHP_CodeSniffer\Autoload::loadFile()
 5 [internal function]: PHP_CodeSniffer\Autoload::load()
 6 rector/vendor/symfony/event-dispatcher/EventDispatcherInterface.php(23): spl_autoload_call()
 7 rector/vendor/squizlabs/php_codesniffer/autoload.php(167): include('...')
 8 rector/vendor/symfony/event-dispatcher/EventDispatcherInterface.php on line 23
2019-10-02 10:05:25 +02:00
Tomas Votruba
8c259c8d92 add stubs over mirror class names in tests 2019-09-30 09:12:25 +02:00
Tomas Votruba
6fbdf5461a [DoctrineCodeQuality] Initialize collectoins in constructor 2019-09-28 16:02:19 +02:00
Tomas Votruba
598f228c6d decouple php doc ast node to factories 2019-09-27 14:40:09 +02:00
Tomas Votruba
980778d69b move SwapFuncCallArgumentsRector to Argument 2019-09-23 18:19:04 +02:00
Tomas Votruba
17d14ba4ac move RenameClassRector to Renaming package 2019-09-23 17:41:47 +02:00
Tomas Votruba
419da7704b [Renaming] init new package 2019-09-23 16:36:58 +02:00
Tomas Votruba
2858a9f7ea [PHP] Move tests + fixture to split package by version 2019-09-23 15:16:31 +02:00
Tomas Votruba
f558733611 [PHP] Split huge package to php by version rules 2019-09-23 13:38:51 +02:00
Tomas Votruba
ddba23034c [Refactoring] Add MoveAndRenameClassRector 2019-09-22 22:01:35 +02:00
Tomas Votruba
8e93626e32 [Doctrine] Add ChangeSetIdToUuidValueRector 2019-09-21 12:46:01 +02:00
Tomas Votruba
a249c5c9f3 composer: bump to Symplify 6.1 2019-09-18 10:26:16 +02:00
Tomas Votruba
a25282b266 relocate 2019-09-15 21:48:17 +02:00
Tomas Votruba
25509c9900 [Autodiscovery] init 2019-09-15 16:51:00 +02:00
Tomas Votruba
4861d717a1 [ZendToSymfony] Init 2019-09-13 10:41:33 +02:00
Tomas Votruba
8b591fab52 fixes 2019-09-11 19:41:09 +02:00
Tomas Votruba
342a9a6468 drop object to scalar, too bugy and practically unusable 2019-09-11 16:02:35 +02:00
Tomas Votruba
2c3d2616c6 improve class rename in doc blocks 2019-09-11 16:02:35 +02:00
Tomas Votruba
056b0bbff9 fixing import rectors 2019-09-11 13:00:51 +02:00
Tomas Votruba
622b6c1460 migrate TypeInferers to PHPStan object types 2019-09-10 20:40:43 +02:00
Tomas Votruba
4cd498e3aa move stubs loading to FileProcessor 2019-09-10 15:14:36 +02:00
Tomas Votruba
194a423c6f composer: downgrade annotation 1.6 for PHP 7.1 2019-09-02 16:17:13 +02:00
Tomas Votruba
2e97a3d315 make use of getProperties() 2019-09-01 21:45:26 +02:00
Tomas Votruba
1cc8592878 add doctrine stubs 2019-08-30 10:04:55 +02:00
Tomas Votruba
e6de2a7d38 add Sensio TemplateTagValueNode 2019-08-30 09:56:56 +02:00
Tomas Votruba
42cbfd8905 [BetterPhpDocParser] Add support for parsing Doctrine annotations 2019-08-26 21:52:16 +02:00
Arnaud TIERANT
8e93468109
Move Jetbrains PhpStorm stubs into dev dependencies 2019-08-26 15:37:14 +02:00
Tomas Votruba
2b1dbaba54 update alias to 0.6 2019-08-24 13:45:17 +02:00
Tomas Votruba
c8e0e14d07 add namespace sorter 2019-08-24 13:44:51 +02:00
Tomas Votruba
357209f228 separate ContributorUtils to RectorGenerator and DocumentationGenerator 2019-08-24 13:11:20 +02:00
Tomas Votruba
f492007f37 move Contributor tools to utils 2019-08-24 12:50:35 +02:00
Tomáš Votruba
cbbce30ed8
Merge pull request #1865 from rectorphp/psr4-namespace
[PSR4] Add NormalizeNamespaceByPSR4ComposerAutoloadRector
2019-08-19 22:05:57 +02:00
Tomas Votruba
914f0b936c [PHP 7.4] Add literal thousand superator 2019-08-19 16:39:38 +02:00
Tomas Votruba
9b9ce531b2 [PSR4] Add NormalizeNamespaceByPSR4ComposerAutoloadRector 2019-08-18 12:56:56 +02:00
Tomas Votruba
379278296d fix phsptan 0.11.13 compatibility 2019-08-14 20:24:46 +02:00
Tomas Votruba
a4302b44be Improve trait node scope resolving 2019-08-05 21:13:37 +02:00
Tomas Votruba
9145e6685f composer: require nette/di to allow phpstan extension with Reference class 2019-08-05 16:50:34 +02:00
Tomas Votruba
9e090281fc [NodeTypeResolver] Add phpunit extension 2019-07-28 15:46:37 +02:00
Tomas Votruba
20a5763af5 [Restoration] Return removed class annotations 2019-07-26 22:55:21 +02:00
Tomas Votruba
dcb9c88e51 [SymfonyCodeQuality] Add EventListenerToEventSubscriberRector 2019-07-22 21:20:16 +02:00
Joseph Bielawski
08d792dda2 Remove --with-style in favour of mentioning ECS
List reasons why Rector doesn't work well with coding standards instead
2019-07-09 17:05:10 +02:00