Skip to content

Commit

Permalink
CS
Browse files Browse the repository at this point in the history
  • Loading branch information
ravage84 committed Apr 28, 2020
1 parent de474e0 commit 05838b8
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -128,12 +128,15 @@ public function testRuleNotAppliesToMethodWithinNamespaceByDefault()

/**
* Get a configured DevelopmentCodeFragment rule
*
* @return DevelopmentCodeFragment
*/
private function getRule() {
private function getRule()
{
$rule = new DevelopmentCodeFragment();
$rule->addProperty('unwanted-functions', 'var_dump,print_r,debug_zval_dump,debug_print_backtrace');
$rule->addProperty('ignore-namespaces', 'false');

return $rule;
}
}

0 comments on commit 05838b8

Please sign in to comment.