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

Remove support for Laravel 8 (and PHP 7.4) #1049

Merged
merged 1 commit into from
Jun 21, 2023
Merged

Remove support for Laravel 8 (and PHP 7.4) #1049

merged 1 commit into from
Jun 21, 2023

Conversation

mfn
Copy link
Collaborator

@mfn mfn commented Jun 20, 2023

Summary

See title.

Reasoning: Laravel 8 as well as PHP 7.4 are long EOL and out of security support


Type of change:

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update
  • Misc. change (internal, infrastructure, maintenance, etc.)

Checklist:

  • Existing tests have been adapted and/or new tests have been added
  • Add a CHANGELOG.md entry
  • Update the README.md
  • Code style has been fixed via composer fix-style

@mfn mfn self-assigned this Jun 20, 2023
@mfn mfn force-pushed the mfn-drop-l8 branch 3 times, most recently from bd5578a to b017310 Compare June 20, 2023 19:17
@mfn mfn marked this pull request as ready for review June 20, 2023 19:30
"tests": "phpunit --colors=always --verbose"
"tests": "phpunit"
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Actually removed this for phpunit compatibility, which I then abandoned to keep the scope of the PR from exploding, but nevertheless kept this changes.

@@ -134,7 +134,7 @@ static function (array $result): array {
/**
* @return array<mixed>
*/
public function dataForEmptyQuery(): array
public static function dataForEmptyQuery(): array
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Removes phpunit 10 warnings that dataproviders need to be static

@@ -243,14 +242,6 @@ private function formatSafeTrace(array $trace): string
);
}

/**
* @todo Remove this method once we're PHPUnit 9+ only.
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

See todo here

@mfn mfn merged commit d2b076e into master Jun 21, 2023
28 checks passed
@mfn mfn deleted the mfn-drop-l8 branch June 21, 2023 18:41
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

1 participant