Skip to content

Commit f09c618

Browse files
committed
wip
1 parent 0e723e5 commit f09c618

5 files changed

Lines changed: 262 additions & 55 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ docker-compose.override.yml
2727
Homestead.json
2828
Homestead.yaml
2929
npm-debug.log
30+
phpstan.neon
3031
phpunit.xml
3132
yarn-error.log
3233
.DS_Store

app/Providers/AppServiceProvider.php

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
use Illuminate\Database\Eloquent\Builder;
1515
use Illuminate\Database\Eloquent\Model;
1616
use Illuminate\Database\Eloquent\Relations\Relation;
17-
use Illuminate\Foundation\Vite;
1817
use Illuminate\Support\Carbon;
1918
use Illuminate\Support\Facades\Config;
2019
use Illuminate\Support\ServiceProvider;
@@ -52,11 +51,6 @@ public function boot()
5251
});
5352

5453
Filament::serving(function () {
55-
// Filament::registerViteTheme('resources/css/app.css');
56-
// Filament::registerScripts([
57-
// app(Vite::class)('resources/js/app.js'),
58-
// ]);
59-
6054
$this->registerUserMenuItems();
6155
});
6256

@@ -176,13 +170,13 @@ protected function registerUserMenuItems(): void
176170
return;
177171
}
178172

179-
return;
173+
// return;
180174

181175
$items = [
182-
'settings' => UserMenuItem::make()
183-
->url(Settings::getUrl())
184-
->label(__('auth.settings'))
185-
->icon('heroicon-o-cog'),
176+
// 'settings' => UserMenuItem::make()
177+
// ->url(Settings::getUrl())
178+
// ->label(__('auth.settings'))
179+
// ->icon('heroicon-o-cog'),
186180
];
187181

188182
if (auth()->user()->isNurse()) {

composer.json

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,13 @@
3535
"barryvdh/laravel-debugbar": "^3.16",
3636
"barryvdh/laravel-ide-helper": "^3.6",
3737
"fakerphp/faker": "^1.24",
38-
"friendsofphp/php-cs-fixer": "^3.85",
38+
"friendsofphp/php-cs-fixer": "^3.86",
3939
"itsgoingd/clockwork": "^5.3",
40+
"larastan/larastan": "^3.0",
4041
"laravel/sail": "^1.44",
4142
"laravel/telescope": "^5.11",
4243
"mockery/mockery": "^1.6",
43-
"nunomaduro/collision": "^8.1",
44+
"nunomaduro/collision": "^8.5",
4445
"phpunit/phpunit": "^10.5",
4546
"spatie/laravel-ignition": "^2.9"
4647
},
@@ -73,6 +74,12 @@
7374
],
7475
"post-create-project-cmd": [
7576
"@php artisan key:generate --ansi"
77+
],
78+
"analyse": [
79+
"./vendor/bin/phpstan analyse"
80+
],
81+
"test": [
82+
"@php artisan test"
7683
]
7784
},
7885
"extra": {

0 commit comments

Comments
 (0)