Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,22 @@
"homepage" : "https://github.com/codedor/filament-settings",
"license" : "MIT",
"require" : {
"php": "^8.2|^8.3",
"php": "^8.2",
"filament/filament": "^3.1",
"livewire/livewire": "^3.2",
"spatie/laravel-package-tools": "^1.12",
"illuminate/contracts": "^10.0|^11.0"
"illuminate/contracts": "^10.0|^11.0|^12.0"
},
"require-dev" : {
"laravel/pint": "^1.0",
"nunomaduro/collision": "^7.0|^8.0",
"larastan/larastan": "^2.0",
"orchestra/testbench": "^8.0|^9.0",
"pestphp/pest": "^2.0",
"pestphp/pest-plugin-laravel": "^2.0",
"phpstan/extension-installer": "^1.1",
"phpstan/phpstan-deprecation-rules": "^1.0",
"phpstan/phpstan-phpunit": "^1.0"
"larastan/larastan": "^2.0|^3.0",
"orchestra/testbench": "^8.0|^9.0|^10.0",
"pestphp/pest": "^2.0|^3.0",
"pestphp/pest-plugin-laravel": "^2.0|^3.0",
"phpstan/extension-installer": "^1.1|^2.0",
"phpstan/phpstan-deprecation-rules": "^1.0|^2.0",
"phpstan/phpstan-phpunit": "^1.0|^2.0"
},
"autoload" : {
"psr-4" : {
Expand Down
19 changes: 13 additions & 6 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
parameters:
ignoreErrors:
-
message: "#^Access to an undefined property Codedor\\\\FilamentSettings\\\\Pages\\\\Settings\\:\\:\\$form\\.$#"
count: 2
path: src/Pages/Settings.php

ignoreErrors:
-
message: "#^Access to an undefined property Codedor\\\\FilamentSettings\\\\Pages\\\\Settings\\:\\:\\$form\\.$#"
count: 2
path: src/Pages/Settings.php
-
message: "#^Static property Codedor\\\\FilamentSettings\\\\Widgets\\\\RequiredFieldsWidget\\:\\:\\$view \\(view-string\\) does not accept default value of type string\\.$#"
count: 1
path: src/Widgets/RequiredFieldsWidget.php
-
message: "#^Static call to instance method stdClass\\:\\:title\\(\\)\\.$#"
count: 1
path: src/Repositories/SettingTabRepository.php
2 changes: 0 additions & 2 deletions phpstan.neon.dist
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,3 @@ parameters:
tmpDir: build/phpstan
checkOctaneCompatibility: true
checkModelProperties: true
checkMissingIterableValueType: false

2 changes: 1 addition & 1 deletion tests/Unit/Drivers/DatabaseDriverTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@

for ($i = 0; $i < 5; $i++) {
$data[] = [
'key' => fake()->word,
'key' => fake()->unique()->word,
'value' => fake()->word,
];
}
Expand Down