Skip to content

Update phpstan/phpstan requirement from ^0.12.90 || ^1.0.0 to ^0.12.90 || ^1.0.0 || ^2.0.0 #545

Update phpstan/phpstan requirement from ^0.12.90 || ^1.0.0 to ^0.12.90 || ^1.0.0 || ^2.0.0

Update phpstan/phpstan requirement from ^0.12.90 || ^1.0.0 to ^0.12.90 || ^1.0.0 || ^2.0.0 #545

Triggered via pull request November 12, 2024 03:18
Status Failure
Total duration 1m 40s
Artifacts

pr-validation.yml

on: pull_request
Matrix: validate-pull-request
code-coverage
1m 9s
code-coverage
check-php-version-matrix
0s
check-php-version-matrix
Fit to window
Zoom out
Zoom in

Annotations

36 errors
validate-pull-request (8.3): src/GraphClientFactory.php#L93
Method Microsoft\Graph\Core\GraphClientFactory::setNationalCloud() should return $this(Microsoft\Graph\Core\GraphClientFactory) but returns Microsoft\Graph\Core\GraphClientFactory.
validate-pull-request (8.3): src/Requests/BaseBatchRequestBuilder.php#L93
Method Microsoft\Graph\Core\Requests\BaseBatchRequestBuilder::postAsync() should return Http\Promise\Promise<Microsoft\Graph\Core\Requests\BatchResponseContent|null> but returns Http\Promise\RejectedPromise<mixed>.
validate-pull-request (8.3): src/Tasks/LargeFileUploadTask.php#L149
Parameter #1 of callable passed to call_user_func() expects array{int, int}, array{string, int} given.
validate-pull-request (8.3): src/Tasks/LargeFileUploadTask.php#L163
Strict comparison using !== between Http\Promise\Promise<Microsoft\Graph\Core\Models\LargeFileUploadSession|null> and null will always evaluate to true.
validate-pull-request (8.3): src/Tasks/PageIterator.php#L35
Property Microsoft\Graph\Core\Tasks\PageIterator::$requestOptions (array<Microsoft\Kiota\Abstractions\RequestOption>|null) is never assigned null so it can be removed from the property type.
validate-pull-request (8.3): src/Tasks/PageIterator.php#L154
Parameter #1 $nextLink of method Microsoft\Graph\Core\Models\PageResult::setOdataNextLink() expects string|null, mixed given.
validate-pull-request (8.3): src/Tasks/PageIterator.php#L171
Method Microsoft\Graph\Core\Tasks\PageIterator::fetchNextPage() should return Http\Promise\Promise<(T of Microsoft\Kiota\Abstractions\Serialization\Parsable)|null> but returns Http\Promise\RejectedPromise<mixed>.
validate-pull-request (8.3)
Process completed with exit code 1.
validate-pull-request (8.1)
The job was canceled because "_8_3" failed.
validate-pull-request (8.1): src/GraphClientFactory.php#L93
Method Microsoft\Graph\Core\GraphClientFactory::setNationalCloud() should return $this(Microsoft\Graph\Core\GraphClientFactory) but returns Microsoft\Graph\Core\GraphClientFactory.
validate-pull-request (8.1): src/Requests/BaseBatchRequestBuilder.php#L93
Method Microsoft\Graph\Core\Requests\BaseBatchRequestBuilder::postAsync() should return Http\Promise\Promise<Microsoft\Graph\Core\Requests\BatchResponseContent|null> but returns Http\Promise\RejectedPromise<mixed>.
validate-pull-request (8.1): src/Tasks/LargeFileUploadTask.php#L149
Parameter #1 of callable passed to call_user_func() expects array{int, int}, array{string, int} given.
validate-pull-request (8.1): src/Tasks/LargeFileUploadTask.php#L163
Strict comparison using !== between Http\Promise\Promise<Microsoft\Graph\Core\Models\LargeFileUploadSession|null> and null will always evaluate to true.
validate-pull-request (8.1): src/Tasks/PageIterator.php#L35
Property Microsoft\Graph\Core\Tasks\PageIterator::$requestOptions (array<Microsoft\Kiota\Abstractions\RequestOption>|null) is never assigned null so it can be removed from the property type.
validate-pull-request (8.1): src/Tasks/PageIterator.php#L154
Parameter #1 $nextLink of method Microsoft\Graph\Core\Models\PageResult::setOdataNextLink() expects string|null, mixed given.
validate-pull-request (8.1): src/Tasks/PageIterator.php#L171
Method Microsoft\Graph\Core\Tasks\PageIterator::fetchNextPage() should return Http\Promise\Promise<(T of Microsoft\Kiota\Abstractions\Serialization\Parsable)|null> but returns Http\Promise\RejectedPromise<mixed>.
validate-pull-request (8.1)
Process completed with exit code 1.
validate-pull-request (8.2)
The job was canceled because "_8_3" failed.
validate-pull-request (8.2): src/GraphClientFactory.php#L93
Method Microsoft\Graph\Core\GraphClientFactory::setNationalCloud() should return $this(Microsoft\Graph\Core\GraphClientFactory) but returns Microsoft\Graph\Core\GraphClientFactory.
validate-pull-request (8.2): src/Requests/BaseBatchRequestBuilder.php#L93
Method Microsoft\Graph\Core\Requests\BaseBatchRequestBuilder::postAsync() should return Http\Promise\Promise<Microsoft\Graph\Core\Requests\BatchResponseContent|null> but returns Http\Promise\RejectedPromise<mixed>.
validate-pull-request (8.2): src/Tasks/LargeFileUploadTask.php#L149
Parameter #1 of callable passed to call_user_func() expects array{int, int}, array{string, int} given.
validate-pull-request (8.2): src/Tasks/LargeFileUploadTask.php#L163
Strict comparison using !== between Http\Promise\Promise<Microsoft\Graph\Core\Models\LargeFileUploadSession|null> and null will always evaluate to true.
validate-pull-request (8.2): src/Tasks/PageIterator.php#L35
Property Microsoft\Graph\Core\Tasks\PageIterator::$requestOptions (array<Microsoft\Kiota\Abstractions\RequestOption>|null) is never assigned null so it can be removed from the property type.
validate-pull-request (8.2): src/Tasks/PageIterator.php#L154
Parameter #1 $nextLink of method Microsoft\Graph\Core\Models\PageResult::setOdataNextLink() expects string|null, mixed given.
validate-pull-request (8.2): src/Tasks/PageIterator.php#L171
Method Microsoft\Graph\Core\Tasks\PageIterator::fetchNextPage() should return Http\Promise\Promise<(T of Microsoft\Kiota\Abstractions\Serialization\Parsable)|null> but returns Http\Promise\RejectedPromise<mixed>.
validate-pull-request (8.2)
Process completed with exit code 1.
validate-pull-request (7.4)
The job was canceled because "_8_3" failed.
validate-pull-request (7.4): src/GraphClientFactory.php#L93
Method Microsoft\Graph\Core\GraphClientFactory::setNationalCloud() should return $this(Microsoft\Graph\Core\GraphClientFactory) but returns Microsoft\Graph\Core\GraphClientFactory.
validate-pull-request (7.4): src/Requests/BaseBatchRequestBuilder.php#L93
Method Microsoft\Graph\Core\Requests\BaseBatchRequestBuilder::postAsync() should return Http\Promise\Promise<Microsoft\Graph\Core\Requests\BatchResponseContent|null> but returns Http\Promise\RejectedPromise<mixed>.
validate-pull-request (7.4): src/Tasks/LargeFileUploadTask.php#L149
Parameter #1 of callable passed to call_user_func() expects array{int, int}, array{string, int} given.
validate-pull-request (7.4): src/Tasks/LargeFileUploadTask.php#L163
Strict comparison using !== between Http\Promise\Promise<Microsoft\Graph\Core\Models\LargeFileUploadSession|null> and null will always evaluate to true.
validate-pull-request (7.4): src/Tasks/PageIterator.php#L35
Property Microsoft\Graph\Core\Tasks\PageIterator::$requestOptions (array<Microsoft\Kiota\Abstractions\RequestOption>|null) is never assigned null so it can be removed from the property type.
validate-pull-request (7.4): src/Tasks/PageIterator.php#L154
Parameter #1 $nextLink of method Microsoft\Graph\Core\Models\PageResult::setOdataNextLink() expects string|null, mixed given.
validate-pull-request (7.4): src/Tasks/PageIterator.php#L171
Method Microsoft\Graph\Core\Tasks\PageIterator::fetchNextPage() should return Http\Promise\Promise<(T of Microsoft\Kiota\Abstractions\Serialization\Parsable)|null> but returns Http\Promise\RejectedPromise<mixed>.
validate-pull-request (7.4)
Process completed with exit code 1.
check-php-version-matrix
Process completed with exit code 1.