6199 Commits

Author SHA1 Message Date
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
Tomáš Votruba
19ed72cffc
make use of getProperties(), getMethods(), getConstants() and g… (#1932)
make use of getProperties(), getMethods(), getConstants() and getTraitUses()
2019-09-01 21:55:33 +02:00
Tomas Votruba
d4cd92fa73 add getTraitUses() 2019-09-01 21:47:16 +02:00
Tomas Votruba
2e97a3d315 make use of getProperties() 2019-09-01 21:45:26 +02:00
Tomáš Votruba
3aa78bb505
[TypeDeclaration] Extend ReturnTypeDeclarationRector with incor… (#1938)
[TypeDeclaration] Extend ReturnTypeDeclarationRector with incorrect types override
2019-09-01 00:14:50 +02:00
Tomas Votruba
328fb06ee2 decouple ParamTypeInferer 2019-09-01 00:10:40 +02:00
Tomas Votruba
f9c44ec25e add ReturnedPropertyReturnTypeInferer 2019-09-01 00:07:29 +02:00
Tomáš Votruba
705024674c
uuid rules are now designed to be used at once (#1937)
uuid rules are now designed to be used at once
2019-08-31 14:08:07 +02:00
Tomas Votruba
d1604592bf uuid rules are now designed to be used at once 2019-08-31 14:07:32 +02:00
Tomáš Votruba
4379b4a04b
remove getDoctrine*() methods from PhpDocInfo, use getByType()… (#1935)
remove getDoctrine*() methods from PhpDocInfo, use getByType() instead
2019-08-31 14:00:48 +02:00
Tomas Votruba
72bb8d6ec0 remove getDoctrine*() methods from PhpDocInfo, use getByType() instead 2019-08-31 13:46:48 +02:00
Tomáš Votruba
5ed40e929b
Merge pull request #1934 from rectorphp/uuid-report-old-to-new-table
UUID report old to new table
2019-08-31 13:06:59 +02:00
Tomas Votruba
160c9a6413 report old and new table 2019-08-31 12:49:10 +02:00