haidubogdan / netbeans-php-blade-plugin

Netbeans 18+ module plugin for php blade template files
Apache License 2.0
26 stars 4 forks source link

`@hasSection`/`@sectionMissing` uses `@else`, and `@endif` as closing #19

Closed parallels999 closed 2 years ago

parallels999 commented 2 years ago

@hasSection and sectionMissing uses @endif as closing, also they can use @else

https://laravel.com/docs/9.x/blade#section-directives

I get Blade Sintax Error Unexpected @endif After T_BLADE_CLOSE_ECHO

Example:

@hasSection('navigation')

@endif

@sectionMissing('navigation')

@endif

image

haidubogdan commented 2 years ago

Sorry for the bug. I've pushed a fix in the a new release https://github.com/haidubogdan/netbeans-php-blade-plugin/releases/tag/nb-122-126-18082022

parallels999 commented 2 years ago

Thanks