improve SingletonTrait compatibility

This commit is contained in:
sunxyw
2022-04-05 00:13:22 +08:00
committed by sunxyw
parent 33d3341bb3
commit 441c866160
2 changed files with 14 additions and 9 deletions

View File

@@ -7,5 +7,6 @@ parameters:
- '#Used constant OS_TYPE_(LINUX|WINDOWS) not found#'
- '#Constant .* not found#'
- '#PHPDoc tag @throws with type Psr\\Container\\ContainerExceptionInterface is not subtype of Throwable#'
- '#Unsafe usage of new static#'
dynamicConstantNames:
- SWOOLE_VERSION