refactor: package structure #1677
coding-conventions.yml
on: pull_request
Run style check
30s
Run static analysis: PHPStan
22s
Annotations
11 errors
|
Run static analysis: PHPStan
Process completed with exit code 1.
|
|
analysis/instantiation:
tests/Integration/Log/GenericLoggerTest.php#L60
Instantiated class `LogConfig` does not exist.
Help: Ensure the class `Tempest\Log\LogConfig` is defined or imported before instantiating it.
|
|
analysis/instantiation:
tests/Integration/Log/GenericLoggerTest.php#L36
Instantiated class `GenericLogger` does not exist.
Help: Ensure the class `Tempest\Log\GenericLogger` is defined or imported before instantiating it.
|
|
analysis/instantiation:
tests/Integration/Log/GenericLoggerTest.php#L32
Instantiated class `AppendLogChannel` does not exist.
Help: Ensure the class `Tempest\Log\Channels\AppendLogChannel` is defined or imported before instantiating it.
|
|
analysis/instantiation:
tests/Integration/Log/GenericLoggerTest.php#L30
Instantiated class `LogConfig` does not exist.
Help: Ensure the class `Tempest\Log\LogConfig` is defined or imported before instantiating it.
|
|
analysis/undefined-constant-or-enum-case:
packages/router/src/HttpApplication.php#L39
Accessing `class` on non-existent class `Tempest\Log\LogConfig`.
Help: Define or import the class `Tempest\Log\LogConfig` before using it.
|
|
analysis/instantiation:
packages/router/src/HttpApplication.php#L44
Instantiated class `AppendLogChannel` does not exist.
Help: Ensure the class `Tempest\Log\Channels\AppendLogChannel` is defined or imported before instantiating it.
|
|
analysis/undefined-constant-or-enum-case:
tests/Integration/Log/LogConfigTest.php#L19
Accessing `class` on non-existent class `Tempest\Log\LogConfig`.
Help: Define or import the class `Tempest\Log\LogConfig` before using it.
|
|
analysis/parameter-name:
tests/Integration/Mapper/Fixtures/ObjectFactoryACaster.php#L11
Parameter name mismatch in overridden method 'Tests\Tempest\Integration\Mapper\Fixtures\ObjectFactoryACaster::cast'.
Changing parameter names in overridden methods can break code using named arguments.
Callers referencing parameters by name will encounter runtime errors if names differ.
Help: Rename parameter to `$input` to match the parent declaration in `Tempest\Mapper\Caster::cast`
|
|
analysis/parameter-name:
tests/Fixtures/MyViewComponentWithInjection.php#L19
Parameter name mismatch in overridden method 'Tests\Tempest\Fixtures\MyViewComponentWithInjection::compile'.
Changing parameter names in overridden methods can break code using named arguments.
Callers referencing parameters by name will encounter runtime errors if names differ.
Help: Rename parameter to `$element` to match the parent declaration in `Tempest\View\ViewComponent::compile`
|
|
analysis/parameter-name:
tests/Fixtures/ComplexBaseLayoutComponent.php#L17
Parameter name mismatch in overridden method 'Tests\Tempest\Fixtures\ComplexBaseLayoutComponent::compile'.
Changing parameter names in overridden methods can break code using named arguments.
Callers referencing parameters by name will encounter runtime errors if names differ.
Help: Rename parameter to `$element` to match the parent declaration in `Tempest\View\ViewComponent::compile`
|