Skip to content
This repository was archived by the owner on Nov 5, 2022. It is now read-only.

Commit fcdcb44

Browse files
committed
Removed old CI3 functions
1 parent 46b4c21 commit fcdcb44

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

CodeIgniter4/Sniffs/PHP/DiscouragedFunctionsSniff.php

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,12 @@ class DiscouragedFunctionsSniff extends ForbiddenFunctionsSniff
3333
* @var array(string => string|null)
3434
*/
3535
public $forbiddenFunctions = array(
36-
'error_log' => null,
37-
'print_r' => null,
38-
'var_dump' => null,
39-
'last_query' => null,
40-
'enable_profiler' => null,
36+
'print_r' => null,
37+
'var_dump' => null,
4138
);
4239

4340
/**
44-
* Set rrror to false to show warnings.
41+
* Set error to false to show warnings.
4542
*
4643
* @var boolean
4744
*/

0 commit comments

Comments
 (0)