-
Notifications
You must be signed in to change notification settings - Fork 105
Open
Description
Laravel Package Version
1.0.9
Laravel Version
12.24.0
PHP Version
8.4.10
System Info
macOS 15.6
Description
When I add a guideline file to .ai/guidelines/*
containing a Blade example with @if
, for example:
- Indent with 4 spaces
- No spaces after control structures:
```blade
@if($condition)
Something
@endif
```
and then run:
php artisan boost:install
I get the following error:
Illuminate\View\ViewException
Undefined variable $condition
Expected behavior:
The Blade snippet inside the guideline should be treated as a code example and not executed/evaluated by Laravel.
Steps To Reproduce
- Create
.ai/guidelines/example.blade.php
with the above Blade snippet. - Run
php artisan boost:install
. - Observe the error.
Metadata
Metadata
Assignees
Labels
No labels