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

Fix #321: PHP 7.4 EOL #323

Merged
merged 5 commits into from
Feb 28, 2023
Merged

Fix #321: PHP 7.4 EOL #323

merged 5 commits into from
Feb 28, 2023

Conversation

danepowell
Copy link
Collaborator

Fix #321

@@ -9,7 +9,7 @@
],
"license": "MIT",
"require": {
"php": "^7.4 | ^8.0.2 | ^8.1 | ^8.2",
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

8.0.2 was added in #225, I can find no justification for the oddly-specific constraint. Possibly it was just the latest version at the time. Anyway, the specificity of it conflicts with the config php definition below.

@@ -10,8 +10,5 @@ parameters:
-
message: '%Parameter #1 \$client of method League\\OAuth2\\Client\\Provider\\AbstractProvider::setHttpClient\(\) expects GuzzleHttp\\ClientInterface, Eloquent\\Phony\\Mock\\Mock given.%'
path: tests/Connector/ConnectorTest.php
-
# https://github.com/phpstan/phpstan/issues/1066
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

No longer necessary due to psr/cache upgrade

@codecov
Copy link

codecov bot commented Feb 9, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (1aa3596) 100.00% compared to head (2f73dfa) 100.00%.

Additional details and impacted files
@@             Coverage Diff             @@
##              master      #323   +/-   ##
===========================================
  Coverage     100.00%   100.00%           
  Complexity       257       257           
===========================================
  Files             88        88           
  Lines           1695      1695           
===========================================
  Hits            1695      1695           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@danepowell
Copy link
Collaborator Author

danepowell commented Feb 9, 2023

@typhonius I would suggest modifying the branch protections to only require the mutation job and new "check" job, which in turn will require all CI jobs to pass. I prefer this pattern because you don't have to keep updating branch protection settings every time a PHP version changes.

@danepowell
Copy link
Collaborator Author

@typhonius can you fix the branch protections so this can be merged (as suggested above), or give me admin access to do so? Thanks!

@typhonius
Copy link
Owner

@typhonius can you fix the branch protections so this can be merged (as suggested above), or give me admin access to do so? Thanks!

Thanks for your work on this @danepowell.

The name check doesn't come up in branch protections when I search for it like it's shown in this comment. Any ideas for what we need to change to get this working as expected?

image

@danepowell
Copy link
Collaborator Author

danepowell commented Feb 28, 2023

@typhonius try again. That UI only shows jobs that ran in the past week; I updated this PR which should trigger the 'check' job to show up momentarily.

@typhonius
Copy link
Owner

@typhonius try again. That UI only shows jobs that ran in the past week; I updated this PR which should trigger the 'check' job to show up momentarily.

Awesome thanks for that, it should be set correctly now.

@danepowell danepowell merged commit 33f3094 into typhonius:master Feb 28, 2023
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.

PHP 7.4 EOL
2 participants