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

Apply PHP 7.4 syntax and typed property #43

Merged
merged 1 commit into from
Sep 17, 2022

Conversation

samsonasik
Copy link
Member

@samsonasik samsonasik commented Sep 17, 2022

Signed-off-by: Abdul Malik Ikhsan samsonasik@gmail.com

Q A
QA yes

Description

Since composer.json require php 7.4, php 7.4 syntax can be applied with typed properties.

  • For final class, typed properties for protected is allowed if no inherit of parent or used by its final class parent.
  • For final class, typed properties for protected can be changed to private if not used in parent or exists in parent class.
  • Otherwise, update only private properties.

Signed-off-by: Abdul Malik Ikhsan <samsonasik@gmail.com>
@samsonasik
Copy link
Member Author

All green 🎉

Copy link
Member

@Ocramius Ocramius left a comment

Choose a reason for hiding this comment

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

Thanks @samsonasik!

@Ocramius Ocramius self-assigned this Sep 17, 2022
@Ocramius Ocramius added the Enhancement New feature or request label Sep 17, 2022
@Ocramius Ocramius added this to the 1.4.0 milestone Sep 17, 2022
@Ocramius Ocramius merged commit 5b217ad into mezzio:1.4.x Sep 17, 2022
@samsonasik samsonasik deleted the apply-php74 branch September 17, 2022 13:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants