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

Reach psalm max level #58

Merged
merged 1 commit into from
Jun 3, 2023
Merged

Reach psalm max level #58

merged 1 commit into from
Jun 3, 2023

Conversation

stof
Copy link
Member

@stof stof commented Jun 2, 2023

Contributes to #46

@stof stof added this to the v1.1.1 milestone Jun 2, 2023
@@ -225,16 +225,19 @@ private static function basename(string $filename): string

public static function enableTrackingDeprecations(): void
{
self::$type = self::$type ?? 0;
Copy link
Member Author

Choose a reason for hiding this comment

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

this is needed purely to make psalm happy, because their level 1 is stricter than PHP for what the |= operator accept as operand.

@greg0ire greg0ire merged commit 9340e28 into doctrine:1.1.x Jun 3, 2023
@greg0ire
Copy link
Member

greg0ire commented Jun 3, 2023

Thanks @stof !

@stof stof deleted the psalm_max_level branch June 6, 2023 08:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants