-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathphpstan-baseline.neon
56 lines (47 loc) · 2.5 KB
/
phpstan-baseline.neon
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
parameters:
ignoreErrors:
-
message: '#^Parameter \#2 \$callback of function array_filter expects \(callable\(mixed\)\: bool\)\|null, Closure\(mixed\)\: \(array\|null\) given\.$#'
identifier: argument.type
count: 1
path: src/bundle/DependencyInjection/IbexaAutomatedTranslationExtension.php
-
message: '#^Access to protected property Ibexa\\AdminUi\\Form\\Data\\ContentTranslationData\:\:\$content\.$#'
identifier: property.protected
count: 4
path: src/bundle/Form/Extension/ContentEditType.php
-
message: '#^Instanceof between Ibexa\\AdminUi\\Form\\Data\\ContentTranslationData and Ibexa\\AdminUi\\Form\\Data\\ContentTranslationData will always evaluate to true\.$#'
identifier: instanceof.alwaysTrue
count: 1
path: src/bundle/Form/Extension/ContentEditType.php
-
message: '#^Parameter \#3 \$remoteServiceKey of method Ibexa\\AutomatedTranslation\\Translator\:\:getTranslatedFields\(\) expects string, string\|null given\.$#'
identifier: argument.type
count: 1
path: src/bundle/Form/Extension/ContentEditType.php
-
message: '#^Class Ibexa\\Bundle\\AutomatedTranslation\\Form\\TranslationAddDataTransformer implements generic interface Symfony\\Component\\Form\\DataTransformerInterface but does not specify its types\: T, R$#'
identifier: missingType.generics
count: 1
path: src/bundle/Form/TranslationAddDataTransformer.php
-
message: '#^Cannot call method setValue\(\) on Ibexa\\Contracts\\FieldTypePage\\FieldType\\LandingPage\\Model\\Attribute\|null\.$#'
identifier: method.nonObject
count: 1
path: src/lib/Encoder/Field/PageBuilderFieldEncoder.php
-
message: '#^Parameter \#1 \$type of method Ibexa\\AutomatedTranslation\\Encoder\\Field\\PageBuilderFieldEncoder\:\:canDecode\(\) expects string, class\-string\|false given\.$#'
identifier: argument.type
count: 1
path: tests/lib/Encoder/Field/PageBuilderFieldEncoderTest.php
-
message: '#^Return type of call to method PHPUnit\\Framework\\MockObject\\MockBuilder\<Ibexa\\AutomatedTranslation\\Encoder\\RichText\\RichTextEncoder\>\:\:getMock\(\) contains unresolvable type\.$#'
identifier: method.unresolvableReturnType
count: 2
path: tests/lib/Encoder/Field/RichTextFieldEncoderTest.php
-
message: '#^Return type of call to method PHPUnit\\Framework\\MockObject\\MockBuilder\<Ibexa\\AutomatedTranslation\\Encoder\\Field\\FieldEncoderManager\>\:\:getMock\(\) contains unresolvable type\.$#'
identifier: method.unresolvableReturnType
count: 2
path: tests/lib/EncoderTest.php