Skip to content

Commit aa756a6

Browse files
committed
Add phpstan baseline for 3.x-dev
1 parent f3297f3 commit aa756a6

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

phpstan-baseline.neon

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
parameters:
2+
ignoreErrors:
3+
-
4+
message: "#^Strict comparison using \\=\\=\\= between true and false will always evaluate to false\\.$#"
5+
count: 1
6+
path: src/Cookie.php
7+
8+
-
9+
message: "#^Method Joomla\\\\Input\\\\Input\\:\\:__get\\(\\) should return Joomla\\\\Input\\\\Input but return statement is missing\\.$#"
10+
count: 1
11+
path: src/Input.php
12+
13+
-
14+
message: "#^Parameter \\#1 \\$source of method Joomla\\\\Filter\\\\InputFilter\\:\\:clean\\(\\) expects array\\<string\\>\\|object\\|string, null given\\.$#"
15+
count: 1
16+
path: src/Input.php

phpstan.neon

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11

22
includes:
33
- vendor/phpstan/phpstan-deprecation-rules/rules.neon
4+
- phpstan-baseline.neon
45

56
parameters:
67
level: 5

0 commit comments

Comments
 (0)