Skip to content

feat: declare strict types and support php 8.4#205

Closed
shakaran wants to merge 1 commit into
SymfonyCasts:2.xfrom
shakaran:feat/declare-strict-types-support-php8.4
Closed

feat: declare strict types and support php 8.4#205
shakaran wants to merge 1 commit into
SymfonyCasts:2.xfrom
shakaran:feat/declare-strict-types-support-php8.4

Conversation

@shakaran

Copy link
Copy Markdown

Applied rules:

DeclareStrictTypes

ReadOnlyProperty

ReadOnlyClass

CatchExceptionNameMatchingType

FlipTypeControlToUseExclusiveType

AddOverrideAttributeToOverriddenMethods

AddClosureVoidReturnTypeWhereNoReturn

RemoveEmptyClassMethod

RemoveUnusedConstructorParam

@sadikoff sadikoff left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

wow nice strict types is always great, however I can't fully agree with use statements for global namespace classes, I'd prefer to keep them like \Exeption() in the code, it's easier to understand which exact Exception are you using

@shakaran

Copy link
Copy Markdown
Author

Closing this in favour of #206 with the changes requested.

@shakaran shakaran closed this May 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants