Skip to content
This repository has been archived by the owner on Sep 24, 2020. It is now read-only.

Commit

Permalink
Add dd and dump to DebugCode analyzer
Browse files Browse the repository at this point in the history
  • Loading branch information
ddmler committed Dec 7, 2017
1 parent ba9f5a2 commit 69939ed
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Analyzer/Pass/Expression/FunctionCall/DebugCode.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ class DebugCode extends AbstractFunctionCallAnalyzer
protected $map = [
'var_dump' => 'var_dump',
'var_export' => 'var_export',
'debug_zval_dump' => 'debug_zval_dump'
'debug_zval_dump' => 'debug_zval_dump',
'dd' => 'dd', // Laravel debug function
'dump' => 'dump' // Symfony debug function
];

/** @var DocBlockFactory */
Expand Down

0 comments on commit 69939ed

Please sign in to comment.