Commit 0679d8ca by Carsten Brandt

added missing php reserved keywords to gii generator

parent 3d8b147f
...@@ -211,6 +211,7 @@ abstract class Generator extends Model ...@@ -211,6 +211,7 @@ abstract class Generator extends Model
'__line__', '__line__',
'__method__', '__method__',
'__namespace__', '__namespace__',
'__trait__',
'abstract', 'abstract',
'and', 'and',
'array', 'array',
...@@ -218,6 +219,7 @@ abstract class Generator extends Model ...@@ -218,6 +219,7 @@ abstract class Generator extends Model
'break', 'break',
'case', 'case',
'catch', 'catch',
'callable',
'cfunction', 'cfunction',
'class', 'class',
'clone', 'clone',
...@@ -242,7 +244,7 @@ abstract class Generator extends Model ...@@ -242,7 +244,7 @@ abstract class Generator extends Model
'exit', 'exit',
'extends', 'extends',
'final', 'final',
'final', 'finally',
'for', 'for',
'foreach', 'foreach',
'function', 'function',
...@@ -253,6 +255,7 @@ abstract class Generator extends Model ...@@ -253,6 +255,7 @@ abstract class Generator extends Model
'include', 'include',
'include_once', 'include_once',
'instanceof', 'instanceof',
'insteadof',
'interface', 'interface',
'isset', 'isset',
'list', 'list',
...@@ -273,6 +276,7 @@ abstract class Generator extends Model ...@@ -273,6 +276,7 @@ abstract class Generator extends Model
'switch', 'switch',
'this', 'this',
'throw', 'throw',
'trait',
'try', 'try',
'unset', 'unset',
'use', 'use',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment