wip #41
static-analysis.yml
on: push
phpstan
33s
type-coverage
1m 8s
Annotations
10 errors and 1 warning
|
phpstan:
src/Agents/Prebuilt/GenericAgentBuilder.php#L36
Property Cortex\Agents\Prebuilt\GenericAgentBuilder::$output has unknown class Cortex\Agents\Prebuilt\Cortex\JsonSchema\Types\ObjectSchema as its type.
|
|
phpstan:
src/Agents/Prebuilt/GenericAgentBuilder.php#L36
PHPDoc tag `@var` for property Cortex\Agents\Prebuilt\GenericAgentBuilder::$output with type class-string|Cortex\Agents\Prebuilt\Cortex\JsonSchema\Types\ObjectSchema|null is not subtype of native type Cortex\JsonSchema\Types\ObjectSchema|string|null.
|
|
phpstan:
src/Agents/Contracts/AgentBuilder.php#L71
Method Cortex\Agents\Contracts\AgentBuilder::initialPromptVariables() return type has no value type specified in iterable type array.
|
|
phpstan:
src/Agents/Contracts/AgentBuilder.php#L51
PHPDoc tag `@return` with type class-string|Cortex\Agents\Contracts\Cortex\JsonSchema\Types\ObjectSchema|null is not subtype of native type Cortex\JsonSchema\Types\ObjectSchema|string|null.
|
|
phpstan:
src/Agents/Contracts/AgentBuilder.php#L51
Method Cortex\Agents\Contracts\AgentBuilder::output() has invalid return type Cortex\Agents\Contracts\Cortex\JsonSchema\Types\ObjectSchema.
|
|
phpstan:
src/Agents/Agent.php#L256
Method Cortex\Agents\Agent::buildLLM() has parameter $tools with no value type specified in iterable type array.
|
|
phpstan:
src/Agents/Agent.php#L221
Method Cortex\Agents\Agent::buildPromptTemplate() has parameter $initialPromptVariables with no value type specified in iterable type array.
|
|
phpstan:
src/Agents/Agent.php#L210
Method Cortex\Agents\Agent::getMemory() should return Cortex\Memory\ChatMemory but returns Cortex\Contracts\ChatMemory.
|
|
phpstan:
src/Agents/AbstractAgentBuilder.php#L87
Method Cortex\Agents\AbstractAgentBuilder::make() has parameter $parameters with no value type specified in iterable type array.
|
|
phpstan:
src/Agents/AbstractAgentBuilder.php#L62
Method Cortex\Agents\AbstractAgentBuilder::initialPromptVariables() return type has no value type specified in iterable type array.
|
|
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/
|