Skip to content

Commit

Permalink
Register Ctype functions (#3008)
Browse files Browse the repository at this point in the history
  • Loading branch information
bkosun committed Oct 23, 2022
1 parent 0f1af3c commit b4c0637
Showing 1 changed file with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,17 @@ final class NullToStrictStringFuncCallArgRector extends AbstractRector implement
'socket_send' => ['data'],
'mail' => ['to', 'subject', 'message'],
'mb_send_mail' => ['to', 'subject', 'message'],
'ctype_alnum' => ['text'],
'ctype_alpha' => ['text'],
'ctype_cntrl' => ['text'],
'ctype_digit' => ['text'],
'ctype_graph' => ['text'],
'ctype_lower' => ['text'],
'ctype_print' => ['text'],
'ctype_punct' => ['text'],
'ctype_space' => ['text'],
'ctype_upper' => ['text'],
'ctype_xdigit' => ['text'],
];

public function __construct(
Expand Down

0 comments on commit b4c0637

Please sign in to comment.