Skip to content

chore: Started configuring the bundle #11

chore: Started configuring the bundle

chore: Started configuring the bundle #11

Triggered via push October 22, 2023 18:43
Status Failure
Total duration 36s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

20 errors and 3 warnings
MissingReturnType: src/Adapter/PostHogAdapter.php#L34
src/Adapter/PostHogAdapter.php:34:21: MissingReturnType: Method PostHog\PostHogBundle\Adapter\PostHogAdapter::init does not have a return type, expecting void (see https://psalm.dev/050)
MissingReturnType: src/Adapter/PostHogAdapter.php#L64
src/Adapter/PostHogAdapter.php:64:21: MissingReturnType: Method PostHog\PostHogBundle\Adapter\PostHogAdapter::getAllFlags does not have a return type, expecting array<array-key, mixed> (see https://psalm.dev/050)
MixedInferredReturnType: src/Adapter/PostHogAdapter.php#L84
src/Adapter/PostHogAdapter.php:84:30: MixedInferredReturnType: Could not verify return type 'bool' for PostHog\PostHogBundle\Adapter\PostHogAdapter::flush (see https://psalm.dev/047)
MixedReturnStatement: src/Adapter/PostHogAdapter.php#L86
src/Adapter/PostHogAdapter.php:86:16: MixedReturnStatement: Could not infer a return type (see https://psalm.dev/138)
ForbiddenCode: src/Command/PostHogTestCommand.php#L19
src/Command/PostHogTestCommand.php:19:45: ForbiddenCode: Unsafe shell_exec (see https://psalm.dev/002)
ForbiddenCode: src/Command/PostHogTestCommand.php#L23
src/Command/PostHogTestCommand.php:23:51: ForbiddenCode: Unsafe shell_exec (see https://psalm.dev/002)
MixedArgument: src/DependencyInjection/PostHogExtension.php#L25
src/DependencyInjection/PostHogExtension.php:25:56: MixedArgument: Argument 2 of Symfony\Component\DependencyInjection\Loader\XmlFileLoader::__construct cannot be mixed, expecting Symfony\Component\Config\FileLocatorInterface (see https://psalm.dev/030)
UndefinedClass: src/DependencyInjection/PostHogExtension.php#L25
src/DependencyInjection/PostHogExtension.php:25:60: UndefinedClass: Class, interface or enum named PostHog\PostHogBundle\DependencyInjection\FileLocator does not exist (see https://psalm.dev/019)
UndefinedClass: src/DependencyInjection/PostHogExtension.php#L29
src/DependencyInjection/PostHogExtension.php:29:62: UndefinedClass: Class, interface or enum named PostHog\PostHogBundle\DependencyInjection\PrettyVersions does not exist (see https://psalm.dev/019)
UndefinedClass: src/EventListener/LoginListener.php#L20
src/EventListener/LoginListener.php:20:13: UndefinedClass: Class, interface or enum named PostHog\PostHogBundle\PostHogInterface does not exist (see https://psalm.dev/019)
PHPStan: src/Adapter/PostHogAdapter.php#L18
Unsafe access to private property PostHog\PostHogBundle\Adapter\PostHogAdapter::$instance through static::.
PHPStan: src/Adapter/PostHogAdapter.php#L19
Unsafe access to private property PostHog\PostHogBundle\Adapter\PostHogAdapter::$instance through static::.
PHPStan: src/Adapter/PostHogAdapter.php#L23
Unsafe access to private property PostHog\PostHogBundle\Adapter\PostHogAdapter::$instance through static::.
PHPStan: src/Adapter/PostHogAdapter.php#L26
Unsafe access to private property PostHog\PostHogBundle\Adapter\PostHogAdapter::$instance through static::.
PHPStan: src/Adapter/PostHogAdapter.php#L34
Method PostHog\PostHogBundle\Adapter\PostHogAdapter::init() has no return type specified.
PHPStan: src/Adapter/PostHogAdapter.php#L39
Method PostHog\PostHogBundle\Adapter\PostHogAdapter::capture() has parameter $message with no value type specified in iterable type array.
PHPStan: src/Adapter/PostHogAdapter.php#L44
Method PostHog\PostHogBundle\Adapter\PostHogAdapter::identify() has parameter $message with no value type specified in iterable type array.
PHPStan: src/Adapter/PostHogAdapter.php#L49
Method PostHog\PostHogBundle\Adapter\PostHogAdapter::groupIdentify() has parameter $message with no value type specified in iterable type array.
PHPStan: src/Adapter/PostHogAdapter.php#L54
Method PostHog\PostHogBundle\Adapter\PostHogAdapter::isFeatureEnabled() has parameter $groupProperties with no value type specified in iterable type array.
PHPStan: src/Adapter/PostHogAdapter.php#L54
Method PostHog\PostHogBundle\Adapter\PostHogAdapter::isFeatureEnabled() has parameter $groups with no value type specified in iterable type array.
PHP-CS-Fixer
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Psalm
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
PHPStan
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/