Skip to content

fix nullable parameters #108

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 1 commit into from
Mar 29, 2025
Merged

fix nullable parameters #108

merged 1 commit into from
Mar 29, 2025

Conversation

garak
Copy link
Collaborator

@garak garak commented Mar 28, 2025

Fix #107

@garak garak requested review from JellyBellyDev and Copilot March 28, 2025 13:43
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR addresses issue #107 by updating the CI workflow configurations for PHP projects. The changes include updating the Ubuntu runner versions and action versions, adding PHP 8.4 to the test matrix, and enhancing the PHP-CS-Fixer step with additional arguments.

Files not reviewed (3)
  • src/Render/LocalSvgRenderer.php: Language not supported
  • src/Render/SvgForTheBadgeRenderer.php: Language not supported
  • src/UI/Command.php: Language not supported
Comments suppressed due to low confidence (1)

.github/workflows/php.yml:25

  • Ensure that the addition of the php84 container is supported by adequate tests to verify compatibility.
container: [ "php81", "php82", "php83", "php84" ]

@garak garak force-pushed the fix-deprecated branch 2 times, most recently from 68bd4b2 to dd5eca7 Compare March 28, 2025 14:32
@garak
Copy link
Collaborator Author

garak commented Mar 28, 2025

Sadly, testing on PHP 8.4 is not currently possible because phpspec still doesn't support it. Anyway, I added a Docker tag (along with few instructions to create future new tags)
Moreover, I had to tweak the dependencies to get them working with PHP 8.1 - 8.3

Copy link
Collaborator

@JellyBellyDev JellyBellyDev left a comment

Choose a reason for hiding this comment

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

LGTM

@garak garak merged commit 29874c0 into badges:master Mar 29, 2025
5 checks passed
@garak garak deleted the fix-deprecated branch March 29, 2025 07:22
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 8.4 - Implicitly marking parameter as nullable is deprecated
3 participants