Commit Graph

5794 Commits

Author SHA1 Message Date
Tomáš Votruba
6a9df3b504
Make type replacement of annotatoin OOP (#1931)
Make type replacement of annotatoin OOP
2019-08-30 23:43:53 +02:00
Tomas Votruba
04d01ffdfe add Symfony Validator annotations 2019-08-30 23:08:03 +02:00
Tomas Votruba
2b51b257e1 decouple PhpDocClassRenamer 2019-08-30 22:29:51 +02:00
Tomáš Votruba
d0e6422dab
[Doctrine] Add stubs instead of full orm dependencies (#1928)
[Doctrine] Add stubs instead of full orm dependencies
2019-08-30 19:59:04 +02:00
Tomas Votruba
596986120d fix doctine removal compat 2019-08-30 16:40:56 +02:00
Tomas Votruba
5618095feb make parser work for missing GeneratedValue and InheritanceType 2019-08-30 10:54:10 +02:00
Tomas Votruba
1cc8592878 add doctrine stubs 2019-08-30 10:04:55 +02:00
Tomáš Votruba
089616456f
Add Sensio TemplateTagValueNode (#1927)
Add Sensio TemplateTagValueNode
2019-08-30 10:00:47 +02:00
Tomas Votruba
e6de2a7d38 add Sensio TemplateTagValueNode 2019-08-30 09:56:56 +02:00
Tomas Votruba
8811c900ea use AST for Symfony annotations 2019-08-30 00:55:23 +02:00
Tomáš Votruba
e473f6b5ae
Merge pull request #1926 from rectorphp/dead-parent-access-override
[DeadCode] Keep parent call delegation in case of accessibility override
2019-08-29 23:41:58 +02:00
Tomas Votruba
06a107fdbb [DeadCode] Keep parent call delegation in case of accessibility override 2019-08-29 23:37:44 +02:00
Tomáš Votruba
1907843cf8
rename level to set to prevent confusion of duplicate (#1925)
rename level to set to prevent confusion of duplicate
2019-08-29 22:55:30 +02:00
Tomas Votruba
93a71ce302 rename level to set to prevent confusion of duplicate 2019-08-29 22:50:37 +02:00
Tomáš Votruba
400689504a
[DeadCode] Add RemoveAlwaysTrueIfConditionRector (#1924)
[DeadCode] Add RemoveAlwaysTrueIfConditionRector
2019-08-29 22:41:53 +02:00
Tomas Votruba
90d483ad34 [DeadCode] Add RemoveAlwaysTrueIfConditionRector 2019-08-29 22:35:22 +02:00
Tomáš Votruba
dbf8c19cc8
RemoveUnusedPrivatePropertyRector should skip entities [closes… (#1923)
RemoveUnusedPrivatePropertyRector should skip entities [closes #1922]
2019-08-29 22:01:49 +02:00
Tomas Votruba
3883bbb001 RemoveUnusedPrivatePropertyRector should skip entities [closes #1922] 2019-08-29 21:31:01 +02:00
Tomáš Votruba
7ab5511705
Add uuid only to entities with id (#1921)
Add uuid only to entities with id
2019-08-29 18:05: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
Tomas Votruba
3a39e28cf5 Add uuid only to entities with id 2019-08-29 14:53:30 +02:00
Tomáš Votruba
1ed8827191
fix expected namespace (#1917)
fix expected namespace
2019-08-29 08:16:08 +02:00
Tomas Votruba
abc1725807 fix expected namespace 2019-08-29 08:15:34 +02:00
Tomáš Votruba
cc70ef4e19
add parent construct call to uuid init (#1916)
add parent construct call to uuid init
2019-08-28 21:19:07 +02:00
Tomas Votruba
8047b4c10d add parent construct call to uuid init 2019-08-28 21:06:06 +02:00
Tomáš Votruba
798b94b943
allow non-uuid props (#1915)
allow non-uuid props
2019-08-28 17:21:22 +02:00
Tomas Votruba
80912105ec allow non-uuid props 2019-08-28 17:20:21 +02:00
Tomáš Votruba
18dcf7bb3e
[Doctrine] Id to UUID migration (#1912)
[Doctrine] Id to UUID migration
2019-08-28 12:29:26 +02:00
Tomas Votruba
d315291883 decopule UuidTableNameResolver and DoctrineDocBlockResolver 2019-08-28 12:24:12 +02:00
Tomas Votruba
66f259c933 add manual to config [skip ci] 2019-08-28 12:05:26 +02:00
Tomas Votruba
a9931f2e7b [phpstan] remove extra errors 2019-08-28 12:04:33 +02:00
Tomas Votruba
51021de0a6 skip relation mirroring if target entity does not have uuid property 2019-08-28 12:02:33 +02:00
Tomas Votruba
b9193d22e1 decouple PhpDocTagNodeFactory 2019-08-28 11:33:07 +02:00
Tomas Votruba
7b79435275 rename AliasToClassRector to EntityAliasToClassConstantReferenceRector 2019-08-28 11:23:41 +02:00
Tomas Votruba
c1303c6ba7 init uuid migration 2019-08-28 10:52:55 +02:00
Tomáš Votruba
79872fc32f
Merge pull request #1910 from markstory/cake4-pt2
Add more rectors for CakePHP 4.0
2019-08-28 07:40:02 +02:00
Mark Story
19b903985d Add more rectors for CakePHP 4.0
More renames that can be handled by rector.
2019-08-27 22:29:14 -04:00
Tomas Votruba
697655d090 decopule class references to DoctrineClass value object 2019-08-27 18:11:28 +02:00
Tomáš Votruba
58fb4bc9fc
remove IdTagValueNode (#1909)
remove IdTagValueNode
2019-08-27 18:11:10 +02:00
Tomas Votruba
d11cbb3e3a space included 2019-08-27 18:05:25 +02:00
Tomas Votruba
80cd5f9dba remove OrdreByTagValueNode 2019-08-27 18:04:59 +02:00
Tomas Votruba
5ceca800c4 remove IdTagValueNode 2019-08-27 18:02:58 +02:00
Tomáš Votruba
3b9a6f2e50
Merge pull request #1908 from rectorphp/doctrine-3
let parse only Doctrine tags we need
2019-08-27 16:38:30 +02:00
Tomas Votruba
7398b272c3 use AbstractDoctrineTagValueNode for all doctrine nodes 2019-08-27 14:50:34 +02:00
Tomas Votruba
401f9911d9 let parse only Doctrine tags we need 2019-08-27 14:46:43 +02:00
Tomáš Votruba
003359186e
Merge pull request #1906 from rectorphp/doctrine-annotations-apply
[DoctrinePhpDocParser] Add relation tags and join column
2019-08-27 13:42:35 +02:00
Tomas Votruba
1a30815aa8 fix spacing 2019-08-27 12:57:30 +02:00