Skip to content

Phpstan

Phpstan #205

Triggered via schedule September 2, 2024 08:25
Status Failure
Total duration 1m 5s
Artifacts

phpstan.yml

on: schedule
Phpstan  /  Phpstan (8.1)
55s
Phpstan / Phpstan (8.1)
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 1 warning
Phpstan / Phpstan (8.1): app/Bootstrap.php#L19
Property Nette\Bootstrap\Configurator::$onCompile (array<callable(Nette\Bootstrap\Configurator, Nette\DI\Compiler): void>) does not accept non-empty-array<(callable(Nette\Bootstrap\Configurator, Nette\DI\Compiler): void)|(Closure(Contributte\Bootstrap\ExtraConfigurator, Nette\DI\Compiler): void)>.
Phpstan / Phpstan (8.1): app/UI/Control/TFlashMessage.php (in context of class App/UI/Modules/Base/BasePresenter)#L19
Parameter #1 $message (Nette\HtmlStringable|stdClass|string) of method App\UI\Modules\Base\BasePresenter::flashMessage() should be contravariant with parameter $message (stdClass|string|Stringable) of method Nette\Application\UI\Control::flashMessage()
Phpstan / Phpstan (8.1): app/UI/Form/BaseForm.php#L14
Fetching deprecated class constant FILLED of class App\UI\Form\BaseForm: use Form::Filled
Phpstan / Phpstan (8.1): app/UI/Form/BaseForm.php#L15
Fetching deprecated class constant MAX_LENGTH of class App\UI\Form\BaseForm: use Form::MaxLength
Phpstan / Phpstan (8.1): app/UI/Form/BaseForm.php#L16
Fetching deprecated class constant NUMERIC of class App\UI\Form\BaseForm: use Form::Numeric
Phpstan / Phpstan (8.1)
Process completed with exit code 2.
Phpstan / Phpstan (8.1)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/