Skip to content

Force zero spaces after Not operator #101

Force zero spaces after Not operator

Force zero spaces after Not operator #101

Triggered via pull request June 28, 2024 15:38
Status Cancelled
Total duration 36s
Artifacts

quality-assurance-php.yml

on: pull_request
coding-standards-analysis-php  /  coding-standards-php
21s
coding-standards-analysis-php / coding-standards-php
Matrix: lint-php
Matrix: static-code-analysis-php
Matrix: tests-unit-php
Fit to window
Zoom out
Zoom in

Annotations

18 errors
RiskyTruthyFalsyComparison: Inpsyde/Helpers/FunctionDocBlock.php#L104
Inpsyde/Helpers/FunctionDocBlock.php:104:13: RiskyTruthyFalsyComparison: Operand of type list<string>|null contains type list<string>, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
static-code-analysis-php (8.1) / static-analysis-php
Process completed with exit code 2.
RiskyTruthyFalsyComparison: Inpsyde/Helpers/FunctionDocBlock.php#L104
Inpsyde/Helpers/FunctionDocBlock.php:104:13: RiskyTruthyFalsyComparison: Operand of type list<string>|null contains type list<string>, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
static-code-analysis-php (7.4) / static-analysis-php
Process completed with exit code 2.
RiskyTruthyFalsyComparison: Inpsyde/Helpers/FunctionDocBlock.php#L104
Inpsyde/Helpers/FunctionDocBlock.php:104:13: RiskyTruthyFalsyComparison: Operand of type list<string>|null contains type list<string>, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
static-code-analysis-php (8.2) / static-analysis-php
Process completed with exit code 2.
static-code-analysis-php (8.3) / static-analysis-php
FailFast: cancelling since parallel instance has failed
RiskyTruthyFalsyComparison: Inpsyde/Helpers/FunctionDocBlock.php#L104
Inpsyde/Helpers/FunctionDocBlock.php:104:13: RiskyTruthyFalsyComparison: Operand of type list<string>|null contains type list<string>, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
MissingClassConstType: Inpsyde/Sniffs/CodeQuality/ArgumentTypeDeclarationSniff.php#L17
Inpsyde/Sniffs/CodeQuality/ArgumentTypeDeclarationSniff.php:17:18: MissingClassConstType: Class constant "Inpsyde\Sniffs\CodeQuality\ArgumentTypeDeclarationSniff::METHODS_WHITELIST" should have a declared type. (see https://psalm.dev/359)
MissingClassConstType: Inpsyde/Sniffs/CodeQuality/EncodingCommentSniff.php#L13
Inpsyde/Sniffs/CodeQuality/EncodingCommentSniff.php:13:19: MissingClassConstType: Class constant "Inpsyde\Sniffs\CodeQuality\EncodingCommentSniff::DISALLOWED_COMMENT" should have a declared type. (see https://psalm.dev/359)
MissingClassConstType: Inpsyde/Sniffs/CodeQuality/LineLengthSniff.php#L13
Inpsyde/Sniffs/CodeQuality/LineLengthSniff.php:13:18: MissingClassConstType: Class constant "Inpsyde\Sniffs\CodeQuality\LineLengthSniff::I18N_FUNCTIONS" should have a declared type. (see https://psalm.dev/359)
MissingClassConstType: Inpsyde/Sniffs/CodeQuality/NoAccessorsSniff.php#L14
Inpsyde/Sniffs/CodeQuality/NoAccessorsSniff.php:14:18: MissingClassConstType: Class constant "Inpsyde\Sniffs\CodeQuality\NoAccessorsSniff::ALLOWED_NAMES" should have a declared type. (see https://psalm.dev/359)
MissingClassConstType: Inpsyde/Sniffs/CodeQuality/ReturnTypeDeclarationSniff.php#L20
Inpsyde/Sniffs/CodeQuality/ReturnTypeDeclarationSniff.php:20:18: MissingClassConstType: Class constant "Inpsyde\Sniffs\CodeQuality\ReturnTypeDeclarationSniff::TYPE_CODES" should have a declared type. (see https://psalm.dev/359)
MissingClassConstType: Inpsyde/Sniffs/CodeQuality/ReturnTypeDeclarationSniff.php#L27
Inpsyde/Sniffs/CodeQuality/ReturnTypeDeclarationSniff.php:27:18: MissingClassConstType: Class constant "Inpsyde\Sniffs\CodeQuality\ReturnTypeDeclarationSniff::METHODS_WHITELIST" should have a declared type. (see https://psalm.dev/359)
MissingClassConstType: Inpsyde/Sniffs/CodeQuality/VariablesNameSniff.php#L13
Inpsyde/Sniffs/CodeQuality/VariablesNameSniff.php:13:18: MissingClassConstType: Class constant "Inpsyde\Sniffs\CodeQuality\VariablesNameSniff::GLOBALS" should have a declared type. (see https://psalm.dev/359)
MissingClassConstType: Inpsyde/Sniffs/CodeQuality/VariablesNameSniff.php#L25
Inpsyde/Sniffs/CodeQuality/VariablesNameSniff.php:25:18: MissingClassConstType: Class constant "Inpsyde\Sniffs\CodeQuality\VariablesNameSniff::WP_GLOBALS" should have a declared type. (see https://psalm.dev/359)
static-code-analysis-php (8.3) / static-analysis-php
The operation was canceled.
static-code-analysis-php (8.0) / static-analysis-php
FailFast: cancelling since parallel instance has failed