Skip to content

Remove automatic install of phpcpd #192

Remove automatic install of phpcpd

Remove automatic install of phpcpd #192

Triggered via pull request September 22, 2023 13:52
Status Success
Total duration 1m 24s
Artifacts 11

php.yml

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

Annotations

40 errors and 51 warnings
PossiblyInvalidArgument: src/Options.php#L72
src/Options.php:72:44: PossiblyInvalidArgument: Argument 2 of explode expects string, but possibly different type array<array-key, string>|mixed|string provided (see https://psalm.dev/092)
PossiblyInvalidOperand: src/RunningTool.php#L137
src/RunningTool.php:137:38: PossiblyInvalidOperand: Cannot concatenate with a array<array-key, string>|string (see https://psalm.dev/163)
PossiblyInvalidOperand: src/Tools/Analyzer/PhpMetricsV2.php#L37
src/Tools/Analyzer/PhpMetricsV2.php:37:48: PossiblyInvalidOperand: Cannot concatenate with a array<array-key, string>|string (see https://psalm.dev/163)
TypeDoesNotContainType: src/Tools/Analyzer/Psalm.php#L58
src/Tools/Analyzer/Psalm.php:58:14: TypeDoesNotContainType: Cannot resolve types for $xml->projectFiles with type SimpleXMLElement and !isset assertion (see https://psalm.dev/056)
TypeDoesNotContainType: src/Tools/Analyzer/Psalm.php#L61
src/Tools/Analyzer/Psalm.php:61:14: TypeDoesNotContainType: Cannot resolve types for $xml->projectFiles->ignoreFiles with type SimpleXMLElement and !isset assertion (see https://psalm.dev/056)
PossiblyNullReference: src/Tools/Analyzer/Psalm.php#L68
src/Tools/Analyzer/Psalm.php:68:19: PossiblyNullReference: Cannot call method addAttribute on possibly null value (see https://psalm.dev/083)
PossiblyNullReference: src/Tools/Analyzer/Psalm.php#L75
src/Tools/Analyzer/Psalm.php:75:23: PossiblyNullReference: Cannot call method addAttribute on possibly null value (see https://psalm.dev/083)
PossiblyInvalidCast: src/Tools/GetVersions.php#L178
src/Tools/GetVersions.php:178:48: PossiblyInvalidCast: array<array-key, string> cannot be cast to string (see https://psalm.dev/190)
PossiblyInvalidArgument: src/Tools/GetVersions.php#L178
src/Tools/GetVersions.php:178:48: PossiblyInvalidArgument: Argument 1 of version_compare expects string, but possibly different type array<array-key, string>|string provided (see https://psalm.dev/092)
PossiblyNullArgument: src/report.php#L61
src/report.php:61:39: PossiblyNullArgument: Argument 1 of count cannot be null, possibly null value provided (see https://psalm.dev/078)
PossiblyInvalidArgument: src/Options.php#L72
src/Options.php:72:44: PossiblyInvalidArgument: Argument 2 of explode expects string, but possibly different type array<array-key, string>|mixed|string provided (see https://psalm.dev/092)
PossiblyInvalidOperand: src/RunningTool.php#L137
src/RunningTool.php:137:38: PossiblyInvalidOperand: Cannot concatenate with a array<array-key, string>|string (see https://psalm.dev/163)
PossiblyInvalidOperand: src/Tools/Analyzer/PhpMetricsV2.php#L37
src/Tools/Analyzer/PhpMetricsV2.php:37:48: PossiblyInvalidOperand: Cannot concatenate with a array<array-key, string>|string (see https://psalm.dev/163)
TypeDoesNotContainType: src/Tools/Analyzer/Psalm.php#L58
src/Tools/Analyzer/Psalm.php:58:14: TypeDoesNotContainType: Cannot resolve types for $xml->projectFiles with type SimpleXMLElement and !isset assertion (see https://psalm.dev/056)
TypeDoesNotContainType: src/Tools/Analyzer/Psalm.php#L61
src/Tools/Analyzer/Psalm.php:61:14: TypeDoesNotContainType: Cannot resolve types for $xml->projectFiles->ignoreFiles with type SimpleXMLElement and !isset assertion (see https://psalm.dev/056)
PossiblyNullReference: src/Tools/Analyzer/Psalm.php#L68
src/Tools/Analyzer/Psalm.php:68:19: PossiblyNullReference: Cannot call method addAttribute on possibly null value (see https://psalm.dev/083)
PossiblyNullReference: src/Tools/Analyzer/Psalm.php#L75
src/Tools/Analyzer/Psalm.php:75:23: PossiblyNullReference: Cannot call method addAttribute on possibly null value (see https://psalm.dev/083)
PossiblyInvalidCast: src/Tools/GetVersions.php#L178
src/Tools/GetVersions.php:178:48: PossiblyInvalidCast: array<array-key, string> cannot be cast to string (see https://psalm.dev/190)
PossiblyInvalidArgument: src/Tools/GetVersions.php#L178
src/Tools/GetVersions.php:178:48: PossiblyInvalidArgument: Argument 1 of version_compare expects string, but possibly different type array<array-key, string>|string provided (see https://psalm.dev/092)
PossiblyNullArgument: src/report.php#L61
src/report.php:61:39: PossiblyNullArgument: Argument 1 of count cannot be null, possibly null value provided (see https://psalm.dev/078)
PossiblyInvalidArgument: src/Options.php#L72
src/Options.php:72:44: PossiblyInvalidArgument: Argument 2 of explode expects string, but possibly different type array<array-key, string>|mixed|string provided (see https://psalm.dev/092)
PossiblyInvalidOperand: src/RunningTool.php#L137
src/RunningTool.php:137:38: PossiblyInvalidOperand: Cannot concatenate with a array<array-key, string>|string (see https://psalm.dev/163)
PossiblyInvalidOperand: src/Tools/Analyzer/PhpMetricsV2.php#L37
src/Tools/Analyzer/PhpMetricsV2.php:37:48: PossiblyInvalidOperand: Cannot concatenate with a array<array-key, string>|string (see https://psalm.dev/163)
TypeDoesNotContainType: src/Tools/Analyzer/Psalm.php#L58
src/Tools/Analyzer/Psalm.php:58:14: TypeDoesNotContainType: Cannot resolve types for $xml->projectFiles with type SimpleXMLElement and !isset assertion (see https://psalm.dev/056)
TypeDoesNotContainType: src/Tools/Analyzer/Psalm.php#L61
src/Tools/Analyzer/Psalm.php:61:14: TypeDoesNotContainType: Cannot resolve types for $xml->projectFiles->ignoreFiles with type SimpleXMLElement and !isset assertion (see https://psalm.dev/056)
PossiblyNullReference: src/Tools/Analyzer/Psalm.php#L68
src/Tools/Analyzer/Psalm.php:68:19: PossiblyNullReference: Cannot call method addAttribute on possibly null value (see https://psalm.dev/083)
PossiblyNullReference: src/Tools/Analyzer/Psalm.php#L75
src/Tools/Analyzer/Psalm.php:75:23: PossiblyNullReference: Cannot call method addAttribute on possibly null value (see https://psalm.dev/083)
PossiblyInvalidCast: src/Tools/GetVersions.php#L178
src/Tools/GetVersions.php:178:48: PossiblyInvalidCast: array<array-key, string> cannot be cast to string (see https://psalm.dev/190)
PossiblyInvalidArgument: src/Tools/GetVersions.php#L178
src/Tools/GetVersions.php:178:48: PossiblyInvalidArgument: Argument 1 of version_compare expects string, but possibly different type array<array-key, string>|string provided (see https://psalm.dev/092)
PossiblyNullArgument: src/report.php#L61
src/report.php:61:39: PossiblyNullArgument: Argument 1 of count cannot be null, possibly null value provided (see https://psalm.dev/078)
PossiblyInvalidArgument: src/Options.php#L72
src/Options.php:72:44: PossiblyInvalidArgument: Argument 2 of explode expects string, but possibly different type array<array-key, string>|mixed|string provided (see https://psalm.dev/092)
PossiblyInvalidOperand: src/RunningTool.php#L137
src/RunningTool.php:137:38: PossiblyInvalidOperand: Cannot concatenate with a array<array-key, string>|string (see https://psalm.dev/163)
PossiblyInvalidOperand: src/Tools/Analyzer/PhpMetricsV2.php#L37
src/Tools/Analyzer/PhpMetricsV2.php:37:48: PossiblyInvalidOperand: Cannot concatenate with a array<array-key, string>|string (see https://psalm.dev/163)
TypeDoesNotContainType: src/Tools/Analyzer/Psalm.php#L58
src/Tools/Analyzer/Psalm.php:58:14: TypeDoesNotContainType: Cannot resolve types for $xml->projectFiles with type SimpleXMLElement and !isset assertion (see https://psalm.dev/056)
TypeDoesNotContainType: src/Tools/Analyzer/Psalm.php#L61
src/Tools/Analyzer/Psalm.php:61:14: TypeDoesNotContainType: Cannot resolve types for $xml->projectFiles->ignoreFiles with type SimpleXMLElement and !isset assertion (see https://psalm.dev/056)
PossiblyNullReference: src/Tools/Analyzer/Psalm.php#L68
src/Tools/Analyzer/Psalm.php:68:19: PossiblyNullReference: Cannot call method addAttribute on possibly null value (see https://psalm.dev/083)
PossiblyNullReference: src/Tools/Analyzer/Psalm.php#L75
src/Tools/Analyzer/Psalm.php:75:23: PossiblyNullReference: Cannot call method addAttribute on possibly null value (see https://psalm.dev/083)
PossiblyInvalidCast: src/Tools/GetVersions.php#L178
src/Tools/GetVersions.php:178:48: PossiblyInvalidCast: array<array-key, string> cannot be cast to string (see https://psalm.dev/190)
PossiblyInvalidArgument: src/Tools/GetVersions.php#L178
src/Tools/GetVersions.php:178:48: PossiblyInvalidArgument: Argument 1 of version_compare expects string, but possibly different type array<array-key, string>|string provided (see https://psalm.dev/092)
PossiblyNullArgument: src/report.php#L61
src/report.php:61:39: PossiblyNullArgument: Argument 1 of count cannot be null, possibly null value provided (see https://psalm.dev/078)
phpqa (7.3)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2, actions/upload-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
phpqa (7.4, yes)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2, actions/upload-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
DeprecatedInterface: RoboFile.php#L5
RoboFile.php:5:7: DeprecatedInterface: Robo\Contract\OutputAwareInterface is marked deprecated (see https://psalm.dev/152)
UnusedClass: RoboFile.php#L5
RoboFile.php:5:7: UnusedClass: Class Edge\QA\RoboFile is never used (see https://psalm.dev/075)
MissingConstructor: src/CodeAnalysisTasks.php#L10
src/CodeAnalysisTasks.php:10:13: MissingConstructor: Edge\QA\RoboFile has an uninitialized property Edge\QA\CodeAnalysisTasks::$tools, but no constructor (see https://psalm.dev/073)
MissingConstructor: src/CodeAnalysisTasks.php#L12
src/CodeAnalysisTasks.php:12:13: MissingConstructor: Edge\QA\RoboFile has an uninitialized property Edge\QA\CodeAnalysisTasks::$options, but no constructor (see https://psalm.dev/073)
MissingReturnType: src/CodeAnalysisTasks.php#L18
src/CodeAnalysisTasks.php:18:21: MissingReturnType: Method Edge\QA\CodeAnalysisTasks::tools does not have a return type, expecting void (see https://psalm.dev/050)
MissingParamType: src/CodeAnalysisTasks.php#L19
src/CodeAnalysisTasks.php:19:9: MissingParamType: Parameter $opts has no provided type (see https://psalm.dev/154)
DeprecatedMethod: src/CodeAnalysisTasks.php#L24
src/CodeAnalysisTasks.php:24:51: DeprecatedMethod: The method Robo\Common\OutputAwareTrait::getOutput has been marked as deprecated (see https://psalm.dev/001)
MissingReturnType: src/CodeAnalysisTasks.php#L41
src/CodeAnalysisTasks.php:41:21: MissingReturnType: Method Edge\QA\CodeAnalysisTasks::ci does not have a return type (see https://psalm.dev/050)
MissingParamType: src/CodeAnalysisTasks.php#L42
src/CodeAnalysisTasks.php:42:9: MissingParamType: Parameter $opts has no provided type (see https://psalm.dev/154)
MissingReturnType: src/CodeAnalysisTasks.php#L65
src/CodeAnalysisTasks.php:65:22: MissingReturnType: Method Edge\QA\CodeAnalysisTasks::normalizeCliOptions does not have a return type, expecting array{report: bool|non-empty-mixed, ...<array-key, mixed>} (see https://psalm.dev/050)
phpqa (5.6, yes, 1)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2, actions/upload-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
phpqa (7)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2, actions/upload-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
phpqa (5.5, prefer-stable)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2, actions/upload-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
phpqa (7.1, yes)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2, actions/upload-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
phpqa (5.4, yes)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2, actions/upload-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
phpqa (8, yes)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2, actions/upload-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
DeprecatedInterface: RoboFile.php#L5
RoboFile.php:5:7: DeprecatedInterface: Robo\Contract\OutputAwareInterface is marked deprecated (see https://psalm.dev/152)
UnusedClass: RoboFile.php#L5
RoboFile.php:5:7: UnusedClass: Class Edge\QA\RoboFile is never used (see https://psalm.dev/075)
MissingConstructor: src/CodeAnalysisTasks.php#L10
src/CodeAnalysisTasks.php:10:13: MissingConstructor: Edge\QA\RoboFile has an uninitialized property Edge\QA\CodeAnalysisTasks::$tools, but no constructor (see https://psalm.dev/073)
MissingConstructor: src/CodeAnalysisTasks.php#L12
src/CodeAnalysisTasks.php:12:13: MissingConstructor: Edge\QA\RoboFile has an uninitialized property Edge\QA\CodeAnalysisTasks::$options, but no constructor (see https://psalm.dev/073)
MissingReturnType: src/CodeAnalysisTasks.php#L18
src/CodeAnalysisTasks.php:18:21: MissingReturnType: Method Edge\QA\CodeAnalysisTasks::tools does not have a return type, expecting void (see https://psalm.dev/050)
MissingParamType: src/CodeAnalysisTasks.php#L19
src/CodeAnalysisTasks.php:19:9: MissingParamType: Parameter $opts has no provided type (see https://psalm.dev/154)
DeprecatedMethod: src/CodeAnalysisTasks.php#L24
src/CodeAnalysisTasks.php:24:51: DeprecatedMethod: The method Robo\Common\OutputAwareTrait::getOutput has been marked as deprecated (see https://psalm.dev/001)
MissingReturnType: src/CodeAnalysisTasks.php#L41
src/CodeAnalysisTasks.php:41:21: MissingReturnType: Method Edge\QA\CodeAnalysisTasks::ci does not have a return type (see https://psalm.dev/050)
MissingParamType: src/CodeAnalysisTasks.php#L42
src/CodeAnalysisTasks.php:42:9: MissingParamType: Parameter $opts has no provided type (see https://psalm.dev/154)
MissingReturnType: src/CodeAnalysisTasks.php#L65
src/CodeAnalysisTasks.php:65:22: MissingReturnType: Method Edge\QA\CodeAnalysisTasks::normalizeCliOptions does not have a return type, expecting array{report: bool|non-empty-mixed, ...<array-key, mixed>} (see https://psalm.dev/050)
phpqa (8.2, yes)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2, actions/upload-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
DeprecatedInterface: RoboFile.php#L5
RoboFile.php:5:7: DeprecatedInterface: Robo\Contract\OutputAwareInterface is marked deprecated (see https://psalm.dev/152)
UnusedClass: RoboFile.php#L5
RoboFile.php:5:7: UnusedClass: Class Edge\QA\RoboFile is never used (see https://psalm.dev/075)
MissingConstructor: src/CodeAnalysisTasks.php#L10
src/CodeAnalysisTasks.php:10:13: MissingConstructor: Edge\QA\RoboFile has an uninitialized property Edge\QA\CodeAnalysisTasks::$tools, but no constructor (see https://psalm.dev/073)
MissingConstructor: src/CodeAnalysisTasks.php#L12
src/CodeAnalysisTasks.php:12:13: MissingConstructor: Edge\QA\RoboFile has an uninitialized property Edge\QA\CodeAnalysisTasks::$options, but no constructor (see https://psalm.dev/073)
MissingReturnType: src/CodeAnalysisTasks.php#L18
src/CodeAnalysisTasks.php:18:21: MissingReturnType: Method Edge\QA\CodeAnalysisTasks::tools does not have a return type, expecting void (see https://psalm.dev/050)
MissingParamType: src/CodeAnalysisTasks.php#L19
src/CodeAnalysisTasks.php:19:9: MissingParamType: Parameter $opts has no provided type (see https://psalm.dev/154)
DeprecatedMethod: src/CodeAnalysisTasks.php#L24
src/CodeAnalysisTasks.php:24:51: DeprecatedMethod: The method Robo\Common\OutputAwareTrait::getOutput has been marked as deprecated (see https://psalm.dev/001)
MissingReturnType: src/CodeAnalysisTasks.php#L41
src/CodeAnalysisTasks.php:41:21: MissingReturnType: Method Edge\QA\CodeAnalysisTasks::ci does not have a return type (see https://psalm.dev/050)
MissingParamType: src/CodeAnalysisTasks.php#L42
src/CodeAnalysisTasks.php:42:9: MissingParamType: Parameter $opts has no provided type (see https://psalm.dev/154)
MissingReturnType: src/CodeAnalysisTasks.php#L65
src/CodeAnalysisTasks.php:65:22: MissingReturnType: Method Edge\QA\CodeAnalysisTasks::normalizeCliOptions does not have a return type, expecting array{report: bool|non-empty-mixed, ...<array-key, mixed>} (see https://psalm.dev/050)
phpqa (7.2, yes)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2, actions/upload-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
phpqa (8.1, yes)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2, actions/upload-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
DeprecatedInterface: RoboFile.php#L5
RoboFile.php:5:7: DeprecatedInterface: Robo\Contract\OutputAwareInterface is marked deprecated (see https://psalm.dev/152)
UnusedClass: RoboFile.php#L5
RoboFile.php:5:7: UnusedClass: Class Edge\QA\RoboFile is never used (see https://psalm.dev/075)
MissingConstructor: src/CodeAnalysisTasks.php#L10
src/CodeAnalysisTasks.php:10:13: MissingConstructor: Edge\QA\RoboFile has an uninitialized property Edge\QA\CodeAnalysisTasks::$tools, but no constructor (see https://psalm.dev/073)
MissingConstructor: src/CodeAnalysisTasks.php#L12
src/CodeAnalysisTasks.php:12:13: MissingConstructor: Edge\QA\RoboFile has an uninitialized property Edge\QA\CodeAnalysisTasks::$options, but no constructor (see https://psalm.dev/073)
MissingReturnType: src/CodeAnalysisTasks.php#L18
src/CodeAnalysisTasks.php:18:21: MissingReturnType: Method Edge\QA\CodeAnalysisTasks::tools does not have a return type, expecting void (see https://psalm.dev/050)
MissingParamType: src/CodeAnalysisTasks.php#L19
src/CodeAnalysisTasks.php:19:9: MissingParamType: Parameter $opts has no provided type (see https://psalm.dev/154)
DeprecatedMethod: src/CodeAnalysisTasks.php#L24
src/CodeAnalysisTasks.php:24:51: DeprecatedMethod: The method Robo\Common\OutputAwareTrait::getOutput has been marked as deprecated (see https://psalm.dev/001)
MissingReturnType: src/CodeAnalysisTasks.php#L41
src/CodeAnalysisTasks.php:41:21: MissingReturnType: Method Edge\QA\CodeAnalysisTasks::ci does not have a return type (see https://psalm.dev/050)
MissingParamType: src/CodeAnalysisTasks.php#L42
src/CodeAnalysisTasks.php:42:9: MissingParamType: Parameter $opts has no provided type (see https://psalm.dev/154)
MissingReturnType: src/CodeAnalysisTasks.php#L65
src/CodeAnalysisTasks.php:65:22: MissingReturnType: Method Edge\QA\CodeAnalysisTasks::normalizeCliOptions does not have a return type, expecting array{report: bool|non-empty-mixed, ...<array-key, mixed>} (see https://psalm.dev/050)

Artifacts

Produced during runtime
Name Size
phpqa-5.4 Expired
947 KB
phpqa-5.5 Expired
1.95 MB
phpqa-5.6 Expired
1.98 MB
phpqa-7 Expired
1.97 MB
phpqa-7.1 Expired
2.6 MB
phpqa-7.2 Expired
2.56 MB
phpqa-7.3 Expired
1.97 MB
phpqa-7.4 Expired
2.58 MB
phpqa-8 Expired
2.58 MB
phpqa-8.1 Expired
2.58 MB
phpqa-8.2 Expired
2.58 MB