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: $database undefined
SRWieZ committed Dec 12, 2024
commit 91c527519743e50441ebaab1894436cad6bd3115
2 changes: 1 addition & 1 deletion src/NativeServiceProvider.php
Original file line number Diff line number Diff line change
@@ -163,7 +163,7 @@ public function removeDatabase()

@unlink($databasePath);
@unlink($databasePath.'-shm');
@unlink($database.'-wal');
@unlink($databasePath.'-wal');
}

protected function configureDisks(): void

Unchanged files with check annotations Beta

use Illuminate\Http\Client\Request;
use Illuminate\Support\Facades\Http;
use Mockery;

Check warning on line 5 in tests/ChildProcess/ChildProcessTest.php

GitHub Actions / P8.3 - L11.* - prefer-lowest - ubuntu-latest

The use statement with non-compound name 'Mockery' has no effect

Check warning on line 5 in tests/ChildProcess/ChildProcessTest.php

GitHub Actions / P8.3 - L11.* - prefer-stable - ubuntu-latest

The use statement with non-compound name 'Mockery' has no effect

Check warning on line 5 in tests/ChildProcess/ChildProcessTest.php

GitHub Actions / P8.3 - L10.* - prefer-stable - ubuntu-latest

The use statement with non-compound name 'Mockery' has no effect

Check warning on line 5 in tests/ChildProcess/ChildProcessTest.php

GitHub Actions / P8.2 - L11.* - prefer-lowest - ubuntu-latest

The use statement with non-compound name 'Mockery' has no effect

Check warning on line 5 in tests/ChildProcess/ChildProcessTest.php

GitHub Actions / P8.2 - L11.* - prefer-stable - ubuntu-latest

The use statement with non-compound name 'Mockery' has no effect

Check warning on line 5 in tests/ChildProcess/ChildProcessTest.php

GitHub Actions / P8.2 - L10.* - prefer-stable - ubuntu-latest

The use statement with non-compound name 'Mockery' has no effect
use Native\Laravel\ChildProcess as ChildProcessImplement;
use Native\Laravel\Client\Client;
use Native\Laravel\Facades\ChildProcess;