Skip to content

Commit

Permalink
Bump PHPStan to level 9
Browse files Browse the repository at this point in the history
  • Loading branch information
Ndiritu committed Jul 3, 2023
1 parent 627af76 commit 46e87e6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
3 changes: 2 additions & 1 deletion phpstan.neon
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
includes:
- ./vendor/phpstan/phpstan/conf/bleedingEdge.neon
parameters:
level: 1
level: 9
polluteScopeWithAlwaysIterableForeach: false
polluteScopeWithLoopInitialAssignments: false
checkGenericClassInNonGenericObjectType: false
paths:
- src
1 change: 0 additions & 1 deletion src/BatchRequestBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
* Class BatchRequestBuilder
*
* Send requests to Graph's /$batch endpoint
*
* @package Microsoft\Graph
* @copyright 2023 Microsoft Corporation
* @license https://opensource.org/licenses/MIT MIT License
Expand Down
2 changes: 1 addition & 1 deletion src/GraphServiceClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class GraphServiceClient extends BaseGraphClient
{
/**
* @param TokenRequestContext $tokenRequestContext
* @param array $scopes Defaults to "https://[graph national cloud host]/.default" scope
* @param array<string> $scopes Defaults to "https://[graph national cloud host]/.default" scope
* @param string $nationalCloud Defaults to https://graph.microsoft.com. See
* https://learn.microsoft.com/en-us/graph/deployments
* @param RequestAdapter|null $requestAdapter. Use createWithRequestAdapter() to set the request adapter.
Expand Down

0 comments on commit 46e87e6

Please sign in to comment.