88 Commits

Author SHA1 Message Date
Tomas Votruba
8c259c8d92 add stubs over mirror class names in tests 2019-09-30 09:12:25 +02:00
Tomas Votruba
2cfcd37427 make use of addStmtsToClassMethodIfNotThereYet() 2019-09-28 20:00:11 +02:00
Tomas Votruba
9ef3801b41 cleanup 2019-09-28 13:18:11 +02:00
Tomas Votruba
1202ca2658 allow cs 2019-09-27 22:09:00 +02:00
Tomas Votruba
a1e9a529d6 make tags in-sensitivty 2019-09-27 22:01:57 +02:00
Tomas Votruba
0da741a9a3 drop @return type from Iterator in tests 2019-09-27 14:40:09 +02:00
Tomas Votruba
598f228c6d decouple php doc ast node to factories 2019-09-27 14:40:09 +02:00
HypeMC
f75603428b Coding standard fix. 2019-09-22 00:38:22 +02:00
Tomas Votruba
d727b0181e [Doctrine] Add ChangeIdenticalUuidToEqualsMethodCallRector 2019-09-21 19:44:34 +02:00
Tomas Votruba
8993b6bc14 [Doctrine] Add ChangeReturnTypeOfClassMethodWithGetIdRector 2019-09-21 17:41:40 +02:00
Tomas Votruba
fabbfacd1a [Doctrine] Add GetUuidMethodCall to GetId 2019-09-21 16:27:10 +02:00
Tomas Votruba
ca8cfe10ba add constant reference case 2019-09-21 13:30:03 +02:00
Tomas Votruba
d6d48ea44b make ShouldNotHappenException smarter 2019-09-21 13:30:03 +02:00
Tomas Votruba
8e93626e32 [Doctrine] Add ChangeSetIdToUuidValueRector 2019-09-21 12:46:01 +02:00
Tomas Votruba
6c35b3af43 [Doctrine] init step 2 uuid 2019-09-20 10:14:49 +02:00
Tomas Votruba
0a20938c72 add CustomIdGenerator 2019-09-19 20:02:00 +02:00
Tomas Votruba
d15a1b955e cover name at JoinColumn removal 2019-09-19 19:39:08 +02:00
Tomas Votruba
a49bac510e add isInDoctrineEntityClass() method 2019-09-19 18:11:40 +02:00
Tomas Votruba
1fbdd45d09 make decoratePropertyWithUuidAnnotations public 2019-09-19 17:36:25 +02:00
Tomas Votruba
3f6fddee71 make DocBlockManipulator protected in AbstractRector + add ColumnGenerator annotatoin parsing 2019-09-19 17:30:31 +02:00
Tomas Votruba
71e41297d7 fix doctrine spacing of annotatoins 2019-09-19 10:15:40 +02:00
Tomas Votruba
683f33a526 [Doctrine] Add AlwaysInitializeUuidInEntityRector 2019-09-18 09:23:18 +02:00
Tomas Votruba
ca7d0cba15 use PHP highlight for herenow doc 2019-09-18 09:14:06 +02:00
Tomas Votruba
4480ce1195 make extensible 2019-09-17 21:01:43 +02:00
Tomas Votruba
4c9ecba04c [tests] switch testFiles to data providers 2019-09-12 10:18:26 +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
622b6c1460 migrate TypeInferers to PHPStan object types 2019-09-10 20:40:43 +02:00
Tomas Votruba
5a2f2b0900 fix spacing with SpacelessPhpDocTagNode 2019-09-10 20:35:03 +02:00
Tomas Votruba
c61c01bfdf add skip of one to one relations with mapped by 2019-09-10 15:36:17 +02:00
Tomas Votruba
62655ea194 add relation property only when target entity has uuid 2019-09-10 15:23:23 +02:00
Tomas Votruba
58f41a1eda separate uuid migration to 2 files 2019-09-10 15:14:36 +02:00
Tomas Votruba
4cd498e3aa move stubs loading to FileProcessor 2019-09-10 15:14:36 +02:00
Tomas Votruba
2f5255ef20 cleanup 2019-09-10 15:14:36 +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
Tomas Votruba
82efb89940 use object types over strings 2019-09-06 12:29:55 +02:00
Tomas Votruba
79ffad4a0b add @see annotations 2019-09-03 14:05:21 +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
Tomas Votruba
72bb8d6ec0 remove getDoctrine*() methods from PhpDocInfo, use getByType() instead 2019-08-31 13:46:48 +02:00
Tomas Votruba
160c9a6413 report old and new table 2019-08-31 12:49:10 +02:00
Tomas Votruba
a618c07a50 decouple EntityWithMissingUuidProvider class 2019-08-31 12:47:41 +02:00
Tomas Votruba
e466a14616 add removeNodeFromStatements() method to remove statement by key easily 2019-08-31 10:44:41 +02:00
Tomas Votruba
04d01ffdfe add Symfony Validator annotations 2019-08-30 23:08:03 +02:00
Tomas Votruba
3883bbb001 RemoveUnusedPrivatePropertyRector should skip entities [closes #1922] 2019-08-29 21:31:01 +02:00
Tomas Votruba
bf312a3dd0 create table name based on @Table annotation 2019-08-29 17:26:35 +02:00
Tomas Votruba
bc9f3759cd improve new entity props collecting 2019-08-29 17:25:37 +02:00
Tomas Votruba
0223736948 make id name property detection independent on the property name 2019-08-29 15:27:24 +02:00
Tomas Votruba
fc99b78e52 Rename EntitiesWithAddedUuidPropertyCollector to more generic EntitiesWithAddedUuidPropertyCollector 2019-08-29 15:08:27 +02:00