Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: phpstan level 5 #446

Merged
merged 21 commits into from
Dec 19, 2024
Merged
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
933c8e5
feat: phpstan level 5
SRWieZ Dec 12, 2024
91c5275
fix: $database undefined
SRWieZ Dec 12, 2024
5be8381
fix: Unsafe usage of new static()
SRWieZ Dec 12, 2024
f009309
fix: ignore NativeAppServiceProvider not existing
SRWieZ Dec 12, 2024
cc1cb87
fix: FreshCommand constructor invoked with 1 parameter, 0 required
SRWieZ Dec 12, 2024
03bd832
fix: MenuBuilder facade function duplicates and arguments
SRWieZ Dec 12, 2024
3c7e958
fix: Type void cannot be part of a union type declaration.
SRWieZ Dec 12, 2024
f0a5baf
fix: Php compactor missing imports and return statement
SRWieZ Dec 12, 2024
7ebe7f9
fix: missing SeedDatabaseCommand@handle return statement
SRWieZ Dec 12, 2024
585fb47
Fix: cannot assign a value to a public readonly property outside of t…
SRWieZ Dec 12, 2024
8fb93e9
Fix: PowerMonitor invoked Client::get() with 2 parameters, 1 required
SRWieZ Dec 12, 2024
cac9ea1
fix: alternative for FreshCommand migrator argument
SRWieZ Dec 12, 2024
7aa74f1
Revert "fix: alternative for FreshCommand migrator argument"
SRWieZ Dec 12, 2024
d1a90f4
Revert "fix: FreshCommand constructor invoked with 1 parameter, 0 req…
SRWieZ Dec 12, 2024
6b88d13
fix: trying something
SRWieZ Dec 12, 2024
36ff261
fix: phpstan.yml
SRWieZ Dec 12, 2024
c3c2e63
Revert "fix: trying something"
SRWieZ Dec 12, 2024
2ce6334
fix: trying to lower the minimum laravel 10 dependency
SRWieZ Dec 12, 2024
b9dc748
fix: final fix 🎉
SRWieZ Dec 12, 2024
e69562e
Revert "Fix: cannot assign a value to a public readonly property outs…
SRWieZ Dec 18, 2024
e3aeca8
fix: put back previous fixes and ignore phpstan errors
SRWieZ Dec 18, 2024
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
Prev Previous commit
Next Next commit
fix: MenuBuilder facade function duplicates and arguments
SRWieZ committed Dec 12, 2024
commit 03bd8327f9d62b0cf60e5833f7a33c57d01a70ad
5 changes: 2 additions & 3 deletions src/Facades/Menu.php
Original file line number Diff line number Diff line change
@@ -3,6 +3,7 @@
namespace Native\Laravel\Facades;

use Illuminate\Support\Facades\Facade;
use Native\Laravel\Contracts\MenuItem;
use Native\Laravel\Menu\Items\Checkbox;
use Native\Laravel\Menu\Items\Label;
use Native\Laravel\Menu\Items\Link;
@@ -11,7 +12,7 @@
use Native\Laravel\Menu\Items\Separator;

/**
* @method static \Native\Laravel\Menu\Menu make(\Native\Laravel\Menu\Items\MenuItem ...$items)
* @method static \Native\Laravel\Menu\Menu make(MenuItem ...$items)
* @method static Checkbox checkbox(string $label, bool $checked = false, ?string $hotkey = null)
* @method static Label label(string $label)
* @method static Link link(string $url, string $label = null, ?string $hotkey = null)
@@ -23,7 +24,6 @@
* @method static Role view()
* @method static Role window()
* @method static Role help()
* @method static Role window()
* @method static Role fullscreen()
* @method static Role separator()
* @method static Role devTools()
@@ -37,7 +37,6 @@
* @method static Role minimize()
* @method static Role close()
* @method static Role quit()
* @method static Role help()
* @method static Role hide()
* @method static void create(MenuItem ...$items)
* @method static void default()
Loading