Add @psalm-require-usage annotation and report UnusedFunctionCall for @psalm-taint-escape calls #3215
bcc.yml
on: pull_request
Check backward compatibility
28s
Annotations
2 errors
Check backward compatibility:
src/Psalm/DocComment.php#L21
Value of constant Psalm\DocComment::PSALM_ANNOTATIONS changed from array (
0 => 'return',
1 => 'param',
2 => 'template',
3 => 'var',
4 => 'type',
5 => 'template-covariant',
6 => 'property',
7 => 'property-read',
8 => 'property-write',
9 => 'method',
10 => 'assert',
11 => 'assert-if-true',
12 => 'assert-if-false',
13 => 'suppress',
14 => 'ignore-nullable-return',
15 => 'override-property-visibility',
16 => 'override-method-visibility',
17 => 'seal-properties',
18 => 'seal-methods',
19 => 'no-seal-properties',
20 => 'no-seal-methods',
21 => 'ignore-falsable-return',
22 => 'variadic',
23 => 'pure',
24 => 'ignore-variable-method',
25 => 'ignore-variable-property',
26 => 'internal',
27 => 'taint-sink',
28 => 'taint-source',
29 => 'assert-untainted',
30 => 'scope-this',
31 => 'mutation-free',
32 => 'external-mutation-free',
33 => 'immutable',
34 => 'readonly',
35 => 'allow-private-mutation',
36 => 'readonly-allow-private-mutation',
37 => 'yield',
38 => 'trace',
39 => 'import-type',
40 => 'flow',
41 => 'taint-specialize',
42 => 'taint-escape',
43 => 'taint-unescape',
44 => 'self-out',
45 => 'consistent-constructor',
46 => 'stub-override',
47 => 'require-extends',
48 => 'require-implements',
49 => 'param-out',
50 => 'ignore-var',
51 => 'consistent-templates',
52 => 'if-this-is',
53 => 'this-out',
54 => 'check-type',
55 => 'check-type-exact',
56 => 'api',
57 => 'inheritors',
) to array (
0 => 'return',
1 => 'param',
2 => 'template',
3 => 'var',
4 => 'type',
5 => 'template-covariant',
6 => 'property',
7 => 'property-read',
8 => 'property-write',
9 => 'method',
10 => 'assert',
11 => 'assert-if-true',
12 => 'assert-if-false',
13 => 'suppress',
14 => 'ignore-nullable-return',
15 => 'override-property-visibility',
16 => 'override-method-visibility',
17 => 'seal-properties',
18 => 'seal-methods',
19 => 'no-seal-properties',
20 => 'no-seal-methods',
21 => 'ignore-falsable-return',
22 => 'variadic',
23 => 'pure',
24 => 'ignore-variable-method',
25 => 'ignore-variable-property',
26 => 'internal',
27 => 'taint-sink',
28 => 'taint-source',
29 => 'assert-untainted',
30 => 'scope-this',
31 => 'mutation-free',
32 => 'external-mutation-free',
33 => 'immutable',
34 => 'readonly',
35 => 'allow-private-mutation',
36 => 'readonly-allow-private-mutation',
37 => 'yield',
38 => 'trace',
39 => 'import-type',
40 => 'flow',
41 => 'taint-specialize',
42 => 'taint-escape',
43 => 'taint-unescape',
44 => 'self-out',
45 => 'consistent-constructor',
46 => 'stub-override',
47 => 'require-extends',
48 => 'require-implements',
49 => 'param-out',
50 => 'ignore-var',
51 => 'consistent-templates',
52 => 'if-this-is',
53 => 'this-out',
54 => 'check-type',
55 => 'check-type-exact',
56 => 'api',
57 => 'inheritors',
58 => 'require-usage',
)
|
Check backward compatibility
Process completed with exit code 3.
|