Skip to content

[todo] fix multiple tasks with GitHub links not persisting #74

[todo] fix multiple tasks with GitHub links not persisting

[todo] fix multiple tasks with GitHub links not persisting #74

Triggered via pull request March 29, 2024 16:00
Status Failure
Total duration 34s
Artifacts

sa.yaml

on: pull_request
Validate composer.json
11s
Validate composer.json
Lint PHP Source
14s
Lint PHP Source
PHPStan Analysis
23s
PHPStan Analysis
Rector PHP Source
25s
Rector PHP Source
Lint Twig Source
10s
Lint Twig Source
Fit to window
Zoom out
Zoom in

Annotations

11 errors
PHPStan Analysis: src/Controller/TodoListController.php#L118
Method App\Service\TaskService::getGitHubDataFromUrl() invoked with 1 parameter, 3 required.
PHPStan Analysis: src/Controller/TodoListController.php#L124
Instanceof between array<int, App\Model\GitHubIssue|App\Model\GitHubPullRequest> and App\Model\GitHubIssue will always evaluate to false.
PHPStan Analysis: src/Controller/TodoListController.php#L124
Instanceof between array<int, App\Model\GitHubIssue|App\Model\GitHubPullRequest> and App\Model\GitHubPullRequest will always evaluate to false.
PHPStan Analysis: src/Controller/TodoListController.php#L124
Result of || is always false.
PHPStan Analysis: src/Factory/Model/GitHubPullRequestFactory.php#L61
Method App\Factory\Model\GitHubPullRequestFactory::fromUrlData() has parameter $urlData with generic class Zenstruck\Foundry\Proxy but does not specify its types: TProxiedObject
PHPStan Analysis: src/Factory/Model/GitHubPullRequestFactory.php#L64
Access to an undefined property App\Model\GitHubUrlData|Zenstruck\Foundry\Proxy::$owner.
PHPStan Analysis: src/Factory/Model/GitHubPullRequestFactory.php#L65
Access to an undefined property App\Model\GitHubUrlData|Zenstruck\Foundry\Proxy::$repository.
PHPStan Analysis: src/Factory/Model/GitHubPullRequestFactory.php#L66
Access to an undefined property App\Model\GitHubUrlData|Zenstruck\Foundry\Proxy::$identifier.
PHPStan Analysis: src/Factory/Model/GitHubPullRequestFactory.php#L67
Access to an undefined property App\Model\GitHubUrlData|Zenstruck\Foundry\Proxy::$uri.
PHPStan Analysis: src/Factory/Model/GitHubUrlDataFactory.php#L56
Else branch is unreachable because ternary operator condition is always true.
Rector PHP Source
Process completed with exit code 2.