Implement array access #98
Annotations
17 errors and 9 warnings
PHP 8.2 - prefer-lowest - ubuntu-latest
Process completed with exit code 2.
|
PHP 8 - prefer-stable - ubuntu-latest
Process completed with exit code 2.
|
PHP 8.2 - prefer-stable - ubuntu-latest
Process completed with exit code 2.
|
PHP 8 - prefer-lowest - ubuntu-latest
Process completed with exit code 2.
|
PHP 8.1 - prefer-stable - ubuntu-latest
Process completed with exit code 2.
|
Static analysis:
src/Exceptions/NodeNotFoundException.php#L20
Part $node (mixed) of encapsed string cannot be cast to string.
|
Static analysis:
src/JsonParser.php#L25
Class Cerbero\JsonParser\JsonParser implements generic interface ArrayAccess but does not specify its types: TKey, TValue
|
Static analysis:
src/Tokens/CompoundBegin.php#L26
PHPDoc tag @var above a method has no effect.
|
Static analysis:
src/Tokens/CompoundBegin.php#L26
PHPDoc tag @var does not specify variable name.
|
Static analysis:
src/Tokens/Parser.php#L22
Class Cerbero\JsonParser\Tokens\Parser implements generic interface ArrayAccess but does not specify its types: TKey, TValue
|
Static analysis:
src/Tokens/Parser.php#L133
Property Cerbero\JsonParser\Tokens\Parser::$key (int|string|null) does not accept mixed.
|
Static analysis:
src/ValueObjects/State.php#L116
Binary operation "." between Cerbero\JsonParser\Tokens\Parser|string and Cerbero\JsonParser\Tokens\Token results in an error.
|
Static analysis:
src/ValueObjects/State.php#L123
No error to ignore is reported on line 123.
|
Static analysis:
src/ValueObjects/Tree.php#L125
Unreachable statement - code above always terminates.
|
Static analysis
Process completed with exit code 1.
|
PHP 8.1 - prefer-lowest - ubuntu-latest
Process completed with exit code 2.
|
Coverage
Process completed with exit code 2.
|
Coding style
Node.js 12 actions are deprecated. Please update the following actions to use Node.js 16: actions/checkout@v2. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.
|
PHP 8.2 - prefer-lowest - ubuntu-latest
Node.js 12 actions are deprecated. Please update the following actions to use Node.js 16: actions/checkout@v2. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.
|
PHP 8 - prefer-stable - ubuntu-latest
Node.js 12 actions are deprecated. Please update the following actions to use Node.js 16: actions/checkout@v2. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.
|
PHP 8.2 - prefer-stable - ubuntu-latest
Node.js 12 actions are deprecated. Please update the following actions to use Node.js 16: actions/checkout@v2. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.
|
PHP 8 - prefer-lowest - ubuntu-latest
Node.js 12 actions are deprecated. Please update the following actions to use Node.js 16: actions/checkout@v2. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.
|
PHP 8.1 - prefer-stable - ubuntu-latest
Node.js 12 actions are deprecated. Please update the following actions to use Node.js 16: actions/checkout@v2. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.
|
Static analysis
Node.js 12 actions are deprecated. Please update the following actions to use Node.js 16: actions/checkout@v2. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.
|
PHP 8.1 - prefer-lowest - ubuntu-latest
Node.js 12 actions are deprecated. Please update the following actions to use Node.js 16: actions/checkout@v2. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.
|
Coverage
Node.js 12 actions are deprecated. Please update the following actions to use Node.js 16: actions/checkout@v2. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.
|