-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove PHP/Symfony versions matrix hacks
- Loading branch information
1 parent
cafca27
commit 99b66af
Showing
25 changed files
with
172 additions
and
358 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
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
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 |
---|---|---|
|
@@ -7,18 +7,12 @@ | |
use Symfony\Component\Validator\Constraints\Choice; | ||
|
||
/** | ||
* @Annotation | ||
* @Target({"PROPERTY", "METHOD", "ANNOTATION"}) | ||
* | ||
* @author Yann Eugoné <[email protected]> | ||
*/ | ||
#[\Attribute(\Attribute::TARGET_PROPERTY | \Attribute::TARGET_METHOD)] | ||
final class Enum extends Choice | ||
{ | ||
/** | ||
* @var string | ||
*/ | ||
public $enum; | ||
public string $enum; | ||
|
||
/** | ||
* @param array<string, mixed> $options | ||
|
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -11,17 +11,14 @@ | |
/** | ||
* @author Yann Eugoné <[email protected]> | ||
*/ | ||
final class PullRequestPhp80 | ||
final class MyCLabsPullRequest | ||
{ | ||
/** | ||
* @var MyCLabsStatus | ||
*/ | ||
#[Enum(enum: PullRequestMyCLabsStatusEnum::class)] | ||
public $status; | ||
public MyCLabsStatus $status; | ||
|
||
/** | ||
* @var string[] | ||
*/ | ||
#[Enum(enum: PullRequestLabelEnum::class, multiple: true)] | ||
public $labels; | ||
public array $labels; | ||
} |
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 |
---|---|---|
|
@@ -11,17 +11,14 @@ | |
/** | ||
* @author Yann Eugoné <[email protected]> | ||
*/ | ||
final class PullRequestPhp81 | ||
final class NativeEnumPullRequest | ||
{ | ||
/** | ||
* @var NativeStatus | ||
*/ | ||
#[Enum(enum: PullRequestNativeStatusEnum::class)] | ||
public $status; | ||
public NativeStatus $status; | ||
|
||
/** | ||
* @var string[] | ||
*/ | ||
#[Enum(enum: PullRequestLabelEnum::class, multiple: true)] | ||
public $labels; | ||
public array $labels; | ||
} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.