Skip to content

Comments

Fix audit to respect custom Laravel paths and add Route facade import#19

Open
ontob wants to merge 1 commit intodgtlss:mainfrom
ontob:fix/laravel-paths-namespaces
Open

Fix audit to respect custom Laravel paths and add Route facade import#19
ontob wants to merge 1 commit intodgtlss:mainfrom
ontob:fix/laravel-paths-namespaces

Conversation

@ontob
Copy link

@ontob ontob commented Feb 21, 2026

  • Add proper Route facade import in DebugModeAuditService (aliases may not be set from Laravel 11 up)
  • Update PHPStan bootstrap stubs for new method calls
  • Fixes Wrong environment path #17, Use app()->environmentPath() and app()->environmentFile() instead of hardcoded base_path('.env') in EnvAuditService
  • Fixes Wrong storage path #16, Use storage_path() instead of base_path('storage/...') in StorageAuditService

- Add proper Route facade import in DebugModeAuditService (aliases may not be set from Laravel 11 up)
- Update PHPStan bootstrap stubs for new method calls
- Fixes dgtlss#17, Use app()->environmentPath() and app()->environmentFile() instead of hardcoded base_path('.env') in EnvAuditService
- Fixes dgtlss#16, Use storage_path() instead of base_path('storage/...') in StorageAuditService
@greptile-apps
Copy link
Contributor

greptile-apps bot commented Feb 21, 2026

PR author is not in the allowed authors list.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Wrong environment path Wrong storage path

1 participant