Compare commits
No commits in common. "feat/fix-readme-namespaces" and "dev" have entirely different histories.
feat/fix-r
...
dev
3 changed files with 3 additions and 38 deletions
|
|
@ -41,8 +41,8 @@ php artisan migrate
|
||||||
### Workspace Management
|
### Workspace Management
|
||||||
|
|
||||||
```php
|
```php
|
||||||
use Core\Tenant\Services\WorkspaceManager;
|
use Core\Mod\Tenant\Services\WorkspaceManager;
|
||||||
use Core\Tenant\Services\WorkspaceService;
|
use Core\Mod\Tenant\Services\WorkspaceService;
|
||||||
|
|
||||||
// Get current workspace
|
// Get current workspace
|
||||||
$workspace = app(WorkspaceManager::class)->current();
|
$workspace = app(WorkspaceManager::class)->current();
|
||||||
|
|
@ -57,7 +57,7 @@ $workspace = app(WorkspaceService::class)->create([
|
||||||
### Entitlements
|
### Entitlements
|
||||||
|
|
||||||
```php
|
```php
|
||||||
use Core\Tenant\Services\EntitlementService;
|
use Core\Mod\Tenant\Services\EntitlementService;
|
||||||
|
|
||||||
$entitlements = app(EntitlementService::class);
|
$entitlements = app(EntitlementService::class);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,6 @@
|
||||||
"lthn/php": "*"
|
"lthn/php": "*"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"larastan/larastan": "^3.0",
|
|
||||||
"laravel/pint": "^1.18",
|
"laravel/pint": "^1.18",
|
||||||
"orchestra/testbench": "^9.0|^10.0",
|
"orchestra/testbench": "^9.0|^10.0",
|
||||||
"pestphp/pest": "^3.0"
|
"pestphp/pest": "^3.0"
|
||||||
|
|
@ -36,7 +35,6 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"analyse": "phpstan analyse",
|
|
||||||
"lint": "pint",
|
"lint": "pint",
|
||||||
"test": "pest"
|
"test": "pest"
|
||||||
},
|
},
|
||||||
|
|
|
||||||
33
phpstan.neon
33
phpstan.neon
|
|
@ -1,33 +0,0 @@
|
||||||
includes:
|
|
||||||
- vendor/larastan/larastan/extension.neon
|
|
||||||
|
|
||||||
parameters:
|
|
||||||
level: 5
|
|
||||||
|
|
||||||
paths:
|
|
||||||
- Boot.php
|
|
||||||
- Concerns
|
|
||||||
- Console
|
|
||||||
- Contracts
|
|
||||||
- Controllers
|
|
||||||
- Database
|
|
||||||
- Enums
|
|
||||||
- Events
|
|
||||||
- Exceptions
|
|
||||||
- Features
|
|
||||||
- Jobs
|
|
||||||
- Listeners
|
|
||||||
- Mail
|
|
||||||
- Middleware
|
|
||||||
- Models
|
|
||||||
- Notifications
|
|
||||||
- Routes
|
|
||||||
- Rules
|
|
||||||
- Scopes
|
|
||||||
- Services
|
|
||||||
- View
|
|
||||||
|
|
||||||
excludePaths:
|
|
||||||
- vendor
|
|
||||||
|
|
||||||
checkMissingIterableValueType: false
|
|
||||||
Loading…
Add table
Reference in a new issue