File tree Expand file tree Collapse file tree
workbench/database/factories Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : Tests
22
33on :
4- # Run testing on all push and pull requests for the main branch that have committed changes in PHP files
4+ # Run testing on all push and pull requests that have committed changes in PHP files
55 push :
6- branches : [ "main" ]
76 paths :
8- - ' **.php'
7+ - ' **/* .php'
98 pull_request :
10- branches : [ "main" ]
119 paths :
12- - ' **.php'
10+ - ' **/* .php'
1311 # Make it possible to run the workflow manually
1412 workflow_dispatch :
1513
Original file line number Diff line number Diff line change 4040 },
4141 "require" : {
4242 "php" : " ^8.2" ,
43- "bezhansalleh/filament-shield" : " ^3.3 " ,
43+ "bezhansalleh/filament-shield" : " ^4.0 " ,
4444 "datalinx/php-utils" : " ^2.5" ,
45- "filament/filament" : " ^3.3 " ,
46- "filament/spatie-laravel-settings-plugin" : " ^3.3 " ,
45+ "filament/filament" : " ^4.0 " ,
46+ "filament/spatie-laravel-settings-plugin" : " ^4.0 " ,
4747 "laravel/scout" : " ^10.14" ,
4848 "spatie/laravel-package-tools" : " ^1.19"
4949 },
Original file line number Diff line number Diff line change 66
77class Settings extends Cluster
88{
9- protected static ? string $ navigationIcon = 'heroicon-o-cog-6-tooth ' ;
9+ protected static string | \ BackedEnum | null $ navigationIcon = 'heroicon-o-cog-6-tooth ' ;
1010
1111 public static function getNavigationLabel (): string
1212 {
Original file line number Diff line number Diff line change 33namespace Eclipse \Common ;
44
55use Eclipse \Common \Admin \Filament \Clusters \Settings ;
6+ use Eclipse \Common \Foundation \Plugins \Plugin ;
67
7- class CommonPlugin extends Foundation \ Plugins \ Plugin
8+ class CommonPlugin extends Plugin
89{
910 /**
1011 * Cluster that is used for grouping app and plugin settings
Original file line number Diff line number Diff line change 22
33namespace Eclipse \Common \Foundation \Plugins ;
44
5+ use Exception ;
56use Filament \Panel ;
67use Illuminate \Support \Str ;
78use ReflectionClass ;
@@ -36,7 +37,7 @@ public function __construct()
3637 /**
3738 * Register any plugin services.
3839 *
39- * @throws \ Exception
40+ * @throws Exception
4041 */
4142 public function register (Panel $ panel ): void
4243 {
Original file line number Diff line number Diff line change 1010/**
1111 * Global search provider that uses Laravel Scout for resources/models that implement it
1212 */
13- class GlobalSearchProvider implements \Filament \GlobalSearch \Contracts \GlobalSearchProvider
13+ class GlobalSearchProvider implements \Filament \GlobalSearch \Providers \ Contracts \GlobalSearchProvider
1414{
1515 public function getResults (string $ query ): ?GlobalSearchResults
1616 {
Original file line number Diff line number Diff line change 2222 '--all ' => null ,
2323 '--panel ' => 'admin ' ,
2424 '--option ' => 'permissions ' ,
25- '--minimal ' => null ,
2625 ]);
2726 })
2827 ->in (__DIR__ );
Original file line number Diff line number Diff line change 1010/**
1111 * @template TModel of \Workbench\App\Models\User
1212 *
13- * @extends \Illuminate\Database\Eloquent\Factories\ Factory<TModel>
13+ * @extends Factory<TModel>
1414 */
1515class UserFactory extends Factory
1616{
You can’t perform that action at this time.
0 commit comments