Skip to content

Use early static binding/typing #210

Use early static binding/typing

Use early static binding/typing #210

Triggered via pull request January 29, 2025 22:36
Status Failure
Total duration 33s
Artifacts

ci.yml

on: pull_request
Matrix: modern
Fit to window
Zoom out
Zoom in

Annotations

29 errors
InvalidDocblock: src/Keys/Base/AsymmetricPublicKey.php#L198
src/Keys/Base/AsymmetricPublicKey.php:198:5: InvalidDocblock: Cannot parse generic type in docblock for ParagonIE\Paseto\Keys\Base\AsymmetricPublicKey::__debugInfo (see https://psalm.dev/008)
InvalidDocblock: src/Keys/Base/AsymmetricSecretKey.php#L250
src/Keys/Base/AsymmetricSecretKey.php:250:5: InvalidDocblock: Cannot parse generic type in docblock for ParagonIE\Paseto\Keys\Base\AsymmetricSecretKey::__debugInfo (see https://psalm.dev/008)
UnsafeInstantiation: src/Keys/Base/SymmetricKey.php#L85
src/Keys/Base/SymmetricKey.php:85:16: UnsafeInstantiation: Cannot safely instantiate class ParagonIE\Paseto\Keys\Base\SymmetricKey with "new static" as its constructor might change in child classes (see https://psalm.dev/229)
UnsafeInstantiation: src/Keys/Base/SymmetricKey.php#L119
src/Keys/Base/SymmetricKey.php:119:16: UnsafeInstantiation: Cannot safely instantiate class ParagonIE\Paseto\Keys\Base\SymmetricKey with "new static" as its constructor might change in child classes (see https://psalm.dev/229)
UnsafeInstantiation: src/Keys/Base/SymmetricKey.php#L130
src/Keys/Base/SymmetricKey.php:130:16: UnsafeInstantiation: Cannot safely instantiate class ParagonIE\Paseto\Keys\Base\SymmetricKey with "new static" as its constructor might change in child classes (see https://psalm.dev/229)
UnsafeInstantiation: src/Keys/Base/SymmetricKey.php#L155
src/Keys/Base/SymmetricKey.php:155:16: UnsafeInstantiation: Cannot safely instantiate class ParagonIE\Paseto\Keys\Base\SymmetricKey with "new static" as its constructor might change in child classes (see https://psalm.dev/229)
PHP 8.1 Test on ubuntu-latest
Process completed with exit code 2.
InvalidDocblock: src/Keys/Base/AsymmetricPublicKey.php#L198
src/Keys/Base/AsymmetricPublicKey.php:198:5: InvalidDocblock: Cannot parse generic type in docblock for ParagonIE\Paseto\Keys\Base\AsymmetricPublicKey::__debugInfo (see https://psalm.dev/008)
InvalidDocblock: src/Keys/Base/AsymmetricSecretKey.php#L250
src/Keys/Base/AsymmetricSecretKey.php:250:5: InvalidDocblock: Cannot parse generic type in docblock for ParagonIE\Paseto\Keys\Base\AsymmetricSecretKey::__debugInfo (see https://psalm.dev/008)
UnsafeInstantiation: src/Keys/Base/SymmetricKey.php#L85
src/Keys/Base/SymmetricKey.php:85:16: UnsafeInstantiation: Cannot safely instantiate class ParagonIE\Paseto\Keys\Base\SymmetricKey with "new static" as its constructor might change in child classes (see https://psalm.dev/229)
UnsafeInstantiation: src/Keys/Base/SymmetricKey.php#L119
src/Keys/Base/SymmetricKey.php:119:16: UnsafeInstantiation: Cannot safely instantiate class ParagonIE\Paseto\Keys\Base\SymmetricKey with "new static" as its constructor might change in child classes (see https://psalm.dev/229)
UnsafeInstantiation: src/Keys/Base/SymmetricKey.php#L130
src/Keys/Base/SymmetricKey.php:130:16: UnsafeInstantiation: Cannot safely instantiate class ParagonIE\Paseto\Keys\Base\SymmetricKey with "new static" as its constructor might change in child classes (see https://psalm.dev/229)
UnsafeInstantiation: src/Keys/Base/SymmetricKey.php#L155
src/Keys/Base/SymmetricKey.php:155:16: UnsafeInstantiation: Cannot safely instantiate class ParagonIE\Paseto\Keys\Base\SymmetricKey with "new static" as its constructor might change in child classes (see https://psalm.dev/229)
PHP 8.3 Test on ubuntu-latest
Process completed with exit code 2.
InvalidDocblock: src/Keys/Base/AsymmetricPublicKey.php#L198
src/Keys/Base/AsymmetricPublicKey.php:198:5: InvalidDocblock: Cannot parse generic type in docblock for ParagonIE\Paseto\Keys\Base\AsymmetricPublicKey::__debugInfo (see https://psalm.dev/008)
InvalidDocblock: src/Keys/Base/AsymmetricSecretKey.php#L250
src/Keys/Base/AsymmetricSecretKey.php:250:5: InvalidDocblock: Cannot parse generic type in docblock for ParagonIE\Paseto\Keys\Base\AsymmetricSecretKey::__debugInfo (see https://psalm.dev/008)
UnsafeInstantiation: src/Keys/Base/SymmetricKey.php#L85
src/Keys/Base/SymmetricKey.php:85:16: UnsafeInstantiation: Cannot safely instantiate class ParagonIE\Paseto\Keys\Base\SymmetricKey with "new static" as its constructor might change in child classes (see https://psalm.dev/229)
UnsafeInstantiation: src/Keys/Base/SymmetricKey.php#L119
src/Keys/Base/SymmetricKey.php:119:16: UnsafeInstantiation: Cannot safely instantiate class ParagonIE\Paseto\Keys\Base\SymmetricKey with "new static" as its constructor might change in child classes (see https://psalm.dev/229)
UnsafeInstantiation: src/Keys/Base/SymmetricKey.php#L130
src/Keys/Base/SymmetricKey.php:130:16: UnsafeInstantiation: Cannot safely instantiate class ParagonIE\Paseto\Keys\Base\SymmetricKey with "new static" as its constructor might change in child classes (see https://psalm.dev/229)
UnsafeInstantiation: src/Keys/Base/SymmetricKey.php#L155
src/Keys/Base/SymmetricKey.php:155:16: UnsafeInstantiation: Cannot safely instantiate class ParagonIE\Paseto\Keys\Base\SymmetricKey with "new static" as its constructor might change in child classes (see https://psalm.dev/229)
PHP 8.4 Test on ubuntu-latest
Process completed with exit code 2.
PHP 8.2 Test on ubuntu-latest
The job was canceled because "ubuntu-latest_8_3_latest" failed.
InvalidDocblock: src/Keys/Base/AsymmetricPublicKey.php#L198
src/Keys/Base/AsymmetricPublicKey.php:198:5: InvalidDocblock: Cannot parse generic type in docblock for ParagonIE\Paseto\Keys\Base\AsymmetricPublicKey::__debugInfo (see https://psalm.dev/008)
InvalidDocblock: src/Keys/Base/AsymmetricSecretKey.php#L250
src/Keys/Base/AsymmetricSecretKey.php:250:5: InvalidDocblock: Cannot parse generic type in docblock for ParagonIE\Paseto\Keys\Base\AsymmetricSecretKey::__debugInfo (see https://psalm.dev/008)
UnsafeInstantiation: src/Keys/Base/SymmetricKey.php#L85
src/Keys/Base/SymmetricKey.php:85:16: UnsafeInstantiation: Cannot safely instantiate class ParagonIE\Paseto\Keys\Base\SymmetricKey with "new static" as its constructor might change in child classes (see https://psalm.dev/229)
UnsafeInstantiation: src/Keys/Base/SymmetricKey.php#L119
src/Keys/Base/SymmetricKey.php:119:16: UnsafeInstantiation: Cannot safely instantiate class ParagonIE\Paseto\Keys\Base\SymmetricKey with "new static" as its constructor might change in child classes (see https://psalm.dev/229)
UnsafeInstantiation: src/Keys/Base/SymmetricKey.php#L130
src/Keys/Base/SymmetricKey.php:130:16: UnsafeInstantiation: Cannot safely instantiate class ParagonIE\Paseto\Keys\Base\SymmetricKey with "new static" as its constructor might change in child classes (see https://psalm.dev/229)
UnsafeInstantiation: src/Keys/Base/SymmetricKey.php#L155
src/Keys/Base/SymmetricKey.php:155:16: UnsafeInstantiation: Cannot safely instantiate class ParagonIE\Paseto\Keys\Base\SymmetricKey with "new static" as its constructor might change in child classes (see https://psalm.dev/229)
PHP 8.2 Test on ubuntu-latest
The operation was canceled.