Skip to content

Commit

Permalink
Restore version annotation, but capitalized
Browse files Browse the repository at this point in the history
@Version is commonly used for svn ids and is forbidden
  • Loading branch information
greg0ire committed Jan 30, 2021
1 parent 36d0352 commit 1687d9c
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions tests/Doctrine/Tests/ORM/Functional/Ticket/DDC832Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,10 @@ class DDC832Like
/** @Column(type="string") */
public $word;

/** @Column(type="integer") */
/**
* @Version
* @Column(type="integer")
*/
public $version;

public function __construct($word)
Expand All @@ -185,7 +188,10 @@ class DDC832JoinedIndex
/** @Column(type="string") */
public $name;

/** @Column(type="integer") */
/**
* @Version
* @Column(type="integer")
*/
public $version;

public function __construct($name)
Expand Down

0 comments on commit 1687d9c

Please sign in to comment.