Skip to content

Commit c27be2c

Browse files
committed
Update TestCase.php
1 parent b6c68e6 commit c27be2c

4 files changed

Lines changed: 11 additions & 21 deletions

File tree

.github/workflows/phpstan.yml

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,7 @@ jobs:
2222
- name: Install dependencies
2323
env:
2424
XDEBUG_MODE: off
25-
run: |
26-
composer require \
27-
"laravel/framework:12.*" \
28-
"orchestra/testbench:10.*" \
29-
"filament/filament:5.*" \
30-
"livewire/livewire:^4.0" \
31-
"pestphp/pest:^4.0" \
32-
"pestphp/pest-plugin-laravel:^4.0" \
33-
"pestphp/pest-plugin-livewire:^4.0" \
34-
--no-interaction --no-update --no-progress --ansi
35-
composer update --prefer-stable --prefer-dist --no-interaction --no-progress --ansi
25+
run: composer update --prefer-stable --prefer-dist --no-interaction --no-progress --ansi
3626

3727
- name: Run PHPStan
38-
run: ./vendor/bin/phpstan --error-format=github
28+
run: ./vendor/bin/phpstan analyse -c phpstan.neon.dist --error-format=github

composer.json

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,15 @@
2828
},
2929
"require-dev": {
3030
"laravel/pint": "^1.0",
31-
"orchestra/testbench": "^9.0 || ^10.0",
32-
"pestphp/pest": "^3.8 || ^4.0",
33-
"pestphp/pest-plugin-laravel": "^3.1 || ^4.0",
34-
"pestphp/pest-plugin-livewire": "^3.1 || ^4.0"
31+
"larastan/larastan": "^3.0",
32+
"orchestra/testbench": "^10.0",
33+
"pestphp/pest": "^4.0",
34+
"pestphp/pest-plugin-laravel": "^4.0",
35+
"pestphp/pest-plugin-livewire": "^4.0",
36+
"phpstan/phpstan": "^2.1",
37+
"phpstan/extension-installer": "^1.4",
38+
"phpstan/phpstan-deprecation-rules": "^2.0",
39+
"phpstan/phpstan-phpunit": "^2.0"
3540
},
3641
"autoload": {
3742
"psr-4": {

phpstan.neon.dist

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,4 @@ parameters:
66
tmpDir: build/phpstan
77
checkOctaneCompatibility: true
88
checkModelProperties: true
9-
checkMissingIterableValueType: false
109

tests/TestCase.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
namespace CmsMulti\FilamentClearCache\Tests;
44

5-
use BladeUI\Heroicons\BladeHeroiconsServiceProvider;
6-
use BladeUI\Icons\BladeIconsServiceProvider;
75
use CmsMulti\FilamentClearCache\FilamentClearCacheServiceProvider;
86
use CmsMulti\FilamentClearCache\Tests\Models\User;
97
use CmsMulti\FilamentClearCache\Tests\Provider\AdminPanelProvider;
@@ -26,8 +24,6 @@ protected function setUp(): void
2624
protected function getPackageProviders($app)
2725
{
2826
return [
29-
BladeHeroiconsServiceProvider::class,
30-
BladeIconsServiceProvider::class,
3127
FilamentServiceProvider::class,
3228
NotificationsServiceProvider::class,
3329
SupportServiceProvider::class,

0 commit comments

Comments
 (0)