7391 Commits

Author SHA1 Message Date
TomasVotruba
6512a764e5 decouple ThisTypeMapper 2020-01-14 21:34:21 +01:00
TomasVotruba
9524ec636c add ParentStaticTypeMapper 2020-01-14 21:23:51 +01:00
TomasVotruba
682869a087 decouple IterableTypeMapper 2020-01-14 21:19:41 +01:00
TomasVotruba
0bf8eb833d rebuid docs 2020-01-14 21:19:23 +01:00
TomasVotruba
ba72bc847d decouple UnionTypeAnalyzer and UnionTypeAnalysis 2020-01-14 21:15:14 +01:00
TomasVotruba
49b3ca04b8 add TypeMapper 2020-01-14 21:15:14 +01:00
Dorian Villet
7e3697c2bd Fix ECS/Phpstan inspections. 2020-01-14 21:08:05 +01:00
Dorian Villet
ad6e7780c8 Merge remote-tracking branch 'origin/master' into filter-rector 2020-01-14 21:00:22 +01:00
Dorian Villet
961ad54933 Rename option to --only. 2020-01-14 20:54:38 +01:00
Tomas Votruba
68f06043f9
Merge pull request #2660 from rectorphp/static-type-mapper
Decouple PHPStanStaticTypeMapper
2020-01-14 17:50:08 +01:00
Tomas Votruba
a626de3146
Good bye CallManipulator (#2662)
Good bye CallManipulator
2020-01-14 17:24:20 +01:00
Lctrs
debfa72951
Good bye CallManipulator
Unused after https://github.com/rectorphp/rector/pull/2658
2020-01-14 15:48:03 +01:00
TomasVotruba
f03c521de0 make some use of TypeNodeResolver from PHPStan 2020-01-14 15:26:36 +01:00
TomasVotruba
e64f787cde [PHPStanStaticTypeMapper] Decouple new services to handle PHPStan type mapping 2020-01-14 15:26:36 +01:00
TomasVotruba
0589566b1b cleanup 2020-01-14 15:26:36 +01:00
Tomas Votruba
581010f827
Introduce a CallReflectionResolver (#2658)
Introduce a CallReflectionResolver
2020-01-14 15:23:17 +01:00
Lctrs
8d80b5b637 Introduce a CallReflectionResolver 2020-01-14 14:31:57 +01:00
Dorian Villet
4ba637f9a2 Merge remote-tracking branch 'origin/master' into AddArrayReturnDocTypeRector/fix-iterable-mixed 2020-01-14 13:17:55 +01:00
Tomas Votruba
8429a8e9f2
Update rector-prefixed only on push to master (#2659)
Update rector-prefixed only on push to master
2020-01-14 13:04:27 +01:00
Lctrs
c368fd821e
Update rector-prefixed only on push to master 2020-01-14 12:46:54 +01:00
Jeroen Smit
ce0bf6d5e3 Code style 2020-01-13 20:37:48 +01:00
Tomas Votruba
16b16d847b
Merge pull request #2657 from Lctrs/reflection-provider
Migrate from PHPStan's Broker to ReflectionProvider
2020-01-13 15:47:33 +01:00
Lctrs
173e3ddf15 Migrate from PHPStan's Broker to ReflectionProvider 2020-01-13 14:34:18 +01:00
Jeroen Smit
20bb97e8d2 Better handling for delegating parent rector for parents with default values 2020-01-13 14:18:35 +01:00
Dorian Villet
b7aba7b60f Rename --rule argument into --filter-rector, add documentation. 2020-01-13 11:44:26 +01:00
Tomas Votruba
31bc254ceb
Merge pull request #2654 from rectorphp/polyfill-php
[Polyfill] Add UnwrapFutureCompatibleIfPhpVersionRector
2020-01-13 02:50:11 +01:00
TomasVotruba
a94dcb9f2a [Polyfill] Add UnwrapFutureCompatibleIfPhpVersionRector 2020-01-13 02:45:54 +01:00
TomasVotruba
a03f78027b rename UnwrapFutureCompatibleIfRector to UnwrapFutureCompatibleIfFunctionExistsRector 2020-01-13 00:03:10 +01:00
Tomas Votruba
76a2fc5ec9
Add PHPStanAttributeTypeSyncer (#2649)
Add PHPStanAttributeTypeSyncer
v0.6.10
2020-01-12 23:41:49 +01:00
TomasVotruba
0afb435a07 composer: bump phpstan to 0.12.5 2020-01-12 23:34:34 +01:00
TomasVotruba
6b6350d2bc separate 2020-01-12 23:34:34 +01:00
TomasVotruba
1b6f616cf9 import names 2020-01-12 23:34:34 +01:00
TomasVotruba
ef982e3df3 remove old manual nodes 2020-01-12 22:42:38 +01:00
TomasVotruba
ded6e13996 fix cs 2020-01-12 22:42:38 +01:00
TomasVotruba
1735c0366d add type 2020-01-12 21:42:20 +01:00
TomasVotruba
efabe2d986 move usage from BetterPhpDocParser ast nodes to AttributeAwarePhpDoc 2020-01-12 21:42:20 +01:00
TomasVotruba
8d00bd8e02 generate AttributeAware nodes + factories 2020-01-12 21:42:20 +01:00
TomasVotruba
464eb22030 Add PHPStanAttributeTypeSyncer 2020-01-12 21:42:19 +01:00
Tomas Votruba
f586d42b0f
[Doctrine 2.0] Add class rename set (#2648)
[Doctrine 2.0] Add class rename set
2020-01-12 12:45:13 +01:00
TomasVotruba
0004935965 add doctrine common 2.0 set + diff class extractor helper 2020-01-12 12:19:56 +01:00
Tomas Votruba
cd1f16192d
Test with Doctrine (#2635)
Test with Doctrine
2020-01-12 11:30:22 +01:00
TomasVotruba
51ce266eb4 test doctrine/orm 2020-01-12 11:26:27 +01:00
TomasVotruba
8aff7f4b4a use 4-space indent in actions 2020-01-12 01:05:11 +01:00
Tomas Votruba
5d71630ae6
Merge pull request #2646 from rectorphp/fix-var-const-unions
Fix Union Array type StaticTypeMapper to string
2020-01-12 00:53:26 +01:00
TomasVotruba
3fec96049b Add nested array const type 2020-01-12 00:49:54 +01:00
Tomas Votruba
0ea5e8df5b
Extend AddDoesNotPerformAssertionToNonAssertingTestRector by ca… (#2645)
Extend AddDoesNotPerformAssertionToNonAssertingTestRector by catching more test messages
2020-01-12 00:00:07 +01:00
TomasVotruba
4358dbc1a1 Extend AddDoesNotPerformAssertionToNonAssertingTestRector by catching more test messages 2020-01-11 23:56:53 +01:00
Tomas Votruba
8876a62deb
Merge pull request #2640 from gnutix/AddDoesNotPerformAssertionToNonAssertingTestRector/prophecy-failing-test
[AddDoesNotPerformAssertionToNonAssertingTestRector] Add failing test for Prophecy assertions.
2020-01-11 23:21:09 +01:00
Tomas Votruba
57b4359ce9
[CountOnNullRector] fix Rector applying on properties with phpd… (#2637)
[CountOnNullRector] fix Rector applying on properties with phpdocs array
2020-01-11 23:20:35 +01:00
TomasVotruba
cb96c8ef41 add few cake30 classes 2020-01-11 23:12:21 +01:00