Updating to symfony 6 and 7 #13
Annotations
10 errors and 2 warnings
Run script:
src/Adapter/PostHogAdapter.php#L67
src/Adapter/PostHogAdapter.php:67:168: MixedReturnTypeCoercion: The declared return type 'array<array-key, string>' for PostHog\PostHogBundle\Adapter\PostHogAdapter::getAllFlags is more specific than the inferred return type 'array<array-key, mixed>' (see https://psalm.dev/197)
|
Run script:
src/Adapter/PostHogAdapter.php#L69
src/Adapter/PostHogAdapter.php:69:16: MixedReturnTypeCoercion: The type 'array<array-key, mixed>' is more general than the declared return type 'array<array-key, string>' for PostHog\PostHogBundle\Adapter\PostHogAdapter::getAllFlags (see https://psalm.dev/197)
|
Run script:
src/Adapter/PostHogAdapter.php#L75
src/Adapter/PostHogAdapter.php:75:83: MixedReturnTypeCoercion: The declared return type 'array<array-key, string>' for PostHog\PostHogBundle\Adapter\PostHogAdapter::fetchFeatureVariants is more specific than the inferred return type 'array<array-key, mixed>' (see https://psalm.dev/197)
|
Run script:
src/Adapter/PostHogAdapter.php#L77
src/Adapter/PostHogAdapter.php:77:16: MixedReturnTypeCoercion: The type 'array<array-key, mixed>' is more general than the declared return type 'array<array-key, string>' for PostHog\PostHogBundle\Adapter\PostHogAdapter::fetchFeatureVariants (see https://psalm.dev/197)
|
Run script:
src/Adapter/PostHogAdapter.php#L82
src/Adapter/PostHogAdapter.php:82:37: MixedArgument: Argument 1 of PostHog\Client::alias cannot be mixed, expecting array<array-key, mixed> (see https://psalm.dev/030)
|
Run script:
src/Adapter/PostHogAdapter.php#L94
src/Adapter/PostHogAdapter.php:94:13: RedundantConditionGivenDocblockType: Docblock-defined type bool for $result is always bool (see https://psalm.dev/156)
|
Run script:
src/Adapter/PostHogAdapter.php#L98
src/Adapter/PostHogAdapter.php:98:13: TypeDoesNotContainType: Type never for $result is never string (see https://psalm.dev/056)
|
Run script:
src/Adapter/PostHogAdapter.php#L99
src/Adapter/PostHogAdapter.php:99:36: NoValue: All possible types for this argument were invalidated - This may be dead code (see https://psalm.dev/179)
|
Run script:
src/Client/ClientBuilder.php#L22
src/Client/ClientBuilder.php:22:26: RiskyTruthyFalsyComparison: Operand of type false|string contains type string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
Run script:
src/Command/PostHogTestCommand.php#L21
src/Command/PostHogTestCommand.php:21:19: ForbiddenCode: Unsafe shell_exec (see https://psalm.dev/002)
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
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/
|
The logs for this run have expired and are no longer available.
Loading