Skip to content

Commit ea4be75

Browse files
committed
Increased PHPStan level
1 parent c525f64 commit ea4be75

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

.github/workflows/code-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,4 +99,4 @@ jobs:
9999
- name: Install dependencies
100100
run: composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist
101101
- name: PHPStan
102-
run: phpstan analyse src/ tests/ --level 5
102+
run: phpstan analyse

phpstan.neon

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,15 @@
11
parameters:
2+
paths:
3+
- src
4+
- tests
5+
level: 6
6+
27
treatPhpDocTypesAsCertain: false
8+
9+
ignoreErrors:
10+
- message: '#Property .* has no type specified.#'
11+
path: tests/Robtimus/Multipart/*
12+
- message: '#Method .* has no return type specified.#'
13+
path: tests/Robtimus/Multipart/*
14+
- message: '#Method .* has parameter .* with no type specified.#'
15+
path: tests/Robtimus/Multipart/*

0 commit comments

Comments
 (0)