wip #48
static-analysis.yml
on: push
phpstan
34s
type-coverage
1m 14s
Annotations
11 errors and 1 warning
|
phpstan:
src/Support/Traits/DispatchesEvents.php (in context of class Cortex/OutputParsers/AbstractOutputParser)#L21
Property Cortex\OutputParsers\AbstractOutputParser::$instanceListeners type has no value type specified in iterable type array.
|
|
phpstan:
src/Support/Traits/DispatchesEvents.php (in context of class Cortex/OutputParsers/AbstractOutputParser)#L19
PHPDoc tag `@var` has invalid value (array<string, array<\Closure: void>>): Unexpected token ":", expected '>' at offset 93 on line 4
|
|
phpstan:
src/Support/Traits/DispatchesEvents.php (in context of class Cortex/LLM/AbstractLLM)#L21
Property Cortex\LLM\AbstractLLM::$instanceListeners type has no value type specified in iterable type array.
|
|
phpstan:
src/Support/Traits/DispatchesEvents.php (in context of class Cortex/LLM/AbstractLLM)#L19
PHPDoc tag `@var` has invalid value (array<string, array<\Closure: void>>): Unexpected token ":", expected '>' at offset 93 on line 4
|
|
phpstan:
src/Support/Traits/DispatchesEvents.php (in context of class Cortex/Agents/Agent)#L21
Property Cortex\Agents\Agent::$instanceListeners type has no value type specified in iterable type array.
|
|
phpstan:
src/Support/Traits/DispatchesEvents.php (in context of class Cortex/Agents/Agent)#L19
PHPDoc tag `@var` has invalid value (array<string, array<\Closure: void>>): Unexpected token ":", expected '>' at offset 93 on line 4
|
|
phpstan:
src/LLM/AbstractLLM.php#L572
Method Cortex\LLM\AbstractLLM::onStream() should return static(Cortex\LLM\AbstractLLM) but returns Cortex\LLM\AbstractLLM.
|
|
phpstan:
src/LLM/AbstractLLM.php#L564
Method Cortex\LLM\AbstractLLM::onError() should return static(Cortex\LLM\AbstractLLM) but returns Cortex\LLM\AbstractLLM.
|
|
phpstan:
src/LLM/AbstractLLM.php#L556
Method Cortex\LLM\AbstractLLM::onEnd() should return static(Cortex\LLM\AbstractLLM) but returns Cortex\LLM\AbstractLLM.
|
|
phpstan:
src/LLM/AbstractLLM.php#L548
Method Cortex\LLM\AbstractLLM::onStart() should return static(Cortex\LLM\AbstractLLM) but returns Cortex\LLM\AbstractLLM.
|
|
type-coverage
Process completed with exit code 1.
|
|
phpstan
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|