6011 Commits

Author SHA1 Message Date
Tomas Votruba
2f5255ef20 cleanup 2019-09-10 15:14:36 +02:00
Tomáš Votruba
328779feaf
[Doctrine] split id and relation migration to 2 steps (#1966)
[Doctrine] split id and relation migration to 2 steps
2019-09-10 12:01:11 +02:00
Tomas Votruba
71893e2725 use data provider [skip ci] 2019-09-10 11:53:30 +02:00
Tomas Votruba
6081373d39 [Doctrine] split id and relation migration to 2 steps 2019-09-10 11:49:01 +02:00
sashabeton
4d81457623 Beautify methods' namings 2019-09-10 11:20:10 +03:00
sashabeton
3f53e60b71 Extend NodeFactory, beautify code 2019-09-10 11:14:54 +03:00
Tomáš Votruba
037ec9bf6c
Merge pull request #1962 from adrozdek/fix/symfony-documentation
Fixed small typos for Symfony docs.
2019-09-06 22:18:08 +02:00
Agata Drozdek
759db15ff5 Fixed small typos for Symfony docs. 2019-09-06 22:08:48 +02:00
Tomáš Votruba
1abbdbce91
Merge pull request #1958 from rectorphp/php-parser-clean-api
remove few PHP-Parser rules to prevent package-rules vs package-features confussion
2019-09-06 12:43:09 +02:00
Tomas Votruba
2cb3f04945 remove few PHP-Parser rules to prevent package-rules vs package-features confussion 2019-09-06 12:33:05 +02:00
Tomáš Votruba
84adad668b
Move from string types to PHPStan types (#1957)
Move from string types to PHPStan types
2019-09-06 12:32:42 +02:00
Tomas Votruba
82efb89940 use object types over strings 2019-09-06 12:29:55 +02:00
Jan Mikeš
773ac11af6
Merge pull request #1955 from rectorphp/fix-docker-build-missing-stubs
Added stub directory to Docker composer build phase
2019-09-04 14:23:07 +02:00
Jan Mikeš
1670e85aa2
Added stub directory to Docker composer build phase 2019-09-04 14:21:22 +02:00
Tomáš Votruba
919cfc4209
remove CallableCollectorPopulator (#1954)
remove CallableCollectorPopulator
2019-09-04 14:10:16 +02:00
Tomas Votruba
9cc1c9909a remove CallableCollectorPopulator 2019-09-04 13:26:23 +02:00
Tomáš Votruba
a223c79830
Merge pull request #1953 from rectorphp/static-mapper
StaticTypeMapper refactoring
2019-09-04 12:28:54 +02:00
Tomas Votruba
89e21ea68b merge NodeToStringTypeResolver, StaticTypeToStringResolver, PHPStan\StaticTypeToStringResolver to StaticTypeMapper 2019-09-04 12:23:03 +02:00
Tomáš Votruba
cb4b44515e
improve test case provided rector class debug info (#1952)
improve test case provided rector class debug info
2019-09-04 11:14:12 +02:00
Tomas Votruba
64d69ca83f improve test case provided rector class debug info 2019-09-04 11:03:02 +02:00
Tomáš Votruba
aba57afec0
Merge pull request #1948 from rectorphp/phpunit-data-provider
[PHPUnit] Add array call to data provider
2019-09-04 11:01:37 +02:00
Tomas Votruba
84f72f7c4a [PHPUnit] Add array call to data provider 2019-09-04 10:51:54 +02:00
Tomáš Votruba
d3715d6d5a
Merge pull request #1951 from drbyte/patch-1
Update README.md
2019-09-04 08:20:48 +02:00
Chris Brown
aa072fce3d
Update README.md
Small grammar and typographical fixes
2019-09-03 18:50:44 -04:00
Tomáš Votruba
4e0ba285ca
[PHPUnit] Add @see annotation to reference test (#1947)
[PHPUnit] Add @see annotation to reference test
2019-09-03 14:51:50 +02:00
Tomas Votruba
f94d567f38 decouple ComposerAutoloadedDirectoryProvider 2019-09-03 14:46:47 +02:00
Tomas Votruba
79ffad4a0b add @see annotations 2019-09-03 14:05:21 +02:00
Tomas Votruba
1fdeffe2e1 fix test classes names 2019-09-03 14:02:42 +02:00
Tomas Votruba
1a0db5e25c [PHPUnit] Add AddSeeTestAnnotationRector 2019-09-03 14:02:42 +02:00
Tomáš Votruba
e72491feb2
from helper methods to isStaticType() with PHPStan object typing (#1946)
from helper methods to isStaticType() with PHPStan object typing
2019-09-03 10:25:56 +02:00
Tomas Votruba
0e9465941a rename getNodeStaticType() to getStaticType() 2019-09-03 10:08:30 +02:00
Tomas Votruba
2a0d0d7ac1 from helper methods to isStaticType() with PHPStan object typing 2019-09-03 10:06:04 +02:00
Tomáš Votruba
a5c3bc9707
Merge pull request #1943 from rectorphp/return-trial
Improve covariance in ReturnTypeDeclarationRector
2019-09-03 09:35:59 +02:00
Tomas Votruba
57db278625 add mixed type 2019-09-03 09:28:50 +02:00
Tomas Votruba
cf1514fad6 skip self override 2019-09-02 22:11:41 +02:00
Tomas Votruba
e1bb7a0fcb add covariance test 2019-09-02 21:54:36 +02:00
Tomas Votruba
1bdbc9dadd cleanup dead code 2019-09-02 20:52:44 +02:00
Tomas Votruba
7008685873 make subtype of independent 2019-09-02 20:46:22 +02:00
Tomas Votruba
72b363f60a improve covariance resolution 2019-09-02 20:38:25 +02:00
Tomas Votruba
34f8319292 use findChildrenOfClass() instead of interface + filter 2019-09-02 19:54:18 +02:00
Tomas Votruba
ebbd854a2d skip overriding existing return types 2019-09-02 19:50:16 +02:00
Tomáš Votruba
63747bc84c
remove duplicated code (#1942)
remove duplicated code
2019-09-02 16:22:51 +02:00
Tomas Votruba
194a423c6f composer: downgrade annotation 1.6 for PHP 7.1 2019-09-02 16:17:13 +02:00
Tomas Votruba
b748309775 remove duplicated code 2019-09-02 16:04:03 +02:00
Tomáš Votruba
7d2ffa5337
cleanup type resolving (#1940)
cleanup type resolving
2019-09-02 13:24:56 +02:00
Tomas Votruba
ac08e7c320 cleanup type resolving 2019-09-02 12:50:38 +02:00
Tomáš Votruba
a8643b7576
Merge pull request #1939 from rectorphp/correct-types
Add ReturnedNodesReturnTypeInferer + big *TypeDeclarationRector refactoring
2019-09-02 11:50:17 +02:00
Tomas Votruba
87e4c5e0a8 remove ReturnTypeResolver 2019-09-02 11:40:11 +02:00
Tomas Votruba
8b6331bc01 add AbstarctPriorityAwareTypeInferer 2019-09-02 10:47:09 +02:00
Tomas Votruba
8af87e51c9 Add ReturnedNodesReturnTypeInferer 2019-09-02 10:47:05 +02:00