Skip to content

ErrorException: var_export does not handle circular references #4

@tassoneroberto

Description

@tassoneroberto

I get the following error when including a folder in include_paths containing classes with circular dependencies:

   ┐
   ├ ErrorException: var_export does not handle circular references
   │
   ╵ /var/www/vendor/kenjis/monkey-patch/src/Patcher/MethodPatcher/PatchManager.php:83
   ╵ /var/www/vendor/kenjis/monkey-patch/src/Patcher/MethodPatcher/PatchManager.php:91

I believe the var_export function could be replaced with a var_dump to fix the issue.

$output .= var_export($arg, true) . ', ';

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions