Skip to content
This repository has been archived by the owner on Jan 9, 2024. It is now read-only.

Fix the use of parenthesis #2

Merged
merged 1 commit into from
Jul 19, 2018
Merged

Conversation

bmichotte
Copy link
Contributor

Hi there,

if you use parenthesis on the second argument of a section like

@section('title', trans('main.title'))

then the regex change the template file as the following

<?php $__env->startSection; ?>('title', trans('main.title')<!--XRAY START 1 index@section:title, trans(main.title /Volumes/sd128/code/test-xray/resources/views/index.blade.php-->)

which results to an ErrorException

This PR fixes this issue, a test has been added

@mpociot mpociot merged commit a4b85f4 into beyondcode:master Jul 19, 2018
@mpociot
Copy link
Member

mpociot commented Jul 19, 2018

Thank you!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants