-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support for nesting attributes with PHP 8.1 (#9241)
* [GH-9240] Refactor Association/AttributeOverrides to use @NamedConstructorArguments with AnnotationDriver. * [GH-9240] Add support for PHP 8.1 nested attributes. Supported/new attributes are #[AttributeOverrides], #[AssociationOverrides], #[JoinTable] with nested joinColumns, inverseJoinColumns. * [GH-9240] Add support for nesting Index, UniqueCosntraint into #[Table] on PHP 8.1 * Apply review comments by gregooire. * Add documentation for new attributes. * Add docs for new nested #[JoinTable] support of join columns * Add docs for new nested #[Table] support of index, uniqueConstraints * Rename "Required/Optional atttributes" to "Required/Optional parameters" * Remove nesting for JoinTable#joinColumns and Table#indexes/uniqueConstraints again. * Hosuekeeping: phpcs/psalm * housekeeping * Remove unused function imports.
- Loading branch information
Showing
22 changed files
with
391 additions
and
76 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
Oops, something went wrong.