Skip to content

[9.x] Improves dd source on compiled views - #44347

Merged
taylorotwell merged 6 commits into
9.xfrom
feat/improve-dd-source-on-compiled-views
Sep 28, 2022
Merged

[9.x] Improves dd source on compiled views#44347
taylorotwell merged 6 commits into
9.xfrom
feat/improve-dd-source-on-compiled-views

Conversation

@nunomaduro

@nunomaduro nunomaduro commented Sep 28, 2022

Copy link
Copy Markdown
Member

This pull request is inspired by #44334, and co-authored by baselrabia, and it improves displaying the dd source on compiled views.

// resources/views/welcome.blade.php on line 23...
@php dd('hey'); @endphp

// Before
"hey" // storage/framework/views/6687c33c38b71a8560bb0c404ec753054fa3a941.php:23

// After
"hey" // resources/views/welcome.blade.php

Fixes #44334

nunomaduro and others added 2 commits September 28, 2022 15:35
@nunomaduro
nunomaduro force-pushed the feat/improve-dd-source-on-compiled-views branch from 6ac1590 to 79f3e54 Compare September 28, 2022 14:35
@sebdesign

Copy link
Copy Markdown
Contributor

Does this work with the @dd directive as well?

@nunomaduro

Copy link
Copy Markdown
Member Author

@sebdesign Yes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants