-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpstan.neon
More file actions
32 lines (31 loc) · 1.2 KB
/
phpstan.neon
File metadata and controls
32 lines (31 loc) · 1.2 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
parameters:
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
-
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
-
message: '#Result of method ReactParallel\\EventLoop\\EventLoopBridge::await\(\) \(void\) is used.#'
path: ../../tests/Types.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
ergebnis:
noExtends:
classesAllowedToBeExtended:
- Exception
- ReactParallel\EventLoop\CancelledException
- ReactParallel\EventLoop\CanceledFuture
- ReactParallel\EventLoop\KilledRuntime
includes:
- ../../vendor/wyrihaximus/async-test-utilities/rules.neon
- ../../vendor/react-parallel/stubs/extension.neon