Add @noinspection PhpVariableVariableInspection tags
authorMatthias Schmidt <gravatronics@live.com>
Sat, 21 May 2016 20:07:17 +0000 (22:07 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Sat, 21 May 2016 20:07:17 +0000 (22:07 +0200)
files/lib/system/exporter/MyBB16xExporter.class.php
files/lib/system/exporter/PhpBB31xExporter.class.php
files/lib/system/exporter/PhpBB3xExporter.class.php
files/lib/system/exporter/WBB3xExporter.class.php

index 239ef3ec49da192594dc4c737a347c0b9d4180fa..cb8d739546c903254f946e8cd256e8b0e769b137 100644 (file)
@@ -1144,6 +1144,7 @@ class MyBB16xExporter extends AbstractExporter {
                $statement = $this->database->prepareStatement($sql, $limit, $offset);
                $statement->execute();
                while ($row = $statement->fetchArray()) {
+                       /** @noinspection PhpVariableVariableInspection */
                        ${$row['type']}[] = $row['id'];
                }
                
index 526b1a08a46c777c34cc883a934f29b54b86d1f1..e00e5b60ea69063e6f1a409d042dc3b089b415f0 100644 (file)
@@ -591,6 +591,7 @@ class PhpBB31xExporter extends AbstractExporter {
                        $statement->execute(['avatar_path', 'avatar_salt', 'avatar_gallery_path']);
                        while ($row = $statement->fetchArray()) {
                                $config_name = $row['config_name'];
+                               /** @noinspection PhpVariableVariableInspection */
                                $$config_name = $row['config_value'];
                        }
                }
@@ -1445,6 +1446,7 @@ class PhpBB31xExporter extends AbstractExporter {
                        $statement = $this->database->prepareStatement($sql);
                        $statement->execute(['upload_path']);
                        while ($row = $statement->fetchArray()) {
+                               /** @noinspection PhpVariableVariableInspection */
                                $$row['config_name'] = $row['config_value'];
                        }
                }
index 0a2f3ffccbf6494ee2c9dd49c51883126c535b5f..1e35dcdc2a12cdca935526cd2a804e0dbf74162d 100644 (file)
@@ -528,6 +528,7 @@ class PhpBB3xExporter extends AbstractExporter {
                        $statement->execute(['avatar_path', 'avatar_salt', 'avatar_gallery_path']);
                        while ($row = $statement->fetchArray()) {
                                $config_name = $row['config_name'];
+                               /** @noinspection PhpVariableVariableInspection */
                                $$config_name = $row['config_value'];
                        }
                }
@@ -1378,6 +1379,7 @@ class PhpBB3xExporter extends AbstractExporter {
                        $statement = $this->database->prepareStatement($sql);
                        $statement->execute(['upload_path']);
                        while ($row = $statement->fetchArray()) {
+                               /** @noinspection PhpVariableVariableInspection */
                                $$row['config_name'] = $row['config_value'];
                        }
                }
index aca820811577e5a1a7a243177248ff4a07e76a49..d597c08af9980aecea1764a794f05acfd6cd41da 100644 (file)
@@ -1624,6 +1624,7 @@ class WBB3xExporter extends AbstractExporter {
                $statement = $this->database->prepareStatement($sql, $limit, $offset);
                $statement->execute();
                while ($row = $statement->fetchArray()) {
+                       /** @noinspection PhpVariableVariableInspection */
                        ${$row['type']}[] = $row; 
                }