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 #183

Merged
merged 1 commit into from
Jul 27, 2022

Conversation

samsonasik
Copy link
Member

Signed-off-by: Abdul Malik Ikhsan [email protected]

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.
  • Otherwise, update only private properties.

@Ocramius Ocramius added this to the 3.4.0 milestone Jul 27, 2022
@Ocramius
Copy link
Member

Looks like you ran PHPCS on 8.x :D

@samsonasik
Copy link
Member Author

Yes, rolling back 9c30a91

@Ocramius
Copy link
Member

@samsonasik please try explaining what you are doing, in the commit messages (applies here and in general)

@samsonasik
Copy link
Member Author

I can squash commit after fixing cs

@samsonasik
Copy link
Member Author

@Ocramius commits squashed, the PR do:

  • apply php 7.4 typed properties
  • apply php 7.4 syntaxes

@samsonasik
Copy link
Member Author

All green 🎉

@Ocramius Ocramius self-assigned this Jul 27, 2022
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.

Awesome, thanks @samsonasik!

@Ocramius Ocramius merged commit 0ca4165 into laminas:3.4.x Jul 27, 2022
@samsonasik samsonasik deleted the apply-php74 branch July 27, 2022 16:43
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.

2 participants