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

Run php cs fixer on PHP 8.2 #301

Merged
merged 2 commits into from
Apr 28, 2023
Merged

Conversation

tienvx
Copy link
Contributor

@tienvx tienvx commented Mar 13, 2023

PHP-CS-FIXER released version 3.15 with PHP 8.2 support

@sergeyklay
Copy link
Member

I think to speedup code style checks and not to make redundant work it is enough to use the latest version of PHP. I can't imagine a situation where a linter under PHP 8.2 won't find something that a linter working under PHP 8.1 will find.

@tienvx
Copy link
Contributor Author

tienvx commented Mar 13, 2023

Hi @sergeyklay I agree with you. I also has similar question in my previous PR #278 (comment)

I removed PHP 8.0 and 8.1

@YOU54F
Copy link
Member

YOU54F commented Mar 15, 2023

Thanks for helping with the review on this @sergeyklay, @tienvx will greatly appreciate the feedback, it has been a slow cycle in pact-php but we would love to keep it going for our community. We've been lucky to have a few collaborators over the last year but some of the similar issues to pact-python regarding maintainership, and being able to help with reviews and nudge stuff along.

Tien has kindly stepped up to the plate on the back of great work done by @mmoll / @Lewiscowles1986 and others.

@sergeyklay
Copy link
Member

@tienvx I have experience with PHP, so ping me anytime

@Lewiscowles1986
Copy link
Collaborator

Not sure why I'm being thanked, but I feel awkward now for not being more active.

https://github.com/pact-foundation/pact-php/actions/runs/4403773326/jobs/7712576073?pr=301 seems to have failed, but I'm betting that a retry will see it green.

Is there perhaps some way to log separately to a file on the entry and exit to each flow?

Where this launches processes still, I am sure that is where the problem lays. I definitely cannot look this weekend (UK Mothers day), but deterministic test-runs to the shared network resource might be the ticket (might). This should not need to guarantee test case ordering, just that the steps in every test case are clean and have no races.

@YOU54F
Copy link
Member

YOU54F commented Mar 17, 2023

Not sure why I'm being thanked, but I feel awkward now for not being more active

Sorry just thanking for past efforts to date, not wanting to make you feel bad or trying to pull you into help more. We are keen to act on some of your prior comments as your feedback was incredibly useful Lewis, so just trying to bring others into the fold and thank others in the process!

@YOU54F YOU54F merged commit 67a73ab into pact-foundation:master Apr 28, 2023
@tienvx tienvx deleted the php-cs-8.2 branch May 2, 2023 07:47
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.

None yet

4 participants