php-openapi icon indicating copy to clipboard operation
php-openapi copied to clipboard

php 8.4 deprecations

Open tacman opened this issue 6 months ago • 1 comments

These can be cleaned up easily with rector, but I don't know if they'd cause a BC break.

Deprecated: cebe\openapi\SpecBaseObject::resolveReferences(): Implicitly marking parameter $context as nullable is deprecated, the explicit nullable type must be used instead in /home/tac/sites/packages/vendor/cebe/php-openapi/src/SpecBaseObject.php on line 396

Deprecated: cebe\openapi\SpecObjectInterface::resolveReferences(): Implicitly marking parameter $context as nullable is deprecated, the explicit nullable type must be used instead in /home/tac/sites/packages/vendor/cebe/php-openapi/src/SpecObjectInterface.php on line 43

Deprecated: cebe\openapi\spec\Paths::resolveReferences(): Implicitly marking parameter $context as nullable is deprecated, the explicit nullable type must be used instead in /home/tac/sites/packages/vendor/cebe/php-openapi/src/spec/Paths.php on line 249

Deprecated: cebe\openapi\spec\PathItem::resolveReferences(): Implicitly marking parameter $context as nullable is deprecated, the explicit nullable type must be used instead in /home/tac/sites/packages/vendor/cebe/php-openapi/src/spec/PathItem.php on line 153

Deprecated: cebe\openapi\spec\Responses::resolveReferences(): Implicitly marking parameter $context as nullable is deprecated, the explicit nullable type must be used instead in /home/tac/sites/packages/vendor/cebe/php-openapi/src/spec/Responses.php on line 239

Deprecated: cebe\openapi\spec\Reference::__construct(): Implicitly marking parameter $to as nullable is deprecated, the explicit nullable type must be used instead in /home/tac/sites/packages/vendor/cebe/php-openapi/src/spec/Reference.php on line 72

Deprecated: cebe\openapi\spec\Reference::resolve(): Implicitly marking parameter $context as nullable is deprecated, the explicit nullable type must be used instead in /home/tac/sites/packages/vendor/cebe/php-openapi/src/spec/Reference.php on line 179

Deprecated: cebe\openapi\spec\Reference::resolveReferences(): Implicitly marking parameter $context as nullable is deprecated, the explicit nullable type must be used instead in /home/tac/sites/packages/vendor/cebe/php-openapi/src/spec/Reference.php on line 366

tacman avatar Jun 24 '25 22:06 tacman

PR https://github.com/cebe/php-openapi/pull/217 fixes that

SOHELAHMED7 avatar Jun 25 '25 08:06 SOHELAHMED7