core.blade.php 830 B

123456789101112
  1. @php
  2. /** @var \Laravel\Boost\Install\GuidelineAssist $assist */
  3. @endphp
  4. # Laravel Pint Code Formatter
  5. @if($assist->supportsPintAgentFormatter())
  6. - If you have modified any PHP files, you must run `{{ $assist->binCommand('pint') }} --dirty --format agent` before finalizing changes to ensure your code matches the project's expected style.
  7. - Do not run `{{ $assist->binCommand('pint') }} --test --format agent`, simply run `{{ $assist->binCommand('pint') }} --format agent` to fix any formatting issues.
  8. @else
  9. - If you have modified any PHP files, you must run `{{ $assist->binCommand('pint') }} --dirty` before finalizing changes to ensure your code matches the project's expected style.
  10. - Do not run `{{ $assist->binCommand('pint') }} --test`, simply run `{{ $assist->binCommand('pint') }}` to fix any formatting issues.
  11. @endif