Skip to content

Conversation

@joehoyle
Copy link
Member

@joehoyle joehoyle commented Mar 1, 2024

Union return type was only added in 8.0. So this fails the hm-linter checks

joehoyle added 2 commits March 1, 2024 11:34
Union return type was only added in 7.4.
@joehoyle joehoyle requested a review from kovshenin March 1, 2024 09:46
@joehoyle
Copy link
Member Author

ping @kovshenin to get the project green

@mikelittle
Copy link
Contributor

Is this necessary? Altis master doesn't support PHP < 8.0
Is the fix to configure the automatic lint to check against PHP >= 8.0

@joehoyle
Copy link
Member Author

joehoyle commented Apr 5, 2024

Is the fix to configure the automatic lint to check against PHP >= 8.0

Ideally yes, though HM Linter is blocked on humanmade/linter-bot#162

If we dont want to merge this, I'd suggest we move away from HM Linter and run PHPCS in github actions instead.

Copy link
Contributor

@mikelittle mikelittle left a comment

Choose a reason for hiding this comment

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

Looks good to me

@mikelittle mikelittle merged commit 486acd9 into master Jul 12, 2024
@mikelittle mikelittle deleted the fix-hm-linter branch July 12, 2024 11:31
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.

3 participants