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

PHP8.4 deprecations #35

Closed
kynx opened this issue Jan 27, 2025 · 1 comment
Closed

PHP8.4 deprecations #35

kynx opened this issue Jan 27, 2025 · 1 comment

Comments

@kynx
Copy link

kynx commented Jan 27, 2025

Assortment from my unit tests on PHP8.4 (there's a bunch more caused by symfony/yaml version, but that's another matter):

1) /github/workspace/vendor/devizzent/cebe-php-openapi/src/SpecBaseObject.php:404
cebe\openapi\SpecBaseObject::resolveReferences(): Implicitly marking parameter $context as nullable is deprecated, the explicit nullable type must be used instead

2) /github/workspace/vendor/devizzent/cebe-php-openapi/src/SpecObjectInterface.php:43
cebe\openapi\SpecObjectInterface::resolveReferences(): Implicitly marking parameter $context as nullable is deprecated, the explicit nullable type must be used instead

3) /github/workspace/vendor/devizzent/cebe-php-openapi/src/spec/Paths.php:249
cebe\openapi\spec\Paths::resolveReferences(): Implicitly marking parameter $context as nullable is deprecated, the explicit nullable type must be used instead

11) /github/workspace/vendor/devizzent/cebe-php-openapi/src/spec/PathItem.php:153
cebe\openapi\spec\PathItem::resolveReferences(): Implicitly marking parameter $context as nullable is deprecated, the explicit nullable type must be used instead

12) /github/workspace/vendor/devizzent/cebe-php-openapi/src/spec/Responses.php:239
cebe\openapi\spec\Responses::resolveReferences(): Implicitly marking parameter $context as nullable is deprecated, the explicit nullable type must be used instead
@kynx
Copy link
Author

kynx commented Jan 29, 2025

Gah. Looked again and saw these were fixed a year ago. The problem was that I was pulling in this via league/openapi-psr7-validator which has a shonky lower version constraint 🤦 Sorry for the noise.

@kynx kynx closed this as completed Jan 29, 2025
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

No branches or pull requests

1 participant