Skip to content

Commit b8aad1e

Browse files
committed
Add PHPStan false positive to baseline
PHPStan now looks closely at the types passed into my_convert_encoding and tries to model its behavior based on the parameter types passed in. See phpstan/phpstan#13064 and phpstan/phpstan-src#4010 We'd rather keep our code as-is (adhering to the [PHP documentation for mb_convert_encoding](https://www.php.net/manual/en/function.mb-convert-encoding.php)) than thinking about the complex possible behavior.
1 parent 4095130 commit b8aad1e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

phpstan-baseline.neon

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,6 @@ parameters:
1515
- message: "#^Call to an undefined method Symfony\\\\Component\\\\Config\\\\Definition\\\\Builder\\\\NodeDefinition\\:\\:arrayPrototype\\(\\)\\.$#"
1616
count: 1
1717
path: src/Services/PayPal/PayPalPaymentProviderAdapterConfigSchema.php
18+
- message: "#^Strict comparison using === between non-empty-array and false will always evaluate to false\\.$#"
19+
count: 1
20+
path: src/Services/KontoCheck/KontoCheckBankDataGenerator.php

0 commit comments

Comments
 (0)