Skip to content

fix php7.4 compatibility #2159

fix php7.4 compatibility

fix php7.4 compatibility #2159

Triggered via push December 3, 2024 11:50
Status Failure
Total duration 37s
Artifacts

tests.yml

on: push
Matrix: tests
Fit to window
Zoom out
Zoom in

Annotations

54 errors and 1 warning
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 - 8.1
The job was canceled because "_8" failed.
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 - 7.4
The job was canceled because "_8" failed.
PHP - 7.4: src/EndpointCollection/BalanceTransactionEndpointCollection.php#L70
PHPDoc tag @param for parameter $testmode with type bool|null is not subtype of native type bool.
PHP - 7.4: src/EndpointCollection/OrganizationEndpointCollection.php#L28
Class Mollie\Api\Http\Requests\GetOrganizationRequest does not have a constructor and must be instantiated without any parameters.
PHP - 7.4: 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 - 7.4: src/EndpointCollection/PaymentRouteEndpointCollection.php#L33
PHPDoc tag @param for parameter $releaseDate with type DateTimeInterface is incompatible with native type string.
PHP - 7.4: src/EndpointCollection/ProfileEndpointCollection.php#L84
PHPDoc tag @param references unknown parameter: $data
PHP - 7.4: src/EndpointCollection/SettlementEndpointCollection.php#L75
Call to method test() on an unknown class Mollie\Api\Http\Requests\GetPaginatedSettlementRequest.
PHP - 7.4: src/EndpointCollection/SettlementEndpointCollection.php#L75
Instantiated class Mollie\Api\Http\Requests\GetPaginatedSettlementRequest not found.
PHP - 7.4: src/EndpointCollection/SettlementEndpointCollection.php#L99
Call to method useIterator() on an unknown class Mollie\Api\Http\Requests\GetPaginatedSettlementRequest.
PHP - 7.4: src/EndpointCollection/SettlementEndpointCollection.php#L99
Instantiated class Mollie\Api\Http\Requests\GetPaginatedSettlementRequest not found.
PHP - 7.4: 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" 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.2
The job was canceled because "_8" 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
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636