Version Description
Download this release
Release Info
Developer | boldgrid |
Plugin | Total Upkeep – WordPress Backup Plugin plus Restore & Migrate by BoldGrid |
Version | branch.issue-435.202012241027 |
Comparing to | |
See all releases |
Code changes from version 1.14.10 to branch.issue-435.202012241027
- admin/class-boldgrid-backup-admin-cli.php +9 -6
- admin/cron/class-crontab.php +2 -0
- cli/{verify-b7ed5b8df3333fb69fbc53b1434d3cc4.php → verify-40ffd4cbdc279dfa880a7510790279fe.php} +0 -0
- coverage.xml +79 -76
- vendor/autoload.php +1 -1
- vendor/composer/autoload_real.php +7 -7
- vendor/composer/autoload_static.php +4 -4
admin/class-boldgrid-backup-admin-cli.php
CHANGED
@@ -109,7 +109,7 @@ class Boldgrid_Backup_Admin_Cli {
|
|
109 |
break 2;
|
110 |
}
|
111 |
|
112 |
-
break
|
113 |
|
114 |
case 'passthru':
|
115 |
// If output buffering is enabled, then use passthru.
|
@@ -127,10 +127,13 @@ class Boldgrid_Backup_Admin_Cli {
|
|
127 |
}
|
128 |
}
|
129 |
|
130 |
-
break
|
131 |
|
132 |
case 'popen':
|
133 |
$handle = popen( $command, 'r' );
|
|
|
|
|
|
|
134 |
|
135 |
$output = fread( $handle, 4096 );
|
136 |
|
@@ -149,7 +152,7 @@ class Boldgrid_Backup_Admin_Cli {
|
|
149 |
}
|
150 |
}
|
151 |
|
152 |
-
break
|
153 |
|
154 |
case 'proc_open':
|
155 |
// Create the descriptor spec array.
|
@@ -195,7 +198,7 @@ class Boldgrid_Backup_Admin_Cli {
|
|
195 |
}
|
196 |
}
|
197 |
|
198 |
-
break
|
199 |
|
200 |
case 'shell_exec':
|
201 |
$output = shell_exec( $command );
|
@@ -206,7 +209,7 @@ class Boldgrid_Backup_Admin_Cli {
|
|
206 |
break 2;
|
207 |
}
|
208 |
|
209 |
-
break
|
210 |
|
211 |
case 'system':
|
212 |
// If output buffering is enabled, then use system.
|
@@ -224,7 +227,7 @@ class Boldgrid_Backup_Admin_Cli {
|
|
224 |
}
|
225 |
}
|
226 |
|
227 |
-
break
|
228 |
|
229 |
default:
|
230 |
break;
|
109 |
break 2;
|
110 |
}
|
111 |
|
112 |
+
break;
|
113 |
|
114 |
case 'passthru':
|
115 |
// If output buffering is enabled, then use passthru.
|
127 |
}
|
128 |
}
|
129 |
|
130 |
+
break;
|
131 |
|
132 |
case 'popen':
|
133 |
$handle = popen( $command, 'r' );
|
134 |
+
if ( false === $handle ) {
|
135 |
+
break;
|
136 |
+
}
|
137 |
|
138 |
$output = fread( $handle, 4096 );
|
139 |
|
152 |
}
|
153 |
}
|
154 |
|
155 |
+
break;
|
156 |
|
157 |
case 'proc_open':
|
158 |
// Create the descriptor spec array.
|
198 |
}
|
199 |
}
|
200 |
|
201 |
+
break;
|
202 |
|
203 |
case 'shell_exec':
|
204 |
$output = shell_exec( $command );
|
209 |
break 2;
|
210 |
}
|
211 |
|
212 |
+
break;
|
213 |
|
214 |
case 'system':
|
215 |
// If output buffering is enabled, then use system.
|
227 |
}
|
228 |
}
|
229 |
|
230 |
+
break;
|
231 |
|
232 |
default:
|
233 |
break;
|
admin/cron/class-crontab.php
CHANGED
@@ -54,6 +54,8 @@ class Crontab {
|
|
54 |
*/
|
55 |
public function find_crons( array $patterns = [] ) {
|
56 |
$all_crons = $this->core->cron->get_all( false );
|
|
|
|
|
57 |
|
58 |
$matched_crons = [];
|
59 |
|
54 |
*/
|
55 |
public function find_crons( array $patterns = [] ) {
|
56 |
$all_crons = $this->core->cron->get_all( false );
|
57 |
+
// Ensure we have an array. Failure to get crons could give us false.
|
58 |
+
$all_crons = empty( $all_crons ) ? array() : $all_crons;
|
59 |
|
60 |
$matched_crons = [];
|
61 |
|
cli/{verify-b7ed5b8df3333fb69fbc53b1434d3cc4.php → verify-40ffd4cbdc279dfa880a7510790279fe.php}
RENAMED
File without changes
|
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">
|
@@ -2388,7 +2388,7 @@
|
|
2388 |
</file>
|
2389 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-cli.php">
|
2390 |
<class name="Boldgrid_Backup_Admin_Cli" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
2391 |
-
<metrics complexity="
|
2392 |
</class>
|
2393 |
<line num="41" type="method" name="get_execution_functions" visibility="public" complexity="5" crap="5.10" count="7"/>
|
2394 |
<line num="43" type="stmt" count="7"/>
|
@@ -2410,17 +2410,17 @@
|
|
2410 |
<line num="70" type="stmt" count="1"/>
|
2411 |
<line num="73" type="stmt" count="1"/>
|
2412 |
<line num="75" type="stmt" count="1"/>
|
2413 |
-
<line num="90" type="method" name="call_command" visibility="public" complexity="
|
2414 |
<line num="91" type="stmt" count="5"/>
|
2415 |
<line num="96" type="stmt" count="5"/>
|
2416 |
<line num="98" type="stmt" count="5"/>
|
2417 |
<line num="100" type="stmt" count="5"/>
|
2418 |
-
<line num="101" type="stmt" count="
|
2419 |
-
<line num="104" type="stmt" count="
|
2420 |
<line num="105" type="stmt" count="0"/>
|
2421 |
<line num="107" type="stmt" count="0"/>
|
2422 |
<line num="109" type="stmt" count="0"/>
|
2423 |
-
<line num="112" type="stmt" count="
|
2424 |
<line num="114" type="stmt" count="5"/>
|
2425 |
<line num="116" type="stmt" count="0"/>
|
2426 |
<line num="117" type="stmt" count="0"/>
|
@@ -2432,61 +2432,63 @@
|
|
2432 |
<line num="130" type="stmt" count="0"/>
|
2433 |
<line num="132" type="stmt" count="5"/>
|
2434 |
<line num="133" type="stmt" count="5"/>
|
2435 |
-
<line num="
|
2436 |
-
<line num="
|
2437 |
-
<line num="
|
|
|
2438 |
<line num="145" type="stmt" count="5"/>
|
2439 |
-
<line num="146" type="stmt" count="5"/>
|
2440 |
<line num="148" type="stmt" count="5"/>
|
2441 |
-
<line num="
|
2442 |
-
<line num="
|
2443 |
-
<line num="
|
2444 |
-
<line num="
|
2445 |
-
<line num="
|
2446 |
-
<line num="
|
2447 |
-
<line num="162" type="stmt" count="
|
2448 |
-
<line num="163" type="stmt" count="
|
2449 |
-
<line num="
|
2450 |
-
<line num="166" type="stmt" count="
|
2451 |
-
<line num="167" type="stmt" count="
|
2452 |
-
<line num="
|
2453 |
-
<line num="
|
2454 |
-
<line num="
|
2455 |
-
<line num="
|
2456 |
-
<line num="
|
2457 |
-
<line num="
|
2458 |
-
<line num="
|
2459 |
-
<line num="
|
2460 |
-
<line num="
|
2461 |
-
<line num="
|
2462 |
-
<line num="
|
2463 |
-
<line num="194" type="stmt" count="
|
2464 |
-
<line num="
|
2465 |
-
<line num="
|
2466 |
-
<line num="
|
2467 |
-
<line num="201" type="stmt" count="
|
2468 |
-
<line num="203" type="stmt" count="
|
2469 |
-
<line num="204" type="stmt" count="
|
2470 |
-
<line num="206" type="stmt" count="
|
2471 |
-
<line num="
|
2472 |
-
<line num="
|
2473 |
-
<line num="
|
2474 |
<line num="214" type="stmt" count="0"/>
|
|
|
2475 |
<line num="217" type="stmt" count="0"/>
|
2476 |
<line num="220" type="stmt" count="0"/>
|
2477 |
-
<line num="221" type="stmt" count="0"/>
|
2478 |
<line num="223" type="stmt" count="0"/>
|
2479 |
-
<line num="
|
2480 |
-
<line num="
|
2481 |
-
<line num="
|
2482 |
<line num="230" type="stmt" count="0"/>
|
2483 |
-
<line num="
|
2484 |
-
<line num="
|
2485 |
-
<line num="
|
2486 |
-
<line num="
|
2487 |
-
<line num="
|
2488 |
-
<line num="240" type="stmt" count="
|
2489 |
-
<
|
|
|
|
|
2490 |
</file>
|
2491 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-compressor.php">
|
2492 |
<class name="Boldgrid_Backup_Admin_Compressor" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
@@ -9287,42 +9289,43 @@
|
|
9287 |
<package name="Boldgrid\Backup\Admin\Cron">
|
9288 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/cron/class-crontab.php">
|
9289 |
<class name="Crontab" namespace="Boldgrid\Backup\Admin\Cron">
|
9290 |
-
<metrics complexity="
|
9291 |
</class>
|
9292 |
<line num="39" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="1"/>
|
9293 |
<line num="40" type="stmt" count="1"/>
|
9294 |
<line num="41" type="stmt" count="1"/>
|
9295 |
-
<line num="55" type="method" name="find_crons" visibility="public" complexity="
|
9296 |
<line num="56" type="stmt" count="0"/>
|
9297 |
<line num="58" type="stmt" count="0"/>
|
9298 |
<line num="60" type="stmt" count="0"/>
|
9299 |
-
<line num="
|
9300 |
<line num="63" type="stmt" count="0"/>
|
9301 |
-
<line num="64" type="stmt" count="0"/>
|
9302 |
<line num="65" type="stmt" count="0"/>
|
9303 |
<line num="66" type="stmt" count="0"/>
|
9304 |
<line num="67" type="stmt" count="0"/>
|
|
|
9305 |
<line num="69" type="stmt" count="0"/>
|
9306 |
-
<line num="70" type="stmt" count="0"/>
|
9307 |
<line num="71" type="stmt" count="0"/>
|
9308 |
<line num="72" type="stmt" count="0"/>
|
|
|
9309 |
<line num="74" type="stmt" count="0"/>
|
9310 |
-
<line num="
|
9311 |
-
<line num="
|
9312 |
<line num="90" type="stmt" count="1"/>
|
9313 |
-
<line num="
|
9314 |
-
<line num="
|
9315 |
-
<line num="
|
9316 |
-
<line num="
|
9317 |
-
<line num="
|
9318 |
-
<line num="
|
9319 |
-
<line num="
|
9320 |
-
<line num="
|
9321 |
-
<line num="
|
9322 |
<line num="117" type="stmt" count="1"/>
|
9323 |
-
<line num="
|
9324 |
<line num="122" type="stmt" count="1"/>
|
9325 |
-
<
|
|
|
9326 |
</file>
|
9327 |
</package>
|
9328 |
<package name="Boldgrid\Backup\Admin\Cron\Entry">
|
@@ -77053,7 +77056,7 @@
|
|
77053 |
<metrics loc="445" ncloc="281" classes="1" methods="21" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="216" coveredstatements="0" elements="237" coveredelements="0"/>
|
77054 |
</file>
|
77055 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/composer/autoload_static.php">
|
77056 |
-
<class name="
|
77057 |
<metrics complexity="2" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="5" coveredstatements="0" elements="7" coveredelements="0"/>
|
77058 |
</class>
|
77059 |
<line num="91" type="method" name="getInitializer" visibility="public" complexity="1" crap="2" count="0"/>
|
@@ -77145,7 +77148,7 @@
|
|
77145 |
<metrics loc="12" ncloc="10" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="7" coveredstatements="0" elements="7" coveredelements="0"/>
|
77146 |
</file>
|
77147 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/composer/autoload_real.php">
|
77148 |
-
<class name="
|
77149 |
<metrics complexity="13" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="41" coveredstatements="0" elements="43" coveredelements="0"/>
|
77150 |
</class>
|
77151 |
<line num="9" type="method" name="loadClassLoader" visibility="public" complexity="2" crap="6" count="0"/>
|
@@ -96390,6 +96393,6 @@
|
|
96390 |
<line num="16" type="stmt" count="0"/>
|
96391 |
<metrics loc="16" ncloc="9" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="8" coveredstatements="0" elements="8" coveredelements="0"/>
|
96392 |
</file>
|
96393 |
-
<metrics files="964" loc="
|
96394 |
</project>
|
96395 |
</coverage>
|
1 |
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
+
<coverage generated="1608824652">
|
3 |
+
<project timestamp="1608824652">
|
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">
|
2388 |
</file>
|
2389 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-cli.php">
|
2390 |
<class name="Boldgrid_Backup_Admin_Cli" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
2391 |
+
<metrics complexity="25" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="96" coveredstatements="66" elements="98" coveredelements="66"/>
|
2392 |
</class>
|
2393 |
<line num="41" type="method" name="get_execution_functions" visibility="public" complexity="5" crap="5.10" count="7"/>
|
2394 |
<line num="43" type="stmt" count="7"/>
|
2410 |
<line num="70" type="stmt" count="1"/>
|
2411 |
<line num="73" type="stmt" count="1"/>
|
2412 |
<line num="75" type="stmt" count="1"/>
|
2413 |
+
<line num="90" type="method" name="call_command" visibility="public" complexity="20" crap="37.25" count="5"/>
|
2414 |
<line num="91" type="stmt" count="5"/>
|
2415 |
<line num="96" type="stmt" count="5"/>
|
2416 |
<line num="98" type="stmt" count="5"/>
|
2417 |
<line num="100" type="stmt" count="5"/>
|
2418 |
+
<line num="101" type="stmt" count="1"/>
|
2419 |
+
<line num="104" type="stmt" count="1"/>
|
2420 |
<line num="105" type="stmt" count="0"/>
|
2421 |
<line num="107" type="stmt" count="0"/>
|
2422 |
<line num="109" type="stmt" count="0"/>
|
2423 |
+
<line num="112" type="stmt" count="1"/>
|
2424 |
<line num="114" type="stmt" count="5"/>
|
2425 |
<line num="116" type="stmt" count="0"/>
|
2426 |
<line num="117" type="stmt" count="0"/>
|
2432 |
<line num="130" type="stmt" count="0"/>
|
2433 |
<line num="132" type="stmt" count="5"/>
|
2434 |
<line num="133" type="stmt" count="5"/>
|
2435 |
+
<line num="134" type="stmt" count="5"/>
|
2436 |
+
<line num="135" type="stmt" count="0"/>
|
2437 |
+
<line num="138" type="stmt" count="5"/>
|
2438 |
+
<line num="143" type="stmt" count="5"/>
|
2439 |
<line num="145" type="stmt" count="5"/>
|
|
|
2440 |
<line num="148" type="stmt" count="5"/>
|
2441 |
+
<line num="149" type="stmt" count="5"/>
|
2442 |
+
<line num="151" type="stmt" count="5"/>
|
2443 |
+
<line num="153" type="stmt" count="1"/>
|
2444 |
+
<line num="155" type="stmt" count="1"/>
|
2445 |
+
<line num="157" type="stmt" count="1"/>
|
2446 |
+
<line num="161" type="stmt" count="1"/>
|
2447 |
+
<line num="162" type="stmt" count="1"/>
|
2448 |
+
<line num="163" type="stmt" count="1"/>
|
2449 |
+
<line num="165" type="stmt" count="1"/>
|
2450 |
+
<line num="166" type="stmt" count="1"/>
|
2451 |
+
<line num="167" type="stmt" count="1"/>
|
2452 |
+
<line num="169" type="stmt" count="1"/>
|
2453 |
+
<line num="170" type="stmt" count="1"/>
|
2454 |
+
<line num="171" type="stmt" count="1"/>
|
2455 |
+
<line num="172" type="stmt" count="1"/>
|
2456 |
+
<line num="175" type="stmt" count="1"/>
|
2457 |
+
<line num="177" type="stmt" count="1"/>
|
2458 |
+
<line num="179" type="stmt" count="1"/>
|
2459 |
+
<line num="182" type="stmt" count="1"/>
|
2460 |
+
<line num="185" type="stmt" count="1"/>
|
2461 |
+
<line num="188" type="stmt" count="1"/>
|
2462 |
+
<line num="191" type="stmt" count="1"/>
|
2463 |
+
<line num="194" type="stmt" count="1"/>
|
2464 |
+
<line num="195" type="stmt" count="0"/>
|
2465 |
+
<line num="197" type="stmt" count="0"/>
|
2466 |
+
<line num="199" type="stmt" count="1"/>
|
2467 |
+
<line num="201" type="stmt" count="1"/>
|
2468 |
+
<line num="203" type="stmt" count="1"/>
|
2469 |
+
<line num="204" type="stmt" count="1"/>
|
2470 |
+
<line num="206" type="stmt" count="1"/>
|
2471 |
+
<line num="207" type="stmt" count="1"/>
|
2472 |
+
<line num="209" type="stmt" count="1"/>
|
2473 |
+
<line num="212" type="stmt" count="0"/>
|
2474 |
<line num="214" type="stmt" count="0"/>
|
2475 |
+
<line num="216" type="stmt" count="0"/>
|
2476 |
<line num="217" type="stmt" count="0"/>
|
2477 |
<line num="220" type="stmt" count="0"/>
|
|
|
2478 |
<line num="223" type="stmt" count="0"/>
|
2479 |
+
<line num="224" type="stmt" count="0"/>
|
2480 |
+
<line num="226" type="stmt" count="0"/>
|
2481 |
+
<line num="228" type="stmt" count="0"/>
|
2482 |
<line num="230" type="stmt" count="0"/>
|
2483 |
+
<line num="232" type="stmt" count="0"/>
|
2484 |
+
<line num="233" type="stmt" count="0"/>
|
2485 |
+
<line num="234" type="stmt" count="0"/>
|
2486 |
+
<line num="235" type="stmt" count="5"/>
|
2487 |
+
<line num="239" type="stmt" count="5"/>
|
2488 |
+
<line num="240" type="stmt" count="4"/>
|
2489 |
+
<line num="241" type="stmt" count="4"/>
|
2490 |
+
<line num="243" type="stmt" count="5"/>
|
2491 |
+
<metrics loc="245" ncloc="143" classes="1" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="96" coveredstatements="66" elements="98" coveredelements="66"/>
|
2492 |
</file>
|
2493 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-compressor.php">
|
2494 |
<class name="Boldgrid_Backup_Admin_Compressor" namespace="global" fullPackage="Boldgrid.Backup.Admin">
|
9289 |
<package name="Boldgrid\Backup\Admin\Cron">
|
9290 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/cron/class-crontab.php">
|
9291 |
<class name="Crontab" namespace="Boldgrid\Backup\Admin\Cron">
|
9292 |
+
<metrics complexity="10" methods="3" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="31" coveredstatements="14" elements="34" coveredelements="15"/>
|
9293 |
</class>
|
9294 |
<line num="39" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="1"/>
|
9295 |
<line num="40" type="stmt" count="1"/>
|
9296 |
<line num="41" type="stmt" count="1"/>
|
9297 |
+
<line num="55" type="method" name="find_crons" visibility="public" complexity="6" crap="42" count="0"/>
|
9298 |
<line num="56" type="stmt" count="0"/>
|
9299 |
<line num="58" type="stmt" count="0"/>
|
9300 |
<line num="60" type="stmt" count="0"/>
|
9301 |
+
<line num="62" type="stmt" count="0"/>
|
9302 |
<line num="63" type="stmt" count="0"/>
|
|
|
9303 |
<line num="65" type="stmt" count="0"/>
|
9304 |
<line num="66" type="stmt" count="0"/>
|
9305 |
<line num="67" type="stmt" count="0"/>
|
9306 |
+
<line num="68" type="stmt" count="0"/>
|
9307 |
<line num="69" type="stmt" count="0"/>
|
|
|
9308 |
<line num="71" type="stmt" count="0"/>
|
9309 |
<line num="72" type="stmt" count="0"/>
|
9310 |
+
<line num="73" type="stmt" count="0"/>
|
9311 |
<line num="74" type="stmt" count="0"/>
|
9312 |
+
<line num="76" type="stmt" count="0"/>
|
9313 |
+
<line num="89" type="method" name="write_crontab" visibility="public" complexity="3" crap="3.03" count="1"/>
|
9314 |
<line num="90" type="stmt" count="1"/>
|
9315 |
+
<line num="92" type="stmt" count="1"/>
|
9316 |
+
<line num="93" type="stmt" count="0"/>
|
9317 |
+
<line num="97" type="stmt" count="1"/>
|
9318 |
+
<line num="100" type="stmt" count="1"/>
|
9319 |
+
<line num="103" type="stmt" count="1"/>
|
9320 |
+
<line num="106" type="stmt" count="1"/>
|
9321 |
+
<line num="109" type="stmt" count="1"/>
|
9322 |
+
<line num="112" type="stmt" count="1"/>
|
9323 |
+
<line num="113" type="stmt" count="0"/>
|
9324 |
<line num="117" type="stmt" count="1"/>
|
9325 |
+
<line num="119" type="stmt" count="1"/>
|
9326 |
<line num="122" type="stmt" count="1"/>
|
9327 |
+
<line num="124" type="stmt" count="1"/>
|
9328 |
+
<metrics loc="126" ncloc="55" classes="1" methods="3" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="31" coveredstatements="14" elements="34" coveredelements="15"/>
|
9329 |
</file>
|
9330 |
</package>
|
9331 |
<package name="Boldgrid\Backup\Admin\Cron\Entry">
|
77056 |
<metrics loc="445" ncloc="281" classes="1" methods="21" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="216" coveredstatements="0" elements="237" coveredelements="0"/>
|
77057 |
</file>
|
77058 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/composer/autoload_static.php">
|
77059 |
+
<class name="ComposerStaticInita95e543c6101ada8304863902cd87b21" namespace="Composer\Autoload">
|
77060 |
<metrics complexity="2" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="5" coveredstatements="0" elements="7" coveredelements="0"/>
|
77061 |
</class>
|
77062 |
<line num="91" type="method" name="getInitializer" visibility="public" complexity="1" crap="2" count="0"/>
|
77148 |
<metrics loc="12" ncloc="10" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="7" coveredstatements="0" elements="7" coveredelements="0"/>
|
77149 |
</file>
|
77150 |
<file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/composer/autoload_real.php">
|
77151 |
+
<class name="ComposerAutoloaderInita95e543c6101ada8304863902cd87b21" namespace="global">
|
77152 |
<metrics complexity="13" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="41" coveredstatements="0" elements="43" coveredelements="0"/>
|
77153 |
</class>
|
77154 |
<line num="9" type="method" name="loadClassLoader" visibility="public" complexity="2" crap="6" count="0"/>
|
96393 |
<line num="16" type="stmt" count="0"/>
|
96394 |
<metrics loc="16" ncloc="9" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="8" coveredstatements="0" elements="8" coveredelements="0"/>
|
96395 |
</file>
|
96396 |
+
<metrics files="964" loc="193728" ncloc="118046" classes="872" methods="3605" coveredmethods="310" conditionals="0" coveredconditionals="0" statements="86865" coveredstatements="4627" elements="90470" coveredelements="4937"/>
|
96397 |
</project>
|
96398 |
</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 ComposerAutoloaderInita95e543c6101ada8304863902cd87b21::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 ComposerAutoloaderInit40fd5fe7480b2ba5202eea3877071f94
|
|
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 ComposerAutoloaderInit40fd5fe7480b2ba5202eea3877071f94
|
|
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 ComposerAutoloaderInita95e543c6101ada8304863902cd87b21
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
22 |
return self::$loader;
|
23 |
}
|
24 |
|
25 |
+
spl_autoload_register(array('ComposerAutoloaderInita95e543c6101ada8304863902cd87b21', 'loadClassLoader'), true, true);
|
26 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
27 |
+
spl_autoload_unregister(array('ComposerAutoloaderInita95e543c6101ada8304863902cd87b21', '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\ComposerStaticInita95e543c6101ada8304863902cd87b21::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\ComposerStaticInita95e543c6101ada8304863902cd87b21::$files;
|
55 |
} else {
|
56 |
$includeFiles = require __DIR__ . '/autoload_files.php';
|
57 |
}
|
58 |
foreach ($includeFiles as $fileIdentifier => $file) {
|
59 |
+
composerRequirea95e543c6101ada8304863902cd87b21($fileIdentifier, $file);
|
60 |
}
|
61 |
|
62 |
return $loader;
|
63 |
}
|
64 |
}
|
65 |
|
66 |
+
function composerRequirea95e543c6101ada8304863902cd87b21($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 ComposerStaticInit40fd5fe7480b2ba5202eea3877071f94
|
|
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 ComposerStaticInita95e543c6101ada8304863902cd87b21
|
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 = ComposerStaticInita95e543c6101ada8304863902cd87b21::$prefixLengthsPsr4;
|
95 |
+
$loader->prefixDirsPsr4 = ComposerStaticInita95e543c6101ada8304863902cd87b21::$prefixDirsPsr4;
|
96 |
+
$loader->classMap = ComposerStaticInita95e543c6101ada8304863902cd87b21::$classMap;
|
97 |
|
98 |
}, null, ClassLoader::class);
|
99 |
}
|