Skip to content

PHP static analysis #1308

PHP static analysis

PHP static analysis #1308

Triggered via schedule October 13, 2024 02:41
Status Failure
Total duration 34s
Artifacts

phpstan.yml

on: schedule
Matrix: phpstan
Fit to window
Zoom out
Zoom in

Annotations

50 errors and 5 warnings
PHPStan - PHP 8.0: src/Compiler/NodeVisitor/AddParametersForBlockNodeVisitor.php#L62
Offset 'define' might not exist on array{0?: string, define?: non-falsy-string, 1?: non-falsy-string, block_name?: string, 2?: string, parameters: string, 3?: string, line?: numeric-string, ...}.
PHPStan - PHP 8.0: src/Compiler/NodeVisitor/AddParametersForBlockNodeVisitor.php#L82
Offset 'block_name' might not exist on array{0?: string, define?: non-falsy-string, 1?: non-falsy-string, block_name?: string, 2?: string, parameters: string, 3?: string, line?: numeric-string, ...}.
PHPStan - PHP 8.0: src/Error/ErrorBuilder.php#L1
Ignored error pattern #^Although PHPStan\\Rules\\FileRuleError is covered by backward compatibility promise, this instanceof assumption might break because it's not guaranteed to always stay the same\.$# in path /home/runner/work/phpstan-latte/phpstan-latte/src/Error/ErrorBuilder.php was not matched in reported errors.
PHPStan - PHP 8.0: src/Error/ErrorBuilder.php#L1
Ignored error pattern #^Although PHPStan\\Rules\\IdentifierRuleError is covered by backward compatibility promise, this instanceof assumption might break because it's not guaranteed to always stay the same\.$# in path /home/runner/work/phpstan-latte/phpstan-latte/src/Error/ErrorBuilder.php was not matched in reported errors.
PHPStan - PHP 8.0: src/Error/ErrorBuilder.php#L1
Ignored error pattern #^Although PHPStan\\Rules\\LineRuleError is covered by backward compatibility promise, this instanceof assumption might break because it's not guaranteed to always stay the same\.$# in path /home/runner/work/phpstan-latte/phpstan-latte/src/Error/ErrorBuilder.php was not matched in reported errors.
PHPStan - PHP 8.0: src/Error/ErrorBuilder.php#L1
Ignored error pattern #^Although PHPStan\\Rules\\MetadataRuleError is covered by backward compatibility promise, this instanceof assumption might break because it's not guaranteed to always stay the same\.$# in path /home/runner/work/phpstan-latte/phpstan-latte/src/Error/ErrorBuilder.php was not matched in reported errors.
PHPStan - PHP 8.0: src/Error/ErrorBuilder.php#L1
Ignored error pattern #^Although PHPStan\\Rules\\NonIgnorableRuleError is covered by backward compatibility promise, this instanceof assumption might break because it's not guaranteed to always stay the same\.$# in path /home/runner/work/phpstan-latte/phpstan-latte/src/Error/ErrorBuilder.php was not matched in reported errors.
PHPStan - PHP 8.0: src/Error/ErrorBuilder.php#L1
Ignored error pattern #^Although PHPStan\\Rules\\TipRuleError is covered by backward compatibility promise, this instanceof assumption might break because it's not guaranteed to always stay the same\.$# in path /home/runner/work/phpstan-latte/phpstan-latte/src/Error/ErrorBuilder.php was not matched in reported errors.
PHPStan - PHP 8.0: src/Error/Transformer/BlockParameterErrorTransformer.php#L20
Offset 0 might not exist on array{0?: string, 1?: string, block: string, 2?: string}.
PHPStan - PHP 8.0: src/LatteTemplateResolver/LatteTemplateResolverResult.php#L59
Method Efabrica\PHPStanLatte\LatteTemplateResolver\LatteTemplateResolverResult::addErrorFromBuilder() has parameter $error with generic class PHPStan\Rules\RuleErrorBuilder but does not specify its types: T
PHPStan - PHP 8.2: src/Compiler/NodeVisitor/AddParametersForBlockNodeVisitor.php#L62
Offset 'define' might not exist on array{0?: string, define?: non-falsy-string, 1?: non-falsy-string, block_name?: string, 2?: string, parameters: string, 3?: string, line?: numeric-string, ...}.
PHPStan - PHP 8.2: src/Compiler/NodeVisitor/AddParametersForBlockNodeVisitor.php#L82
Offset 'block_name' might not exist on array{0?: string, define?: non-falsy-string, 1?: non-falsy-string, block_name?: string, 2?: string, parameters: string, 3?: string, line?: numeric-string, ...}.
PHPStan - PHP 8.2: src/Error/ErrorBuilder.php#L1
Ignored error pattern #^Although PHPStan\\Rules\\FileRuleError is covered by backward compatibility promise, this instanceof assumption might break because it's not guaranteed to always stay the same\.$# in path /home/runner/work/phpstan-latte/phpstan-latte/src/Error/ErrorBuilder.php was not matched in reported errors.
PHPStan - PHP 8.2: src/Error/ErrorBuilder.php#L1
Ignored error pattern #^Although PHPStan\\Rules\\IdentifierRuleError is covered by backward compatibility promise, this instanceof assumption might break because it's not guaranteed to always stay the same\.$# in path /home/runner/work/phpstan-latte/phpstan-latte/src/Error/ErrorBuilder.php was not matched in reported errors.
PHPStan - PHP 8.2: src/Error/ErrorBuilder.php#L1
Ignored error pattern #^Although PHPStan\\Rules\\LineRuleError is covered by backward compatibility promise, this instanceof assumption might break because it's not guaranteed to always stay the same\.$# in path /home/runner/work/phpstan-latte/phpstan-latte/src/Error/ErrorBuilder.php was not matched in reported errors.
PHPStan - PHP 8.2: src/Error/ErrorBuilder.php#L1
Ignored error pattern #^Although PHPStan\\Rules\\MetadataRuleError is covered by backward compatibility promise, this instanceof assumption might break because it's not guaranteed to always stay the same\.$# in path /home/runner/work/phpstan-latte/phpstan-latte/src/Error/ErrorBuilder.php was not matched in reported errors.
PHPStan - PHP 8.2: src/Error/ErrorBuilder.php#L1
Ignored error pattern #^Although PHPStan\\Rules\\NonIgnorableRuleError is covered by backward compatibility promise, this instanceof assumption might break because it's not guaranteed to always stay the same\.$# in path /home/runner/work/phpstan-latte/phpstan-latte/src/Error/ErrorBuilder.php was not matched in reported errors.
PHPStan - PHP 8.2: src/Error/ErrorBuilder.php#L1
Ignored error pattern #^Although PHPStan\\Rules\\TipRuleError is covered by backward compatibility promise, this instanceof assumption might break because it's not guaranteed to always stay the same\.$# in path /home/runner/work/phpstan-latte/phpstan-latte/src/Error/ErrorBuilder.php was not matched in reported errors.
PHPStan - PHP 8.2: src/Error/Transformer/BlockParameterErrorTransformer.php#L20
Offset 0 might not exist on array{0?: string, 1?: string, block: string, 2?: string}.
PHPStan - PHP 8.1: src/Compiler/NodeVisitor/AddParametersForBlockNodeVisitor.php#L62
Offset 'define' might not exist on array{0?: string, define?: non-falsy-string, 1?: non-falsy-string, block_name?: string, 2?: string, parameters: string, 3?: string, line?: numeric-string, ...}.
PHPStan - PHP 8.2: src/LatteTemplateResolver/LatteTemplateResolverResult.php#L59
Method Efabrica\PHPStanLatte\LatteTemplateResolver\LatteTemplateResolverResult::addErrorFromBuilder() has parameter $error with generic class PHPStan\Rules\RuleErrorBuilder but does not specify its types: T
PHPStan - PHP 8.1: src/Compiler/NodeVisitor/AddParametersForBlockNodeVisitor.php#L82
Offset 'block_name' might not exist on array{0?: string, define?: non-falsy-string, 1?: non-falsy-string, block_name?: string, 2?: string, parameters: string, 3?: string, line?: numeric-string, ...}.
PHPStan - PHP 8.1: src/Error/ErrorBuilder.php#L1
Ignored error pattern #^Although PHPStan\\Rules\\FileRuleError is covered by backward compatibility promise, this instanceof assumption might break because it's not guaranteed to always stay the same\.$# in path /home/runner/work/phpstan-latte/phpstan-latte/src/Error/ErrorBuilder.php was not matched in reported errors.
PHPStan - PHP 8.1: src/Error/ErrorBuilder.php#L1
Ignored error pattern #^Although PHPStan\\Rules\\IdentifierRuleError is covered by backward compatibility promise, this instanceof assumption might break because it's not guaranteed to always stay the same\.$# in path /home/runner/work/phpstan-latte/phpstan-latte/src/Error/ErrorBuilder.php was not matched in reported errors.
PHPStan - PHP 8.1: src/Error/ErrorBuilder.php#L1
Ignored error pattern #^Although PHPStan\\Rules\\LineRuleError is covered by backward compatibility promise, this instanceof assumption might break because it's not guaranteed to always stay the same\.$# in path /home/runner/work/phpstan-latte/phpstan-latte/src/Error/ErrorBuilder.php was not matched in reported errors.
PHPStan - PHP 8.1: src/Error/ErrorBuilder.php#L1
Ignored error pattern #^Although PHPStan\\Rules\\MetadataRuleError is covered by backward compatibility promise, this instanceof assumption might break because it's not guaranteed to always stay the same\.$# in path /home/runner/work/phpstan-latte/phpstan-latte/src/Error/ErrorBuilder.php was not matched in reported errors.
PHPStan - PHP 8.1: src/Error/ErrorBuilder.php#L1
Ignored error pattern #^Although PHPStan\\Rules\\NonIgnorableRuleError is covered by backward compatibility promise, this instanceof assumption might break because it's not guaranteed to always stay the same\.$# in path /home/runner/work/phpstan-latte/phpstan-latte/src/Error/ErrorBuilder.php was not matched in reported errors.
PHPStan - PHP 8.1: src/Error/ErrorBuilder.php#L1
Ignored error pattern #^Although PHPStan\\Rules\\TipRuleError is covered by backward compatibility promise, this instanceof assumption might break because it's not guaranteed to always stay the same\.$# in path /home/runner/work/phpstan-latte/phpstan-latte/src/Error/ErrorBuilder.php was not matched in reported errors.
PHPStan - PHP 8.1: src/Error/Transformer/BlockParameterErrorTransformer.php#L20
Offset 0 might not exist on array{0?: string, 1?: string, block: string, 2?: string}.
PHPStan - PHP 8.1: src/LatteTemplateResolver/LatteTemplateResolverResult.php#L59
Method Efabrica\PHPStanLatte\LatteTemplateResolver\LatteTemplateResolverResult::addErrorFromBuilder() has parameter $error with generic class PHPStan\Rules\RuleErrorBuilder but does not specify its types: T
PHPStan - PHP 8.3: src/Compiler/NodeVisitor/AddParametersForBlockNodeVisitor.php#L62
Offset 'define' might not exist on array{0?: string, define?: non-falsy-string, 1?: non-falsy-string, block_name?: string, 2?: string, parameters: string, 3?: string, line?: numeric-string, ...}.
PHPStan - PHP 8.3: src/Compiler/NodeVisitor/AddParametersForBlockNodeVisitor.php#L82
Offset 'block_name' might not exist on array{0?: string, define?: non-falsy-string, 1?: non-falsy-string, block_name?: string, 2?: string, parameters: string, 3?: string, line?: numeric-string, ...}.
PHPStan - PHP 8.3: src/Error/ErrorBuilder.php#L1
Ignored error pattern #^Although PHPStan\\Rules\\FileRuleError is covered by backward compatibility promise, this instanceof assumption might break because it's not guaranteed to always stay the same\.$# in path /home/runner/work/phpstan-latte/phpstan-latte/src/Error/ErrorBuilder.php was not matched in reported errors.
PHPStan - PHP 8.3: src/Error/ErrorBuilder.php#L1
Ignored error pattern #^Although PHPStan\\Rules\\IdentifierRuleError is covered by backward compatibility promise, this instanceof assumption might break because it's not guaranteed to always stay the same\.$# in path /home/runner/work/phpstan-latte/phpstan-latte/src/Error/ErrorBuilder.php was not matched in reported errors.
PHPStan - PHP 8.3: src/Error/ErrorBuilder.php#L1
Ignored error pattern #^Although PHPStan\\Rules\\LineRuleError is covered by backward compatibility promise, this instanceof assumption might break because it's not guaranteed to always stay the same\.$# in path /home/runner/work/phpstan-latte/phpstan-latte/src/Error/ErrorBuilder.php was not matched in reported errors.
PHPStan - PHP 8.3: src/Error/ErrorBuilder.php#L1
Ignored error pattern #^Although PHPStan\\Rules\\MetadataRuleError is covered by backward compatibility promise, this instanceof assumption might break because it's not guaranteed to always stay the same\.$# in path /home/runner/work/phpstan-latte/phpstan-latte/src/Error/ErrorBuilder.php was not matched in reported errors.
PHPStan - PHP 8.3: src/Error/ErrorBuilder.php#L1
Ignored error pattern #^Although PHPStan\\Rules\\NonIgnorableRuleError is covered by backward compatibility promise, this instanceof assumption might break because it's not guaranteed to always stay the same\.$# in path /home/runner/work/phpstan-latte/phpstan-latte/src/Error/ErrorBuilder.php was not matched in reported errors.
PHPStan - PHP 8.3: src/Error/ErrorBuilder.php#L1
Ignored error pattern #^Although PHPStan\\Rules\\TipRuleError is covered by backward compatibility promise, this instanceof assumption might break because it's not guaranteed to always stay the same\.$# in path /home/runner/work/phpstan-latte/phpstan-latte/src/Error/ErrorBuilder.php was not matched in reported errors.
PHPStan - PHP 8.3: src/Error/Transformer/BlockParameterErrorTransformer.php#L20
Offset 0 might not exist on array{0?: string, 1?: string, block: string, 2?: string}.
PHPStan - PHP 8.3: src/LatteTemplateResolver/LatteTemplateResolverResult.php#L59
Method Efabrica\PHPStanLatte\LatteTemplateResolver\LatteTemplateResolverResult::addErrorFromBuilder() has parameter $error with generic class PHPStan\Rules\RuleErrorBuilder but does not specify its types: T
PHPStan - PHP 7.4: src/Compiler/NodeVisitor/AddParametersForBlockNodeVisitor.php#L62
Offset 'define' might not exist on array{0?: string, define?: non-falsy-string, 1?: non-falsy-string, block_name?: string, 2?: string, parameters: string, 3?: string, line?: numeric-string, ...}.
PHPStan - PHP 7.4: src/Compiler/NodeVisitor/AddParametersForBlockNodeVisitor.php#L82
Offset 'block_name' might not exist on array{0?: string, define?: non-falsy-string, 1?: non-falsy-string, block_name?: string, 2?: string, parameters: string, 3?: string, line?: numeric-string, ...}.
PHPStan - PHP 7.4: src/Error/ErrorBuilder.php#L1
Ignored error pattern #^Although PHPStan\\Rules\\FileRuleError is covered by backward compatibility promise, this instanceof assumption might break because it's not guaranteed to always stay the same\.$# in path /home/runner/work/phpstan-latte/phpstan-latte/src/Error/ErrorBuilder.php was not matched in reported errors.
PHPStan - PHP 7.4: src/Error/ErrorBuilder.php#L1
Ignored error pattern #^Although PHPStan\\Rules\\IdentifierRuleError is covered by backward compatibility promise, this instanceof assumption might break because it's not guaranteed to always stay the same\.$# in path /home/runner/work/phpstan-latte/phpstan-latte/src/Error/ErrorBuilder.php was not matched in reported errors.
PHPStan - PHP 7.4: src/Error/ErrorBuilder.php#L1
Ignored error pattern #^Although PHPStan\\Rules\\LineRuleError is covered by backward compatibility promise, this instanceof assumption might break because it's not guaranteed to always stay the same\.$# in path /home/runner/work/phpstan-latte/phpstan-latte/src/Error/ErrorBuilder.php was not matched in reported errors.
PHPStan - PHP 7.4: src/Error/ErrorBuilder.php#L1
Ignored error pattern #^Although PHPStan\\Rules\\MetadataRuleError is covered by backward compatibility promise, this instanceof assumption might break because it's not guaranteed to always stay the same\.$# in path /home/runner/work/phpstan-latte/phpstan-latte/src/Error/ErrorBuilder.php was not matched in reported errors.
PHPStan - PHP 7.4: src/Error/ErrorBuilder.php#L1
Ignored error pattern #^Although PHPStan\\Rules\\NonIgnorableRuleError is covered by backward compatibility promise, this instanceof assumption might break because it's not guaranteed to always stay the same\.$# in path /home/runner/work/phpstan-latte/phpstan-latte/src/Error/ErrorBuilder.php was not matched in reported errors.
PHPStan - PHP 7.4: src/Error/ErrorBuilder.php#L1
Ignored error pattern #^Although PHPStan\\Rules\\TipRuleError is covered by backward compatibility promise, this instanceof assumption might break because it's not guaranteed to always stay the same\.$# in path /home/runner/work/phpstan-latte/phpstan-latte/src/Error/ErrorBuilder.php was not matched in reported errors.
PHPStan - PHP 7.4: src/Error/Transformer/BlockParameterErrorTransformer.php#L20
Offset 0 might not exist on array{0?: string, 1?: string, block: string, 2?: string}.
PHPStan - PHP 7.4: src/LatteTemplateResolver/LatteTemplateResolverResult.php#L59
Method Efabrica\PHPStanLatte\LatteTemplateResolver\LatteTemplateResolverResult::addErrorFromBuilder() has parameter $error with generic class PHPStan\Rules\RuleErrorBuilder but does not specify its types: T
PHPStan - PHP 8.0
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
PHPStan - PHP 8.2
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
PHPStan - PHP 8.1
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
PHPStan - PHP 8.3
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
PHPStan - PHP 7.4
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/