tests: add PHP 8.2 for github action && upgrade psalm to 5.x #13
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
Annotations
35 warnings
Tests with PHP 7.4
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/
|
PossiblyNullReference:
src/DependencyInjection/Configuration.php#L26
src/DependencyInjection/Configuration.php:26:19: PossiblyNullReference: Cannot call method scalarNode on possibly null value (see https://psalm.dev/083)
|
UndefinedInterfaceMethod:
src/DependencyInjection/Configuration.php#L26
src/DependencyInjection/Configuration.php:26:19: UndefinedInterfaceMethod: Method Symfony\Component\Config\Definition\Builder\NodeParentInterface::scalarNode does not exist (see https://psalm.dev/181)
|
MissingClosureParamType:
src/DependencyInjection/Configuration.php#L34
src/DependencyInjection/Configuration.php:34:40: MissingClosureParamType: Parameter $v has no provided type (see https://psalm.dev/153)
|
PossiblyNullArgument:
src/DependencyInjection/SiganushkaRequestTokenExtension.php#L20
src/DependencyInjection/SiganushkaRequestTokenExtension.php:20:47: PossiblyNullArgument: Argument 1 of Siganushka\RequestTokenBundle\DependencyInjection\SiganushkaRequestTokenExtension::processConfiguration cannot be null, possibly null value provided (see https://psalm.dev/078)
|
ArgumentTypeCoercion:
src/Generator/RandomBytesTokenGenerator.php#L21
src/Generator/RandomBytesTokenGenerator.php:21:37: ArgumentTypeCoercion: Argument 1 of random_bytes expects int<1, max>, but parent type float|int provided (see https://psalm.dev/193)
|
PropertyNotSetInConstructor:
tests/DependencyInjection/ConfigurationTest.php#L14
tests/DependencyInjection/ConfigurationTest.php:14:13: PropertyNotSetInConstructor: Property Siganushka\RequestTokenBundle\Tests\DependencyInjection\ConfigurationTest::$backupStaticAttributes is not defined in constructor of Siganushka\RequestTokenBundle\Tests\DependencyInjection\ConfigurationTest or in any private or final methods called in the constructor (see https://psalm.dev/074)
|
PropertyNotSetInConstructor:
tests/DependencyInjection/ConfigurationTest.php#L14
tests/DependencyInjection/ConfigurationTest.php:14:13: PropertyNotSetInConstructor: Property Siganushka\RequestTokenBundle\Tests\DependencyInjection\ConfigurationTest::$runTestInSeparateProcess is not defined in constructor of Siganushka\RequestTokenBundle\Tests\DependencyInjection\ConfigurationTest or in any private or final methods called in the constructor (see https://psalm.dev/074)
|
PropertyNotSetInConstructor:
tests/DependencyInjection/ConfigurationTest.php#L16
tests/DependencyInjection/ConfigurationTest.php:16:36: PropertyNotSetInConstructor: Property Siganushka\RequestTokenBundle\Tests\DependencyInjection\ConfigurationTest::$configuration is not defined in constructor of Siganushka\RequestTokenBundle\Tests\DependencyInjection\ConfigurationTest or in any private or final methods called in the constructor (see https://psalm.dev/074)
|
PropertyNotSetInConstructor:
tests/DependencyInjection/ConfigurationTest.php#L17
tests/DependencyInjection/ConfigurationTest.php:17:23: PropertyNotSetInConstructor: Property Siganushka\RequestTokenBundle\Tests\DependencyInjection\ConfigurationTest::$processor is not defined in constructor of Siganushka\RequestTokenBundle\Tests\DependencyInjection\ConfigurationTest or in any private or final methods called in the constructor (see https://psalm.dev/074)
|
PropertyNotSetInConstructor:
tests/DependencyInjection/SiganushkaRequestTokenExtensionTest.php#L13
tests/DependencyInjection/SiganushkaRequestTokenExtensionTest.php:13:7: PropertyNotSetInConstructor: Property Siganushka\RequestTokenBundle\Tests\DependencyInjection\SiganushkaRequestTokenExtensionTest::$backupStaticAttributes is not defined in constructor of Siganushka\RequestTokenBundle\Tests\DependencyInjection\SiganushkaRequestTokenExtensionTest or in any methods called in the constructor (see https://psalm.dev/074)
|
Tests with PHP 8.1
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/
|
PossiblyNullReference:
src/DependencyInjection/Configuration.php#L26
src/DependencyInjection/Configuration.php:26:19: PossiblyNullReference: Cannot call method scalarNode on possibly null value (see https://psalm.dev/083)
|
UndefinedInterfaceMethod:
src/DependencyInjection/Configuration.php#L26
src/DependencyInjection/Configuration.php:26:19: UndefinedInterfaceMethod: Method Symfony\Component\Config\Definition\Builder\NodeParentInterface::scalarNode does not exist (see https://psalm.dev/181)
|
MissingClosureParamType:
src/DependencyInjection/Configuration.php#L34
src/DependencyInjection/Configuration.php:34:40: MissingClosureParamType: Parameter $v has no provided type (see https://psalm.dev/153)
|
PossiblyNullArgument:
src/DependencyInjection/SiganushkaRequestTokenExtension.php#L20
src/DependencyInjection/SiganushkaRequestTokenExtension.php:20:47: PossiblyNullArgument: Argument 1 of Siganushka\RequestTokenBundle\DependencyInjection\SiganushkaRequestTokenExtension::processConfiguration cannot be null, possibly null value provided (see https://psalm.dev/078)
|
ArgumentTypeCoercion:
src/Generator/RandomBytesTokenGenerator.php#L21
src/Generator/RandomBytesTokenGenerator.php:21:37: ArgumentTypeCoercion: Argument 1 of random_bytes expects int<1, max>, but parent type float|int provided (see https://psalm.dev/193)
|
PropertyNotSetInConstructor:
tests/DependencyInjection/ConfigurationTest.php#L16
tests/DependencyInjection/ConfigurationTest.php:16:36: PropertyNotSetInConstructor: Property Siganushka\RequestTokenBundle\Tests\DependencyInjection\ConfigurationTest::$configuration is not defined in constructor of Siganushka\RequestTokenBundle\Tests\DependencyInjection\ConfigurationTest or in any private or final methods called in the constructor (see https://psalm.dev/074)
|
PropertyNotSetInConstructor:
tests/DependencyInjection/ConfigurationTest.php#L17
tests/DependencyInjection/ConfigurationTest.php:17:23: PropertyNotSetInConstructor: Property Siganushka\RequestTokenBundle\Tests\DependencyInjection\ConfigurationTest::$processor is not defined in constructor of Siganushka\RequestTokenBundle\Tests\DependencyInjection\ConfigurationTest or in any private or final methods called in the constructor (see https://psalm.dev/074)
|
Tests with PHP 8.2
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/
|
PossiblyNullReference:
src/DependencyInjection/Configuration.php#L26
src/DependencyInjection/Configuration.php:26:19: PossiblyNullReference: Cannot call method scalarNode on possibly null value (see https://psalm.dev/083)
|
UndefinedInterfaceMethod:
src/DependencyInjection/Configuration.php#L26
src/DependencyInjection/Configuration.php:26:19: UndefinedInterfaceMethod: Method Symfony\Component\Config\Definition\Builder\NodeParentInterface::scalarNode does not exist (see https://psalm.dev/181)
|
MissingClosureParamType:
src/DependencyInjection/Configuration.php#L34
src/DependencyInjection/Configuration.php:34:40: MissingClosureParamType: Parameter $v has no provided type (see https://psalm.dev/153)
|
PossiblyNullArgument:
src/DependencyInjection/SiganushkaRequestTokenExtension.php#L20
src/DependencyInjection/SiganushkaRequestTokenExtension.php:20:47: PossiblyNullArgument: Argument 1 of Siganushka\RequestTokenBundle\DependencyInjection\SiganushkaRequestTokenExtension::processConfiguration cannot be null, possibly null value provided (see https://psalm.dev/078)
|
ArgumentTypeCoercion:
src/Generator/RandomBytesTokenGenerator.php#L21
src/Generator/RandomBytesTokenGenerator.php:21:37: ArgumentTypeCoercion: Argument 1 of random_bytes expects int<1, max>, but parent type float|int provided (see https://psalm.dev/193)
|
PropertyNotSetInConstructor:
tests/DependencyInjection/ConfigurationTest.php#L16
tests/DependencyInjection/ConfigurationTest.php:16:36: PropertyNotSetInConstructor: Property Siganushka\RequestTokenBundle\Tests\DependencyInjection\ConfigurationTest::$configuration is not defined in constructor of Siganushka\RequestTokenBundle\Tests\DependencyInjection\ConfigurationTest or in any private or final methods called in the constructor (see https://psalm.dev/074)
|
PropertyNotSetInConstructor:
tests/DependencyInjection/ConfigurationTest.php#L17
tests/DependencyInjection/ConfigurationTest.php:17:23: PropertyNotSetInConstructor: Property Siganushka\RequestTokenBundle\Tests\DependencyInjection\ConfigurationTest::$processor is not defined in constructor of Siganushka\RequestTokenBundle\Tests\DependencyInjection\ConfigurationTest or in any private or final methods called in the constructor (see https://psalm.dev/074)
|
Tests with PHP 8.0
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/
|
PossiblyNullReference:
src/DependencyInjection/Configuration.php#L26
src/DependencyInjection/Configuration.php:26:19: PossiblyNullReference: Cannot call method scalarNode on possibly null value (see https://psalm.dev/083)
|
UndefinedInterfaceMethod:
src/DependencyInjection/Configuration.php#L26
src/DependencyInjection/Configuration.php:26:19: UndefinedInterfaceMethod: Method Symfony\Component\Config\Definition\Builder\NodeParentInterface::scalarNode does not exist (see https://psalm.dev/181)
|
MissingClosureParamType:
src/DependencyInjection/Configuration.php#L34
src/DependencyInjection/Configuration.php:34:40: MissingClosureParamType: Parameter $v has no provided type (see https://psalm.dev/153)
|
PossiblyNullArgument:
src/DependencyInjection/SiganushkaRequestTokenExtension.php#L20
src/DependencyInjection/SiganushkaRequestTokenExtension.php:20:47: PossiblyNullArgument: Argument 1 of Siganushka\RequestTokenBundle\DependencyInjection\SiganushkaRequestTokenExtension::processConfiguration cannot be null, possibly null value provided (see https://psalm.dev/078)
|
ArgumentTypeCoercion:
src/Generator/RandomBytesTokenGenerator.php#L21
src/Generator/RandomBytesTokenGenerator.php:21:37: ArgumentTypeCoercion: Argument 1 of random_bytes expects int<1, max>, but parent type float|int provided (see https://psalm.dev/193)
|
PropertyNotSetInConstructor:
tests/DependencyInjection/ConfigurationTest.php#L16
tests/DependencyInjection/ConfigurationTest.php:16:36: PropertyNotSetInConstructor: Property Siganushka\RequestTokenBundle\Tests\DependencyInjection\ConfigurationTest::$configuration is not defined in constructor of Siganushka\RequestTokenBundle\Tests\DependencyInjection\ConfigurationTest or in any private or final methods called in the constructor (see https://psalm.dev/074)
|
PropertyNotSetInConstructor:
tests/DependencyInjection/ConfigurationTest.php#L17
tests/DependencyInjection/ConfigurationTest.php:17:23: PropertyNotSetInConstructor: Property Siganushka\RequestTokenBundle\Tests\DependencyInjection\ConfigurationTest::$processor is not defined in constructor of Siganushka\RequestTokenBundle\Tests\DependencyInjection\ConfigurationTest or in any private or final methods called in the constructor (see https://psalm.dev/074)
|