-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* added support for 2.8.3 * Remove dependency on doctrine test files
- Loading branch information
Showing
7 changed files
with
95 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace DoctrineNullableEmbeddables\Tests\Models\Generic; | ||
|
||
use Doctrine\ORM\Mapping\Column; | ||
use Doctrine\ORM\Mapping\Entity; | ||
use Doctrine\ORM\Mapping\GeneratedValue; | ||
use Doctrine\ORM\Mapping\Id; | ||
use Doctrine\ORM\Mapping\Table; | ||
|
||
/** | ||
* @Entity | ||
* @Table(name="boolean_model") | ||
*/ | ||
class BooleanModel | ||
{ | ||
/** | ||
* @var int | ||
* @Id | ||
* @Column(type="integer") | ||
* @GeneratedValue(strategy="AUTO") | ||
*/ | ||
public $id; | ||
|
||
/** | ||
* @var bool | ||
* @Column(type="boolean") | ||
*/ | ||
public $booleanField; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace DoctrineNullableEmbeddables\Tests\Models\Reflection; | ||
|
||
/** | ||
* A test asset used to check that embeddables support properties defined in abstract classes | ||
*/ | ||
abstract class AbstractEmbeddable | ||
{ | ||
/** @var string */ | ||
private $propertyInAbstractClass; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace DoctrineNullableEmbeddables\Tests\Models\Reflection; | ||
|
||
use ArrayObject; | ||
|
||
/** | ||
* A test asset extending {@see \ArrayObject}, useful for verifying internal classes issues with reflection | ||
*/ | ||
class ArrayObjectExtendingClass extends ArrayObject | ||
{ | ||
/** @var mixed */ | ||
private $privateProperty; | ||
|
||
/** @var mixed */ | ||
protected $protectedProperty; | ||
|
||
/** @var mixed */ | ||
public $publicProperty; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace DoctrineNullableEmbeddables\Tests\Models\Reflection; | ||
|
||
/** | ||
* A test asset used to check that embeddables support properties defined in abstract classes | ||
*/ | ||
class ConcreteEmbeddable extends AbstractEmbeddable | ||
{ | ||
/** @var string */ | ||
private $propertyInConcreteClass; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters