Skip to content

Commit

Permalink
fix phpcs
Browse files Browse the repository at this point in the history
  • Loading branch information
le-yak committed Oct 8, 2024
1 parent 6cceff3 commit 281693e
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 3 deletions.
4 changes: 4 additions & 0 deletions tests/Tests/Models/RelationAsId/Group.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,15 @@ class Group
/**
* @ORM\Id
* @ORM\Column(type="integer")
*
* @var int
*/
public $id;

/**
* @ORM\Column(type="string")
*
* @var string
*/
public $name;
}
6 changes: 6 additions & 0 deletions tests/Tests/Models/RelationAsId/Membership.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,23 @@ class Membership
/**
* @ORM\Id
* @ORM\ManyToOne(targetEntity=User::class)
*
* @var User
*/
public $user;

/**
* @ORM\Id
* @ORM\ManyToOne(targetEntity=Group::class)
*
* @var Group
*/
public $group;

/**
* @ORM\Column(type="string")
*
* @var srtring
*/
public $role;
}
4 changes: 4 additions & 0 deletions tests/Tests/Models/RelationAsId/Profile.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,15 @@ class Profile
/**
* @ORM\Id
* @ORM\OneToOne(targetEntity="User")
*
* @var User
*/
public $user;

/**
* @ORM\Column(type="string")
*
* @var string
*/
public $url;
}
4 changes: 4 additions & 0 deletions tests/Tests/Models/RelationAsId/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,15 @@ class User
/**
* @ORM\Id
* @ORM\Column(type="integer")
*
* @var int
*/
public $id;

/**
* @ORM\Column(type="string")
*
* @var string
*/
public $name;
}
3 changes: 0 additions & 3 deletions tests/Tests/ORM/Functional/GetReferenceOnRelationAsIdTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@
use Doctrine\Tests\Proxies\__CG__\Doctrine\Tests\Models\RelationAsId\Membership as MembershipProxy;
use Doctrine\Tests\Proxies\__CG__\Doctrine\Tests\Models\RelationAsId\User as UserProxy;

/**
* @group pkfk
*/
class GetReferenceOnRelationAsIdTest extends OrmFunctionalTestCase
{
protected function setUp(): void
Expand Down

0 comments on commit 281693e

Please sign in to comment.