Skip to content

refactor: Add missing deps #49

refactor: Add missing deps

refactor: Add missing deps #49

Triggered via push February 15, 2024 22:52
Status Failure
Total duration 4m 5s
Artifacts
Matrix: code_analysis
Fit to window
Zoom out
Zoom in

Annotations

10 errors
PHPStan: src/Seomatic.php#L320
Access to an undefined property nystudio107\fastcgicachebust\FastcgiCacheBust::$cache.
PHPStan: src/Seomatic.php#L344
Variable $currentUser in PHPDoc tag @var does not match assigned variable $request.
PHPStan: src/Seomatic.php#L531
PHPDoc tag @var has invalid value ($element Element): Unexpected token "$element", expected type at offset 10
PHPStan: src/Seomatic.php#L551
PHPDoc tag @var has invalid value ($element Element): Unexpected token "$element", expected type at offset 10
PHPStan: src/Seomatic.php#L553
Parameter #1 $element of method nystudio107\seomatic\services\MetaBundles::invalidateMetaBundleByElement() expects craft\base\Element, craft\base\ElementInterface given.
PHPStan: src/autocompletes/TrackingVarsAutocomplete.php#L46
PHPDoc type string of property nystudio107\seomatic\autocompletes\TrackingVarsAutocomplete::$hasSubProperties is not covariant with PHPDoc type bool of overridden property nystudio107\codeeditor\base\Autocomplete::$hasSubProperties.
PHPStan: src/autocompletes/TrackingVarsAutocomplete.php#L46
Property nystudio107\seomatic\autocompletes\TrackingVarsAutocomplete::$hasSubProperties (string) does not accept default value of type false.
PHPStan: src/base/FluentModel.php#L17
Class Twig\Markup referenced with incorrect case: twig\Markup.
PHPStan: src/base/FluentModel.php#L61
Dead catch - ReflectionException is never thrown in the try block.
PHPStan: src/base/FluentModel.php#L79
Class Twig\Markup referenced with incorrect case: twig\Markup.