singleloginsystem/tests/ArchTest.php
= 07d1b235cc Feat: add user access management components
- Added `RestrictedUserPermission` migration and model for managing user-role-permission restrictions.
- Introduced `UserService`, `RoleService`, and related DTOs for handling user access, role assignments, and permission restrictions.
- Created new Livewire components and Blade views for user management, including role/permission assignment modals.
- Updated navigation and routing to include the "Users" section under "Access Manager."
- Enhanced `RoleService` with methods for retrieving permissions and managing role-user interactions.
- Improved UI with permission toggles and streamlined selection features for better user-role management.
2026-05-20 13:07:28 +00:00

17 lines
487 B
PHP

<?php
arch('it does not use debug functions')
->expect(['ds', 'dsd', 'dsq', 'dd', 'ddd', 'dump', 'ray', 'die', 'var_dump', 'sleep', 'exit'])
->not->toBeUsed();
arch('application uses strict types')
->expect('App')
->toUseStrictTypes();
arch('controllers have exact suffix')
->expect('App\Http\Controllers')
->toHaveSuffix('Controller');
arch('models do not use http helpers')
->expect(['request', 'session', 'cookie'])
->not->toBeUsedIn('App\Models');