Version Description
Download this release
Release Info
Developer | boldgrid |
Plugin | Total Upkeep – WordPress Backup Plugin plus Restore & Migrate by BoldGrid |
Version | branch.issue-342.202007301524 |
Comparing to | |
See all releases |
Code changes from version branch.issue-342.202007301503 to branch.issue-342.202007301524
admin/class-boldgrid-backup-admin-db-import.php
CHANGED
@@ -148,6 +148,8 @@ class Boldgrid_Backup_Admin_Db_Import {
|
|
148 |
* @return bool
|
149 |
*/
|
150 |
public function import_lines( $lines ) {
|
|
|
|
|
151 |
if ( empty( $lines ) ) {
|
152 |
return false;
|
153 |
}
|
@@ -163,7 +165,7 @@ class Boldgrid_Backup_Admin_Db_Import {
|
|
163 |
'affected_rows_count' => 0,
|
164 |
);
|
165 |
|
166 |
-
foreach ( $lines as $line ) {
|
167 |
// Skip comments and empty lines.
|
168 |
if ( substr( $line, 0, 2 ) === '--' || empty( $line ) ) {
|
169 |
$stats['skip_count']++;
|
@@ -180,6 +182,7 @@ class Boldgrid_Backup_Admin_Db_Import {
|
|
180 |
$stats['affected_rows_count'] += $affected_rows;
|
181 |
|
182 |
if ( false === $affected_rows ) {
|
|
|
183 |
return false;
|
184 |
}
|
185 |
|
148 |
* @return bool
|
149 |
*/
|
150 |
public function import_lines( $lines ) {
|
151 |
+
$this->logger_add( __METHOD__ . ' Method starting...' );
|
152 |
+
|
153 |
if ( empty( $lines ) ) {
|
154 |
return false;
|
155 |
}
|
165 |
'affected_rows_count' => 0,
|
166 |
);
|
167 |
|
168 |
+
foreach ( $lines as $line_count => $line ) {
|
169 |
// Skip comments and empty lines.
|
170 |
if ( substr( $line, 0, 2 ) === '--' || empty( $line ) ) {
|
171 |
$stats['skip_count']++;
|
182 |
$stats['affected_rows_count'] += $affected_rows;
|
183 |
|
184 |
if ( false === $affected_rows ) {
|
185 |
+
$this->logger_add( __METHOD__ . ' failed at line ' . ( $line_count + 1 ) );
|
186 |
return false;
|
187 |
}
|
188 |
|
coverage.xml
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
-
<coverage generated="
|
3 |
-
<project timestamp="
|
4 |
<package name="Boldgrid\Backup\Admin\Card">
|
5 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/card/class-amazon-s3.php">
|
6 |
<class name="Amazon_S3" namespace="Boldgrid\Backup\Admin\Card" fullPackage="Amazon">
|
@@ -4797,7 +4797,7 @@
|
|
4797 |
</file>
|
4798 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-db-import.php">
|
4799 |
<class name="Boldgrid_Backup_Admin_Db_Import" namespace="global" fullPackage="Boldgrid.Backup.Admin.Db">
|
4800 |
-
<metrics complexity="46" methods="14" coveredmethods="12" conditionals="0" coveredconditionals="0" statements="
|
4801 |
</class>
|
4802 |
<line num="45" type="method" name="__construct" visibility="public" complexity="2" crap="2" count="13"/>
|
4803 |
<line num="47" type="stmt" count="13"/>
|
@@ -4836,111 +4836,113 @@
|
|
4836 |
<line num="131" type="stmt" count="0"/>
|
4837 |
<line num="150" type="method" name="import_lines" visibility="public" complexity="7" crap="7" count="3"/>
|
4838 |
<line num="151" type="stmt" count="3"/>
|
4839 |
-
<line num="
|
4840 |
-
<line num="
|
4841 |
<line num="158" type="stmt" count="3"/>
|
4842 |
-
<line num="
|
4843 |
-
<line num="162" type="stmt" count="3"/>
|
4844 |
<line num="163" type="stmt" count="3"/>
|
4845 |
<line num="164" type="stmt" count="3"/>
|
|
|
4846 |
<line num="166" type="stmt" count="3"/>
|
4847 |
<line num="168" type="stmt" count="3"/>
|
4848 |
-
<line num="
|
4849 |
-
<line num="
|
4850 |
-
<line num="
|
4851 |
-
<line num="
|
4852 |
-
<line num="
|
4853 |
<line num="179" type="stmt" count="3"/>
|
4854 |
-
<line num="
|
4855 |
<line num="182" type="stmt" count="3"/>
|
4856 |
-
<line num="
|
4857 |
-
<line num="
|
4858 |
-
<line num="
|
4859 |
-
<line num="
|
4860 |
-
<line num="190" type="stmt" count="
|
4861 |
-
<line num="
|
4862 |
-
<line num="
|
4863 |
-
<line num="
|
4864 |
-
<line num="209" type="
|
4865 |
-
<line num="
|
4866 |
-
<line num="212" type="stmt" count="
|
4867 |
-
<line num="
|
4868 |
-
<line num="
|
4869 |
-
<line num="
|
4870 |
-
<line num="
|
4871 |
-
<line num="
|
4872 |
-
<line num="
|
4873 |
-
<line num="
|
4874 |
-
<line num="
|
4875 |
-
<line num="
|
4876 |
-
<line num="
|
4877 |
<line num="254" type="stmt" count="3"/>
|
4878 |
-
<line num="255" type="stmt" count="3"/>
|
4879 |
<line num="256" type="stmt" count="3"/>
|
4880 |
<line num="257" type="stmt" count="3"/>
|
|
|
4881 |
<line num="259" type="stmt" count="3"/>
|
4882 |
-
<line num="260" type="stmt" count="
|
4883 |
-
<line num="
|
4884 |
-
<line num="
|
4885 |
-
<line num="266" type="stmt" count="
|
4886 |
-
<line num="
|
4887 |
-
<line num="
|
4888 |
<line num="272" type="stmt" count="3"/>
|
4889 |
-
<line num="
|
4890 |
-
<line num="274" type="stmt" count="2"/>
|
4891 |
<line num="275" type="stmt" count="3"/>
|
4892 |
-
<line num="
|
4893 |
-
<line num="
|
4894 |
-
<line num="
|
4895 |
-
<line num="
|
4896 |
-
<line num="
|
4897 |
-
<line num="295" type="
|
4898 |
<line num="296" type="stmt" count="3"/>
|
4899 |
-
<line num="297" type="stmt" count="
|
4900 |
-
<line num="298" type="stmt" count="
|
4901 |
<line num="299" type="stmt" count="3"/>
|
|
|
|
|
4902 |
<line num="302" type="stmt" count="3"/>
|
4903 |
-
<line num="
|
4904 |
-
<line num="
|
4905 |
-
<line num="
|
4906 |
-
<line num="308" type="stmt" count="
|
4907 |
-
<line num="
|
4908 |
-
<line num="
|
4909 |
-
<line num="
|
4910 |
-
<line num="
|
4911 |
-
<line num="
|
4912 |
-
<line num="325" type="stmt" count="1"/>
|
4913 |
<line num="327" type="stmt" count="1"/>
|
4914 |
-
<line num="
|
4915 |
-
<line num="
|
4916 |
-
<line num="342" type="
|
4917 |
<line num="343" type="stmt" count="6"/>
|
4918 |
-
<line num="344" type="stmt" count="6"/>
|
4919 |
<line num="345" type="stmt" count="6"/>
|
4920 |
<line num="346" type="stmt" count="6"/>
|
|
|
4921 |
<line num="348" type="stmt" count="6"/>
|
4922 |
-
<line num="349" type="stmt" count="
|
4923 |
-
<line num="351" type="stmt" count="
|
4924 |
-
<line num="352" type="stmt" count="
|
4925 |
<line num="354" type="stmt" count="1"/>
|
4926 |
<line num="355" type="stmt" count="1"/>
|
4927 |
-
<line num="
|
4928 |
-
<line num="
|
4929 |
-
<line num="
|
4930 |
-
<line num="
|
4931 |
-
<line num="
|
4932 |
-
<line num="
|
4933 |
-
<line num="
|
4934 |
-
<line num="
|
4935 |
-
<line num="400" type="
|
4936 |
<line num="401" type="stmt" count="2"/>
|
4937 |
-
<line num="
|
4938 |
<line num="404" type="stmt" count="2"/>
|
4939 |
<line num="405" type="stmt" count="2"/>
|
4940 |
-
<line num="406" type="stmt" count="2"/>
|
4941 |
<line num="407" type="stmt" count="2"/>
|
|
|
4942 |
<line num="409" type="stmt" count="2"/>
|
4943 |
-
<
|
|
|
|
|
4944 |
</file>
|
4945 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-db-omit.php">
|
4946 |
<class name="Boldgrid_Backup_Admin_Db_Omit" namespace="global" fullPackage="Boldgrid.Backup.Admin.Db">
|
@@ -76717,7 +76719,7 @@
|
|
76717 |
<metrics loc="445" ncloc="281" classes="1" methods="21" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="216" coveredstatements="0" elements="237" coveredelements="0"/>
|
76718 |
</file>
|
76719 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/composer/autoload_static.php">
|
76720 |
-
<class name="
|
76721 |
<metrics complexity="2" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="5" coveredstatements="0" elements="7" coveredelements="0"/>
|
76722 |
</class>
|
76723 |
<line num="91" type="method" name="getInitializer" visibility="public" complexity="1" crap="2" count="0"/>
|
@@ -76809,7 +76811,7 @@
|
|
76809 |
<metrics loc="12" ncloc="10" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="7" coveredstatements="0" elements="7" coveredelements="0"/>
|
76810 |
</file>
|
76811 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/composer/autoload_real.php">
|
76812 |
-
<class name="
|
76813 |
<metrics complexity="13" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="41" coveredstatements="0" elements="43" coveredelements="0"/>
|
76814 |
</class>
|
76815 |
<line num="9" type="method" name="loadClassLoader" visibility="public" complexity="2" crap="6" count="0"/>
|
@@ -96028,6 +96030,6 @@
|
|
96028 |
<line num="16" type="stmt" count="0"/>
|
96029 |
<metrics loc="16" ncloc="9" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="8" coveredstatements="0" elements="8" coveredelements="0"/>
|
96030 |
</file>
|
96031 |
-
<metrics files="961" loc="
|
96032 |
</project>
|
96033 |
</coverage>
|
1 |
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
+
<coverage generated="1596137185">
|
3 |
+
<project timestamp="1596137185">
|
4 |
<package name="Boldgrid\Backup\Admin\Card">
|
5 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/card/class-amazon-s3.php">
|
6 |
<class name="Amazon_S3" namespace="Boldgrid\Backup\Admin\Card" fullPackage="Amazon">
|
4797 |
</file>
|
4798 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-db-import.php">
|
4799 |
<class name="Boldgrid_Backup_Admin_Db_Import" namespace="global" fullPackage="Boldgrid.Backup.Admin.Db">
|
4800 |
+
<metrics complexity="46" methods="14" coveredmethods="12" conditionals="0" coveredconditionals="0" statements="129" coveredstatements="126" elements="143" coveredelements="138"/>
|
4801 |
</class>
|
4802 |
<line num="45" type="method" name="__construct" visibility="public" complexity="2" crap="2" count="13"/>
|
4803 |
<line num="47" type="stmt" count="13"/>
|
4836 |
<line num="131" type="stmt" count="0"/>
|
4837 |
<line num="150" type="method" name="import_lines" visibility="public" complexity="7" crap="7" count="3"/>
|
4838 |
<line num="151" type="stmt" count="3"/>
|
4839 |
+
<line num="153" type="stmt" count="3"/>
|
4840 |
+
<line num="154" type="stmt" count="1"/>
|
4841 |
<line num="158" type="stmt" count="3"/>
|
4842 |
+
<line num="160" type="stmt" count="3"/>
|
|
|
4843 |
<line num="163" type="stmt" count="3"/>
|
4844 |
<line num="164" type="stmt" count="3"/>
|
4845 |
+
<line num="165" type="stmt" count="3"/>
|
4846 |
<line num="166" type="stmt" count="3"/>
|
4847 |
<line num="168" type="stmt" count="3"/>
|
4848 |
+
<line num="170" type="stmt" count="3"/>
|
4849 |
+
<line num="171" type="stmt" count="1"/>
|
4850 |
+
<line num="172" type="stmt" count="1"/>
|
4851 |
+
<line num="175" type="stmt" count="3"/>
|
4852 |
+
<line num="178" type="stmt" count="3"/>
|
4853 |
<line num="179" type="stmt" count="3"/>
|
4854 |
+
<line num="181" type="stmt" count="3"/>
|
4855 |
<line num="182" type="stmt" count="3"/>
|
4856 |
+
<line num="184" type="stmt" count="3"/>
|
4857 |
+
<line num="185" type="stmt" count="1"/>
|
4858 |
+
<line num="186" type="stmt" count="1"/>
|
4859 |
+
<line num="189" type="stmt" count="3"/>
|
4860 |
+
<line num="190" type="stmt" count="3"/>
|
4861 |
+
<line num="191" type="stmt" count="3"/>
|
4862 |
+
<line num="193" type="stmt" count="2"/>
|
4863 |
+
<line num="195" type="stmt" count="2"/>
|
4864 |
+
<line num="209" type="method" name="import_string" visibility="public" complexity="2" crap="2.02" count="1"/>
|
4865 |
+
<line num="210" type="stmt" count="1"/>
|
4866 |
+
<line num="212" type="stmt" count="1"/>
|
4867 |
+
<line num="214" type="stmt" count="1"/>
|
4868 |
+
<line num="215" type="stmt" count="0"/>
|
4869 |
+
<line num="218" type="stmt" count="1"/>
|
4870 |
+
<line num="220" type="stmt" count="1"/>
|
4871 |
+
<line num="236" type="method" name="logger_add" visibility="public" complexity="2" crap="2" count="4"/>
|
4872 |
+
<line num="237" type="stmt" count="4"/>
|
4873 |
+
<line num="238" type="stmt" count="1"/>
|
4874 |
+
<line num="239" type="stmt" count="1"/>
|
4875 |
+
<line num="240" type="stmt" count="4"/>
|
4876 |
+
<line num="252" type="method" name="fix_view_statements" visibility="public" complexity="7" crap="7" count="3"/>
|
4877 |
<line num="254" type="stmt" count="3"/>
|
|
|
4878 |
<line num="256" type="stmt" count="3"/>
|
4879 |
<line num="257" type="stmt" count="3"/>
|
4880 |
+
<line num="258" type="stmt" count="3"/>
|
4881 |
<line num="259" type="stmt" count="3"/>
|
4882 |
+
<line num="260" type="stmt" count="3"/>
|
4883 |
+
<line num="262" type="stmt" count="3"/>
|
4884 |
+
<line num="263" type="stmt" count="1"/>
|
4885 |
+
<line num="266" type="stmt" count="3"/>
|
4886 |
+
<line num="268" type="stmt" count="3"/>
|
4887 |
+
<line num="269" type="stmt" count="1"/>
|
4888 |
<line num="272" type="stmt" count="3"/>
|
4889 |
+
<line num="274" type="stmt" count="3"/>
|
|
|
4890 |
<line num="275" type="stmt" count="3"/>
|
4891 |
+
<line num="276" type="stmt" count="2"/>
|
4892 |
+
<line num="277" type="stmt" count="2"/>
|
4893 |
+
<line num="278" type="stmt" count="3"/>
|
4894 |
+
<line num="280" type="stmt" count="3"/>
|
4895 |
+
<line num="282" type="stmt" count="3"/>
|
4896 |
+
<line num="295" type="method" name="fix_definer" visibility="public" complexity="3" crap="3" count="3"/>
|
4897 |
<line num="296" type="stmt" count="3"/>
|
4898 |
+
<line num="297" type="stmt" count="3"/>
|
4899 |
+
<line num="298" type="stmt" count="3"/>
|
4900 |
<line num="299" type="stmt" count="3"/>
|
4901 |
+
<line num="300" type="stmt" count="1"/>
|
4902 |
+
<line num="301" type="stmt" count="1"/>
|
4903 |
<line num="302" type="stmt" count="3"/>
|
4904 |
+
<line num="305" type="stmt" count="3"/>
|
4905 |
+
<line num="306" type="stmt" count="3"/>
|
4906 |
+
<line num="307" type="stmt" count="3"/>
|
4907 |
+
<line num="308" type="stmt" count="1"/>
|
4908 |
+
<line num="311" type="stmt" count="3"/>
|
4909 |
+
<line num="322" type="method" name="has_db_privileges" visibility="public" complexity="3" crap="3" count="6"/>
|
4910 |
+
<line num="323" type="stmt" count="6"/>
|
4911 |
+
<line num="324" type="stmt" count="6"/>
|
4912 |
+
<line num="325" type="stmt" count="6"/>
|
|
|
4913 |
<line num="327" type="stmt" count="1"/>
|
4914 |
+
<line num="328" type="stmt" count="1"/>
|
4915 |
+
<line num="330" type="stmt" count="1"/>
|
4916 |
+
<line num="342" type="method" name="get_db_privileges" visibility="public" complexity="7" crap="7" count="6"/>
|
4917 |
<line num="343" type="stmt" count="6"/>
|
|
|
4918 |
<line num="345" type="stmt" count="6"/>
|
4919 |
<line num="346" type="stmt" count="6"/>
|
4920 |
+
<line num="347" type="stmt" count="6"/>
|
4921 |
<line num="348" type="stmt" count="6"/>
|
4922 |
+
<line num="349" type="stmt" count="6"/>
|
4923 |
+
<line num="351" type="stmt" count="6"/>
|
4924 |
+
<line num="352" type="stmt" count="5"/>
|
4925 |
<line num="354" type="stmt" count="1"/>
|
4926 |
<line num="355" type="stmt" count="1"/>
|
4927 |
+
<line num="357" type="stmt" count="1"/>
|
4928 |
+
<line num="358" type="stmt" count="1"/>
|
4929 |
+
<line num="370" type="method" name="show_grants_query" visibility="public" complexity="1" crap="1" count="5"/>
|
4930 |
+
<line num="371" type="stmt" count="5"/>
|
4931 |
+
<line num="372" type="stmt" count="5"/>
|
4932 |
+
<line num="373" type="stmt" count="5"/>
|
4933 |
+
<line num="388" type="method" name="exec_import" visibility="public" complexity="1" crap="1" count="2"/>
|
4934 |
+
<line num="389" type="stmt" count="2"/>
|
4935 |
+
<line num="400" type="method" name="get_grants_array" visibility="public" complexity="3" crap="3" count="2"/>
|
4936 |
<line num="401" type="stmt" count="2"/>
|
4937 |
+
<line num="403" type="stmt" count="2"/>
|
4938 |
<line num="404" type="stmt" count="2"/>
|
4939 |
<line num="405" type="stmt" count="2"/>
|
|
|
4940 |
<line num="407" type="stmt" count="2"/>
|
4941 |
+
<line num="408" type="stmt" count="2"/>
|
4942 |
<line num="409" type="stmt" count="2"/>
|
4943 |
+
<line num="410" type="stmt" count="2"/>
|
4944 |
+
<line num="412" type="stmt" count="2"/>
|
4945 |
+
<metrics loc="414" ncloc="229" classes="1" methods="14" coveredmethods="12" conditionals="0" coveredconditionals="0" statements="129" coveredstatements="126" elements="143" coveredelements="138"/>
|
4946 |
</file>
|
4947 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-db-omit.php">
|
4948 |
<class name="Boldgrid_Backup_Admin_Db_Omit" namespace="global" fullPackage="Boldgrid.Backup.Admin.Db">
|
76719 |
<metrics loc="445" ncloc="281" classes="1" methods="21" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="216" coveredstatements="0" elements="237" coveredelements="0"/>
|
76720 |
</file>
|
76721 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/composer/autoload_static.php">
|
76722 |
+
<class name="ComposerStaticInitb7df65d87430aeb765467dd1e62344a3" namespace="Composer\Autoload">
|
76723 |
<metrics complexity="2" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="5" coveredstatements="0" elements="7" coveredelements="0"/>
|
76724 |
</class>
|
76725 |
<line num="91" type="method" name="getInitializer" visibility="public" complexity="1" crap="2" count="0"/>
|
76811 |
<metrics loc="12" ncloc="10" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="7" coveredstatements="0" elements="7" coveredelements="0"/>
|
76812 |
</file>
|
76813 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/composer/autoload_real.php">
|
76814 |
+
<class name="ComposerAutoloaderInitb7df65d87430aeb765467dd1e62344a3" namespace="global">
|
76815 |
<metrics complexity="13" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="41" coveredstatements="0" elements="43" coveredelements="0"/>
|
76816 |
</class>
|
76817 |
<line num="9" type="method" name="loadClassLoader" visibility="public" complexity="2" crap="6" count="0"/>
|
96030 |
<line num="16" type="stmt" count="0"/>
|
96031 |
<metrics loc="16" ncloc="9" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="8" coveredstatements="0" elements="8" coveredelements="0"/>
|
96032 |
</file>
|
96033 |
+
<metrics files="961" loc="192760" ncloc="117581" classes="870" methods="3583" coveredmethods="308" conditionals="0" coveredconditionals="0" statements="86539" coveredstatements="4589" elements="90122" coveredelements="4897"/>
|
96034 |
</project>
|
96035 |
</coverage>
|
vendor/autoload.php
CHANGED
@@ -4,4 +4,4 @@
|
|
4 |
|
5 |
require_once __DIR__ . '/composer/autoload_real.php';
|
6 |
|
7 |
-
return
|
4 |
|
5 |
require_once __DIR__ . '/composer/autoload_real.php';
|
6 |
|
7 |
+
return ComposerAutoloaderInitb7df65d87430aeb765467dd1e62344a3::getLoader();
|
vendor/composer/autoload_real.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
-
class
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
@@ -22,15 +22,15 @@ class ComposerAutoloaderInitf280653fd070855bea88e7624eb6513d
|
|
22 |
return self::$loader;
|
23 |
}
|
24 |
|
25 |
-
spl_autoload_register(array('
|
26 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
27 |
-
spl_autoload_unregister(array('
|
28 |
|
29 |
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
|
30 |
if ($useStaticLoader) {
|
31 |
require_once __DIR__ . '/autoload_static.php';
|
32 |
|
33 |
-
call_user_func(\Composer\Autoload\
|
34 |
} else {
|
35 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
36 |
foreach ($map as $namespace => $path) {
|
@@ -51,19 +51,19 @@ class ComposerAutoloaderInitf280653fd070855bea88e7624eb6513d
|
|
51 |
$loader->register(true);
|
52 |
|
53 |
if ($useStaticLoader) {
|
54 |
-
$includeFiles = Composer\Autoload\
|
55 |
} else {
|
56 |
$includeFiles = require __DIR__ . '/autoload_files.php';
|
57 |
}
|
58 |
foreach ($includeFiles as $fileIdentifier => $file) {
|
59 |
-
|
60 |
}
|
61 |
|
62 |
return $loader;
|
63 |
}
|
64 |
}
|
65 |
|
66 |
-
function
|
67 |
{
|
68 |
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
69 |
require $file;
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
+
class ComposerAutoloaderInitb7df65d87430aeb765467dd1e62344a3
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
22 |
return self::$loader;
|
23 |
}
|
24 |
|
25 |
+
spl_autoload_register(array('ComposerAutoloaderInitb7df65d87430aeb765467dd1e62344a3', 'loadClassLoader'), true, true);
|
26 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
27 |
+
spl_autoload_unregister(array('ComposerAutoloaderInitb7df65d87430aeb765467dd1e62344a3', 'loadClassLoader'));
|
28 |
|
29 |
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
|
30 |
if ($useStaticLoader) {
|
31 |
require_once __DIR__ . '/autoload_static.php';
|
32 |
|
33 |
+
call_user_func(\Composer\Autoload\ComposerStaticInitb7df65d87430aeb765467dd1e62344a3::getInitializer($loader));
|
34 |
} else {
|
35 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
36 |
foreach ($map as $namespace => $path) {
|
51 |
$loader->register(true);
|
52 |
|
53 |
if ($useStaticLoader) {
|
54 |
+
$includeFiles = Composer\Autoload\ComposerStaticInitb7df65d87430aeb765467dd1e62344a3::$files;
|
55 |
} else {
|
56 |
$includeFiles = require __DIR__ . '/autoload_files.php';
|
57 |
}
|
58 |
foreach ($includeFiles as $fileIdentifier => $file) {
|
59 |
+
composerRequireb7df65d87430aeb765467dd1e62344a3($fileIdentifier, $file);
|
60 |
}
|
61 |
|
62 |
return $loader;
|
63 |
}
|
64 |
}
|
65 |
|
66 |
+
function composerRequireb7df65d87430aeb765467dd1e62344a3($fileIdentifier, $file)
|
67 |
{
|
68 |
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
69 |
require $file;
|
vendor/composer/autoload_static.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
|
5 |
namespace Composer\Autoload;
|
6 |
|
7 |
-
class
|
8 |
{
|
9 |
public static $files = array (
|
10 |
'decc78cc4436b1292c6c0d151b19445c' => __DIR__ . '/..' . '/phpseclib/phpseclib/phpseclib/bootstrap.php',
|
@@ -91,9 +91,9 @@ class ComposerStaticInitf280653fd070855bea88e7624eb6513d
|
|
91 |
public static function getInitializer(ClassLoader $loader)
|
92 |
{
|
93 |
return \Closure::bind(function () use ($loader) {
|
94 |
-
$loader->prefixLengthsPsr4 =
|
95 |
-
$loader->prefixDirsPsr4 =
|
96 |
-
$loader->classMap =
|
97 |
|
98 |
}, null, ClassLoader::class);
|
99 |
}
|
4 |
|
5 |
namespace Composer\Autoload;
|
6 |
|
7 |
+
class ComposerStaticInitb7df65d87430aeb765467dd1e62344a3
|
8 |
{
|
9 |
public static $files = array (
|
10 |
'decc78cc4436b1292c6c0d151b19445c' => __DIR__ . '/..' . '/phpseclib/phpseclib/phpseclib/bootstrap.php',
|
91 |
public static function getInitializer(ClassLoader $loader)
|
92 |
{
|
93 |
return \Closure::bind(function () use ($loader) {
|
94 |
+
$loader->prefixLengthsPsr4 = ComposerStaticInitb7df65d87430aeb765467dd1e62344a3::$prefixLengthsPsr4;
|
95 |
+
$loader->prefixDirsPsr4 = ComposerStaticInitb7df65d87430aeb765467dd1e62344a3::$prefixDirsPsr4;
|
96 |
+
$loader->classMap = ComposerStaticInitb7df65d87430aeb765467dd1e62344a3::$classMap;
|
97 |
|
98 |
}, null, ClassLoader::class);
|
99 |
}
|