Fix phpstan, add more phpunit test

This commit is contained in:
crazywhalecc
2024-10-03 10:45:05 +08:00
committed by Jerry Ma
parent c841ef5b9a
commit dc9d6703bc
5 changed files with 130 additions and 2 deletions

View File

@@ -4,7 +4,6 @@ parameters:
paths:
- ./src/
ignoreErrors:
- '#Constant .* not found#'
- '#Unsafe usage of new static#'
- '#class Fiber#'
- '#Attribute class JetBrains\\PhpStorm\\ArrayShape does not exist#'
@@ -15,4 +14,4 @@ parameters:
analyseAndScan:
- ./src/globals/ext-tests/swoole.php
- ./src/globals/ext-tests/swoole.phpt
- ./src/globals/test-extensions.php
- ./src/globals/test-extensions.php