-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpstan.neon
More file actions
44 lines (44 loc) · 1.59 KB
/
phpstan.neon
File metadata and controls
44 lines (44 loc) · 1.59 KB
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
parameters:
paths:
- ../../etc
- ../../src
- ../../tests
level: max
ignoreErrors:
-
message: '#Control structures using switch should not be used.#'
path: ../../src/EventLoopBridge.php
-
message: '#Language construct isset\(\) should not be used.#'
path: ../../src/EventLoopBridge.php
- # By design
identifier: shipmonk.checkedExceptionInYieldingMethod
path: ../../src/EventLoopBridge.php
-
message: '#Property ReactParallel\\EventLoop\\Stream<T>::\$wait \(React\\Promise\\Deferred<ReactParallel\\EventLoop\\Done\|ReactParallel\\EventLoop\\Value>\) does not accept React\\Promise\\Deferred<mixed>.#'
path: ../../src/Stream.php
- # https://github.com/shipmonk-rnd/dead-code-detector?tab=readme-ov-file#interface-methods
identifier: shipmonk.deadMethod
path: ../../src/StreamInterface.php
- # This is by design
identifier: shipmonk.checkedExceptionInYieldingMethod
path: ../../src/Stream.php
-
message: '#usleep blocks the event loop, use React\\Promise\\Timer\\sleep#'
path: ../../tests/EventLoopBridgeTest.php
-
message: '#sleep blocks the event loop, use React\\Promise\\Timer\\sleep#'
path: ../../tests/EventLoopBridgeTest.php
-
identifier: shipmonk.checkedExceptionInCallable
path: ../../tests/EventLoopBridgeTest.php
-
message: '#sleep blocks the event loop, use React\\Promise\\Timer\\sleep#'
path: ../../tests/Types.php
ergebnis:
noExtends:
classesAllowedToBeExtended:
- Exception
- ReactParallel\EventLoop\CancelledException
- ReactParallel\EventLoop\CanceledFuture
- ReactParallel\EventLoop\KilledRuntime