Skip to content

Conversation

@JulienRAVIA
Copy link
Contributor

@JulienRAVIA JulienRAVIA commented Sep 27, 2025

Nouveau comportement

Supprime les dépréciations PHP84.

Détails des dépréciations
FILE: /home/jravia/code/rest-client-sdk/src/RestClient.php
------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
------------------------------------------------------------------------------------------------------------------------
  58 | WARNING | Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be
     |         | explicitly nullable instead. Found implicitly nullable parameter: $baseUrl.
 355 | WARNING | Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be
     |         | explicitly nullable instead. Found implicitly nullable parameter: $response.
------------------------------------------------------------------------------------------------------------------------


FILE: /home/jravia/code/rest-client-sdk/src/SdkClient.php
------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
------------------------------------------------------------------------------------------------------------------------
 79 | WARNING | Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be
    |         | explicitly nullable instead. Found implicitly nullable parameter: $unitOfWork.
 80 | WARNING | Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be
    |         | explicitly nullable instead. Found implicitly nullable parameter: $serializer.
------------------------------------------------------------------------------------------------------------------------


FILE: /home/jravia/code/rest-client-sdk/src/Mapping/ClassMetadata.php
------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
------------------------------------------------------------------------------------------------------------------------
 67 | WARNING | Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be
    |         | explicitly nullable instead. Found implicitly nullable parameter: $repositoryName.
------------------------------------------------------------------------------------------------------------------------


FILE: /home/jravia/code/rest-client-sdk/src/Mapping/Attribute.php
------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
------------------------------------------------------------------------------------------------------------------------
 41 | WARNING | Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be
    |         | explicitly nullable instead. Found implicitly nullable parameter: $attributeName.
 42 | WARNING | Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be
    |         | explicitly nullable instead. Found implicitly nullable parameter: $type.
------------------------------------------------------------------------------------------------------------------------


FILE: /home/jravia/code/rest-client-sdk/src/Exception/RestException.php
------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
------------------------------------------------------------------------------------------------------------------------
 39 | WARNING | Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be
    |         | explicitly nullable instead. Found implicitly nullable parameter: $previous.
------------------------------------------------------------------------------------------------------------------------


FILE: /home/jravia/code/rest-client-sdk/src/Collection/Collection.php
------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
------------------------------------------------------------------------------------------------------------------------
 14 | WARNING | When the magic __serialize() and __unserialize() methods are available and the code base does not need
    |         | to support PHP < 7.4, the implementation of the Serializable interface can be removed.
------------------------------------------------------------------------------------------------------------------------

@JulienRAVIA JulienRAVIA merged commit 134f949 into main Sep 30, 2025
6 checks passed
@JulienRAVIA JulienRAVIA deleted the php84 branch September 30, 2025 10:23
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.

3 participants