Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Formatting Bug]: Formatter broken php code inside @php @endphp blade tags #834

Closed
bocanegraapps opened this issue Mar 14, 2024 · 1 comment
Assignees
Labels
bug Something isn't working Stale Stale label

Comments

@bocanegraapps
Copy link

bocanegraapps commented Mar 14, 2024

Platform

Windows

Template before formatting

@php
$seguimiento_alumnos_evaluaciones_obligatorias = seguimiento_alumnos_evaluaciones_obligatorias::select(
'seguimiento_alumnos_evaluaciones_obligatorias.id',
'seguimiento_alumnos_evaluaciones_obligatorias_notas.nota',
'seguimiento_alumnos_evaluaciones_obligatorias_notas.id_seguimiento_propietario',
'seguimiento_alumnos_evaluaciones_obligatorias_notas.id_seguimiento')
@endphp

Template after formatting

@php
$seguimiento_alumnos_evaluaciones_obligatorias = seguimiento_alumnos_evaluaciones_obligatorias::select(                                                        'seguimiento_alumnos_evaluaciones_obligatorias.id',
'seguimiento_alumnos_evaluaciones_obligatorias_notas.nota',
'seguimiento_alumnos_evaluaciones_obligatorias_notas.id_seguimiento_propietario',
'seguimiento_alumnos_evaluaciones_obligatorias_notas.id_seguimiento',) <-- formatter add this comma instead before closed pharentesis
@endphp

Expected Behaviour

These occurs that last component update, before this run fine. At the moment, i've use "{{-- blade-formatter-disable --}} and {{-- blade-formatter-enable --}}" for solve @php block.
Please fix it. Thanks.

Relevant log output

No response

@bocanegraapps bocanegraapps added the bug Something isn't working label Mar 14, 2024
Copy link
Contributor

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days

@github-actions github-actions bot added the Stale Stale label label May 14, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale May 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Stale Stale label
Projects
None yet
Development

No branches or pull requests

2 participants