Pipeline | Quality Issues
------ --------------------------------------------------------------------------------------
Line src/Api/AbstractApi.php
------ --------------------------------------------------------------------------------------
236 Method CrefoPay\Library\Api\AbstractApi::sendRequest() should return
CrefoPay\Library\Response\SuccessResponse but returns
CrefoPay\Library\Response\FailureResponse|CrefoPay\Library\Response\SuccessResponse.
526 Parameter #3 $httpCode of class
CrefoPay\Library\Api\Exception\ApiError constructor expects int,
string given.
542 Method CrefoPay\Library\Api\AbstractApi::saveAttachment() never
returns CrefoPay\Library\Response\FailureResponse so it can be
removed from the return type.
548 Parameter #3 $httpCode of class
CrefoPay\Library\Api\Exception\ApiError constructor expects int,
string given.
562 Parameter #1 $stream of function fwrite expects resource,
resource|false given.
563 Parameter #1 $stream of function fclose expects resource,
resource|false given.
573 Parameter #3 $httpCode of class
CrefoPay\Library\Api\Exception\ApiError constructor expects int,
string given.
581 Negated boolean expression is always false.
💡 Because the type is coming from a PHPDoc, you can turn off this
check by setting treatPhpDocTypesAsCertain: false in your
phpstan.neon.
593 Negated boolean expression is always false.
💡 Because the type is coming from a PHPDoc, you can turn off this
check by setting treatPhpDocTypesAsCertain: false in your
phpstan.neon.
------ --------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------
Line src/Api/Exception/ApiError.php
------ -----------------------------------------------------------------------------
24 Property CrefoPay\Library\Api\Exception\ApiError::$response is never
read, only written.
💡 See:
https://phpstan.org/developing-extensions/always-read-written-properties
36 Parameter #1 $message of method
CrefoPay\Library\Api\Exception\AbstractException::__construct()
expects string, mixed given.
37 Parameter #2 $code of method
CrefoPay\Library\Api\Exception\AbstractException::__construct()
expects int, mixed given.
------ -----------------------------------------------------------------------------
------ -----------------------------------------------------------------------
Line src/Api/Exception/InvalidHttpResponseCode.php
------ -----------------------------------------------------------------------
29 Parameter #4 $parsedResponse of method
CrefoPay\Library\Api\Exception\AbstractException::__construct()
expects CrefoPay\Library\Response\FailureResponse|string, null given.
------ -----------------------------------------------------------------------
------ -----------------------------------------------------------------------------
Line src/Api/Exception/JsonDecode.php
------ -----------------------------------------------------------------------------
22 Property CrefoPay\Library\Api\Exception\JsonDecode::$rawString is
never read, only written.
💡 See:
https://phpstan.org/developing-extensions/always-read-written-properties
------ -----------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------
Line src/Api/Exception/Validation.php
------ --------------------------------------------------------------------------------------
22 Property
CrefoPay\Library\Api\Exception\Validation::$validationResults type
has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
29 Method CrefoPay\Library\Api\Exception\Validation::__construct() has
parameter $validationResults with no value type specified in iterable
type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
40 Method
CrefoPay\Library\Api\Exception\Validation::getVailidationResults()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
48 Method
CrefoPay\Library\Api\Exception\Validation::getValidationResults()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
------ --------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------
Line src/Callback/Exception/MacValidation.php
------ --------------------------------------------------------------------------------------
18 Method
CrefoPay\Library\Callback\Exception\MacValidation::__construct() has
parameter $data with no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
------ --------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------
Line src/Callback/Handler.php
------ --------------------------------------------------------------------------------------
37 Property CrefoPay\Library\Callback\Handler::$data type has no value
type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
51 Property CrefoPay\Library\Callback\Handler::$validParams type has no
value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
67 Property CrefoPay\Library\Callback\Handler::$optionalParam type has
no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
90 Method CrefoPay\Library\Callback\Handler::__construct() has parameter
$data with no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
117 If condition is always true.
💡 Because the type is coming from a PHPDoc, you can turn off this
check by setting treatPhpDocTypesAsCertain: false in your
phpstan.neon.
148 Parameter #10 $additionalInformation of method
CrefoPay\Library\Callback\ProcessorInterface::sendData() expects
array, mixed given.
162 Method CrefoPay\Library\Callback\Handler::run() should return string
but returns string|false.
------ --------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------
Line src/Callback/MacCalculator.php
------ --------------------------------------------------------------------------------------
32 Property CrefoPay\Library\Callback\MacCalculator::$rawRequest type
has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
37 Method CrefoPay\Library\Callback\MacCalculator::__construct() has
parameter $request with no value type specified in iterable type
array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
48 Method CrefoPay\Library\Callback\MacCalculator::setRequest() has
parameter $request with no value type specified in iterable type
array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
------ --------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------
Line src/Callback/ProcessorInterface.php
------ --------------------------------------------------------------------------------------
39 Method CrefoPay\Library\Callback\ProcessorInterface::sendData() has
no return type specified.
39 Method CrefoPay\Library\Callback\ProcessorInterface::sendData() has
parameter $additionalInformation with no value type specified in
iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
------ --------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------
Line src/Config.php
------ --------------------------------------------------------------------------------------
85 Property CrefoPay\Library\Config::$logLocationMain has no type
specified.
153 Property CrefoPay\Library\Config::$curlOptions type has no value type
specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
160 Method CrefoPay\Library\Config::__construct() has parameter $config
with no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
166 Method CrefoPay\Library\Config::__construct() with return type void
returns $this(CrefoPay\Library\Config) but should not return
anything.
190 Method CrefoPay\Library\Config::setData() has parameter $config with
no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
204 Method CrefoPay\Library\Config::getConfigData() return type has no
value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
208 Dead catch - ReflectionException is never thrown in the try block.
338 Method CrefoPay\Library\Config::getCurlOptions() has no return type
specified.
345 Unreachable statement - code above always terminates.
------ --------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------
Line src/Error/Codes.php
------ --------------------------------------------------------------------------------------
135 Property CrefoPay\Library\Error\Codes::$errorCodes type has no value
type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
------ --------------------------------------------------------------------------------------
------ --------------------------------------------------------------------
Line src/Integration/Context.php
------ --------------------------------------------------------------------
50 Method CrefoPay\Library\Integration\Type::validate() has parameter
$value with no type specified.
------ --------------------------------------------------------------------
------ --------------------------------------------------------------------
Line src/Integration/Type.php
------ --------------------------------------------------------------------
67 Method CrefoPay\Library\Integration\Type::validate() has parameter
$value with no type specified.
------ --------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line src/Logging/Factory.php
------ --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
25 Property CrefoPay\Library\Logging\Factory::$loggers type has no value
type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
30 Method CrefoPay\Library\Logging\Factory::getLogger() has parameter
$logLocation with no type specified.
38 Parameter #2 $level of class Monolog\Handler\StreamHandler
constructor expects
100|200|250|300|400|500|550|600|'ALERT'|'alert'|'CRITICAL'|'critical'|'DEBUG'|'debug'|'EMERGENCY'|'emergency'|'ERROR'|'error'|'INFO'|'info'|'NOTICE'|'notice'|'WARNING'|'warning'|Monolog\Level,
int given.
------ --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------
Line src/Mac/AbstractCalculator.php
------ --------------------------------------------------------------------------------------
30 Property CrefoPay\Library\Mac\AbstractCalculator::$calculationArray
type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
74 Result of || is always false.
💡 Because the type is coming from a PHPDoc, you can turn off this
check by setting treatPhpDocTypesAsCertain: false in your
phpstan.neon.
107 Method CrefoPay\Library\Mac\AbstractCalculator::setCalculationArray()
has parameter $data with no value type specified in iterable type
array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
------ --------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------
Line src/Mns/Handler.php
------ --------------------------------------------------------------------------------------
50 Property CrefoPay\Library\Mns\Handler::$data type has no value type
specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
64 Property CrefoPay\Library\Mns\Handler::$requiredFields type has no
value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
81 Property CrefoPay\Library\Mns\Handler::$optionalFields type has no
value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
106 Method CrefoPay\Library\Mns\Handler::__construct() has parameter
$data with no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
132 If condition is always true.
💡 Because the type is coming from a PHPDoc, you can turn off this
check by setting treatPhpDocTypesAsCertain: false in your
phpstan.neon.
------ --------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------
Line src/Mns/ProcessorInterface.php
------ ---------------------------------------------------------------------
51 Method CrefoPay\Library\Mns\ProcessorInterface::sendData() has no
return type specified.
76 Method CrefoPay\Library\Mns\ProcessorInterface::run() has no return
type specified.
------ ---------------------------------------------------------------------
------ --------------------------------------------------------------------------------------
Line src/Pns/Handler.php
------ --------------------------------------------------------------------------------------
51 Property CrefoPay\Library\Pns\Handler::$data type has no value type
specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
65 Property CrefoPay\Library\Pns\Handler::$requiredFields type has no
value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
90 Property CrefoPay\Library\Pns\Handler::$optionalFields type has no
value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
112 Method CrefoPay\Library\Pns\Handler::__construct() has parameter
$data with no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
138 If condition is always true.
💡 Because the type is coming from a PHPDoc, you can turn off this
check by setting treatPhpDocTypesAsCertain: false in your
phpstan.neon.
------ --------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------
Line src/Pns/ProcessorInterface.php
------ ---------------------------------------------------------------------
55 Method CrefoPay\Library\Pns\ProcessorInterface::sendData() has no
return type specified.
86 Method CrefoPay\Library\Pns\ProcessorInterface::run() has no return
type specified.
------ ---------------------------------------------------------------------
------ --------------------------------------------------------------------------------------
Line src/Request/AbstractRequest.php
------ --------------------------------------------------------------------------------------
51 Method CrefoPay\Library\Request\AbstractRequest::__construct() with
return type void returns
$this(CrefoPay\Library\Request\AbstractRequest) but should not return
anything.
69 Method CrefoPay\Library\Request\AbstractRequest::setMac() has
parameter $mac with no type specified.
87 Method
CrefoPay\Library\Request\AbstractRequest::getExcludedMacFields()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
97 Method CrefoPay\Library\Request\AbstractRequest::getSerializerData()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
127 Property CrefoPay\Library\Request\AbstractRequest::$saltValue
(string) does not accept null.
133 Method CrefoPay\Library\Request\AbstractRequest::toArray() return
type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
141 Method CrefoPay\Library\Request\AbstractRequest::getValidationData()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
175 Method
CrefoPay\Library\Request\AbstractRequest::getClassValidationData()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
180 Method
CrefoPay\Library\Request\AbstractRequest::getPreSerializerData()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
195 Method CrefoPay\Library\Request\AbstractRequest::customValidation()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
------ --------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------
Line src/Request/AddPayment.php
------ --------------------------------------------------------------------------------------
113 Method CrefoPay\Library\Request\AddPayment::setCaptureID() has
parameter $captureID with no type specified.
245 Method CrefoPay\Library\Request\AddPayment::getPreSerializerData()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
253 Property CrefoPay\Library\Request\AddPayment::$valutaDate
(DateTimeInterface) in empty() is not falsy.
275 Method CrefoPay\Library\Request\AddPayment::getClassValidationData()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
------ --------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------
Line src/Request/Attributes/ObjectArray.php
------ --------------------------------------------------------------------------------------
17 Class CrefoPay\Library\Request\Attributes\ObjectArray extends generic
class ArrayIterator but does not specify its types: TKey, TValue
💡 You can turn this off by setting
checkGenericClassInNonGenericObjectType: false in your
phpstan.neon.
24 Property CrefoPay\Library\Request\Attributes\ObjectArray::$data type
has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
39 Method
CrefoPay\Library\Request\Attributes\ObjectArray::getSerializerData()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
47 Method CrefoPay\Library\Request\Attributes\ObjectArray::toArray()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
55 Method
CrefoPay\Library\Request\Attributes\ObjectArray::getValidationData()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
63 Method
CrefoPay\Library\Request\Attributes\ObjectArray::customValidation()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
------ --------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------
Line src/Request/Cancel.php
------ --------------------------------------------------------------------------------------
55 Method CrefoPay\Library\Request\Cancel::getPreSerializerData() return
type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
65 Method CrefoPay\Library\Request\Cancel::getClassValidationData()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
------ --------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------
Line src/Request/Capture.php
------ --------------------------------------------------------------------------------------
75 Method CrefoPay\Library\Request\Capture::setCaptureID() has parameter
$captureID with no type specified.
119 Method CrefoPay\Library\Request\Capture::getPreSerializerData()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
131 Method CrefoPay\Library\Request\Capture::getClassValidationData()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
------ --------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------
Line src/Request/CreateSubscription.php
------ --------------------------------------------------------------------------------------
244 Property CrefoPay\Library\Request\CreateSubscription::$userRiskClass
(string) does not accept int.
255 Property CrefoPay\Library\Request\CreateSubscription::$userRiskClass
(string) does not accept int.
322 PHPDoc tag @param for parameter $startDate with type int is
incompatible with native type DateTimeInterface.
452 Method
CrefoPay\Library\Request\CreateSubscription::setMerchantReference()
has parameter $merchantReference with no type specified.
476 Method CrefoPay\Library\Request\CreateSubscription::setUserType() has
parameter $userType with no type specified.
526 Method
CrefoPay\Library\Request\CreateSubscription::setUserIpAddress() has
parameter $userIpAddress with no type specified.
598 Method
CrefoPay\Library\Request\CreateSubscription::setBillingRecipient()
has parameter $billingRecipient with no type specified.
623 Method
CrefoPay\Library\Request\CreateSubscription::setBillingRecipientAddition()
has parameter $billingRecipientAddition with no type specified.
699 Method
CrefoPay\Library\Request\CreateSubscription::setShippingRecipientAddition()
has parameter $shippingRecipientAddition with no type specified.
772 Property CrefoPay\Library\Request\CreateSubscription::$basketItems
(CrefoPay\Library\Request\Attributes\ObjectArray) in empty() is not
falsy.
799 Method
CrefoPay\Library\Request\CreateSubscription::setBasketValidity() has
parameter $basketValidity with no type specified.
823 Method CrefoPay\Library\Request\CreateSubscription::setLocale() has
parameter $locale with no type specified.
843 Method
CrefoPay\Library\Request\CreateSubscription::getPreSerializerData()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
863 Property CrefoPay\Library\Request\CreateSubscription::$startDate
(DateTimeInterface) in empty() is not falsy.
879 Property CrefoPay\Library\Request\CreateSubscription::$companyData
(CrefoPay\Library\Request\Objects\Company) in empty() is not falsy.
883 Property CrefoPay\Library\Request\CreateSubscription::$userData
(CrefoPay\Library\Request\Objects\Person) in empty() is not falsy.
895 Property CrefoPay\Library\Request\CreateSubscription::$billingAddress
(CrefoPay\Library\Request\Objects\Address) in empty() is not falsy.
907 Property
CrefoPay\Library\Request\CreateSubscription::$shippingAddress
(CrefoPay\Library\Request\Objects\Address) in empty() is not falsy.
921 Method
CrefoPay\Library\Request\CreateSubscription::getClassValidationData()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
------ --------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------
Line src/Request/CreateTransaction.php
------ --------------------------------------------------------------------------------------
361 Property CrefoPay\Library\Request\CreateTransaction::$userRiskClass
(string) does not accept int.
372 Property CrefoPay\Library\Request\CreateTransaction::$userRiskClass
(string) does not accept int.
489 Method
CrefoPay\Library\Request\CreateTransaction::setMerchantReference()
has parameter $merchantReference with no type specified.
568 Method CrefoPay\Library\Request\CreateTransaction::setUserType() has
parameter $userType with no type specified.
618 Method CrefoPay\Library\Request\CreateTransaction::setUserIpAddress()
has parameter $userIpAddress with no type specified.
690 Method
CrefoPay\Library\Request\CreateTransaction::setBillingRecipient() has
parameter $billingRecipient with no type specified.
715 Method
CrefoPay\Library\Request\CreateTransaction::setBillingRecipientAddition()
has parameter $billingRecipientAddition with no type specified.
791 Method
CrefoPay\Library\Request\CreateTransaction::setShippingRecipientAddition()
has parameter $shippingRecipientAddition with no type specified.
864 Property CrefoPay\Library\Request\CreateTransaction::$basketItems
(CrefoPay\Library\Request\Attributes\ObjectArray) in empty() is not
falsy.
891 Method
CrefoPay\Library\Request\CreateTransaction::setBasketValidity() has
parameter $basketValidity with no type specified.
918 Property
CrefoPay\Library\Request\CreateTransaction::$hostedPagesTexts
(CrefoPay\Library\Request\Attributes\ObjectArray) in empty() is not
falsy.
945 Method CrefoPay\Library\Request\CreateTransaction::setLocale() has
parameter $locale with no type specified.
1053 Method
CrefoPay\Library\Request\CreateTransaction::getPreSerializerData()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
1070 Property CrefoPay\Library\Request\CreateTransaction::$basketItems
(CrefoPay\Library\Request\Attributes\ObjectArray) in empty() is not
falsy.
1112 Property CrefoPay\Library\Request\CreateTransaction::$companyData
(CrefoPay\Library\Request\Objects\Company) in empty() is not falsy.
1116 Property CrefoPay\Library\Request\CreateTransaction::$userData
(CrefoPay\Library\Request\Objects\Person) in empty() is not falsy.
1128 Property CrefoPay\Library\Request\CreateTransaction::$billingAddress
(CrefoPay\Library\Request\Objects\Address) in empty() is not falsy.
1140 Property CrefoPay\Library\Request\CreateTransaction::$shippingAddress
(CrefoPay\Library\Request\Objects\Address) in empty() is not falsy.
1148 Property
CrefoPay\Library\Request\CreateTransaction::$hostedPagesTexts
(CrefoPay\Library\Request\Attributes\ObjectArray) in empty() is not
falsy.
1152 Property
CrefoPay\Library\Request\CreateTransaction::$additionalPaymentOptions
(CrefoPay\Library\Request\Objects\AdditionalPaymentOptions) in
empty() is not falsy.
1156 Property
CrefoPay\Library\Request\CreateTransaction::$solvencyCheckInformation
(CrefoPay\Library\Request\Objects\SolvencyCheckInformation) in
empty() is not falsy.
1160 Property CrefoPay\Library\Request\CreateTransaction::$creditLimit
(CrefoPay\Library\Request\Objects\Amount) in empty() is not falsy.
1170 Method
CrefoPay\Library\Request\CreateTransaction::getClassValidationData()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
1317 Method
CrefoPay\Library\Request\CreateTransaction::validateIntegrationType()
has parameter $value with no type specified.
1325 Method CrefoPay\Library\Request\CreateTransaction::validateContext()
has parameter $value with no type specified.
1333 Method CrefoPay\Library\Request\CreateTransaction::validateUserType()
has parameter $value with no type specified.
------ --------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------
Line src/Request/DeleteUserPaymentInstrument.php
------ --------------------------------------------------------------------------------------
52 Method
CrefoPay\Library\Request\DeleteUserPaymentInstrument::getPreSerializerData()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
62 Method
CrefoPay\Library\Request\DeleteUserPaymentInstrument::getClassValidationData()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
------ --------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------
Line src/Request/Finish.php
------ --------------------------------------------------------------------------------------
55 Method CrefoPay\Library\Request\Finish::getPreSerializerData() return
type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
65 Method CrefoPay\Library\Request\Finish::getClassValidationData()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
------ --------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------
Line src/Request/GetCaptureStatus.php
------ --------------------------------------------------------------------------------------
66 Method CrefoPay\Library\Request\GetCaptureStatus::setCaptureID() has
parameter $captureID with no type specified.
86 Method
CrefoPay\Library\Request\GetCaptureStatus::getPreSerializerData()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
97 Method
CrefoPay\Library\Request\GetCaptureStatus::getClassValidationData()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
------ --------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------
Line src/Request/GetClearingFileList.php
------ --------------------------------------------------------------------------------------
80 Method
CrefoPay\Library\Request\GetClearingFileList::getPreSerializerData()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
98 Method
CrefoPay\Library\Request\GetClearingFileList::getClassValidationData()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
------ --------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------
Line src/Request/GetClearingFiles.php
------ --------------------------------------------------------------------------------------
66 Property CrefoPay\Library\Request\GetClearingFiles::$path (string)
does not accept bool.
84 Method
CrefoPay\Library\Request\GetClearingFiles::getPreSerializerData()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
96 Method
CrefoPay\Library\Request\GetClearingFiles::getClassValidationData()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
------ --------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------
Line src/Request/GetSubscriptionPlans.php
------ --------------------------------------------------------------------------------------
231 Method
CrefoPay\Library\Request\GetSubscriptionPlans::getPreSerializerData()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
241 If condition is always true.
💡 Because the type is coming from a PHPDoc, you can turn off this
check by setting treatPhpDocTypesAsCertain: false in your
phpstan.neon.
259 Method
CrefoPay\Library\Request\GetSubscriptionPlans::getClassValidationData()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
304 Method
CrefoPay\Library\Request\GetSubscriptionPlans::validateInterval() has
parameter $value with no type specified.
------ --------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------
Line src/Request/GetTransactionPaymentInstruments.php
------ --------------------------------------------------------------------------------------
53 Method
CrefoPay\Library\Request\GetTransactionPaymentInstruments::getPreSerializerData()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
63 Method
CrefoPay\Library\Request\GetTransactionPaymentInstruments::getClassValidationData()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
------ --------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------
Line src/Request/GetTransactionStatus.php
------ --------------------------------------------------------------------------------------
88 Method
CrefoPay\Library\Request\GetTransactionStatus::getPreSerializerData()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
103 Method
CrefoPay\Library\Request\GetTransactionStatus::getClassValidationData()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
------ --------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------
Line src/Request/GetUser.php
------ --------------------------------------------------------------------------------------
38 Method CrefoPay\Library\Request\GetUser::setUserID() has parameter
$userID with no type specified.
84 Method CrefoPay\Library\Request\GetUser::getPreSerializerData()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
99 Method CrefoPay\Library\Request\GetUser::getClassValidationData()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
------ --------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------
Line src/Request/GetUserPaymentInstrument.php
------ --------------------------------------------------------------------------------------
34 Method CrefoPay\Library\Request\GetUserPaymentInstrument::setUserID()
has parameter $userID with no type specified.
54 Method
CrefoPay\Library\Request\GetUserPaymentInstrument::getPreSerializerData()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
64 Method
CrefoPay\Library\Request\GetUserPaymentInstrument::getClassValidationData()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
------ --------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------
Line src/Request/MacCalculator.php
------ ----------------------------------------------------------------------
69 Method CrefoPay\Library\Request\MacCalculator::needsToBeSerialized()
has parameter $value with no type specified.
------ ----------------------------------------------------------------------
------ --------------------------------------------------------------------------------------
Line src/Request/Objects/AbstractObject.php
------ --------------------------------------------------------------------------------------
24 Method
CrefoPay\Library\Request\Objects\AbstractObject::setUnserializedData()
has parameter $data with no value type specified in iterable type
array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
28 Dead catch - ReflectionException is never thrown in the try block.
63 Return type mixed of method
CrefoPay\Library\Request\Objects\AbstractObject::getSerializerData()
is not covariant with return type array of method
CrefoPay\Library\Request\RequestInterface::getSerializerData().
81 Method
CrefoPay\Library\Request\Objects\AbstractObject::customValidation()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
------ --------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------
Line src/Request/Objects/AbstractRange.php
------ --------------------------------------------------------------------------------------
22 Property CrefoPay\Library\Request\Objects\AbstractRange::$minimum has
no type specified.
27 Property CrefoPay\Library\Request\Objects\AbstractRange::$maximum has
no type specified.
39 Method CrefoPay\Library\Request\Objects\AbstractRange::setMinimum()
has parameter $minimum with no type specified.
59 Method CrefoPay\Library\Request\Objects\AbstractRange::setMaximum()
has parameter $maximum with no type specified.
77 Method CrefoPay\Library\Request\Objects\AbstractRange::toArray()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
88 Method
CrefoPay\Library\Request\Objects\AbstractRange::getValidationData()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
------ --------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------------
Line src/Request/Objects/AdditionalPaymentOptions.php
------ -----------------------------------------------------------------------------------------------
68 Method
CrefoPay\Library\Request\Objects\AdditionalPaymentOptions::toArray()
has no return type specified.
68 Return type mixed of method
CrefoPay\Library\Request\Objects\AdditionalPaymentOptions::toArray()
is not covariant with return type array of method
CrefoPay\Library\Request\RequestInterface::toArray().
84 Method
CrefoPay\Library\Request\Objects\AdditionalPaymentOptions::getValidationData()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
100 Method
CrefoPay\Library\Request\Objects\AdditionalPaymentOptions::validateRecurringTransactionType()
has parameter $value with no type specified.
------ -----------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------
Line src/Request/Objects/Address.php
------ --------------------------------------------------------------------------------------
87 Method CrefoPay\Library\Request\Objects\Address::setStreet() has
parameter $street with no type specified.
243 Method CrefoPay\Library\Request\Objects\Address::setName() has
parameter $name with no type specified.
261 Method CrefoPay\Library\Request\Objects\Address::toArray() return
type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
289 Method CrefoPay\Library\Request\Objects\Address::getValidationData()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
------ --------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------
Line src/Request/Objects/Amount.php
------ --------------------------------------------------------------------------------------
96 Method CrefoPay\Library\Request\Objects\Amount::toArray() return type
has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
114 Method CrefoPay\Library\Request\Objects\Amount::getValidationData()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
------ --------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------
Line src/Request/Objects/AmountRange.php
------ --------------------------------------------------------------------------------------
40 Method
CrefoPay\Library\Request\Objects\AmountRange::getValidationData()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
------ --------------------------------------------------------------------------------------
------ --------------------------------------------------------------------
Line src/Request/Objects/Attributes/File.php
------ --------------------------------------------------------------------
31 Method CrefoPay\Library\Request\Objects\Attributes\File::setPath()
has parameter $path with no type specified.
------ --------------------------------------------------------------------
------ --------------------------------------------------------------------------------------
Line src/Request/Objects/BasketItem.php
------ --------------------------------------------------------------------------------------
107 Method CrefoPay\Library\Request\Objects\BasketItem::getBasketItemID()
should return int but returns string.
181 Method
CrefoPay\Library\Request\Objects\BasketItem::setBasketItemType() has
parameter $basketItemType with no type specified.
201 Method CrefoPay\Library\Request\Objects\BasketItem::toArray() return
type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
227 Method
CrefoPay\Library\Request\Objects\BasketItem::getValidationData()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
------ --------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------
Line src/Request/Objects/Bonima.php
------ --------------------------------------------------------------------------------------
189 Method CrefoPay\Library\Request\Objects\Bonima::toArray() return type
has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
205 Method CrefoPay\Library\Request\Objects\Bonima::getValidationData()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
269 Method
CrefoPay\Library\Request\Objects\Bonima::validateIdentification() has
parameter $value with no type specified.
277 Method
CrefoPay\Library\Request\Objects\Bonima::validateAddressValidation()
has parameter $value with no type specified.
285 Method
CrefoPay\Library\Request\Objects\Bonima::validateTrafficLight() has
parameter $value with no type specified.
------ --------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------
Line src/Request/Objects/Boniversum.php
------ --------------------------------------------------------------------------------------
167 Method CrefoPay\Library\Request\Objects\Boniversum::toArray() return
type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
175 Left side of && is always true.
💡 Because the type is coming from a PHPDoc, you can turn off this
check by setting treatPhpDocTypesAsCertain: false in your
phpstan.neon.
189 Method
CrefoPay\Library\Request\Objects\Boniversum::getValidationData()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
253 Method
CrefoPay\Library\Request\Objects\Boniversum::validateIdentification()
has parameter $value with no type specified.
261 Method
CrefoPay\Library\Request\Objects\Boniversum::validateAddressValidation()
has parameter $value with no type specified.
269 Method
CrefoPay\Library\Request\Objects\Boniversum::validateTrafficLight()
has parameter $value with no type specified.
------ --------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------
Line src/Request/Objects/ClearingFile.php
------ --------------------------------------------------------------------------------------
107 Method CrefoPay\Library\Request\Objects\ClearingFile::toArray()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
129 Method
CrefoPay\Library\Request\Objects\ClearingFile::getValidationData()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
------ --------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------
Line src/Request/Objects/Company.php
------ --------------------------------------------------------------------------------------
195 Method CrefoPay\Library\Request\Objects\Company::setCompanyVatID()
has parameter $companyVatID with no type specified.
215 Method CrefoPay\Library\Request\Objects\Company::setCompanyTaxID()
has parameter $companyTaxID with no type specified.
235 Method
CrefoPay\Library\Request\Objects\Company::setCompanyRegisterType()
has parameter $companyRegisterType with no type specified.
253 Method CrefoPay\Library\Request\Objects\Company::toArray() return
type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
287 Method CrefoPay\Library\Request\Objects\Company::getValidationData()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
359 Method
CrefoPay\Library\Request\Objects\Company::validateCompanyRegisterType()
has parameter $value with no type specified.
------ --------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------
Line src/Request/Objects/CompanyMember.php
------ --------------------------------------------------------------------------------------
129 Method CrefoPay\Library\Request\Objects\CompanyMember::toArray()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
147 Method
CrefoPay\Library\Request\Objects\CompanyMember::getValidationData()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
------ --------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------
Line src/Request/Objects/Crediconnect.php
------ --------------------------------------------------------------------------------------
66 Method CrefoPay\Library\Request\Objects\Crediconnect::toArray()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
71 Left side of && is always true.
💡 Because the type is coming from a PHPDoc, you can turn off this
check by setting treatPhpDocTypesAsCertain: false in your
phpstan.neon.
85 Method
CrefoPay\Library\Request\Objects\Crediconnect::getValidationData()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
113 Method
CrefoPay\Library\Request\Objects\Crediconnect::validateTrafficLight()
has parameter $value with no type specified.
------ --------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------
Line src/Request/Objects/Creditreform.php
------ --------------------------------------------------------------------------------------
259 Method CrefoPay\Library\Request\Objects\Creditreform::toArray()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
265 Left side of && is always true.
💡 Because the type is coming from a PHPDoc, you can turn off this
check by setting treatPhpDocTypesAsCertain: false in your
phpstan.neon.
271 Property
CrefoPay\Library\Request\Objects\Creditreform::$blackWhiteResult
(bool) in isset() is not nullable.
277 If condition is always true.
💡 Because the type is coming from a PHPDoc, you can turn off this
check by setting treatPhpDocTypesAsCertain: false in your
phpstan.neon.
299 Method
CrefoPay\Library\Request\Objects\Creditreform::getValidationData()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
321 Property
CrefoPay\Library\Request\Objects\Creditreform::$blackWhiteResult
(bool) in isset() is not nullable.
375 Method
CrefoPay\Library\Request\Objects\Creditreform::validateCrefoProductName()
has parameter $value with no type specified.
383 Method
CrefoPay\Library\Request\Objects\Creditreform::validateTrafficLight()
has parameter $value with no type specified.
391 Method
CrefoPay\Library\Request\Objects\Creditreform::validateBlackWhiteResult()
has parameter $value with no type specified.
399 Method
CrefoPay\Library\Request\Objects\Creditreform::validateDateOfFoundation()
has parameter $value with no type specified.
------ --------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------
Line src/Request/Objects/HostedPagesText.php
------ --------------------------------------------------------------------------------------
152 Method
CrefoPay\Library\Request\Objects\HostedPagesText::setPaymentMethodType()
has parameter $paymentMethodType with no type specified.
205 Method
CrefoPay\Library\Request\Objects\HostedPagesText::setDescription()
has parameter $description with no type specified.
233 Method CrefoPay\Library\Request\Objects\HostedPagesText::setLocale()
has parameter $locale with no type specified.
259 Method CrefoPay\Library\Request\Objects\HostedPagesText::toArray()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
272 Method
CrefoPay\Library\Request\Objects\HostedPagesText::getValidationData()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
------ --------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------
Line src/Request/Objects/PaymentInstrument.php
------ --------------------------------------------------------------------------------------
148 Method
CrefoPay\Library\Request\Objects\PaymentInstrument::setNumber() has
parameter $number with no type specified.
262 Method CrefoPay\Library\Request\Objects\PaymentInstrument::setBic()
has parameter $bic with no type specified.
280 Method CrefoPay\Library\Request\Objects\PaymentInstrument::toArray()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
297 Property
CrefoPay\Library\Request\Objects\PaymentInstrument::$validity
(DateTimeInterface) in empty() is not falsy.
311 Method
CrefoPay\Library\Request\Objects\PaymentInstrument::getValidationData()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
369 Method
CrefoPay\Library\Request\Objects\PaymentInstrument::customValidation()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
384 Property
CrefoPay\Library\Request\Objects\PaymentInstrument::$validity
(DateTimeInterface) in empty() is not falsy.
------ --------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------
Line src/Request/Objects/Person.php
------ --------------------------------------------------------------------------------------
78 Method CrefoPay\Library\Request\Objects\Person::setSalutation() has
parameter $salutation with no type specified.
184 Method CrefoPay\Library\Request\Objects\Person::setPhoneNumber() has
parameter $phoneNumber with no type specified.
204 Method CrefoPay\Library\Request\Objects\Person::setFaxNumber() has
parameter $faxNumber with no type specified.
224 Method CrefoPay\Library\Request\Objects\Person::setUnserializedData()
has parameter $data with no value type specified in iterable type
array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
237 Method CrefoPay\Library\Request\Objects\Person::toArray() return type
has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
250 Cannot call method format() on DateTimeInterface|null.
267 Method CrefoPay\Library\Request\Objects\Person::getValidationData()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
------ --------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------
Line src/Request/Objects/Shop.php
------ --------------------------------------------------------------------------------------
81 Method CrefoPay\Library\Request\Objects\Shop::toArray() return type
has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
92 Method CrefoPay\Library\Request\Objects\Shop::getValidationData()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
------ --------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------
Line src/Request/Objects/ShopInformation.php
------ --------------------------------------------------------------------------------------
78 Property
CrefoPay\Library\Request\Objects\ShopInformation::$subscriptionOffered
is never written, only read.
💡 See:
https://phpstan.org/developing-extensions/always-read-written-properties
303 Method
CrefoPay\Library\Request\Objects\ShopInformation::setCurrency() has
parameter $currency with no type specified.
349 Property
CrefoPay\Library\Request\Objects\ShopInformation::$shopDescription
(string) does not accept bool.
702 Property CrefoPay\Library\Request\Objects\ShopInformation::$erpSystem
(string) does not accept int.
738 Method CrefoPay\Library\Request\Objects\ShopInformation::toArray()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
790 Property
CrefoPay\Library\Request\Objects\ShopInformation::$estimatedStart
(DateTimeInterface) in empty() is not falsy.
800 Method
CrefoPay\Library\Request\Objects\ShopInformation::getValidationData()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
------ --------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------
Line src/Request/Objects/SolvencyCheckInformation.php
------ --------------------------------------------------------------------------------------
136 Method
CrefoPay\Library\Request\Objects\SolvencyCheckInformation::toArray()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
140 If condition is always true.
💡 Because the type is coming from a PHPDoc, you can turn off this
check by setting treatPhpDocTypesAsCertain: false in your
phpstan.neon.
144 If condition is always true.
💡 Because the type is coming from a PHPDoc, you can turn off this
check by setting treatPhpDocTypesAsCertain: false in your
phpstan.neon.
148 If condition is always true.
💡 Because the type is coming from a PHPDoc, you can turn off this
check by setting treatPhpDocTypesAsCertain: false in your
phpstan.neon.
160 Method
CrefoPay\Library\Request\Objects\SolvencyCheckInformation::getValidationData()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
------ --------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------
Line src/Request/Objects/SolvencyData.php
------ --------------------------------------------------------------------------------------
133 Property CrefoPay\Library\Request\Objects\SolvencyData::$actions type
has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
367 Method CrefoPay\Library\Request\Objects\SolvencyData::getActions()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
375 Method CrefoPay\Library\Request\Objects\SolvencyData::setActions()
has parameter $actions with no value type specified in iterable type
array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
503 Property
CrefoPay\Library\Request\Objects\SolvencyData::$correctedAddress
(string) does not accept
CrefoPay\Library\Request\Objects\Address|string.
661 Method CrefoPay\Library\Request\Objects\SolvencyData::toArray()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
748 Method
CrefoPay\Library\Request\Objects\SolvencyData::getValidationData()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
876 Method
CrefoPay\Library\Request\Objects\SolvencyData::validateSolvencyInterface()
has parameter $value with no type specified.
884 Method
CrefoPay\Library\Request\Objects\SolvencyData::validateCheckType()
has parameter $value with no type specified.
894 Method
CrefoPay\Library\Request\Objects\SolvencyData::validateActions() has
parameter $value with no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
909 Method
CrefoPay\Library\Request\Objects\SolvencyData::validateTrafficLight()
has parameter $value with no type specified.
917 Method
CrefoPay\Library\Request\Objects\SolvencyData::validateIdentification()
has parameter $value with no type specified.
925 Method
CrefoPay\Library\Request\Objects\SolvencyData::validateAddressValidation()
has parameter $value with no type specified.
933 Method
CrefoPay\Library\Request\Objects\SolvencyData::validateProductName()
has parameter $value with no type specified.
941 Method
CrefoPay\Library\Request\Objects\SolvencyData::validateCheckResult()
has parameter $value with no type specified.
949 Method
CrefoPay\Library\Request\Objects\SolvencyData::validateStatus() has
parameter $value with no type specified.
957 Method
CrefoPay\Library\Request\Objects\SolvencyData::validateSpecialAddress()
has parameter $value with no type specified.
965 Method
CrefoPay\Library\Request\Objects\SolvencyData::validatePaymentMethod()
has parameter $value with no type specified.
------ --------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------
Line src/Request/Objects/SubscriptionPlan.php
------ --------------------------------------------------------------------------------------
290 Property
CrefoPay\Library\Request\Objects\SubscriptionPlan::$contactDetails
(string) does not accept int.
300 Method
CrefoPay\Library\Request\Objects\SubscriptionPlan::getContactDetails()
should return int but returns string.
312 Property
CrefoPay\Library\Request\Objects\SubscriptionPlan::$hasSubscribers
(string) does not accept bool.
322 Method
CrefoPay\Library\Request\Objects\SubscriptionPlan::getHasSubscribers()
should return bool but returns string.
328 Method CrefoPay\Library\Request\Objects\SubscriptionPlan::toArray()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
359 Method
CrefoPay\Library\Request\Objects\SubscriptionPlan::getValidationData()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
443 Method
CrefoPay\Library\Request\Objects\SubscriptionPlan::validateInterval()
has parameter $value with no type specified.
------ --------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------
Line src/Request/Objects/TimeRange.php
------ --------------------------------------------------------------------------------------
38 Method
CrefoPay\Library\Request\Objects\TimeRange::getValidationData()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
------ --------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------
Line src/Request/Refund.php
------ --------------------------------------------------------------------------------------
85 Method CrefoPay\Library\Request\Refund::setCaptureID() has parameter
$captureID with no type specified.
133 Method CrefoPay\Library\Request\Refund::setRefundDescription() has
parameter $refundDescription with no type specified.
153 Method CrefoPay\Library\Request\Refund::getPreSerializerData() return
type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
166 Method CrefoPay\Library\Request\Refund::getClassValidationData()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
------ --------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------
Line src/Request/RegisterUser.php
------ --------------------------------------------------------------------------------------
128 Property CrefoPay\Library\Request\RegisterUser::$userRiskClass
(string) does not accept int.
139 Property CrefoPay\Library\Request\RegisterUser::$userRiskClass
(string) does not accept int.
178 Method CrefoPay\Library\Request\RegisterUser::setUserType() has
parameter $userType with no type specified.
276 Method CrefoPay\Library\Request\RegisterUser::setBillingRecipient()
has parameter $billingRecipient with no type specified.
290 Method CrefoPay\Library\Request\RegisterUser::getBillingRecipient()
should return string but returns
CrefoPay\Library\Request\Objects\Address.
374 Method CrefoPay\Library\Request\RegisterUser::setLocale() has
parameter $locale with no type specified.
414 Method CrefoPay\Library\Request\RegisterUser::getPreSerializerData()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
422 Call to function is_null() with string will always evaluate to false.
💡 Because the type is coming from a PHPDoc, you can turn off this
check by setting treatPhpDocTypesAsCertain: false in your
phpstan.neon.
426 Property CrefoPay\Library\Request\RegisterUser::$companyData
(CrefoPay\Library\Request\Objects\Company) in empty() is not falsy.
430 Property CrefoPay\Library\Request\RegisterUser::$userData
(CrefoPay\Library\Request\Objects\Person) in empty() is not falsy.
434 Property CrefoPay\Library\Request\RegisterUser::$billingRecipient
(CrefoPay\Library\Request\Objects\Address) in empty() is not falsy.
438 Property CrefoPay\Library\Request\RegisterUser::$billingAddress
(CrefoPay\Library\Request\Objects\Address) in empty() is not falsy.
446 Property CrefoPay\Library\Request\RegisterUser::$shippingAddress
(CrefoPay\Library\Request\Objects\Address) in empty() is not falsy.
450 Property CrefoPay\Library\Request\RegisterUser::$creditLimit
(CrefoPay\Library\Request\Objects\Amount) in empty() is not falsy.
460 Method
CrefoPay\Library\Request\RegisterUser::getClassValidationData()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
------ --------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------
Line src/Request/RegisterUserPaymentInstrument.php
------ --------------------------------------------------------------------------------------
85 Method
CrefoPay\Library\Request\RegisterUserPaymentInstrument::getPreSerializerData()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
96 Method
CrefoPay\Library\Request\RegisterUserPaymentInstrument::getClassValidationData()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
------ --------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------
Line src/Request/RequestInterface.php
------ --------------------------------------------------------------------------------------
23 Method CrefoPay\Library\Request\RequestInterface::getSerializerData()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
28 Method CrefoPay\Library\Request\RequestInterface::toArray() return
type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
33 Method CrefoPay\Library\Request\RequestInterface::getValidationData()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
47 Method CrefoPay\Library\Request\RequestInterface::customValidation()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
------ --------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------
Line src/Request/Reserve.php
------ --------------------------------------------------------------------------------------
190 Property CrefoPay\Library\Request\Reserve::$basketItems
(CrefoPay\Library\Request\Attributes\ObjectArray) in empty() is not
falsy.
218 Method CrefoPay\Library\Request\Reserve::setCcv() has parameter $ccv
with no type specified.
242 Method CrefoPay\Library\Request\Reserve::setCvv() has parameter $cvv
with no type specified.
270 Method CrefoPay\Library\Request\Reserve::setAdditionalInformation()
has parameter $additionalInformation with no type specified.
280 Method CrefoPay\Library\Request\Reserve::getPreSerializerData()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
291 Property CrefoPay\Library\Request\Reserve::$amount
(CrefoPay\Library\Request\Objects\Amount) in empty() is not falsy.
309 Method CrefoPay\Library\Request\Reserve::getClassValidationData()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
------ --------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------
Line src/Request/SolvencyCheck.php
------ --------------------------------------------------------------------------------------
110 Method CrefoPay\Library\Request\SolvencyCheck::setUserType() has
parameter $userType with no type specified.
182 Method CrefoPay\Library\Request\SolvencyCheck::setBillingRecipient()
has parameter $billingRecipient with no type specified.
196 Method CrefoPay\Library\Request\SolvencyCheck::getBillingRecipient()
should return string but returns
CrefoPay\Library\Request\Objects\Address.
226 Method
CrefoPay\Library\Request\SolvencyCheck::getClassValidationData()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
266 Method CrefoPay\Library\Request\SolvencyCheck::getPreSerializerData()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
273 Property CrefoPay\Library\Request\SolvencyCheck::$companyData
(CrefoPay\Library\Request\Objects\Company) in empty() is not falsy.
277 Property CrefoPay\Library\Request\SolvencyCheck::$userData
(CrefoPay\Library\Request\Objects\Person) in empty() is not falsy.
281 Property CrefoPay\Library\Request\SolvencyCheck::$billingRecipient
(CrefoPay\Library\Request\Objects\Address) in empty() is not falsy.
285 Property CrefoPay\Library\Request\SolvencyCheck::$billingAddress
(CrefoPay\Library\Request\Objects\Address) in empty() is not falsy.
------ --------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------
Line src/Request/UpdateInvoice.php
------ --------------------------------------------------------------------------------------
141 Method CrefoPay\Library\Request\UpdateInvoice::setCaptureID() has
parameter $captureID with no type specified.
165 Method CrefoPay\Library\Request\UpdateInvoice::setInvoiceNumber() has
parameter $invoiceNumber with no type specified.
333 Method CrefoPay\Library\Request\UpdateInvoice::setTrackingID() has
parameter $trackingID with no type specified.
357 Method CrefoPay\Library\Request\UpdateInvoice::setRemark() has
parameter $remark with no type specified.
377 Method CrefoPay\Library\Request\UpdateInvoice::getPreSerializerData()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
389 Property CrefoPay\Library\Request\UpdateInvoice::$invoiceDate
(DateTimeInterface) in empty() is not falsy.
393 Property CrefoPay\Library\Request\UpdateInvoice::$dueDate
(DateTimeInterface) in empty() is not falsy.
397 Property CrefoPay\Library\Request\UpdateInvoice::$paymentTarget
(DateTimeInterface) in empty() is not falsy.
401 Property CrefoPay\Library\Request\UpdateInvoice::$invoicePDF
(CrefoPay\Library\Request\Objects\Attributes\FileInterface) in
empty() is not falsy.
405 Property CrefoPay\Library\Request\UpdateInvoice::$shippingDate
(DateTimeInterface) in empty() is not falsy.
423 Method CrefoPay\Library\Request\UpdateInvoice::getExcludedMacFields()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
439 Method
CrefoPay\Library\Request\UpdateInvoice::getClassValidationData()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
------ --------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------
Line src/Request/UpdateSubscription.php
------ --------------------------------------------------------------------------------------
133 Method
CrefoPay\Library\Request\UpdateSubscription::getPreSerializerData()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
150 Method
CrefoPay\Library\Request\UpdateSubscription::getClassValidationData()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
197 Method CrefoPay\Library\Request\UpdateSubscription::validateAction()
has parameter $value with no type specified.
------ --------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------
Line src/Request/UpdateTransaction.php
------ --------------------------------------------------------------------------------------
142 Method CrefoPay\Library\Request\UpdateTransaction::setCaptureID() has
parameter $captureID with no type specified.
166 Method CrefoPay\Library\Request\UpdateTransaction::setInvoiceNumber()
has parameter $invoiceNumber with no type specified.
334 Method CrefoPay\Library\Request\UpdateTransaction::setTrackingID()
has parameter $trackingID with no type specified.
358 Method CrefoPay\Library\Request\UpdateTransaction::setRemark() has
parameter $remark with no type specified.
378 Method
CrefoPay\Library\Request\UpdateTransaction::getPreSerializerData()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
390 Property CrefoPay\Library\Request\UpdateTransaction::$invoiceDate
(DateTimeInterface) in empty() is not falsy.
394 Property CrefoPay\Library\Request\UpdateTransaction::$dueDate
(DateTimeInterface) in empty() is not falsy.
398 Property CrefoPay\Library\Request\UpdateTransaction::$paymentTarget
(DateTimeInterface) in empty() is not falsy.
402 Property CrefoPay\Library\Request\UpdateTransaction::$invoicePDF
(CrefoPay\Library\Request\Objects\Attributes\FileInterface) in
empty() is not falsy.
406 Property CrefoPay\Library\Request\UpdateTransaction::$shippingDate
(DateTimeInterface) in empty() is not falsy.
424 Method
CrefoPay\Library\Request\UpdateTransaction::getExcludedMacFields()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
440 Method
CrefoPay\Library\Request\UpdateTransaction::getClassValidationData()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
------ --------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------
Line src/Request/UpdateTransactionData.php
------ --------------------------------------------------------------------------------------
86 Method
CrefoPay\Library\Request\UpdateTransactionData::getPreSerializerData()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
101 Method
CrefoPay\Library\Request\UpdateTransactionData::getClassValidationData()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
------ --------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------
Line src/Request/VerifyCard.php
------ --------------------------------------------------------------------------------------
172 Method CrefoPay\Library\Request\VerifyCard::getPreSerializerData()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
176 Property CrefoPay\Library\Request\VerifyCard::$validity
(DateTimeInterface) in empty() is not falsy.
190 Method CrefoPay\Library\Request\VerifyCard::getClassValidationData()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
------ --------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------
Line src/Response/AbstractResponse.php
------ --------------------------------------------------------------------------------------
46 Property CrefoPay\Library\Response\AbstractResponse::$responseData
type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
65 Method CrefoPay\Library\Response\AbstractResponse::__construct() has
parameter $data with no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
83 Method CrefoPay\Library\Response\AbstractResponse::__call() has
parameter $args with no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
97 Method CrefoPay\Library\Response\AbstractResponse::getData() has
parameter $key with no type specified.
103 Dead catch - ReflectionException is never thrown in the try block.
123 Method CrefoPay\Library\Response\AbstractResponse::getAllData()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
146 Method CrefoPay\Library\Response\AbstractResponse::setData() has
parameter $value with no type specified.
152 Dead catch - ReflectionException is never thrown in the try block.
------ --------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------
Line src/Response/FailureResponse.php
------ --------------------------------------------------------------------------------------
32 Method CrefoPay\Library\Response\FailureResponse::__construct() has
parameter $data with no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
------ --------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------
Line src/Response/Unserializer/Handler/Address.php
------ --------------------------------------------------------------------------------------
23 Method
CrefoPay\Library\Response\Unserializer\Handler\Address::getAttributeNameHandler()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
34 Method
CrefoPay\Library\Response\Unserializer\Handler\Address::unserializeProperty()
has parameter $value with no type specified.
------ --------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------
Line src/Response/Unserializer/Handler/Amount.php
------ --------------------------------------------------------------------------------------
23 Method
CrefoPay\Library\Response\Unserializer\Handler\Amount::getAttributeNameHandler()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
33 Method
CrefoPay\Library\Response\Unserializer\Handler\Amount::unserializeProperty()
has parameter $value with no type specified.
------ --------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------
Line src/Response/Unserializer/Handler/ArrayClearingFiles.php
------ ----------------------------------------------------------------------------------------------
23 Method
CrefoPay\Library\Response\Unserializer\Handler\ArrayClearingFiles::getAttributeNameHandler()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
33 Method
CrefoPay\Library\Response\Unserializer\Handler\ArrayClearingFiles::unserializeProperty()
has parameter $value with no type specified.
33 Method
CrefoPay\Library\Response\Unserializer\Handler\ArrayClearingFiles::unserializeProperty()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
33 Return type array of method
CrefoPay\Library\Response\Unserializer\Handler\ArrayClearingFiles::unserializeProperty()
is not covariant with return type
CrefoPay\Library\Request\RequestInterface of method
CrefoPay\Library\Response\Unserializer\Handler\UnserializerInterface::unserializeProperty().
43 Parameter #1 $year of method DateTime::setDate() expects int, string
given.
43 Parameter #2 $month of method DateTime::setDate() expects int, string
given.
43 Parameter #3 $day of method DateTime::setDate() expects int, string
given.
48 Parameter #1 $year of method DateTime::setDate() expects int, string
given.
48 Parameter #2 $month of method DateTime::setDate() expects int, string
given.
48 Parameter #3 $day of method DateTime::setDate() expects int, string
given.
------ ----------------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------------------------------
Line src/Response/Unserializer/Handler/ArrayPaymentInstruments.php
------ ---------------------------------------------------------------------------------------------------
21 Method
CrefoPay\Library\Response\Unserializer\Handler\ArrayPaymentInstruments::getAttributeNameHandler()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
32 Method
CrefoPay\Library\Response\Unserializer\Handler\ArrayPaymentInstruments::unserializeProperty()
has parameter $value with no type specified.
32 Method
CrefoPay\Library\Response\Unserializer\Handler\ArrayPaymentInstruments::unserializeProperty()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
32 Return type array of method
CrefoPay\Library\Response\Unserializer\Handler\ArrayPaymentInstruments::unserializeProperty()
is not covariant with return type
CrefoPay\Library\Request\RequestInterface of method
CrefoPay\Library\Response\Unserializer\Handler\UnserializerInterface::unserializeProperty().
43 Parameter #1 $year of method DateTime::setDate() expects int, string
given.
43 Parameter #2 $month of method DateTime::setDate() expects int, string
given.
------ ---------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------
Line src/Response/Unserializer/Handler/ArraySolvencyData.php
------ ----------------------------------------------------------------------------------------------
24 Method
CrefoPay\Library\Response\Unserializer\Handler\ArraySolvencyData::getAttributeNameHandler()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
34 Method
CrefoPay\Library\Response\Unserializer\Handler\ArraySolvencyData::unserializeProperty()
has parameter $value with no type specified.
34 Method
CrefoPay\Library\Response\Unserializer\Handler\ArraySolvencyData::unserializeProperty()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
34 Return type array of method
CrefoPay\Library\Response\Unserializer\Handler\ArraySolvencyData::unserializeProperty()
is not covariant with return type
CrefoPay\Library\Request\RequestInterface of method
CrefoPay\Library\Response\Unserializer\Handler\UnserializerInterface::unserializeProperty().
------ ----------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------------
Line src/Response/Unserializer/Handler/ArraySubscriptionPlans.php
------ --------------------------------------------------------------------------------------------------
24 Method
CrefoPay\Library\Response\Unserializer\Handler\ArraySubscriptionPlans::getAttributeNameHandler()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
34 Method
CrefoPay\Library\Response\Unserializer\Handler\ArraySubscriptionPlans::unserializeProperty()
has parameter $value with no type specified.
34 Method
CrefoPay\Library\Response\Unserializer\Handler\ArraySubscriptionPlans::unserializeProperty()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
34 Return type array of method
CrefoPay\Library\Response\Unserializer\Handler\ArraySubscriptionPlans::unserializeProperty()
is not covariant with return type
CrefoPay\Library\Request\RequestInterface of method
CrefoPay\Library\Response\Unserializer\Handler\UnserializerInterface::unserializeProperty().
------ --------------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------
Line src/Response/Unserializer/Handler/Company.php
------ --------------------------------------------------------------------------------------
23 Method
CrefoPay\Library\Response\Unserializer\Handler\Company::getAttributeNameHandler()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
33 Method
CrefoPay\Library\Response\Unserializer\Handler\Company::unserializeProperty()
has parameter $value with no type specified.
------ --------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------
Line src/Response/Unserializer/Handler/PaymentInstruments.php
------ ----------------------------------------------------------------------------------------------
23 Method
CrefoPay\Library\Response\Unserializer\Handler\PaymentInstruments::getAttributeNameHandler()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
33 Method
CrefoPay\Library\Response\Unserializer\Handler\PaymentInstruments::unserializeProperty()
has parameter $value with no type specified.
41 Parameter #1 $year of method DateTime::setDate() expects int, string
given.
41 Parameter #2 $month of method DateTime::setDate() expects int, string
given.
------ ----------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------
Line src/Response/Unserializer/Handler/Person.php
------ ------------------------------------------------------------------------------
31 Method
CrefoPay\Library\Response\Unserializer\Handler\Person::unserializeProperty()
has parameter $value with no type specified.
39 Parameter #1 $year of method DateTime::setDate() expects int, string
given.
39 Parameter #2 $month of method DateTime::setDate() expects int, string
given.
39 Parameter #3 $day of method DateTime::setDate() expects int, string
given.
------ ------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------
Line src/Response/Unserializer/Handler/RiskData.php
------ ----------------------------------------------------------------------------------------------
22 Method
CrefoPay\Library\Response\Unserializer\Handler\RiskData::getAttributeNameHandler()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
32 Method
CrefoPay\Library\Response\Unserializer\Handler\RiskData::unserializeProperty()
has parameter $value with no type specified.
32 Method
CrefoPay\Library\Response\Unserializer\Handler\RiskData::unserializeProperty()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
32 Return type array of method
CrefoPay\Library\Response\Unserializer\Handler\RiskData::unserializeProperty()
is not covariant with return type
CrefoPay\Library\Request\RequestInterface of method
CrefoPay\Library\Response\Unserializer\Handler\UnserializerInterface::unserializeProperty().
------ ----------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------------
Line src/Response/Unserializer/Handler/UnserializerInterface.php
------ -------------------------------------------------------------------------------------------------
24 Method
CrefoPay\Library\Response\Unserializer\Handler\UnserializerInterface::getAttributeNameHandler()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
29 Method
CrefoPay\Library\Response\Unserializer\Handler\UnserializerInterface::unserializeProperty()
has parameter $value with no type specified.
------ -------------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------
Line src/Response/Unserializer/Processor.php
------ --------------------------------------------------------------------------------------
22 Property
CrefoPay\Library\Response\Unserializer\Processor::$unserializerVisitors
type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
46 Method
CrefoPay\Library\Response\Unserializer\Processor::topLevelUnserialize()
has parameter $data with no value type specified in iterable type
array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
46 Method
CrefoPay\Library\Response\Unserializer\Processor::topLevelUnserialize()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
68 Method
CrefoPay\Library\Response\Unserializer\Processor::unSerialize() has
parameter $value with no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
68 Method
CrefoPay\Library\Response\Unserializer\Processor::unSerialize()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
92 Parameter #1 $data of method
CrefoPay\Library\Response\Unserializer\Processor::handleDefaultJson()
expects array, array|object given.
100 Method
CrefoPay\Library\Response\Unserializer\Processor::handleDefaultJson()
has parameter $data with no value type specified in iterable type
array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
100 Method
CrefoPay\Library\Response\Unserializer\Processor::handleDefaultJson()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
------ --------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------
Line src/Risk/RiskClass.php
------ --------------------------------------------------------------------------------------
37 Method CrefoPay\Library\Risk\RiskClass::getRiskClasses() return type
has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
57 Call to function is_float() with string will always evaluate to
false.
💡 Because the type is coming from a PHPDoc, you can turn off this
check by setting treatPhpDocTypesAsCertain: false in your
phpstan.neon.
------ --------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------
Line src/Serializer/Serializer.php
------ --------------------------------------------------------------------------------------
25 Property CrefoPay\Library\Serializer\Serializer::$visitors type has
no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
36 PHPDoc tag @var has invalid value ($visitor AbstractVisitor):
Unexpected token "$visitor", expected type at offset 9
------ --------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------
Line src/Serializer/Visitors/AbstractVisitor.php
------ --------------------------------------------------------------------------------------
42 Method
CrefoPay\Library\Serializer\Visitors\AbstractVisitor::checkSerializeArray()
has parameter $data with no value type specified in iterable type
array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
42 Method
CrefoPay\Library\Serializer\Visitors\AbstractVisitor::checkSerializeArray()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
------ --------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------
Line src/Serializer/Visitors/Json.php
------ --------------------------------------------------------------------------------------
32 Method CrefoPay\Library\Serializer\Visitors\Json::visit() should
return string but returns string|false.
49 Method
CrefoPay\Library\Serializer\Visitors\Json::checkSerializeArray() has
parameter $data with no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
49 Return type mixed of method
CrefoPay\Library\Serializer\Visitors\Json::checkSerializeArray() is
not covariant with return type array of method
CrefoPay\Library\Serializer\Visitors\AbstractVisitor::checkSerializeArray().
98 Instanceof between array and
CrefoPay\Library\Request\RequestInterface will always evaluate to
false.
💡 Because the type is coming from a PHPDoc, you can turn off this
check by setting treatPhpDocTypesAsCertain: false in your
phpstan.neon.
98 Result of && is always false.
💡 Because the type is coming from a PHPDoc, you can turn off this
check by setting treatPhpDocTypesAsCertain: false in your
phpstan.neon.
------ --------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------
Line src/Serializer/Visitors/MultipartFormData.php
------ --------------------------------------------------------------------------------------
26 Property
CrefoPay\Library\Serializer\Visitors\MultipartFormData::$fileFields
is never read, only written.
💡 See:
https://phpstan.org/developing-extensions/always-read-written-properties
26 Property
CrefoPay\Library\Serializer\Visitors\MultipartFormData::$fileFields
type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
43 Method
CrefoPay\Library\Serializer\Visitors\MultipartFormData::visit()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
69 Method
CrefoPay\Library\Serializer\Visitors\MultipartFormData::checkSerializeArray()
has parameter $data with no value type specified in iterable type
array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
69 Method
CrefoPay\Library\Serializer\Visitors\MultipartFormData::checkSerializeArray()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
------ --------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------
Line src/Serializer/Visitors/VisitorInterface.php
------ --------------------------------------------------------------------------------------
20 Method CrefoPay\Library\Serializer\Visitors\VisitorInterface::visit()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
------ --------------------------------------------------------------------------------------
------ --------------------------------------------------------------------
Line src/User/Type.php
------ --------------------------------------------------------------------
37 Method CrefoPay\Library\User\Type::validate() has parameter $value
with no type specified.
------ --------------------------------------------------------------------
------ ------------------------------------------------------------------
Line src/Validation/Helper/Constants.php
------ ------------------------------------------------------------------
25 Parameter #1 $objectOrClass of class ReflectionClass constructor
expects class-string<T of object>|T of object, string given.
------ ------------------------------------------------------------------
------ --------------------------------------------------------------------------------------
Line src/Validation/Validation.php
------ --------------------------------------------------------------------------------------
76 Method CrefoPay\Library\Validation\Validation::performValidation()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
119 Method
CrefoPay\Library\Validation\Validation::stripSiriusMessageObjects()
has parameter $data with no value type specified in iterable type
array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
119 Method
CrefoPay\Library\Validation\Validation::stripSiriusMessageObjects()
return type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
137 Method CrefoPay\Library\Validation\Validation::validateChild() return
type has no value type specified in iterable type array.
💡 See:
https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type
------ --------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------
Line src/Validation/WrapperInterface.php
------ ---------------------------------------------------------------------
17 Method CrefoPay\Library\Validation\WrapperInterface::getValidator()
has no return type specified.
------ ---------------------------------------------------------------------
Edited by Daniel Kazior