Skip to content

Relativize paths in anonymous classes in exception render#327

Merged
mvorisek merged 2 commits intodevelopfrom
rel_anony_class
Oct 1, 2021
Merged

Relativize paths in anonymous classes in exception render#327
mvorisek merged 2 commits intodevelopfrom
rel_anony_class

Conversation

@mvorisek
Copy link
Copy Markdown
Member

No description provided.

@mvorisek mvorisek added the RTM label Sep 30, 2021
$parsed['object_formatted'] = TraitUtil::hasTrackableTrait($parsed['object'])
? get_object_vars($parsed['object'])['name']
: get_class($parsed['object']);
: str_replace("\0", ' ', $this->tryRelativizePathsInString(get_class($parsed['object'])));
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

null byte after class@anonymous

Copy link
Copy Markdown
Member

@DarkSide666 DarkSide666 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

probably ok

@mvorisek mvorisek merged commit 2b0e35f into develop Oct 1, 2021
@mvorisek mvorisek deleted the rel_anony_class branch October 1, 2021 12:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

2 participants