deps(c#): Update c# #226
Annotations
10 errors and 10 warnings
src\Entity\LatestReplier.php#L54
LatestReplier.php: PhanCompatibleStandaloneType: Cannot use null as a standalone type before php 8.2.
|
src\Entity\Post\Content\PostContent.php#L21
PostContent.php: PhanCompatibleStandaloneType: Cannot use null as a standalone type before php 8.2.
|
src\Entity\Post\Reply.php#L78
Reply.php: PhanCompatibleStandaloneType: Cannot use null as a standalone type before php 8.2.
|
src\Entity\Post\Thread.php#L147
Thread.php: PhanCompatibleStandaloneType: Cannot use null as a standalone type before php 8.2.
|
src\Entity\Post\Thread.php#L158
Thread.php: PhanCompatibleStandaloneType: Cannot use null as a standalone type before php 8.2.
|
src\Entity\User.php#L55
User.php: PhanCompatibleStandaloneType: Cannot use null as a standalone type before php 8.2.
|
src\Entity\User.php#L106
User.php: PhanCompatibleStandaloneType: Cannot use null as a standalone type before php 8.2.
|
src\PostsQuery\ParamsValidator.php#L54
ParamsValidator.php: PhanTypeMismatchArgumentReal: Argument 1 ($values) is 'fid' of type 'fid' but \Illuminate\Support\Collection::push() takes 'authorExpGrade'[]|'authorUid'[]|'latestReplierUid'[]|'pid'[]|'replySubReplyCount'[]|'spid'[]|'threadReplyCount'[]|'threadShareCount'[]|'threadViewCount'[]|'tid'[] (real type array) defined at vendor\illuminate\collections\Collection.php:1018
|
src\PostsQuery\PostsTree.php#L160
PostsTree.php: PhanNonClassMethodCall: Call to method values on non-class type string
|
src\PostsQuery\PostsTree.php#L165
PostsTree.php: PhanNonClassMethodCall: Call to method filter on non-class type string
|
public\index.php#L7
index.php: PhanUnreferencedClosure: Possibly zero references to Closure(array $context)
|
src\Controller\AssetController.php#L11
AssetController.php: PhanUnreferencedClass: Possibly zero references to class \App\Controller\AssetController
|
src\Controller\AssetController.php#L21
AssetController.php: PhanUnreferencedPublicMethod: Possibly zero references to public method \App\Controller\AssetController::getAsset()
|
src\Controller\AssetController.php#L24
AssetController.php: PhanPartialTypeMismatchArgument: Argument 1 ($content) is preg_replace_callback_array(['#/npm/(?<filename>\\w+)@(\\d+\\.?){3}/\\+esm#'=>(fn),'@^//# sourceMappingURL=.+$@m'=>(fn)], $this->filesystem->readFile(($this->getParameter('kernel.project_dir') . "/public/react-json-view/{$filename}"))) of type string|string[] but \Symfony\Component\HttpFoundation\Response::__construct() takes ?string (string[] is incompatible) defined at vendor\symfony\http-foundation\Response.php:200
|
src\Controller\AssetController.php#L26
AssetController.php: PhanTypeMismatchArgumentInternal: Argument 1 ($pattern) is ['#/npm/(?<filename>\\w+)@(\\d+\\.?){3}/\\+esm#'=>(fn),'@^//# sourceMappingURL=.+$@m'=>(fn)] of type array{\x23/npm/\x28\x3f\x3cfilename\x3e\\w+\x29\x40\x28\\d+\\.\x3f\x29\x7b3\x7d/\\+esm\x23:Closure(array):string,\x40^//\x23\x20sourceMappingURL\x3d.+$\x40m:Closure():''} but \preg_replace_callback_array() takes array<string,callable(array):string>
|
src\Controller\AssetController.php#L26
AssetController.php: PhanUnreferencedClosure: Possibly zero references to Closure(array $m)
|
src\Controller\AssetController.php#L28
AssetController.php: PhanUnreferencedClosure: Possibly zero references to Closure()
|
src\Controller\ForumsController.php#L9
ForumsController.php: PhanUnreferencedClass: Possibly zero references to class \App\Controller\ForumsController
|
src\Controller\ForumsController.php#L14
ForumsController.php: PhanUnreferencedPublicMethod: Possibly zero references to public method \App\Controller\ForumsController::query()
|
src\Controller\PostsController.php#L31
PostsController.php: PhanUnreferencedClass: Possibly zero references to class \App\Controller\PostsController
|
This job failed
Loading