.baseline-phpstan.neon
parameters:
ignoreErrors:
-
message: "#^Method SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Event\\\\AbstractStripeChargeEvent\\:\\:validate\\(\\) has no return type specified\\.$#"
count: 1
path: src/Event/AbstractStripeChargeEvent.php
-
message: "#^Strict comparison using \\=\\=\\= between null and SerendipityHQ\\\\Component\\\\ValueObjects\\\\Money\\\\Money will always evaluate to false\\.$#"
count: 1
path: src/Event/AbstractStripeChargeEvent.php
-
message: "#^Method SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Event\\\\AbstractStripeEvent\\:\\:getStopReason\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: src/Event/AbstractStripeEvent.php
-
message: "#^Method SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Event\\\\AbstractStripeEvent\\:\\:setStopReason\\(\\) has parameter \\$stopReason with no value type specified in iterable type array\\.$#"
count: 1
path: src/Event/AbstractStripeEvent.php
-
message: "#^Property SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Event\\\\AbstractStripeEvent\\:\\:\\$stopReason type has no value type specified in iterable type array\\.$#"
count: 1
path: src/Event/AbstractStripeEvent.php
-
message: "#^Call to an undefined method Stripe\\\\Exception\\\\ExceptionInterface\\:\\:getHttpHeaders\\(\\)\\.$#"
count: 1
path: src/Manager/StripeManager.php
-
message: "#^Call to an undefined method Stripe\\\\Exception\\\\ExceptionInterface\\:\\:getHttpStatus\\(\\)\\.$#"
count: 2
path: src/Manager/StripeManager.php
-
message: "#^Call to an undefined method Stripe\\\\Exception\\\\ExceptionInterface\\:\\:getJsonBody\\(\\)\\.$#"
count: 2
path: src/Manager/StripeManager.php
-
message: "#^Call to an undefined method Stripe\\\\Exception\\\\ExceptionInterface\\:\\:getRequestId\\(\\)\\.$#"
count: 1
path: src/Manager/StripeManager.php
-
message: "#^Call to function is_null\\(\\) with string will always evaluate to false\\.$#"
count: 1
path: src/Manager/StripeManager.php
-
message: "#^Cannot access offset 'code' on mixed\\.$#"
count: 2
path: src/Manager/StripeManager.php
-
message: "#^Cannot access offset 'decline_code' on mixed\\.$#"
count: 2
path: src/Manager/StripeManager.php
-
message: "#^Cannot access offset 'type' on mixed\\.$#"
count: 2
path: src/Manager/StripeManager.php
-
message: "#^Method SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Manager\\\\StripeManager\\:\\:callStripeApi\\(\\) has parameter \\$arguments with no value type specified in iterable type array\\.$#"
count: 1
path: src/Manager/StripeManager.php
-
message: "#^Method SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Manager\\\\StripeManager\\:\\:callStripeObject\\(\\) has parameter \\$arguments with no value type specified in iterable type array\\.$#"
count: 1
path: src/Manager/StripeManager.php
-
message: "#^Method SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Manager\\\\StripeManager\\:\\:getError\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: src/Manager/StripeManager.php
-
message: "#^Parameter \\#1 \\$object of method SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Manager\\\\StripeManager\\:\\:callStripeObject\\(\\) expects Stripe\\\\ApiResource, Stripe\\\\Customer\\|null given\\.$#"
count: 1
path: src/Manager/StripeManager.php
-
message: "#^Parameter \\#1 \\$stripeResource of method SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Syncer\\\\CustomerSyncer\\:\\:syncStripeFromLocal\\(\\) expects Stripe\\\\ApiResource, Stripe\\\\Customer\\|null given\\.$#"
count: 1
path: src/Manager/StripeManager.php
-
message: "#^Parameter \\#2 \\$stripeResource of method SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Syncer\\\\ChargeSyncer\\:\\:syncLocalFromStripe\\(\\) expects Stripe\\\\ApiResource, Stripe\\\\ApiResource\\|true given\\.$#"
count: 1
path: src/Manager/StripeManager.php
-
message: "#^Parameter \\#2 \\$stripeResource of method SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Syncer\\\\CustomerSyncer\\:\\:syncLocalFromStripe\\(\\) expects Stripe\\\\ApiResource, Stripe\\\\ApiResource\\|true given\\.$#"
count: 1
path: src/Manager/StripeManager.php
-
message: "#^Parameter \\#2 \\$stripeResource of method SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Syncer\\\\CustomerSyncer\\:\\:syncLocalSources\\(\\) expects Stripe\\\\ApiResource, Stripe\\\\ApiResource\\|true given\\.$#"
count: 1
path: src/Manager/StripeManager.php
-
message: "#^Property SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Manager\\\\StripeManager\\:\\:\\$error type has no value type specified in iterable type array\\.$#"
count: 1
path: src/Manager/StripeManager.php
-
message: "#^Property SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Manager\\\\StripeManager\\:\\:\\$logger \\(Psr\\\\Log\\\\LoggerInterface\\) does not accept Psr\\\\Log\\\\LoggerInterface\\|null\\.$#"
count: 1
path: src/Manager/StripeManager.php
-
message: "#^Strict comparison using \\=\\=\\= between 'retry' and bool will always evaluate to false\\.$#"
count: 1
path: src/Manager/StripeManager.php
-
message: "#^Strict comparison using \\=\\=\\= between false and Stripe\\\\Customer will always evaluate to false\\.$#"
count: 1
path: src/Manager/StripeManager.php
-
message: "#^Strict comparison using \\=\\=\\= between false and Stripe\\\\Customer\\|null will always evaluate to false\\.$#"
count: 1
path: src/Manager/StripeManager.php
-
message: "#^Strict comparison using \\=\\=\\= between null and string will always evaluate to false\\.$#"
count: 1
path: src/Manager/StripeManager.php
-
message: "#^Method SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Model\\\\StripeLocalCard\\:\\:getCharges\\(\\) return type with generic interface Doctrine\\\\Common\\\\Collections\\\\Collection does not specify its types\\: TKey, T$#"
count: 1
path: src/Model/StripeLocalCard.php
-
message: "#^Method SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Model\\\\StripeLocalCard\\:\\:getMetadata\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: src/Model/StripeLocalCard.php
-
message: "#^Method SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Model\\\\StripeLocalCard\\:\\:setMetadata\\(\\) has parameter \\$metadata with no value type specified in iterable type array\\.$#"
count: 1
path: src/Model/StripeLocalCard.php
-
message: "#^Method SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Model\\\\StripeLocalCard\\:\\:toStripe\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: src/Model/StripeLocalCard.php
-
message: "#^Property SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Model\\\\StripeLocalCard\\:\\:\\$addressLine1Check is never written, only read\\.$#"
count: 1
path: src/Model/StripeLocalCard.php
-
message: "#^Property SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Model\\\\StripeLocalCard\\:\\:\\$addressZipCheck is never written, only read\\.$#"
count: 1
path: src/Model/StripeLocalCard.php
-
message: "#^Property SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Model\\\\StripeLocalCard\\:\\:\\$brand is never written, only read\\.$#"
count: 1
path: src/Model/StripeLocalCard.php
-
message: "#^Property SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Model\\\\StripeLocalCard\\:\\:\\$charges with generic interface Doctrine\\\\Common\\\\Collections\\\\Collection does not specify its types\\: TKey, T$#"
count: 1
path: src/Model/StripeLocalCard.php
-
message: "#^Property SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Model\\\\StripeLocalCard\\:\\:\\$cvcCheck is never written, only read\\.$#"
count: 1
path: src/Model/StripeLocalCard.php
-
message: "#^Property SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Model\\\\StripeLocalCard\\:\\:\\$dynamicLast4 is never written, only read\\.$#"
count: 1
path: src/Model/StripeLocalCard.php
-
message: "#^Property SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Model\\\\StripeLocalCard\\:\\:\\$fingerprint is never written, only read\\.$#"
count: 1
path: src/Model/StripeLocalCard.php
-
message: "#^Property SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Model\\\\StripeLocalCard\\:\\:\\$funding is never written, only read\\.$#"
count: 1
path: src/Model/StripeLocalCard.php
-
message: "#^Property SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Model\\\\StripeLocalCard\\:\\:\\$id is never written, only read\\.$#"
count: 1
path: src/Model/StripeLocalCard.php
-
message: "#^Property SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Model\\\\StripeLocalCard\\:\\:\\$last4 is never written, only read\\.$#"
count: 1
path: src/Model/StripeLocalCard.php
-
message: "#^Property SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Model\\\\StripeLocalCard\\:\\:\\$metadata type has no value type specified in iterable type array\\.$#"
count: 1
path: src/Model/StripeLocalCard.php
-
message: "#^Property SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Model\\\\StripeLocalCard\\:\\:\\$tokenizationMethod is never written, only read\\.$#"
count: 1
path: src/Model/StripeLocalCard.php
-
message: "#^Cannot call method getId\\(\\) on SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Model\\\\StripeLocalCustomer\\|null\\.$#"
count: 2
path: src/Model/StripeLocalCharge.php
-
message: "#^Method SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Model\\\\StripeLocalCharge\\:\\:getAmount\\(\\) should return SerendipityHQ\\\\Component\\\\ValueObjects\\\\Money\\\\Money but returns SerendipityHQ\\\\Component\\\\ValueObjects\\\\Money\\\\MoneyInterface\\.$#"
count: 1
path: src/Model/StripeLocalCharge.php
-
message: "#^Method SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Model\\\\StripeLocalCharge\\:\\:getAmountRefunded\\(\\) should return SerendipityHQ\\\\Component\\\\ValueObjects\\\\Money\\\\Money but returns SerendipityHQ\\\\Component\\\\ValueObjects\\\\Money\\\\MoneyInterface\\.$#"
count: 1
path: src/Model/StripeLocalCharge.php
-
message: "#^Method SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Model\\\\StripeLocalCharge\\:\\:getBillingDetails\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: src/Model/StripeLocalCharge.php
-
message: "#^Method SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Model\\\\StripeLocalCharge\\:\\:getFraudDetails\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: src/Model/StripeLocalCharge.php
-
message: "#^Method SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Model\\\\StripeLocalCharge\\:\\:getMetadata\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: src/Model/StripeLocalCharge.php
-
message: "#^Method SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Model\\\\StripeLocalCharge\\:\\:getOutcome\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: src/Model/StripeLocalCharge.php
-
message: "#^Method SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Model\\\\StripeLocalCharge\\:\\:getPaymentMethodDetails\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: src/Model/StripeLocalCharge.php
-
message: "#^Method SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Model\\\\StripeLocalCharge\\:\\:getRefunds\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: src/Model/StripeLocalCharge.php
-
message: "#^Method SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Model\\\\StripeLocalCharge\\:\\:setBillingDetails\\(\\) has parameter \\$billingDetails with no value type specified in iterable type array\\.$#"
count: 1
path: src/Model/StripeLocalCharge.php
-
message: "#^Method SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Model\\\\StripeLocalCharge\\:\\:setMetadata\\(\\) has parameter \\$metadata with no value type specified in iterable type array\\.$#"
count: 1
path: src/Model/StripeLocalCharge.php
-
message: "#^Method SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Model\\\\StripeLocalCharge\\:\\:setPaymentMethodDetails\\(\\) has parameter \\$paymentMethodDetails with no value type specified in iterable type array\\.$#"
count: 1
path: src/Model/StripeLocalCharge.php
-
message: "#^Method SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Model\\\\StripeLocalCharge\\:\\:setRefunds\\(\\) has parameter \\$refunds with no value type specified in iterable type array\\.$#"
count: 1
path: src/Model/StripeLocalCharge.php
-
message: "#^Method SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Model\\\\StripeLocalCharge\\:\\:toStripe\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: src/Model/StripeLocalCharge.php
-
message: "#^PHPDoc tag @return with type bool\\|string is not subtype of native type bool\\.$#"
count: 1
path: src/Model/StripeLocalCharge.php
-
message: "#^Property SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Model\\\\StripeLocalCharge\\:\\:\\$billingDetails type has no value type specified in iterable type array\\.$#"
count: 1
path: src/Model/StripeLocalCharge.php
-
message: "#^Property SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Model\\\\StripeLocalCharge\\:\\:\\$created is never written, only read\\.$#"
count: 1
path: src/Model/StripeLocalCharge.php
-
message: "#^Property SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Model\\\\StripeLocalCharge\\:\\:\\$fraudDetails type has no value type specified in iterable type array\\.$#"
count: 1
path: src/Model/StripeLocalCharge.php
-
message: "#^Property SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Model\\\\StripeLocalCharge\\:\\:\\$id is never written, only read\\.$#"
count: 1
path: src/Model/StripeLocalCharge.php
-
message: "#^Property SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Model\\\\StripeLocalCharge\\:\\:\\$metadata type has no value type specified in iterable type array\\.$#"
count: 1
path: src/Model/StripeLocalCharge.php
-
message: "#^Property SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Model\\\\StripeLocalCharge\\:\\:\\$outcome type has no value type specified in iterable type array\\.$#"
count: 1
path: src/Model/StripeLocalCharge.php
-
message: "#^Property SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Model\\\\StripeLocalCharge\\:\\:\\$paymentMethodDetails type has no value type specified in iterable type array\\.$#"
count: 1
path: src/Model/StripeLocalCharge.php
-
message: "#^Property SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Model\\\\StripeLocalCharge\\:\\:\\$receiptNumber is never written, only read\\.$#"
count: 1
path: src/Model/StripeLocalCharge.php
-
message: "#^Property SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Model\\\\StripeLocalCharge\\:\\:\\$refunds type has no value type specified in iterable type array\\.$#"
count: 1
path: src/Model/StripeLocalCharge.php
-
message: "#^Property SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Model\\\\StripeLocalCharge\\:\\:\\$status is never written, only read\\.$#"
count: 1
path: src/Model/StripeLocalCharge.php
-
message: "#^Strict comparison using \\=\\=\\= between null and SerendipityHQ\\\\Component\\\\ValueObjects\\\\Money\\\\MoneyInterface will always evaluate to false\\.$#"
count: 1
path: src/Model/StripeLocalCharge.php
-
message: "#^Call to function is_string\\(\\) with array will always evaluate to false\\.$#"
count: 1
path: src/Model/StripeLocalCustomer.php
-
message: "#^Method SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Model\\\\StripeLocalCustomer\\:\\:getCards\\(\\) return type with generic interface Doctrine\\\\Common\\\\Collections\\\\Collection does not specify its types\\: TKey, T$#"
count: 1
path: src/Model/StripeLocalCustomer.php
-
message: "#^Method SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Model\\\\StripeLocalCustomer\\:\\:getCharges\\(\\) return type with generic interface Doctrine\\\\Common\\\\Collections\\\\Collection does not specify its types\\: TKey, T$#"
count: 1
path: src/Model/StripeLocalCustomer.php
-
message: "#^Method SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Model\\\\StripeLocalCustomer\\:\\:getMetadata\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: src/Model/StripeLocalCustomer.php
-
message: "#^Method SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Model\\\\StripeLocalCustomer\\:\\:getSources\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: src/Model/StripeLocalCustomer.php
-
message: "#^Method SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Model\\\\StripeLocalCustomer\\:\\:setMetadata\\(\\) has parameter \\$metadata with no value type specified in iterable type array\\.$#"
count: 1
path: src/Model/StripeLocalCustomer.php
-
message: "#^Method SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Model\\\\StripeLocalCustomer\\:\\:setSources\\(\\) has parameter \\$sources with no value type specified in iterable type array\\.$#"
count: 1
path: src/Model/StripeLocalCustomer.php
-
message: "#^Method SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Model\\\\StripeLocalCustomer\\:\\:toStripe\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: src/Model/StripeLocalCustomer.php
-
message: "#^PHPDoc tag @return with type mixed is not subtype of native type array\\.$#"
count: 1
path: src/Model/StripeLocalCustomer.php
-
message: "#^Parameter \\#1 \\$metadata of method SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Model\\\\StripeLocalCustomer\\:\\:setMetadata\\(\\) expects array, mixed given\\.$#"
count: 1
path: src/Model/StripeLocalCustomer.php
-
message: "#^Property SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Model\\\\StripeLocalCustomer\\:\\:\\$cards with generic interface Doctrine\\\\Common\\\\Collections\\\\Collection does not specify its types\\: TKey, T$#"
count: 1
path: src/Model/StripeLocalCustomer.php
-
message: "#^Property SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Model\\\\StripeLocalCustomer\\:\\:\\$charges with generic interface Doctrine\\\\Common\\\\Collections\\\\Collection does not specify its types\\: TKey, T$#"
count: 1
path: src/Model/StripeLocalCustomer.php
-
message: "#^Property SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Model\\\\StripeLocalCustomer\\:\\:\\$created is never written, only read\\.$#"
count: 1
path: src/Model/StripeLocalCustomer.php
-
message: "#^Property SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Model\\\\StripeLocalCustomer\\:\\:\\$defaultSource is never written, only read\\.$#"
count: 1
path: src/Model/StripeLocalCustomer.php
-
message: "#^Property SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Model\\\\StripeLocalCustomer\\:\\:\\$delinquent is never written, only read\\.$#"
count: 1
path: src/Model/StripeLocalCustomer.php
-
message: "#^Property SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Model\\\\StripeLocalCustomer\\:\\:\\$id is never written, only read\\.$#"
count: 1
path: src/Model/StripeLocalCustomer.php
-
message: "#^Property SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Model\\\\StripeLocalCustomer\\:\\:\\$metadata type has no value type specified in iterable type array\\.$#"
count: 1
path: src/Model/StripeLocalCustomer.php
-
message: "#^Property SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Model\\\\StripeLocalCustomer\\:\\:\\$sources type has no value type specified in iterable type array\\.$#"
count: 1
path: src/Model/StripeLocalCustomer.php
-
message: "#^Result of && is always false\\.$#"
count: 1
path: src/Model/StripeLocalCustomer.php
-
message: "#^Strict comparison using \\=\\=\\= between false and true will always evaluate to false\\.$#"
count: 1
path: src/Model/StripeLocalCustomer.php
-
message: "#^Method SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Model\\\\StripeLocalResourceInterface\\:\\:toStripe\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: src/Model/StripeLocalResourceInterface.php
-
message: "#^Method SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Model\\\\StripeLocalWebhookEvent\\:\\:toStripe\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: src/Model/StripeLocalWebhookEvent.php
-
message: "#^PHPDoc tag @return with type mixed is not subtype of native type int\\.$#"
count: 1
path: src/Model/StripeLocalWebhookEvent.php
-
message: "#^Property SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Model\\\\StripeLocalWebhookEvent\\:\\:\\$created is never written, only read\\.$#"
count: 1
path: src/Model/StripeLocalWebhookEvent.php
-
message: "#^Property SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Model\\\\StripeLocalWebhookEvent\\:\\:\\$id is never written, only read\\.$#"
count: 1
path: src/Model/StripeLocalWebhookEvent.php
-
message: "#^Property SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Model\\\\StripeLocalWebhookEvent\\:\\:\\$pendingWebhooks is never written, only read\\.$#"
count: 1
path: src/Model/StripeLocalWebhookEvent.php
-
message: "#^Property SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Model\\\\StripeLocalWebhookEvent\\:\\:\\$request is never written, only read\\.$#"
count: 1
path: src/Model/StripeLocalWebhookEvent.php
-
message: "#^Property SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Model\\\\StripeLocalWebhookEvent\\:\\:\\$type has no type specified\\.$#"
count: 1
path: src/Model/StripeLocalWebhookEvent.php
-
message: "#^Property SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Model\\\\StripeLocalWebhookEvent\\:\\:\\$type is never written, only read\\.$#"
count: 1
path: src/Model/StripeLocalWebhookEvent.php
-
message: "#^Method SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Repository\\\\ByStripeIdInterface\\:\\:findOneByStripeId\\(\\) has parameter \\$id with no type specified\\.$#"
count: 1
path: src/Repository/ByStripeIdInterface.php
-
message: "#^Class SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Repository\\\\StripeLocalCardRepository extends generic class Doctrine\\\\ORM\\\\EntityRepository but does not specify its types\\: TEntityClass$#"
count: 1
path: src/Repository/StripeLocalCardRepository.php
-
message: "#^Method SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Repository\\\\StripeLocalCardRepository\\:\\:findOneByStripeId\\(\\) has parameter \\$id with no type specified\\.$#"
count: 1
path: src/Repository/StripeLocalCardRepository.php
-
message: "#^Method SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Repository\\\\StripeLocalCardRepository\\:\\:findOneByStripeId\\(\\) should return SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Model\\\\StripeLocalResourceInterface\\|null but returns object\\|null\\.$#"
count: 1
path: src/Repository/StripeLocalCardRepository.php
-
message: "#^PHPDoc tag @return with type object\\|null is not subtype of native type SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Model\\\\StripeLocalResourceInterface\\|null\\.$#"
count: 1
path: src/Repository/StripeLocalCardRepository.php
-
message: "#^Class SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Repository\\\\StripeLocalChargeRepository extends generic class Doctrine\\\\ORM\\\\EntityRepository but does not specify its types\\: TEntityClass$#"
count: 1
path: src/Repository/StripeLocalChargeRepository.php
-
message: "#^Method SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Repository\\\\StripeLocalChargeRepository\\:\\:findOneByStripeId\\(\\) has parameter \\$id with no type specified\\.$#"
count: 1
path: src/Repository/StripeLocalChargeRepository.php
-
message: "#^Method SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Repository\\\\StripeLocalChargeRepository\\:\\:findOneByStripeId\\(\\) should return SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Model\\\\StripeLocalResourceInterface\\|null but returns object\\|null\\.$#"
count: 1
path: src/Repository/StripeLocalChargeRepository.php
-
message: "#^PHPDoc tag @return with type object\\|null is not subtype of native type SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Model\\\\StripeLocalResourceInterface\\|null\\.$#"
count: 1
path: src/Repository/StripeLocalChargeRepository.php
-
message: "#^Class SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Repository\\\\StripeLocalCustomerRepository extends generic class Doctrine\\\\ORM\\\\EntityRepository but does not specify its types\\: TEntityClass$#"
count: 1
path: src/Repository/StripeLocalCustomerRepository.php
-
message: "#^Method SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Repository\\\\StripeLocalCustomerRepository\\:\\:findOneByStripeId\\(\\) has parameter \\$id with no type specified\\.$#"
count: 1
path: src/Repository/StripeLocalCustomerRepository.php
-
message: "#^Method SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Repository\\\\StripeLocalCustomerRepository\\:\\:findOneByStripeId\\(\\) should return SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Model\\\\StripeLocalResourceInterface\\|null but returns object\\|null\\.$#"
count: 1
path: src/Repository/StripeLocalCustomerRepository.php
-
message: "#^PHPDoc tag @return with type object\\|null is not subtype of native type SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Model\\\\StripeLocalResourceInterface\\|null\\.$#"
count: 1
path: src/Repository/StripeLocalCustomerRepository.php
-
message: "#^Class SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Repository\\\\StripeLocalWebhookEventRepository extends generic class Doctrine\\\\ORM\\\\EntityRepository but does not specify its types\\: TEntityClass$#"
count: 1
path: src/Repository/StripeLocalWebhookEventRepository.php
-
message: "#^Method SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Repository\\\\StripeLocalWebhookEventRepository\\:\\:findOneByStripeId\\(\\) has parameter \\$id with no type specified\\.$#"
count: 1
path: src/Repository/StripeLocalWebhookEventRepository.php
-
message: "#^Method SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Repository\\\\StripeLocalWebhookEventRepository\\:\\:findOneByStripeId\\(\\) should return SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Model\\\\StripeLocalResourceInterface\\|null but returns object\\|null\\.$#"
count: 1
path: src/Repository/StripeLocalWebhookEventRepository.php
-
message: "#^PHPDoc tag @return with type object\\|null is not subtype of native type SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Model\\\\StripeLocalResourceInterface\\|null\\.$#"
count: 1
path: src/Repository/StripeLocalWebhookEventRepository.php
-
message: "#^Parameter \\#1 \\$stopReason of method SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Event\\\\AbstractStripeEvent\\:\\:setStopReason\\(\\) expects array, array\\|null given\\.$#"
count: 1
path: src/Subscriber/StripeChargeSubscriber.php
-
message: "#^Parameter \\#1 \\$stopReason of method SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Event\\\\AbstractStripeEvent\\:\\:setStopReason\\(\\) expects array, array\\|null given\\.$#"
count: 2
path: src/Subscriber/StripeCustomerSubscriber.php
-
message: "#^Call to an undefined method Doctrine\\\\ORM\\\\EntityRepository\\<SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Model\\\\StripeLocalCustomer\\>\\:\\:findOneByStripeId\\(\\)\\.$#"
count: 1
path: src/Syncer/AbstractSyncer.php
-
message: "#^Method SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Syncer\\\\AbstractSyncer\\:\\:getLocalCustomer\\(\\) has invalid return type SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Syncer\\\\BaseObject\\.$#"
count: 1
path: src/Syncer/AbstractSyncer.php
-
message: "#^Method SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Syncer\\\\AbstractSyncer\\:\\:getLocalCustomer\\(\\) has parameter \\$stripeCustomerId with no type specified\\.$#"
count: 1
path: src/Syncer/AbstractSyncer.php
-
message: "#^PHPDoc tag @return with type bool\\|SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Model\\\\StripeLocalCustomer\\|null is not subtype of native type SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Syncer\\\\BaseObject\\|null\\.$#"
count: 1
path: src/Syncer/AbstractSyncer.php
-
message: "#^Cannot call method toArray\\(\\) on Stripe\\\\StripeObject\\|null\\.$#"
count: 1
path: src/Syncer/CardSyncer.php
-
message: "#^Access to an undefined property Stripe\\\\Charge\\:\\:\\$fraudDetails\\.$#"
count: 1
path: src/Syncer/ChargeSyncer.php
-
message: "#^Call to an undefined method Doctrine\\\\ORM\\\\EntityRepository\\<SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Model\\\\StripeLocalCard\\>\\:\\:findOneByStripeId\\(\\)\\.$#"
count: 1
path: src/Syncer/ChargeSyncer.php
-
message: "#^Cannot access property \\$id on Stripe\\\\Account\\|Stripe\\\\AlipayAccount\\|Stripe\\\\BankAccount\\|Stripe\\\\BitcoinReceiver\\|Stripe\\\\Card\\|Stripe\\\\Source\\|null\\.$#"
count: 1
path: src/Syncer/ChargeSyncer.php
-
message: "#^Cannot call method getDefaultSource\\(\\) on SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Model\\\\StripeLocalCustomer\\|null\\.$#"
count: 1
path: src/Syncer/ChargeSyncer.php
-
message: "#^Cannot call method setError\\(\\) on SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Model\\\\StripeLocalCard\\|null\\.$#"
count: 1
path: src/Syncer/ChargeSyncer.php
-
message: "#^Cannot call method toArray\\(\\) on Stripe\\\\StripeObject\\|null\\.$#"
count: 2
path: src/Syncer/ChargeSyncer.php
-
message: "#^Class DateTime is unsafe to use\\. Its methods can return FALSE instead of throwing an exception\\. Please add 'use Safe\\\\DateTime;' at the beginning of the file to use the variant provided by the 'thecodingmachine/safe' library\\.$#"
count: 2
path: src/Syncer/ChargeSyncer.php
-
message: "#^Method SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Syncer\\\\ChargeSyncer\\:\\:handleFraudDetection\\(\\) has parameter \\$error with no value type specified in iterable type array\\.$#"
count: 1
path: src/Syncer/ChargeSyncer.php
-
message: "#^Parameter \\#2 \\$stripeResource of method SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Syncer\\\\CardSyncer\\:\\:syncLocalFromStripe\\(\\) expects Stripe\\\\ApiResource, Stripe\\\\Account\\|Stripe\\\\AlipayAccount\\|Stripe\\\\BankAccount\\|Stripe\\\\BitcoinReceiver\\|Stripe\\\\Card\\|Stripe\\\\Source\\|null given\\.$#"
count: 1
path: src/Syncer/ChargeSyncer.php
-
message: "#^Access to an undefined property Stripe\\\\AlipayAccount\\|Stripe\\\\BankAccount\\|Stripe\\\\BitcoinReceiver\\|Stripe\\\\Card\\|Stripe\\\\Source\\:\\:\\$id\\.$#"
count: 1
path: src/Syncer/CustomerSyncer.php
-
message: "#^Access to an undefined property Stripe\\\\Customer\\:\\:\\$source\\.$#"
count: 1
path: src/Syncer/CustomerSyncer.php
-
message: "#^Call to an undefined method Doctrine\\\\ORM\\\\EntityRepository\\<SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Model\\\\StripeLocalCard\\>\\:\\:findOneByStripeId\\(\\)\\.$#"
count: 1
path: src/Syncer/CustomerSyncer.php
-
message: "#^Cannot call method getProperties\\(\\) on ReflectionClass\\|false\\.$#"
count: 1
path: src/Syncer/CustomerSyncer.php
-
message: "#^Cannot call method getProperty\\(\\) on ReflectionClass\\|false\\.$#"
count: 1
path: src/Syncer/CustomerSyncer.php
-
message: "#^Class DateTime is unsafe to use\\. Its methods can return FALSE instead of throwing an exception\\. Please add 'use Safe\\\\DateTime;' at the beginning of the file to use the variant provided by the 'thecodingmachine/safe' library\\.$#"
count: 1
path: src/Syncer/CustomerSyncer.php
-
message: "#^Method SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Syncer\\\\CustomerSyncer\\:\\:sourceExists\\(\\) has parameter \\$sources with generic class Stripe\\\\Collection but does not specify its types\\: TStripeObject$#"
count: 1
path: src/Syncer/CustomerSyncer.php
-
message: "#^Parameter \\#1 \\$card of method SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Syncer\\\\CustomerSyncer\\:\\:sourceExists\\(\\) expects SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Model\\\\StripeLocalCard, mixed given\\.$#"
count: 1
path: src/Syncer/CustomerSyncer.php
-
message: "#^Parameter \\#1 \\$object of method Doctrine\\\\Persistence\\\\ObjectManager\\:\\:remove\\(\\) expects object, mixed given\\.$#"
count: 1
path: src/Syncer/CustomerSyncer.php
-
message: "#^Parameter \\#2 \\$sourceId of static method Stripe\\\\Customer\\:\\:retrieveSource\\(\\) expects string, string\\|Stripe\\\\Account\\|Stripe\\\\AlipayAccount\\|Stripe\\\\BankAccount\\|Stripe\\\\BitcoinReceiver\\|Stripe\\\\Card\\|Stripe\\\\Source\\|null given\\.$#"
count: 1
path: src/Syncer/CustomerSyncer.php
-
message: "#^Property Stripe\\\\Customer\\:\\:\\$email \\(string\\|null\\) does not accept SerendipityHQ\\\\Component\\\\ValueObjects\\\\Email\\\\EmailInterface\\.$#"
count: 1
path: src/Syncer/CustomerSyncer.php
-
message: "#^Property Stripe\\\\Customer\\:\\:\\$metadata \\(Stripe\\\\StripeObject\\) does not accept array\\.$#"
count: 1
path: src/Syncer/CustomerSyncer.php
-
message: "#^Instanceof between SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Model\\\\StripeLocalCustomer and SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Model\\\\StripeLocalWebhookEvent will always evaluate to false\\.$#"
count: 1
path: src/Syncer/WebhookEventSyncer.php
-
message: "#^Property SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Syncer\\\\WebhookEventSyncer\\:\\:\\$cardSyncer is never read, only written\\.$#"
count: 1
path: src/Syncer/WebhookEventSyncer.php
-
message: "#^Property SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Syncer\\\\WebhookEventSyncer\\:\\:\\$chargeSyncer is never read, only written\\.$#"
count: 1
path: src/Syncer/WebhookEventSyncer.php
-
message: "#^Property SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Syncer\\\\WebhookEventSyncer\\:\\:\\$customerSyncer is never read, only written\\.$#"
count: 1
path: src/Syncer/WebhookEventSyncer.php
-
message: "#^Unreachable statement \\- code above always terminates\\.$#"
count: 1
path: src/Syncer/WebhookEventSyncer.php
-
message: "#^Method SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Util\\\\EventGuesser\\:\\:guess\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: src/Util/EventGuesser.php
-
message: "#^Method SerendipityHQ\\\\Bundle\\\\StripeBundle\\\\Util\\\\EventGuesser\\:\\:guessEventPieces\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: src/Util/EventGuesser.php
-
message: "#^Parameter \\#3 \\$length of function Safe\\\\substr expects int\\|null, int\\<0, max\\>\\|false given\\.$#"
count: 1
path: src/Util/EventGuesser.php
-
message: "#^Return type of call to method PHPUnit\\\\Framework\\\\TestCase\\:\\:createMock\\(\\) contains unresolvable type\\.$#"
count: 1
path: tests/Event/AbstractStripeChargeEventTest.php
-
message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertSame\\(\\) with \\*NEVER\\* and SerendipityHQ\\\\Component\\\\ValueObjects\\\\Email\\\\Email\\|null will always evaluate to false\\.$#"
count: 1
path: tests/Model/StripeLocalChargeTest.php
-
message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertSame\\(\\) with \\*NEVER\\* and SerendipityHQ\\\\Component\\\\ValueObjects\\\\Money\\\\Money will always evaluate to false\\.$#"
count: 1
path: tests/Model/StripeLocalChargeTest.php
-
message: "#^Return type of call to method PHPUnit\\\\Framework\\\\TestCase\\:\\:createMock\\(\\) contains unresolvable type\\.$#"
count: 4
path: tests/Model/StripeLocalChargeTest.php
-
message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertSame\\(\\) with \\*NEVER\\* and SerendipityHQ\\\\Component\\\\ValueObjects\\\\Email\\\\EmailInterface\\|null will always evaluate to false\\.$#"
count: 1
path: tests/Model/StripeLocalCustomerTest.php
-
message: "#^Return type of call to method PHPUnit\\\\Framework\\\\TestCase\\:\\:createMock\\(\\) contains unresolvable type\\.$#"
count: 1
path: tests/Model/StripeLocalCustomerTest.php