Skip to content

Commit 901ff88

Browse files
kalessilTobion
authored andcommitted
[2.3] Static Code Analysis for Components
1 parent dbce6d6 commit 901ff88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dumper/GraphvizDumper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ private function addOptions($options)
271271
*/
272272
private function dotize($id)
273273
{
274-
return strtolower(preg_replace('/[^\w]/i', '_', $id));
274+
return strtolower(preg_replace('/\W/i', '_', $id));
275275
}
276276

277277
/**

0 commit comments

Comments
 (0)