File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed
Joomla/Sniffs/NamingConventions Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change 1919 */
2020class Joomla_Sniffs_NamingConventions_ValidFunctionNameSniff extends PEAR_Sniffs_NamingConventions_ValidFunctionNameSniff
2121{
22+ /**
23+ * A list of all PHP magic methods.
24+ *
25+ * @var array
26+ */
27+ protected $ magicMethods = array (
28+ 'construct ' => true ,
29+ 'destruct ' => true ,
30+ 'call ' => true ,
31+ 'callstatic ' => true ,
32+ 'get ' => true ,
33+ 'set ' => true ,
34+ 'isset ' => true ,
35+ 'unset ' => true ,
36+ 'sleep ' => true ,
37+ 'wakeup ' => true ,
38+ 'serialize ' => true ,
39+ 'unserialize ' => true ,
40+ 'tostring ' => true ,
41+ 'invoke ' => true ,
42+ 'set_state ' => true ,
43+ 'clone ' => true ,
44+ 'debuginfo ' => true ,
45+ );
46+
2247 /**
2348 * Processes the tokens within the scope.
2449 *
You can’t perform that action at this time.
0 commit comments