fix php7.4 compatibility #2155
Annotations
54 errors and 1 warning
PHP - 8.1:
src/EndpointCollection/BalanceTransactionEndpointCollection.php#L70
PHPDoc tag @param for parameter $testmode with type bool|null is not subtype of native type bool.
|
PHP - 8.1:
src/EndpointCollection/OrganizationEndpointCollection.php#L28
Class Mollie\Api\Http\Requests\GetOrganizationRequest does not have a constructor and must be instantiated without any parameters.
|
PHP - 8.1:
src/EndpointCollection/PaymentLinkEndpointCollection.php#L116
Default value of the parameter #3 $testmode (array) of method Mollie\Api\EndpointCollection\PaymentLinkEndpointCollection::iterator() is incompatible with type bool.
|
PHP - 8.1:
src/EndpointCollection/PaymentRouteEndpointCollection.php#L33
PHPDoc tag @param for parameter $releaseDate with type DateTimeInterface is incompatible with native type string.
|
PHP - 8.1:
src/EndpointCollection/ProfileEndpointCollection.php#L84
PHPDoc tag @param references unknown parameter: $data
|
PHP - 8.1:
src/EndpointCollection/SettlementEndpointCollection.php#L75
Call to method test() on an unknown class Mollie\Api\Http\Requests\GetPaginatedSettlementRequest.
|
PHP - 8.1:
src/EndpointCollection/SettlementEndpointCollection.php#L75
Instantiated class Mollie\Api\Http\Requests\GetPaginatedSettlementRequest not found.
|
PHP - 8.1:
src/EndpointCollection/SettlementEndpointCollection.php#L99
Call to method useIterator() on an unknown class Mollie\Api\Http\Requests\GetPaginatedSettlementRequest.
|
PHP - 8.1:
src/EndpointCollection/SettlementEndpointCollection.php#L99
Instantiated class Mollie\Api\Http\Requests\GetPaginatedSettlementRequest not found.
|
PHP - 8.1:
src/EndpointCollection/SettlementPaymentEndpointCollection.php#L24
Parameter $query of method Mollie\Api\EndpointCollection\SettlementPaymentEndpointCollection::pageFor() has invalid type Mollie\Api\Http\Query\GetPaginatedSettlementPaymentsQuery.
|
PHP - 8
The job was canceled because "_8_1" failed.
|
PHP - 8:
src/EndpointCollection/BalanceTransactionEndpointCollection.php#L70
PHPDoc tag @param for parameter $testmode with type bool|null is not subtype of native type bool.
|
PHP - 8:
src/EndpointCollection/OrganizationEndpointCollection.php#L28
Class Mollie\Api\Http\Requests\GetOrganizationRequest does not have a constructor and must be instantiated without any parameters.
|
PHP - 8:
src/EndpointCollection/PaymentLinkEndpointCollection.php#L116
Default value of the parameter #3 $testmode (array) of method Mollie\Api\EndpointCollection\PaymentLinkEndpointCollection::iterator() is incompatible with type bool.
|
PHP - 8:
src/EndpointCollection/PaymentRouteEndpointCollection.php#L33
PHPDoc tag @param for parameter $releaseDate with type DateTimeInterface is incompatible with native type string.
|
PHP - 8:
src/EndpointCollection/ProfileEndpointCollection.php#L84
PHPDoc tag @param references unknown parameter: $data
|
PHP - 8:
src/EndpointCollection/SettlementEndpointCollection.php#L75
Call to method test() on an unknown class Mollie\Api\Http\Requests\GetPaginatedSettlementRequest.
|
PHP - 8:
src/EndpointCollection/SettlementEndpointCollection.php#L75
Instantiated class Mollie\Api\Http\Requests\GetPaginatedSettlementRequest not found.
|
PHP - 8:
src/EndpointCollection/SettlementEndpointCollection.php#L99
Call to method useIterator() on an unknown class Mollie\Api\Http\Requests\GetPaginatedSettlementRequest.
|
PHP - 8:
src/EndpointCollection/SettlementEndpointCollection.php#L99
Instantiated class Mollie\Api\Http\Requests\GetPaginatedSettlementRequest not found.
|
PHP - 8:
src/EndpointCollection/SettlementPaymentEndpointCollection.php#L24
Parameter $query of method Mollie\Api\EndpointCollection\SettlementPaymentEndpointCollection::pageFor() has invalid type Mollie\Api\Http\Query\GetPaginatedSettlementPaymentsQuery.
|
PHP - 7.4
The job was canceled because "_8_1" failed.
|
PHP - 7.4:
src/Http/Payload/CreateMandatePayload.php#L53
Syntax error, unexpected T_OBJECT_OPERATOR on line 53
|
PHP - 7.4:
src/Http/Payload/CreatePaymentLinkPayload.php#L50
Syntax error, unexpected T_OBJECT_OPERATOR on line 50
|
PHP - 7.4:
src/Http/Payload/CreateSubscriptionPayload.php#L69
Syntax error, unexpected T_OBJECT_OPERATOR on line 69
|
PHP - 7.4:
src/Http/Payload/UpdateSubscriptionPayload.php#L51
Syntax error, unexpected T_OBJECT_OPERATOR on line 51
|
PHP - 7.4:
src/Http/Query/GetAllMethodsQuery.php#L38
Syntax error, unexpected T_OBJECT_OPERATOR on line 38
|
PHP - 7.4:
src/Http/Query/GetEnabledPaymentMethodsQuery.php#L29
Syntax error, unexpected T_OBJECT_OPERATOR on line 29
|
PHP - 7.4:
src/Http/Query/GetEnabledPaymentMethodsQuery.php#L33
Syntax error, unexpected ',' on line 33
|
PHP - 7.4:
src/Http/Query/GetEnabledPaymentMethodsQuery.php#L34
Syntax error, unexpected ',' on line 34
|
PHP - 7.4:
src/Http/Query/GetEnabledPaymentMethodsQuery.php#L38
Syntax error, unexpected ',' on line 38
|
PHP - 7.4:
src/Http/Requests/GetPaymentCaptureRequest.php#L37
Syntax error, unexpected T_OBJECT_OPERATOR on line 37
|
PHP - 8.2
The job was canceled because "_8_1" failed.
|
PHP - 8.2:
src/EndpointCollection/BalanceTransactionEndpointCollection.php#L70
PHPDoc tag @param for parameter $testmode with type bool|null is not subtype of native type bool.
|
PHP - 8.2:
src/EndpointCollection/OrganizationEndpointCollection.php#L28
Class Mollie\Api\Http\Requests\GetOrganizationRequest does not have a constructor and must be instantiated without any parameters.
|
PHP - 8.2:
src/EndpointCollection/PaymentLinkEndpointCollection.php#L116
Default value of the parameter #3 $testmode (array) of method Mollie\Api\EndpointCollection\PaymentLinkEndpointCollection::iterator() is incompatible with type bool.
|
PHP - 8.2:
src/EndpointCollection/PaymentRouteEndpointCollection.php#L33
PHPDoc tag @param for parameter $releaseDate with type DateTimeInterface is incompatible with native type string.
|
PHP - 8.2:
src/EndpointCollection/ProfileEndpointCollection.php#L84
PHPDoc tag @param references unknown parameter: $data
|
PHP - 8.2:
src/EndpointCollection/SettlementEndpointCollection.php#L75
Call to method test() on an unknown class Mollie\Api\Http\Requests\GetPaginatedSettlementRequest.
|
PHP - 8.2:
src/EndpointCollection/SettlementEndpointCollection.php#L75
Instantiated class Mollie\Api\Http\Requests\GetPaginatedSettlementRequest not found.
|
PHP - 8.2:
src/EndpointCollection/SettlementEndpointCollection.php#L99
Call to method useIterator() on an unknown class Mollie\Api\Http\Requests\GetPaginatedSettlementRequest.
|
PHP - 8.2:
src/EndpointCollection/SettlementEndpointCollection.php#L99
Instantiated class Mollie\Api\Http\Requests\GetPaginatedSettlementRequest not found.
|
PHP - 8.2:
src/EndpointCollection/SettlementPaymentEndpointCollection.php#L24
Parameter $query of method Mollie\Api\EndpointCollection\SettlementPaymentEndpointCollection::pageFor() has invalid type Mollie\Api\Http\Query\GetPaginatedSettlementPaymentsQuery.
|
PHP - 8.3
The job was canceled because "_8_1" failed.
|
PHP - 8.3:
src/EndpointCollection/BalanceTransactionEndpointCollection.php#L70
PHPDoc tag @param for parameter $testmode with type bool|null is not subtype of native type bool.
|
PHP - 8.3:
src/EndpointCollection/OrganizationEndpointCollection.php#L28
Class Mollie\Api\Http\Requests\GetOrganizationRequest does not have a constructor and must be instantiated without any parameters.
|
PHP - 8.3:
src/EndpointCollection/PaymentLinkEndpointCollection.php#L116
Default value of the parameter #3 $testmode (array) of method Mollie\Api\EndpointCollection\PaymentLinkEndpointCollection::iterator() is incompatible with type bool.
|
PHP - 8.3:
src/EndpointCollection/PaymentRouteEndpointCollection.php#L33
PHPDoc tag @param for parameter $releaseDate with type DateTimeInterface is incompatible with native type string.
|
PHP - 8.3:
src/EndpointCollection/ProfileEndpointCollection.php#L84
PHPDoc tag @param references unknown parameter: $data
|
PHP - 8.3:
src/EndpointCollection/SettlementEndpointCollection.php#L75
Call to method test() on an unknown class Mollie\Api\Http\Requests\GetPaginatedSettlementRequest.
|
PHP - 8.3:
src/EndpointCollection/SettlementEndpointCollection.php#L75
Instantiated class Mollie\Api\Http\Requests\GetPaginatedSettlementRequest not found.
|
PHP - 8.3:
src/EndpointCollection/SettlementEndpointCollection.php#L99
Call to method useIterator() on an unknown class Mollie\Api\Http\Requests\GetPaginatedSettlementRequest.
|
PHP - 8.3:
src/EndpointCollection/SettlementEndpointCollection.php#L99
Instantiated class Mollie\Api\Http\Requests\GetPaginatedSettlementRequest not found.
|
PHP - 8.3:
src/EndpointCollection/SettlementPaymentEndpointCollection.php#L24
Parameter $query of method Mollie\Api\EndpointCollection\SettlementPaymentEndpointCollection::pageFor() has invalid type Mollie\Api\Http\Query\GetPaginatedSettlementPaymentsQuery.
|
PHP - 8.1
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|