Skip to content

Commit

Permalink
Upgrade larastan and phpstan
Browse files Browse the repository at this point in the history
  • Loading branch information
antonioribeiro committed Aug 16, 2024
1 parent e357e52 commit 4ad896a
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/phpstan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

strategy:
matrix:
php: [8.4, 8.3, 8.2, 8.1]
php: [8.3, 8.2, 8.1]

name: PHP ${{ matrix.php }}

Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@
"aws/aws-sdk-php": "^3.261",
"brianium/paratest": "^7.1",
"nunomaduro/collision": "^7.1",
"nunomaduro/larastan": "^2.5",
"larastan/larastan": "^2.9",
"orchestra/testbench": "^8.0",
"phpstan/phpstan": "^1.9",
"phpstan/phpstan": "^1.11",
"phpstan/phpstan-strict-rules": "^1.5",
"phpunit/phpunit": "^10.0"
},
Expand Down
2 changes: 1 addition & 1 deletion phpstan.neon
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
includes:
- ./vendor/nunomaduro/larastan/extension.neon
- ./vendor/larastan/larastan/extension.neon
- ./vendor/phpstan/phpstan-strict-rules/rules.neon

parameters:
Expand Down
4 changes: 2 additions & 2 deletions src/Contracts/CDNService.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public function maxUrls(): int;

public function invalidationIsCompleted(string $invalidationId): bool;

public function canInvalidateAll(): bool;

public function enabled(): bool;

public function canInvalidateAll(): bool;
}

0 comments on commit 4ad896a

Please sign in to comment.