Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate exceptions to PHP 8 syntax #10380

Merged
merged 1 commit into from Jan 10, 2023

Conversation

greg0ire
Copy link
Member

@greg0ire greg0ire commented Jan 8, 2023

No description provided.

@greg0ire greg0ire added this to In progress in PHP 8 Migration via automation Jan 8, 2023
lib/Doctrine/ORM/Mapping/MappingException.php Outdated Show resolved Hide resolved
@@ -865,8 +547,7 @@ public static function illegalOverrideOfInheritedProperty($className, $propertyN
);
}

/** @return self */
public static function invalidIndexConfiguration($className, $indexName)
public static function invalidIndexConfiguration($className, $indexName): self
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Types?

@@ -877,8 +558,7 @@ public static function invalidIndexConfiguration($className, $indexName)
);
}

/** @return self */
public static function invalidUniqueConstraintConfiguration($className, $indexName)
public static function invalidUniqueConstraintConfiguration($className, $indexName): self
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Types?

@derrabus derrabus added this to the 3.0.0 milestone Jan 9, 2023
@greg0ire greg0ire force-pushed the php8-migration-exceptions branch 2 times, most recently from 5623b6a to f9a1e37 Compare January 9, 2023 07:49
lib/Doctrine/ORM/Mapping/MappingException.php Outdated Show resolved Hide resolved
lib/Doctrine/ORM/Mapping/MappingException.php Outdated Show resolved Hide resolved
lib/Doctrine/ORM/Mapping/MappingException.php Outdated Show resolved Hide resolved
Co-authored-by: Alexander M. Turek <me@derrabus.de>
Co-authored-by: Claudio Zizza <859964+SenseException@users.noreply.github.com>
@greg0ire greg0ire dismissed SenseException’s stale review January 10, 2023 10:04

changes have been addressed

@greg0ire greg0ire merged commit 91b662e into doctrine:3.0.x Jan 10, 2023
PHP 8 Migration automation moved this from In progress to Done Jan 10, 2023
@greg0ire greg0ire deleted the php8-migration-exceptions branch January 10, 2023 10:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Development

Successfully merging this pull request may close these issues.

None yet

3 participants