-
Notifications
You must be signed in to change notification settings - Fork 165
Bump minimum PHP requirement from 7.2 to 7.4 #2469
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
382ce6c
Bump minimum PHP version to 7.4 in composer.json
westonruter e9ce2ca
Bump PHPCS testVersion to 7.4-
westonruter 2a5cc3f
Bump plugin header Requires PHP from 7.2 to 7.4
westonruter 872f9c5
Drop PHP 7.2 and 7.3 from the unit-test matrix
westonruter 0e0671f
Update CONTRIBUTING.md and AGENTS.md to reference PHP 7.4
westonruter 619d91b
Update phpstan.neon.dist comment to reference PHP 7.4
westonruter cd44261
Drop PHP 7.2/7.3 array_merge empty-input guard
westonruter 04e1f38
Reindent speculation-rules heredoc closer using PHP 7.3+ flexible her…
westonruter 6017bd9
Allow @var docblocks alongside native property type hints
westonruter 6d94c56
Add native typed properties to OD_HTML_Tag_Processor
westonruter 2eb0730
Add native typed properties to OD_URL_Metric_Group
westonruter 3dee81d
Add native typed properties to OD_URL_Metric_Group_Collection
westonruter 2565e27
Add native typed properties to OD_Tag_Visitor_Context
westonruter 500ece2
Add native typed properties to OD_Template_Optimization_Context
westonruter 0c35e17
Add native typed properties to OD_URL_Metric_Store_Request_Context
westonruter 65cb28c
Add native typed properties to OD_URL_Metric
westonruter 7f02300
Add native typed properties to OD_Element
westonruter d7dc8e0
Add native typed properties to small OD classes
westonruter 1b6b942
Add native typed properties to image-prioritizer tag visitors
westonruter 2f0fc6d
Add native typed property to Embed_Optimizer_Tag_Visitor
westonruter a8b58ae
Add native typed property to PLSR_URL_Pattern_Prefixer
westonruter 5260154
Add native typed properties to performance-lab server-timing classes
westonruter 2aea571
Add native typed properties to view-transitions classes
westonruter 6a0ce79
Require native property type hints across plugin source
westonruter 8f3b90a
Convert single-expression closures to arrow functions in optimization…
westonruter 884f24f
Convert single-expression closures to arrow functions in performance-lab
westonruter 74a704e
Convert single-expression closures to arrow functions in image-priori…
westonruter 1ae6374
Convert single-expression closure to arrow function in speculation-rules
westonruter f6cb8a2
Convert single-expression closures to arrow functions in web-worker-o…
westonruter 200b0cc
Convert single-expression closure to arrow function in view-transitions
westonruter 71430b3
Simplify boolean logic in plvt_register_view_transition_animations()
westonruter ea9906a
Remove redundant type hint
westonruter File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Convert single-expression closures to arrow functions in optimization…
…-detective Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
- Loading branch information
commit 8f3b90a22ee0bd08ebb15797a6a93fd5c84d31f5
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.