Update phpstan/phpstan requirement from ^0.12.90 || ^1.0.0 to ^0.12.90 || ^1.0.0 || ^2.0.0 #545
Annotations
9 errors
|
Run static analysis:
src/GraphClientFactory.php#L93
Method Microsoft\Graph\Core\GraphClientFactory::setNationalCloud() should return $this(Microsoft\Graph\Core\GraphClientFactory) but returns Microsoft\Graph\Core\GraphClientFactory.
|
Run static analysis:
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>.
|
Run static analysis:
src/Tasks/LargeFileUploadTask.php#L149
Parameter #1 of callable passed to call_user_func() expects array{int, int}, array{string, int} given.
|
Run static analysis:
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.
|
Run static analysis:
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.
|
Run static analysis:
src/Tasks/PageIterator.php#L154
Parameter #1 $nextLink of method Microsoft\Graph\Core\Models\PageResult::setOdataNextLink() expects string|null, mixed given.
|
Run static analysis:
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>.
|
Run static analysis
Process completed with exit code 1.
|
Loading