Skip to content

param integration initial #542

param integration initial

param integration initial #542

Triggered via push December 28, 2024 15:22
Status Failure
Total duration 23s
Artifacts

ci-php.yml

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

Annotations

20 errors and 2 warnings
test (7.4, prefer-stable): src/DataMapper/RequestDataMapper/ParamPosRequestDataMapper.php#L112
Method Mews\Pos\DataMapper\RequestDataMapper\ParamPosRequestDataMapper::create3DEnrollmentCheckRequestData() return type has no value type specified in iterable type array.
test (7.4, prefer-stable): src/DataMapper/RequestDataMapper/ParamPosRequestDataMapper.php#L178
Method Mews\Pos\DataMapper\RequestDataMapper\ParamPosRequestDataMapper::createNonSecurePaymentRequestData() should return array<string, array<string, string>|string> but returns array<string, array<string, string>|string|null>.
test (7.4, prefer-stable): src/DataMapper/RequestDataMapper/ParamPosRequestDataMapper.php#L203
Method Mews\Pos\DataMapper\RequestDataMapper\ParamPosRequestDataMapper::createNonSecurePostAuthPaymentRequestData() should return array{Type: string, OrderId: string, Name: string, Password: string, ClientId: string, Total: float|null} but returns array{Type: string, OrderId: string, Total: float|null, G: array{CLIENT_CODE: string, CLIENT_USERNAME: string, CLIENT_PASSWORD: string}, Extra?: array{PREAMT: mixed}}.
test (7.4, prefer-stable): src/DataMapper/RequestDataMapper/ParamPosRequestDataMapper.php#L283
Method Mews\Pos\DataMapper\RequestDataMapper\ParamPosRequestDataMapper::createRefundRequestData() should return array{OrderId: string, Currency: string, Type: string, Total?: string, Name: string, Password: string, ClientId: string} but returns array{OrderId: string, Currency: string, Type: string, Total?: string, G: array{CLIENT_CODE: string, CLIENT_USERNAME: string, CLIENT_PASSWORD: string}}.
test (7.4, prefer-stable): src/DataMapper/RequestDataMapper/ParamPosRequestDataMapper.php#L303
Method Mews\Pos\DataMapper\RequestDataMapper\ParamPosRequestDataMapper::createOrderHistoryRequestData() should return array{OrderId: string, Extra: array<string, string>, Name: string, Password: string, ClientId: string} but returns array{OrderId: string, Extra: non-empty-array<string, 'QUERY'>, G: array{CLIENT_CODE: string, CLIENT_USERNAME: string, CLIENT_PASSWORD: string}}.
test (7.4, prefer-stable): src/DataMapper/RequestDataMapper/ParamPosRequestDataMapper.php#L380
Parameter #1 $currency of method Mews\Pos\DataMapper\RequestDataMapper\ParamPosRequestDataMapper::mapCurrency() expects 'EUR'|'GBP'|'JPY'|'RUB'|'TRY'|'USD', string given.
test (7.4, prefer-stable): src/DataMapper/RequestDataMapper/ParamPosRequestDataMapper.php#L477
Expression on left side of ?? is not nullable.
test (7.4, prefer-stable): src/DataMapper/ResponseDataMapper/ParamPosResponseDataMapper.php#L52
Method Mews\Pos\DataMapper\ResponseDataMapper\ParamPosResponseDataMapper::mapPaymentResponse() has parameter $rawPaymentResponseData with no value type specified in iterable type array.
test (7.4, prefer-stable): src/DataMapper/ResponseDataMapper/ParamPosResponseDataMapper.php#L52
PHPDoc tag @param for parameter $rawPaymentResponseData with type Mews\Pos\DataMapper\ResponseDataMapper\PaymentStatusModel is incompatible with native type array.
test (7.4, prefer-stable): src/DataMapper/ResponseDataMapper/ParamPosResponseDataMapper.php#L52
Parameter $rawPaymentResponseData of method Mews\Pos\DataMapper\ResponseDataMapper\ParamPosResponseDataMapper::mapPaymentResponse() has invalid type Mews\Pos\DataMapper\ResponseDataMapper\PaymentStatusModel.
test (8.0, prefer-stable): src/DataMapper/RequestDataMapper/ParamPosRequestDataMapper.php#L112
Method Mews\Pos\DataMapper\RequestDataMapper\ParamPosRequestDataMapper::create3DEnrollmentCheckRequestData() return type has no value type specified in iterable type array.
test (8.0, prefer-stable): src/DataMapper/RequestDataMapper/ParamPosRequestDataMapper.php#L178
Method Mews\Pos\DataMapper\RequestDataMapper\ParamPosRequestDataMapper::createNonSecurePaymentRequestData() should return array<string, array<string, string>|string> but returns array<string, array<string, string>|string|null>.
test (8.0, prefer-stable): src/DataMapper/RequestDataMapper/ParamPosRequestDataMapper.php#L203
Method Mews\Pos\DataMapper\RequestDataMapper\ParamPosRequestDataMapper::createNonSecurePostAuthPaymentRequestData() should return array{Type: string, OrderId: string, Name: string, Password: string, ClientId: string, Total: float|null} but returns array{Type: string, OrderId: string, Total: float|null, G: array{CLIENT_CODE: string, CLIENT_USERNAME: string, CLIENT_PASSWORD: string}, Extra?: array{PREAMT: mixed}}.
test (8.0, prefer-stable): src/DataMapper/RequestDataMapper/ParamPosRequestDataMapper.php#L283
Method Mews\Pos\DataMapper\RequestDataMapper\ParamPosRequestDataMapper::createRefundRequestData() should return array{OrderId: string, Currency: string, Type: string, Total?: string, Name: string, Password: string, ClientId: string} but returns array{OrderId: string, Currency: string, Type: string, Total?: string, G: array{CLIENT_CODE: string, CLIENT_USERNAME: string, CLIENT_PASSWORD: string}}.
test (8.0, prefer-stable): src/DataMapper/RequestDataMapper/ParamPosRequestDataMapper.php#L303
Method Mews\Pos\DataMapper\RequestDataMapper\ParamPosRequestDataMapper::createOrderHistoryRequestData() should return array{OrderId: string, Extra: array<string, string>, Name: string, Password: string, ClientId: string} but returns array{OrderId: string, Extra: non-empty-array<string, 'QUERY'>, G: array{CLIENT_CODE: string, CLIENT_USERNAME: string, CLIENT_PASSWORD: string}}.
test (8.0, prefer-stable): src/DataMapper/RequestDataMapper/ParamPosRequestDataMapper.php#L380
Parameter #1 $currency of method Mews\Pos\DataMapper\RequestDataMapper\ParamPosRequestDataMapper::mapCurrency() expects 'EUR'|'GBP'|'JPY'|'RUB'|'TRY'|'USD', string given.
test (8.0, prefer-stable): src/DataMapper/RequestDataMapper/ParamPosRequestDataMapper.php#L477
Expression on left side of ?? is not nullable.
test (8.0, prefer-stable): src/DataMapper/ResponseDataMapper/ParamPosResponseDataMapper.php#L52
Method Mews\Pos\DataMapper\ResponseDataMapper\ParamPosResponseDataMapper::mapPaymentResponse() has parameter $rawPaymentResponseData with no value type specified in iterable type array.
test (8.0, prefer-stable): src/DataMapper/ResponseDataMapper/ParamPosResponseDataMapper.php#L52
PHPDoc tag @param for parameter $rawPaymentResponseData with type Mews\Pos\DataMapper\ResponseDataMapper\PaymentStatusModel is incompatible with native type array.
test (8.0, prefer-stable): src/DataMapper/ResponseDataMapper/ParamPosResponseDataMapper.php#L52
Parameter $rawPaymentResponseData of method Mews\Pos\DataMapper\ResponseDataMapper\ParamPosResponseDataMapper::mapPaymentResponse() has invalid type Mews\Pos\DataMapper\ResponseDataMapper\PaymentStatusModel.
test (7.4, prefer-stable)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test (8.0, prefer-stable)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636