Skip to content

Commit

Permalink
Update phpstan to 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
xHeaven committed Nov 24, 2024
1 parent 08bafc4 commit 6ce942f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,16 @@
},
"require-dev": {
"jetbrains/phpstorm-attributes": "^1.1",
"larastan/larastan": "^2.9",
"larastan/larastan": "^v3.0.0",
"laravel/pint": "^1.15",
"nunomaduro/collision": "^8.1.1",
"orchestra/testbench": "^9.0.0",
"pestphp/pest": "^3.5.0",
"pestphp/pest-plugin-arch": "^v3.0.0",
"pestphp/pest-plugin-laravel": "^v3.0.0",
"phpstan/extension-installer": "^1.3",
"phpstan/phpstan-deprecation-rules": "^1.1",
"phpstan/phpstan-phpunit": "^1.3"
"phpstan/extension-installer": "^1.4.3",
"phpstan/phpstan-deprecation-rules": "^2.0.0",
"phpstan/phpstan-phpunit": "^2.0.1"
},
"autoload": {
"psr-4": {
Expand Down
1 change: 1 addition & 0 deletions phpstan.neon.dist
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ parameters:
tmpDir: build/phpstan
checkOctaneCompatibility: true
checkModelProperties: true
noEnvCallsOutsideOfConfig: false
2 changes: 1 addition & 1 deletion src/Authenticators/Abstracts/AbstractAppAuthenticator.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class AbstractAppAuthenticator

private string $shopDomain;

private ?string $apiVersion;
private string $apiVersion;

public function setShopDomain(string $shopDomain): void
{
Expand Down

0 comments on commit 6ce942f

Please sign in to comment.