[todo] fix multiple tasks with GitHub links not persisting #74
sa.yaml
on: pull_request
Validate composer.json
11s
Lint PHP Source
14s
PHPStan Analysis
23s
Rector PHP Source
25s
Lint Twig Source
10s
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.
|