Skip to content

feat: apply strict types and other improvements for php 8.4 #109

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

Closed

Conversation

shakaran
Copy link

@shakaran shakaran commented May 27, 2025

Applied rules:

  • LongArrayToShortArray
  • RemoveUnusedVariableAssign
  • FinalizeTestCaseClass
  • DeclareStrictTypes
  • FlipTypeControlToUseExclusiveType
  • CompleteMissingIfElseBracket
  • ExplicitBoolCompare
  • SimplifyIfElseToTernary
  • CountArrayToEmptyArrayComparison
  • NewlineAfterStatement
  • RemoveUselessParamTag
  • RemoveUselessReturnTag
  • BinaryOpNullableToInstanceof
  • AddMethodCallBasedStrictParamType
  • AddVoidReturnTypeWhereNoReturn
  • BoolReturnTypeFromBooleanConstReturns
  • BoolReturnTypeFromBooleanStrictReturns
  • StringReturnTypeFromStrictStringReturns
  • AddClosureVoidReturnTypeWhereNoReturn

Related composer/pcre#43

@Seldaek
Copy link
Member

Seldaek commented May 28, 2025

@Seldaek Seldaek 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