Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / vendor / nikic / php-parser / test / code / parser / stmt / class / staticMethod.test
index 225596acb21ba848dc80333b5638fe53cfa2373b..0540930e4f753f401ac06d2aa352f5370a389e9f 100644 (file)
@@ -6,7 +6,9 @@ Constructor __construct() cannot be static from 1:17 to 1:22
 array(
     0: Stmt_Class(
         flags: 0
-        name: A
+        name: Identifier(
+            name: A
+        )
         extends: null
         implements: array(
         )
@@ -14,7 +16,9 @@ array(
             0: Stmt_ClassMethod(
                 flags: MODIFIER_STATIC (8)
                 byRef: false
-                name: __construct
+                name: Identifier(
+                    name: __construct
+                )
                 params: array(
                 )
                 returnType: null
@@ -31,7 +35,9 @@ Destructor __destruct() cannot be static from 1:17 to 1:22
 array(
     0: Stmt_Class(
         flags: 0
-        name: A
+        name: Identifier(
+            name: A
+        )
         extends: null
         implements: array(
         )
@@ -39,7 +45,9 @@ array(
             0: Stmt_ClassMethod(
                 flags: MODIFIER_STATIC (8)
                 byRef: false
-                name: __destruct
+                name: Identifier(
+                    name: __destruct
+                )
                 params: array(
                 )
                 returnType: null
@@ -56,7 +64,9 @@ Clone method __clone() cannot be static from 1:17 to 1:22
 array(
     0: Stmt_Class(
         flags: 0
-        name: A
+        name: Identifier(
+            name: A
+        )
         extends: null
         implements: array(
         )
@@ -64,7 +74,9 @@ array(
             0: Stmt_ClassMethod(
                 flags: MODIFIER_STATIC (8)
                 byRef: false
-                name: __clone
+                name: Identifier(
+                    name: __clone
+                )
                 params: array(
                 )
                 returnType: null
@@ -81,7 +93,9 @@ Constructor __CONSTRUCT() cannot be static from 1:17 to 1:22
 array(
     0: Stmt_Class(
         flags: 0
-        name: A
+        name: Identifier(
+            name: A
+        )
         extends: null
         implements: array(
         )
@@ -89,7 +103,9 @@ array(
             0: Stmt_ClassMethod(
                 flags: MODIFIER_STATIC (8)
                 byRef: false
-                name: __CONSTRUCT
+                name: Identifier(
+                    name: __CONSTRUCT
+                )
                 params: array(
                 )
                 returnType: null
@@ -106,7 +122,9 @@ Destructor __Destruct() cannot be static from 1:17 to 1:22
 array(
     0: Stmt_Class(
         flags: 0
-        name: A
+        name: Identifier(
+            name: A
+        )
         extends: null
         implements: array(
         )
@@ -114,7 +132,9 @@ array(
             0: Stmt_ClassMethod(
                 flags: MODIFIER_STATIC (8)
                 byRef: false
-                name: __Destruct
+                name: Identifier(
+                    name: __Destruct
+                )
                 params: array(
                 )
                 returnType: null
@@ -131,7 +151,9 @@ Clone method __cLoNe() cannot be static from 1:17 to 1:22
 array(
     0: Stmt_Class(
         flags: 0
-        name: A
+        name: Identifier(
+            name: A
+        )
         extends: null
         implements: array(
         )
@@ -139,7 +161,9 @@ array(
             0: Stmt_ClassMethod(
                 flags: MODIFIER_STATIC (8)
                 byRef: false
-                name: __cLoNe
+                name: Identifier(
+                    name: __cLoNe
+                )
                 params: array(
                 )
                 returnType: null