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

Removed support for Laravel 8 and therefore for PHP < 8.0 #1504

Merged
merged 3 commits into from
Feb 5, 2024

Conversation

mfn
Copy link
Collaborator

@mfn mfn commented Jan 28, 2024

Summary

After pushing out 2.14.0, I propose we get rid of baggage and remove support for Laravel 8, which had had its EOL a year ago already.

  • Remove support for Laravel 8 (and PHP versions < 8.0)
    Updated README, removed some legacy checks for < L8 in lib code and tests
  • Upgrade to php-cs-fixer v3
    • v2 wouldn't install anymore due to the raised version, when I realized we already have v3
    • Running fix-style applied some mostly cosmetic changes, which made out the bulk of the diff in the end

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 Jan 28, 2024
Comment on lines -4 to +6
/.php_cs
/.php_cs.cache
/.php_cs.tests.cache
/.php-cs-fixer.cache
/.php-cs-fixer.php
/.php-cs-fixer.tests.cache
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

With the upgrade to php-cs-fixer v3, the default file names changed (and was required to be renamed), I therefore adapted all of them

@@ -30,7 +30,6 @@
],
'return_type_declaration' => true,
'short_scalar_cast' => true,
'single_blank_line_before_namespace' => true,
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@mfn mfn requested a review from barryvdh January 28, 2024 20:03
@mfn mfn added the blocked label Feb 4, 2024
@mfn

This comment was marked as resolved.

@mfn mfn mentioned this pull request Feb 4, 2024
9 tasks
@mfn mfn removed the request for review from barryvdh February 4, 2024 19:29
@mfn mfn marked this pull request as draft February 4, 2024 19:29
@mfn mfn force-pushed the mfn-laravel-8-out branch 2 times, most recently from 36daf67 to 47bb9f4 Compare February 5, 2024 10:46
@mfn mfn force-pushed the mfn-laravel-8-out branch from 47bb9f4 to ece9d73 Compare February 5, 2024 10:48
@mfn mfn marked this pull request as ready for review February 5, 2024 10:53
@mfn mfn removed the blocked label Feb 5, 2024
@mfn mfn requested a review from barryvdh February 5, 2024 10:53
@mfn
Copy link
Collaborator Author

mfn commented Feb 5, 2024

@barryvdh this should be good now!

The source file changes are all due to php-cs-fixer upgrade to v3

@barryvdh barryvdh merged commit a8b34ad into barryvdh:master Feb 5, 2024
33 checks passed
d3v2a pushed a commit to d3v2a/laravel-ide-helper that referenced this pull request Feb 16, 2024
)

* Removed support for Laravel 8 and therefore for PHP < 8.0

* Update php-cs-fixer to v3

* composer fix-style
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.

2 participants