Total Upkeep – WordPress Backup Plugin plus Restore & Migrate by BoldGrid - Version 1.12.3

Version Description

Release date: December 19th, 2019

  • Bug fix: Only show plugin rename notice to active users.
  • Update: Updating link to admin page for entering BoldGrid Connect Key.
Download this release

Release Info

Developer boldgrid
Plugin Icon 128x128 Total Upkeep – WordPress Backup Plugin plus Restore & Migrate by BoldGrid
Version 1.12.3
Comparing to
See all releases

Code changes from version 1.12.2 to 1.12.3

Files changed (31) hide show
  1. admin/class-boldgrid-backup-admin-core.php +1 -1
  2. admin/class-boldgrid-backup-admin-go-pro.php +1 -1
  3. admin/class-boldgrid-backup-admin-jobs.php +1 -1
  4. admin/class-boldgrid-backup-admin-notice.php +12 -0
  5. admin/class-boldgrid-backup-admin-usage.php +130 -0
  6. admin/js/boldgrid-backup-admin-backup-now.js +8 -2
  7. boldgrid-backup.php +1 -1
  8. coverage.xml +631 -299
  9. includes/class-boldgrid-backup.php +8 -0
  10. readme.txt +8 -1
  11. vendor/autoload.php +1 -1
  12. vendor/boldgrid/library/README.md +15 -0
  13. vendor/boldgrid/library/package.json +3 -3
  14. vendor/boldgrid/library/src/Library/Key.php +37 -1
  15. vendor/boldgrid/library/src/Library/License.php +1 -1
  16. vendor/boldgrid/library/src/Library/Notice/KeyPrompt.php +25 -0
  17. vendor/boldgrid/library/src/Library/Plugin/Plugin.php +63 -0
  18. vendor/boldgrid/library/src/Library/Settings.php +97 -0
  19. vendor/boldgrid/library/src/Library/Usage.php +166 -0
  20. vendor/boldgrid/library/src/Library/Usage/Helper.php +38 -0
  21. vendor/boldgrid/library/src/Library/Usage/Notice.php +180 -0
  22. vendor/boldgrid/library/src/Library/Usage/Settings.php +62 -0
  23. vendor/boldgrid/library/src/assets/js/usage-notice.js +113 -0
  24. vendor/boldgrid/library/src/assets/js/usage.js +120 -0
  25. vendor/boldgrid/library/src/library.global.php +9 -8
  26. vendor/boldgrid/library/tests/Library/Plugin/test-plugin.php +106 -13
  27. vendor/boldgrid/library/tests/bootstrap.php +1 -0
  28. vendor/boldgrid/library/yarn.lock +102 -90
  29. vendor/composer/autoload_real.php +7 -7
  30. vendor/composer/autoload_static.php +4 -4
  31. vendor/composer/installed.json +6 -6
admin/class-boldgrid-backup-admin-core.php CHANGED
@@ -1752,7 +1752,7 @@ class Boldgrid_Backup_Admin_Core {
1752
  * was created during a scheduled backup, the user will get an email from the jobs queue.
1753
  * Scheduled backups receive email notifications from the jobs queue because that email will
1754
  * not only include the standard info about the backup (which we're sending now), it will
1755
- * also include info about other jobs that were ran (such as uploading the backup remotely).
1756
  */
1757
  if ( $this->email->user_wants_notification( 'backup' ) && ! $this->is_scheduled_backup ) {
1758
  $email_parts = $this->email->post_archive_parts( $info );
1752
  * was created during a scheduled backup, the user will get an email from the jobs queue.
1753
  * Scheduled backups receive email notifications from the jobs queue because that email will
1754
  * not only include the standard info about the backup (which we're sending now), it will
1755
+ * also include info about other jobs that were run (such as uploading the backup remotely).
1756
  */
1757
  if ( $this->email->user_wants_notification( 'backup' ) && ! $this->is_scheduled_backup ) {
1758
  $email_parts = $this->email->post_archive_parts( $info );
admin/class-boldgrid-backup-admin-go-pro.php CHANGED
@@ -114,7 +114,7 @@ class Boldgrid_Backup_Admin_Go_Pro {
114
  // translators: 1: URL address for the upgrade page, 2: Premium plugin title.
115
  __( 'Thank you for activating the <strong>%3$s</strong> plugin! Before you can begin using all of the premium features, you must <a href="%2$s">add your premium key</a>. If you are using an Official BoldGrid Host, contact them or login to their management system to retrieve your Premium key. Otherwise, please visit <a href="%1$s" target="_blank">BoldGrid Central</a> to upgrade.', 'boldgrid-backup' ),
116
  $this->get_premium_url( 'bgbkup-premium-activate' ),
117
- admin_url( 'admin.php?page=boldgrid-backup-settings&section=connect_key' ),
118
  BOLDGRID_BACKUP_TITLE . ' Premium'
119
  ) . '</p>',
120
  'class' => 'notice notice-warning',
114
  // translators: 1: URL address for the upgrade page, 2: Premium plugin title.
115
  __( 'Thank you for activating the <strong>%3$s</strong> plugin! Before you can begin using all of the premium features, you must <a href="%2$s">add your premium key</a>. If you are using an Official BoldGrid Host, contact them or login to their management system to retrieve your Premium key. Otherwise, please visit <a href="%1$s" target="_blank">BoldGrid Central</a> to upgrade.', 'boldgrid-backup' ),
116
  $this->get_premium_url( 'bgbkup-premium-activate' ),
117
+ admin_url( 'options-general.php?page=boldgrid-connect.php' ),
118
  BOLDGRID_BACKUP_TITLE . ' Premium'
119
  ) . '</p>',
120
  'class' => 'notice notice-warning',
admin/class-boldgrid-backup-admin-jobs.php CHANGED
@@ -183,7 +183,7 @@ class Boldgrid_Backup_Admin_Jobs {
183
 
184
  $job_summary = array();
185
 
186
- $job_summary[] = __( 'The following tasks were ran after creating the backup:', 'boldgrid-backup' );
187
 
188
  $email_parts = $this->core->email->post_archive_parts( $info );
189
 
183
 
184
  $job_summary = array();
185
 
186
+ $job_summary[] = __( 'The following tasks were run after creating the backup:', 'boldgrid-backup' );
187
 
188
  $email_parts = $this->core->email->post_archive_parts( $info );
189
 
admin/class-boldgrid-backup-admin-notice.php CHANGED
@@ -261,6 +261,18 @@ class Boldgrid_Backup_Admin_Notice {
261
  * @see \Boldgrid\Library\Library\Notice::show()
262
  */
263
  public function plugin_renamed_notice() {
 
 
 
 
 
 
 
 
 
 
 
 
264
  $notice_id = 'boldgrid_backup_renamed';
265
 
266
  if ( ! Notice::isDismissed( $notice_id ) ) {
261
  * @see \Boldgrid\Library\Library\Notice::show()
262
  */
263
  public function plugin_renamed_notice() {
264
+ $plugin = new \Boldgrid\Library\Library\Plugin\Plugin( 'boldgrid-backup' );
265
+
266
+ /*
267
+ * Only show to existing users.
268
+ *
269
+ * If the first version of this plugin is not less than 1.12.0 (the version when the rename
270
+ * occurred), abort.
271
+ */
272
+ if ( ! $plugin->firstVersionCompare( '1.12.0', '<' ) ) {
273
+ return;
274
+ }
275
+
276
  $notice_id = 'boldgrid_backup_renamed';
277
 
278
  if ( ! Notice::isDismissed( $notice_id ) ) {
admin/class-boldgrid-backup-admin-usage.php ADDED
@@ -0,0 +1,130 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * File: class-boldgrid-backup-admin-usage.php
4
+ *
5
+ * @link https://www.boldgrid.com
6
+ * @since 1.12.3
7
+ *
8
+ * @package Boldgrid_Backup
9
+ * @subpackage Boldgrid_Backup/admin
10
+ * @copyright BoldGrid
11
+ * @version $Id$
12
+ * @author BoldGrid <support@boldgrid.com>
13
+ */
14
+
15
+ /**
16
+ * Class: Boldgrid_Backup_Admin_Usage
17
+ *
18
+ * @since 1.12.3
19
+ */
20
+ class Boldgrid_Backup_Admin_Usage {
21
+ /**
22
+ * Screen prefixes.
23
+ *
24
+ * @since 1.12.3
25
+ * @access private
26
+ * @var array
27
+ */
28
+ private $prefixes = [
29
+ // The Total Upkeep dashboard.
30
+ 'toplevel_page_boldgrid-backup',
31
+ // Archive details page.
32
+ 'admin_page_boldgrid-backup',
33
+ // All other Total Upkeep pages.
34
+ 'total-upkeep_page',
35
+ ];
36
+
37
+ /**
38
+ * Admin init.
39
+ *
40
+ * @since 1.12.3
41
+ */
42
+ public function admin_init() {
43
+ /*
44
+ * Prompt the user to track usage.
45
+ *
46
+ * The Notice class will determine whether or not the notice should be displayed.
47
+ *
48
+ * The Notice class is instantiated, which adds appropriate hooks to load javascript, ajax
49
+ * listeners, etc.
50
+ */
51
+ $notice = new \Boldgrid\Library\Library\Usage\Notice();
52
+
53
+ /*
54
+ * Track usage.
55
+ *
56
+ * The usage class will determine whether or not usage should be collected.
57
+ *
58
+ * The Usage class is instantiated, which adds appropriate hooks to load javascript, ajax
59
+ * listeners, etc.
60
+ */
61
+ $usage = new \Boldgrid\Library\Library\Usage();
62
+ }
63
+
64
+ /**
65
+ * Determine whether or not to show the notice to the user to accept usage tracking.
66
+ *
67
+ * @since 1.12.3
68
+ *
69
+ * @return bool
70
+ */
71
+ public function maybe_show_notice( $show ) {
72
+ if ( $this->has_screen_prefix() && ! get_option( 'boldgrid_backup_latest_backup' ) ) {
73
+ /*
74
+ * Only show the notice if the user already has created a backup. If they haven't, they'll see
75
+ * admin notices telling them how to create their first backup, and we don't want this notice
76
+ * to derail the user from that task.
77
+ */
78
+ $show = false;
79
+ }
80
+
81
+ return $show;
82
+ }
83
+
84
+ /**
85
+ * Filter the notice that is given to users.
86
+ *
87
+ * @since 1.12.3S
88
+ *
89
+ * @param array $params
90
+ * @return array
91
+ */
92
+ public function filter_notice( $params ) {
93
+ if ( $this->has_screen_prefix() ) {
94
+ $params['message'] = '<p>' .
95
+ esc_html__(
96
+ 'Thank you for using Total Upkeep by BoldGrid! Would you be ok with helping us improve our products by sending anonymous usage data? Information collected will not be personal and is not used to identify or contact you.',
97
+ 'boldgrid-backup'
98
+ ) . '</p>';
99
+ }
100
+
101
+ return $params;
102
+ }
103
+
104
+ /**
105
+ * Filter prefixes.
106
+ *
107
+ * Tell the Usage class to listen to pages that begin with boldgrid-backup.
108
+ *
109
+ * @since 1.12.3
110
+ *
111
+ * @param array $prefixes An array of page prefixes.
112
+ * @return array
113
+ */
114
+ public function filter_prefixes( $prefixes ) {
115
+ $prefixes = array_merge( $prefixes, $this->prefixes );
116
+
117
+ return $prefixes;
118
+ }
119
+
120
+ /**
121
+ * Whether or not the current admin page begins with boldgrid-backup.
122
+ *
123
+ * @since 1.12.3
124
+ *
125
+ * @return bool
126
+ */
127
+ public function has_screen_prefix() {
128
+ return \Boldgrid\Library\Library\Usage\Helper::hasScreenPrefix( $this->prefixes );
129
+ }
130
+ }
admin/js/boldgrid-backup-admin-backup-now.js CHANGED
@@ -142,17 +142,23 @@ BOLDGRID.BACKUP.BackupNow = function( $ ) {
142
  /*
143
  * Take action now that the ajax call to create a backup has been triggered.
144
  *
145
- * If we're on the Backup Archive's page page, wait 3 seconds and reload the page. Within the
146
  * "Backup Site Now" modal, the user will be given a notice that their backup has started, and
147
  * that the page will refresh and display a progress bar.
148
  *
149
  * Else, trigger 'boldgrid_backup_initiated'. The only listener is in-progress.js. When a
150
  * backup has been initiated, it starts the WordPress Heartbeat and shows the in progress container.
 
 
 
 
 
 
151
  */
152
  if ( 'total-upkeep_page_boldgrid-backup' === pagenow ) {
153
  setTimeout( function() {
154
  location.reload();
155
- }, 3000 );
156
  } else {
157
  $( 'body' ).trigger( 'boldgrid_backup_initiated' );
158
  }
142
  /*
143
  * Take action now that the ajax call to create a backup has been triggered.
144
  *
145
+ * If we're on the Backup Archive's page page, wait 6 seconds and reload the page. Within the
146
  * "Backup Site Now" modal, the user will be given a notice that their backup has started, and
147
  * that the page will refresh and display a progress bar.
148
  *
149
  * Else, trigger 'boldgrid_backup_initiated'. The only listener is in-progress.js. When a
150
  * backup has been initiated, it starts the WordPress Heartbeat and shows the in progress container.
151
+ *
152
+ * @todo Below, we wait 6 seconds because we are assuming that in that time the ajax call will
153
+ * trigger the backup and the flag for "a backup in progress" will be set. If the flag is not
154
+ * set by the time the page refreshes, the in progress notice will not show. The page should
155
+ * not refresh until we know a backup is in progress so that we know the in progress bar will
156
+ * show when the page refreshes.
157
  */
158
  if ( 'total-upkeep_page_boldgrid-backup' === pagenow ) {
159
  setTimeout( function() {
160
  location.reload();
161
+ }, 6000 );
162
  } else {
163
  $( 'body' ).trigger( 'boldgrid_backup_initiated' );
164
  }
boldgrid-backup.php CHANGED
@@ -16,7 +16,7 @@
16
  * Plugin Name: Total Upkeep
17
  * Plugin URI: https://www.boldgrid.com/boldgrid-backup/
18
  * Description: Automated backups, remote backup to Amazon S3 and Google Drive, stop website crashes before they happen and more. Total Upkeep is the backup solution you need.
19
- * Version: 1.12.2
20
  * Author: BoldGrid
21
  * Author URI: https://www.boldgrid.com/
22
  * License: GPL-2.0+
16
  * Plugin Name: Total Upkeep
17
  * Plugin URI: https://www.boldgrid.com/boldgrid-backup/
18
  * Description: Automated backups, remote backup to Amazon S3 and Google Drive, stop website crashes before they happen and more. Total Upkeep is the backup solution you need.
19
+ * Version: 1.12.3
20
  * Author: BoldGrid
21
  * Author URI: https://www.boldgrid.com/
22
  * License: GPL-2.0+
coverage.xml CHANGED
@@ -1,6 +1,6 @@
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1576270903">
3
- <project timestamp="1576270903">
4
  <package name="Boldgrid\Backup\Admin\Card">
5
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/card/class-backups.php">
6
  <class name="Backups" namespace="Boldgrid\Backup\Admin\Card">
@@ -2853,7 +2853,7 @@
2853
  <line num="1835" type="stmt" count="4"/>
2854
  <line num="1836" type="stmt" count="0"/>
2855
  <line num="1838" type="stmt" count="4"/>
2856
- <line num="1839" type="stmt" count="3"/>
2857
  <line num="1842" type="stmt" count="4"/>
2858
  <line num="1843" type="stmt" count="3"/>
2859
  <line num="1846" type="stmt" count="4"/>
@@ -4916,7 +4916,7 @@
4916
  </file>
4917
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-notice.php">
4918
  <class name="Boldgrid_Backup_Admin_Notice" namespace="global" fullPackage="Boldgrid.Backup.Admin">
4919
- <metrics complexity="21" methods="11" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="84" coveredstatements="2" elements="95" coveredelements="3"/>
4920
  </class>
4921
  <line num="58" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="17"/>
4922
  <line num="59" type="stmt" count="17"/>
@@ -4997,23 +4997,26 @@
4997
  <line num="248" type="stmt" count="0"/>
4998
  <line num="250" type="stmt" count="0"/>
4999
  <line num="251" type="stmt" count="0"/>
5000
- <line num="263" type="method" name="plugin_renamed_notice" visibility="public" complexity="2" crap="6" count="0"/>
5001
  <line num="264" type="stmt" count="0"/>
5002
- <line num="266" type="stmt" count="0"/>
5003
- <line num="267" type="stmt" count="0"/>
5004
- <line num="269" type="stmt" count="0"/>
5005
- <line num="270" type="stmt" count="0"/>
5006
  <line num="272" type="stmt" count="0"/>
5007
  <line num="273" type="stmt" count="0"/>
5008
- <line num="274" type="stmt" count="0"/>
5009
- <line num="275" type="stmt" count="0"/>
5010
  <line num="276" type="stmt" count="0"/>
5011
- <line num="277" type="stmt" count="0"/>
5012
  <line num="279" type="stmt" count="0"/>
5013
  <line num="281" type="stmt" count="0"/>
5014
  <line num="282" type="stmt" count="0"/>
5015
- <line num="283" type="stmt" count="0"/>
5016
- <metrics loc="284" ncloc="149" classes="1" methods="11" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="84" coveredstatements="2" elements="95" coveredelements="3"/>
 
 
 
 
 
 
 
 
 
5017
  </file>
5018
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-plugins.php">
5019
  <class name="Boldgrid_Backup_Admin_Plugins" namespace="global" fullPackage="Boldgrid.Backup.Admin">
@@ -6433,6 +6436,39 @@
6433
  <line num="501" type="stmt" count="0"/>
6434
  <metrics loc="502" ncloc="279" classes="1" methods="8" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="197" coveredstatements="2" elements="205" coveredelements="3"/>
6435
  </file>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6436
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-utility.php">
6437
  <class name="Boldgrid_Backup_Admin_Utility" namespace="global" fullPackage="Boldgrid.Backup.Admin">
6438
  <metrics complexity="84" methods="20" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="297" coveredstatements="31" elements="317" coveredelements="31"/>
@@ -13086,7 +13122,7 @@
13086
  </file>
13087
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/includes/class-boldgrid-backup.php">
13088
  <class name="Boldgrid_Backup" namespace="global" fullPackage="Boldgrid">
13089
- <metrics complexity="16" methods="8" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="239" coveredstatements="0" elements="247" coveredelements="0"/>
13090
  </class>
13091
  <line num="66" type="method" name="__construct" visibility="public" complexity="2" crap="6" count="0"/>
13092
  <line num="67" type="stmt" count="0"/>
@@ -13191,101 +13227,101 @@
13191
  <line num="272" type="stmt" count="0"/>
13192
  <line num="274" type="stmt" count="0"/>
13193
  <line num="276" type="stmt" count="0"/>
13194
- <line num="277" type="stmt" count="0"/>
13195
- <line num="288" type="method" name="set_locale" visibility="private" complexity="1" crap="2" count="0"/>
13196
- <line num="289" type="stmt" count="0"/>
13197
  <line num="291" type="stmt" count="0"/>
13198
- <line num="292" type="stmt" count="0"/>
13199
- <line num="300" type="method" name="define_admin_hooks" visibility="private" complexity="4" crap="20" count="0"/>
13200
- <line num="302" type="stmt" count="0"/>
13201
  <line num="304" type="stmt" count="0"/>
13202
- <line num="307" type="stmt" count="0"/>
13203
- <line num="310" type="stmt" count="0"/>
13204
- <line num="311" type="stmt" count="0"/>
13205
  <line num="312" type="stmt" count="0"/>
 
13206
  <line num="314" type="stmt" count="0"/>
13207
- <line num="315" type="stmt" count="0"/>
13208
  <line num="316" type="stmt" count="0"/>
13209
- <line num="319" type="stmt" count="0"/>
13210
- <line num="320" type="stmt" count="0"/>
13211
  <line num="321" type="stmt" count="0"/>
13212
  <line num="322" type="stmt" count="0"/>
13213
- <line num="325" type="stmt" count="0"/>
13214
- <line num="326" type="stmt" count="0"/>
13215
  <line num="327" type="stmt" count="0"/>
13216
  <line num="328" type="stmt" count="0"/>
 
13217
  <line num="330" type="stmt" count="0"/>
13218
- <line num="331" type="stmt" count="0"/>
13219
  <line num="332" type="stmt" count="0"/>
13220
  <line num="333" type="stmt" count="0"/>
13221
  <line num="334" type="stmt" count="0"/>
13222
- <line num="337" type="stmt" count="0"/>
13223
- <line num="338" type="stmt" count="0"/>
13224
  <line num="339" type="stmt" count="0"/>
13225
  <line num="340" type="stmt" count="0"/>
13226
- <line num="343" type="stmt" count="0"/>
13227
- <line num="344" type="stmt" count="0"/>
13228
  <line num="345" type="stmt" count="0"/>
13229
  <line num="346" type="stmt" count="0"/>
13230
- <line num="349" type="stmt" count="0"/>
13231
- <line num="350" type="stmt" count="0"/>
13232
  <line num="351" type="stmt" count="0"/>
13233
  <line num="352" type="stmt" count="0"/>
13234
- <line num="355" type="stmt" count="0"/>
13235
- <line num="356" type="stmt" count="0"/>
13236
  <line num="357" type="stmt" count="0"/>
13237
  <line num="358" type="stmt" count="0"/>
13238
- <line num="361" type="stmt" count="0"/>
13239
- <line num="362" type="stmt" count="0"/>
13240
  <line num="363" type="stmt" count="0"/>
13241
  <line num="364" type="stmt" count="0"/>
13242
- <line num="367" type="stmt" count="0"/>
13243
- <line num="368" type="stmt" count="0"/>
13244
  <line num="369" type="stmt" count="0"/>
13245
  <line num="370" type="stmt" count="0"/>
 
13246
  <line num="372" type="stmt" count="0"/>
13247
- <line num="373" type="stmt" count="0"/>
13248
  <line num="374" type="stmt" count="0"/>
13249
- <line num="377" type="stmt" count="0"/>
13250
- <line num="378" type="stmt" count="0"/>
13251
  <line num="379" type="stmt" count="0"/>
13252
  <line num="380" type="stmt" count="0"/>
13253
- <line num="383" type="stmt" count="0"/>
13254
- <line num="384" type="stmt" count="0"/>
13255
  <line num="385" type="stmt" count="0"/>
13256
  <line num="386" type="stmt" count="0"/>
 
13257
  <line num="388" type="stmt" count="0"/>
13258
- <line num="389" type="stmt" count="0"/>
13259
  <line num="390" type="stmt" count="0"/>
13260
  <line num="391" type="stmt" count="0"/>
13261
  <line num="392" type="stmt" count="0"/>
13262
  <line num="393" type="stmt" count="0"/>
 
13263
  <line num="395" type="stmt" count="0"/>
13264
  <line num="397" type="stmt" count="0"/>
13265
  <line num="399" type="stmt" count="0"/>
13266
  <line num="401" type="stmt" count="0"/>
13267
- <line num="402" type="stmt" count="0"/>
13268
  <line num="403" type="stmt" count="0"/>
 
13269
  <line num="405" type="stmt" count="0"/>
13270
  <line num="407" type="stmt" count="0"/>
13271
  <line num="409" type="stmt" count="0"/>
13272
  <line num="411" type="stmt" count="0"/>
13273
  <line num="413" type="stmt" count="0"/>
13274
  <line num="415" type="stmt" count="0"/>
13275
- <line num="416" type="stmt" count="0"/>
13276
  <line num="417" type="stmt" count="0"/>
 
13277
  <line num="419" type="stmt" count="0"/>
13278
  <line num="421" type="stmt" count="0"/>
13279
- <line num="422" type="stmt" count="0"/>
13280
  <line num="423" type="stmt" count="0"/>
13281
  <line num="424" type="stmt" count="0"/>
 
13282
  <line num="426" type="stmt" count="0"/>
13283
  <line num="428" type="stmt" count="0"/>
13284
  <line num="430" type="stmt" count="0"/>
13285
  <line num="432" type="stmt" count="0"/>
13286
  <line num="434" type="stmt" count="0"/>
13287
  <line num="436" type="stmt" count="0"/>
13288
- <line num="441" type="stmt" count="0"/>
13289
  <line num="443" type="stmt" count="0"/>
13290
  <line num="445" type="stmt" count="0"/>
13291
  <line num="447" type="stmt" count="0"/>
@@ -13293,49 +13329,55 @@
13293
  <line num="451" type="stmt" count="0"/>
13294
  <line num="453" type="stmt" count="0"/>
13295
  <line num="455" type="stmt" count="0"/>
13296
- <line num="456" type="stmt" count="0"/>
13297
  <line num="458" type="stmt" count="0"/>
13298
- <line num="459" type="stmt" count="0"/>
13299
  <line num="461" type="stmt" count="0"/>
13300
  <line num="463" type="stmt" count="0"/>
13301
- <line num="464" type="stmt" count="0"/>
13302
  <line num="465" type="stmt" count="0"/>
 
13303
  <line num="467" type="stmt" count="0"/>
13304
  <line num="469" type="stmt" count="0"/>
13305
- <line num="470" type="stmt" count="0"/>
13306
- <line num="473" type="stmt" count="0"/>
13307
- <line num="474" type="stmt" count="0"/>
13308
  <line num="475" type="stmt" count="0"/>
13309
- <line num="478" type="stmt" count="0"/>
13310
- <line num="479" type="stmt" count="0"/>
13311
- <line num="482" type="stmt" count="0"/>
13312
- <line num="485" type="stmt" count="0"/>
13313
- <line num="488" type="stmt" count="0"/>
13314
- <line num="491" type="stmt" count="0"/>
 
13315
  <line num="493" type="stmt" count="0"/>
13316
  <line num="495" type="stmt" count="0"/>
13317
- <line num="496" type="stmt" count="0"/>
13318
  <line num="498" type="stmt" count="0"/>
13319
  <line num="500" type="stmt" count="0"/>
13320
  <line num="502" type="stmt" count="0"/>
13321
- <line num="503" type="stmt" count="0"/>
13322
- <line num="506" type="stmt" count="0"/>
13323
- <line num="509" type="stmt" count="0"/>
13324
- <line num="510" type="stmt" count="0"/>
13325
  <line num="511" type="stmt" count="0"/>
13326
- <line num="518" type="method" name="run" visibility="public" complexity="1" crap="2" count="0"/>
 
 
 
 
 
13327
  <line num="519" type="stmt" count="0"/>
13328
- <line num="520" type="stmt" count="0"/>
13329
- <line num="529" type="method" name="get_plugin_name" visibility="public" complexity="1" crap="2" count="0"/>
13330
- <line num="530" type="stmt" count="0"/>
13331
- <line num="531" type="stmt" count="0"/>
13332
- <line num="539" type="method" name="get_loader" visibility="public" complexity="1" crap="2" count="0"/>
13333
- <line num="540" type="stmt" count="0"/>
13334
- <line num="541" type="stmt" count="0"/>
13335
- <line num="549" type="method" name="get_version" visibility="public" complexity="1" crap="2" count="0"/>
13336
- <line num="550" type="stmt" count="0"/>
13337
- <line num="551" type="stmt" count="0"/>
13338
- <metrics loc="552" ncloc="329" classes="1" methods="8" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="239" coveredstatements="0" elements="247" coveredelements="0"/>
 
 
13339
  </file>
13340
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/includes/config/config.cron.php">
13341
  <line num="17" type="stmt" count="0"/>
@@ -68305,111 +68347,118 @@
68305
  </file>
68306
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/src/Library/Key.php">
68307
  <class name="Key" namespace="Boldgrid\Library\Library">
68308
- <metrics complexity="32" methods="12" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="90" coveredstatements="0" elements="102" coveredelements="0"/>
68309
  </class>
68310
- <line num="67" type="method" name="__construct" visibility="public" complexity="1" crap="2" count="0"/>
68311
- <line num="68" type="stmt" count="0"/>
68312
- <line num="69" type="stmt" count="0"/>
68313
- <line num="70" type="stmt" count="0"/>
68314
- <line num="71" type="stmt" count="0"/>
68315
- <line num="73" type="stmt" count="0"/>
68316
- <line num="74" type="stmt" count="0"/>
68317
- <line num="83" type="method" name="setLicense" visibility="public" complexity="2" crap="6" count="0"/>
68318
  <line num="84" type="stmt" count="0"/>
68319
- <line num="85" type="stmt" count="0"/>
68320
- <line num="94" type="method" name="getLicense" visibility="public" complexity="1" crap="2" count="0"/>
68321
  <line num="95" type="stmt" count="0"/>
68322
- <line num="96" type="stmt" count="0"/>
68323
- <line num="105" type="method" name="getNotice" visibility="public" complexity="1" crap="2" count="0"/>
68324
  <line num="106" type="stmt" count="0"/>
68325
- <line num="107" type="stmt" count="0"/>
68326
- <line num="118" type="method" name="setValid" visibility="public" complexity="7" crap="56" count="0"/>
68327
- <line num="120" type="stmt" count="0"/>
68328
- <line num="123" type="stmt" count="0"/>
68329
- <line num="126" type="stmt" count="0"/>
68330
- <line num="129" type="stmt" count="0"/>
68331
- <line num="131" type="stmt" count="0"/>
68332
- <line num="132" type="stmt" count="0"/>
68333
- <line num="135" type="stmt" count="0"/>
68334
- <line num="137" type="stmt" count="0"/>
68335
  <line num="140" type="stmt" count="0"/>
68336
  <line num="142" type="stmt" count="0"/>
68337
- <line num="145" type="stmt" count="0"/>
68338
- <line num="146" type="stmt" count="0"/>
68339
- <line num="147" type="stmt" count="0"/>
68340
- <line num="149" type="stmt" count="0"/>
68341
- <line num="150" type="stmt" count="0"/>
68342
- <line num="160" type="method" name="setNotice" visibility="public" complexity="6" crap="42" count="0"/>
68343
- <line num="161" type="stmt" count="0"/>
68344
  <line num="162" type="stmt" count="0"/>
68345
- <line num="163" type="stmt" count="0"/>
68346
- <line num="166" type="stmt" count="0"/>
68347
  <line num="167" type="stmt" count="0"/>
68348
  <line num="168" type="stmt" count="0"/>
68349
  <line num="171" type="stmt" count="0"/>
68350
- <line num="172" type="stmt" count="0"/>
68351
  <line num="173" type="stmt" count="0"/>
68352
- <line num="174" type="stmt" count="0"/>
68353
- <line num="184" type="method" name="addKey" visibility="public" complexity="2" crap="6" count="0"/>
68354
- <line num="192" type="stmt" count="0"/>
68355
- <line num="193" type="stmt" count="0"/>
68356
- <line num="195" type="stmt" count="0"/>
 
 
 
68357
  <line num="197" type="stmt" count="0"/>
68358
  <line num="198" type="stmt" count="0"/>
68359
  <line num="199" type="stmt" count="0"/>
68360
- <line num="200" type="stmt" count="0"/>
68361
- <line num="201" type="stmt" count="0"/>
68362
  <line num="202" type="stmt" count="0"/>
68363
  <line num="203" type="stmt" count="0"/>
68364
- <line num="214" type="method" name="callCheckVersion" visibility="public" complexity="3" crap="12" count="0"/>
68365
- <line num="215" type="stmt" count="0"/>
68366
- <line num="216" type="stmt" count="0"/>
68367
- <line num="219" type="stmt" count="0"/>
68368
- <line num="222" type="stmt" count="0"/>
68369
- <line num="223" type="stmt" count="0"/>
68370
- <line num="224" type="stmt" count="0"/>
68371
- <line num="225" type="stmt" count="0"/>
68372
- <line num="226" type="stmt" count="0"/>
68373
  <line num="229" type="stmt" count="0"/>
68374
- <line num="230" type="stmt" count="0"/>
68375
- <line num="240" type="method" name="verifyData" visibility="public" complexity="1" crap="2" count="0"/>
68376
- <line num="241" type="stmt" count="0"/>
68377
- <line num="242" type="stmt" count="0"/>
68378
- <line num="256" type="method" name="verify" visibility="public" complexity="3" crap="12" count="0"/>
68379
- <line num="257" type="stmt" count="0"/>
 
 
 
 
 
 
 
 
68380
  <line num="260" type="stmt" count="0"/>
68381
  <line num="261" type="stmt" count="0"/>
68382
  <line num="262" type="stmt" count="0"/>
68383
- <line num="263" type="stmt" count="0"/>
68384
- <line num="264" type="stmt" count="0"/>
68385
- <line num="267" type="stmt" count="0"/>
68386
- <line num="268" type="stmt" count="0"/>
68387
- <line num="269" type="stmt" count="0"/>
68388
- <line num="272" type="stmt" count="0"/>
68389
- <line num="273" type="stmt" count="0"/>
68390
- <line num="285" type="method" name="save" visibility="public" complexity="1" crap="2" count="0"/>
68391
- <line num="286" type="stmt" count="0"/>
68392
- <line num="290" type="stmt" count="0"/>
68393
  <line num="293" type="stmt" count="0"/>
68394
  <line num="296" type="stmt" count="0"/>
 
 
68395
  <line num="299" type="stmt" count="0"/>
68396
- <line num="302" type="stmt" count="0"/>
68397
- <line num="306" type="stmt" count="0"/>
68398
- <line num="307" type="stmt" count="0"/>
68399
- <line num="318" type="method" name="saveReseller" visibility="protected" complexity="4" crap="20" count="0"/>
68400
- <line num="319" type="stmt" count="0"/>
68401
- <line num="324" type="stmt" count="0"/>
68402
- <line num="327" type="stmt" count="0"/>
68403
- <line num="330" type="stmt" count="0"/>
68404
- <line num="333" type="stmt" count="0"/>
68405
- <line num="334" type="stmt" count="0"/>
 
68406
  <line num="335" type="stmt" count="0"/>
68407
  <line num="338" type="stmt" count="0"/>
68408
- <line num="339" type="stmt" count="0"/>
68409
- <line num="340" type="stmt" count="0"/>
68410
  <line num="343" type="stmt" count="0"/>
68411
- <line num="344" type="stmt" count="0"/>
68412
- <metrics loc="345" ncloc="128" classes="1" methods="12" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="90" coveredstatements="0" elements="102" coveredelements="0"/>
 
 
 
 
 
 
 
 
 
 
 
 
68413
  </file>
68414
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/src/Library/License.php">
68415
  <class name="License" namespace="Boldgrid\Library\Library">
@@ -69064,6 +69113,31 @@
69064
  <line num="77" type="stmt" count="0"/>
69065
  <metrics loc="78" ncloc="27" classes="1" methods="3" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="10" coveredstatements="0" elements="13" coveredelements="0"/>
69066
  </file>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
69067
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/src/Library/Start.php">
69068
  <class name="Start" namespace="Boldgrid\Library\Library">
69069
  <metrics complexity="13" methods="8" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="52" coveredstatements="0" elements="60" coveredelements="0"/>
@@ -69285,6 +69359,66 @@
69285
  <line num="201" type="stmt" count="0"/>
69286
  <metrics loc="202" ncloc="89" classes="1" methods="8" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="56" coveredstatements="0" elements="64" coveredelements="0"/>
69287
  </file>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
69288
  </package>
69289
  <package name="Boldgrid\Library\Library\Api">
69290
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/src/Library/Api/Availability.php">
@@ -69783,7 +69917,7 @@
69783
  <package name="Boldgrid\Library\Library\Notice">
69784
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/src/Library/Notice/KeyPrompt.php">
69785
  <class name="KeyPrompt" namespace="Boldgrid\Library\Library\Notice">
69786
- <metrics complexity="22" methods="10" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="118" coveredstatements="0" elements="128" coveredelements="0"/>
69787
  </class>
69788
  <line num="79" type="method" name="__construct" visibility="public" complexity="1" crap="2" count="0"/>
69789
  <line num="80" type="stmt" count="0"/>
@@ -69869,51 +70003,56 @@
69869
  <line num="213" type="stmt" count="0"/>
69870
  <line num="214" type="stmt" count="0"/>
69871
  <line num="215" type="stmt" count="0"/>
69872
- <line num="224" type="method" name="addKey" visibility="public" complexity="3" crap="12" count="0"/>
69873
- <line num="233" type="stmt" count="0"/>
69874
  <line num="234" type="stmt" count="0"/>
69875
- <line num="236" type="stmt" count="0"/>
69876
  <line num="237" type="stmt" count="0"/>
69877
- <line num="238" type="stmt" count="0"/>
69878
  <line num="240" type="stmt" count="0"/>
69879
- <line num="241" type="stmt" count="0"/>
69880
- <line num="242" type="stmt" count="0"/>
69881
- <line num="243" type="stmt" count="0"/>
69882
- <line num="244" type="stmt" count="0"/>
69883
- <line num="245" type="stmt" count="0"/>
69884
- <line num="246" type="stmt" count="0"/>
69885
- <line num="247" type="stmt" count="0"/>
69886
- <line num="248" type="stmt" count="0"/>
69887
- <line num="249" type="stmt" count="0"/>
69888
- <line num="250" type="stmt" count="0"/>
69889
- <line num="251" type="stmt" count="0"/>
69890
- <line num="260" type="method" name="validate" visibility="protected" complexity="5" crap="30" count="0"/>
69891
  <line num="261" type="stmt" count="0"/>
69892
- <line num="264" type="stmt" count="0"/>
 
69893
  <line num="265" type="stmt" count="0"/>
69894
  <line num="266" type="stmt" count="0"/>
 
 
69895
  <line num="269" type="stmt" count="0"/>
69896
  <line num="270" type="stmt" count="0"/>
69897
  <line num="271" type="stmt" count="0"/>
 
 
69898
  <line num="274" type="stmt" count="0"/>
69899
  <line num="275" type="stmt" count="0"/>
69900
  <line num="276" type="stmt" count="0"/>
69901
- <line num="277" type="stmt" count="0"/>
69902
- <line num="279" type="stmt" count="0"/>
69903
- <line num="280" type="stmt" count="0"/>
69904
- <line num="289" type="method" name="getIsDismissed" visibility="public" complexity="2" crap="6" count="0"/>
69905
  <line num="290" type="stmt" count="0"/>
69906
  <line num="291" type="stmt" count="0"/>
69907
- <line num="292" type="stmt" count="0"/>
69908
  <line num="294" type="stmt" count="0"/>
69909
  <line num="295" type="stmt" count="0"/>
69910
- <line num="304" type="method" name="getIsDisplayed" visibility="public" complexity="1" crap="2" count="0"/>
 
 
 
 
 
69911
  <line num="305" type="stmt" count="0"/>
69912
- <line num="306" type="stmt" count="0"/>
69913
- <line num="315" type="method" name="getMessages" visibility="protected" complexity="1" crap="2" count="0"/>
69914
  <line num="316" type="stmt" count="0"/>
69915
  <line num="317" type="stmt" count="0"/>
69916
- <metrics loc="318" ncloc="168" classes="1" methods="10" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="118" coveredstatements="0" elements="128" coveredelements="0"/>
 
 
 
 
 
 
 
 
69917
  </file>
69918
  </package>
69919
  <package name="Boldgrid\Library\Library\Notifications">
@@ -70207,113 +70346,134 @@
70207
  </file>
70208
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/src/Library/Plugin/Plugin.php">
70209
  <class name="Plugin" namespace="Boldgrid\Library\Library\Plugin">
70210
- <metrics complexity="33" methods="21" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="83" coveredstatements="0" elements="104" coveredelements="0"/>
70211
  </class>
70212
- <line num="99" type="method" name="__construct" visibility="public" complexity="1" crap="2" count="0"/>
70213
- <line num="100" type="stmt" count="0"/>
70214
- <line num="102" type="stmt" count="0"/>
70215
- <line num="104" type="stmt" count="0"/>
70216
- <line num="106" type="stmt" count="0"/>
70217
- <line num="108" type="stmt" count="0"/>
70218
  <line num="109" type="stmt" count="0"/>
70219
- <line num="118" type="method" name="getActivateUrl" visibility="public" complexity="1" crap="2" count="0"/>
70220
- <line num="119" type="stmt" count="0"/>
70221
- <line num="120" type="stmt" count="0"/>
70222
- <line num="121" type="stmt" count="0"/>
70223
- <line num="122" type="stmt" count="0"/>
70224
  <line num="123" type="stmt" count="0"/>
70225
- <line num="132" type="method" name="getIcons" visibility="public" complexity="3" crap="12" count="0"/>
70226
- <line num="133" type="stmt" count="0"/>
70227
- <line num="135" type="stmt" count="0"/>
70228
  <line num="136" type="stmt" count="0"/>
70229
  <line num="137" type="stmt" count="0"/>
 
70230
  <line num="139" type="stmt" count="0"/>
70231
  <line num="140" type="stmt" count="0"/>
70232
- <line num="149" type="method" name="getChildPlugins" visibility="public" complexity="1" crap="2" count="0"/>
70233
  <line num="150" type="stmt" count="0"/>
70234
- <line num="151" type="stmt" count="0"/>
70235
- <line num="163" type="method" name="getConfig" visibility="public" complexity="3" crap="12" count="0"/>
70236
- <line num="164" type="stmt" count="0"/>
70237
- <line num="166" type="stmt" count="0"/>
 
 
 
70238
  <line num="168" type="stmt" count="0"/>
70239
- <line num="169" type="stmt" count="0"/>
70240
- <line num="170" type="stmt" count="0"/>
70241
- <line num="171" type="stmt" count="0"/>
70242
- <line num="172" type="stmt" count="0"/>
70243
- <line num="174" type="stmt" count="0"/>
70244
- <line num="175" type="stmt" count="0"/>
70245
- <line num="187" type="method" name="getData" visibility="public" complexity="2" crap="6" count="0"/>
70246
  <line num="188" type="stmt" count="0"/>
70247
- <line num="190" type="stmt" count="0"/>
70248
  <line num="191" type="stmt" count="0"/>
70249
- <line num="202" type="method" name="getDownloadUrl" visibility="public" complexity="1" crap="2" count="0"/>
70250
- <line num="203" type="stmt" count="0"/>
70251
  <line num="205" type="stmt" count="0"/>
70252
  <line num="207" type="stmt" count="0"/>
70253
  <line num="208" type="stmt" count="0"/>
70254
- <line num="217" type="method" name="getInstallUrl" visibility="public" complexity="1" crap="2" count="0"/>
70255
- <line num="218" type="stmt" count="0"/>
70256
- <line num="219" type="stmt" count="0"/>
70257
  <line num="220" type="stmt" count="0"/>
70258
- <line num="221" type="stmt" count="0"/>
70259
  <line num="222" type="stmt" count="0"/>
70260
- <line num="231" type="method" name="getIsInstalled" visibility="public" complexity="1" crap="2" count="0"/>
70261
- <line num="232" type="stmt" count="0"/>
70262
- <line num="233" type="stmt" count="0"/>
70263
- <line num="242" type="method" name="getFile" visibility="public" complexity="1" crap="2" count="0"/>
70264
- <line num="243" type="stmt" count="0"/>
70265
- <line num="244" type="stmt" count="0"/>
70266
- <line num="259" type="method" name="getFileSlug" visibility="public" complexity="1" crap="2" count="0"/>
 
 
 
 
 
70267
  <line num="260" type="stmt" count="0"/>
70268
- <line num="262" type="stmt" count="0"/>
70269
- <line num="263" type="stmt" count="0"/>
70270
- <line num="272" type="method" name="getNewVersion" visibility="public" complexity="2" crap="6" count="0"/>
70271
- <line num="273" type="stmt" count="0"/>
70272
- <line num="275" type="stmt" count="0"/>
70273
- <line num="276" type="stmt" count="0"/>
70274
- <line num="285" type="method" name="getPluginData" visibility="public" complexity="3" crap="12" count="0"/>
70275
- <line num="286" type="stmt" count="0"/>
70276
- <line num="287" type="stmt" count="0"/>
70277
- <line num="288" type="stmt" count="0"/>
70278
  <line num="290" type="stmt" count="0"/>
70279
- <line num="291" type="stmt" count="0"/>
70280
- <line num="300" type="method" name="getSlug" visibility="public" complexity="1" crap="2" count="0"/>
70281
- <line num="301" type="stmt" count="0"/>
70282
- <line num="302" type="stmt" count="0"/>
70283
- <line num="309" type="method" name="setChildPlugins" visibility="public" complexity="3" crap="12" count="0"/>
70284
- <line num="310" type="stmt" count="0"/>
70285
- <line num="312" type="stmt" count="0"/>
70286
- <line num="313" type="stmt" count="0"/>
70287
- <line num="314" type="stmt" count="0"/>
70288
- <line num="316" type="stmt" count="0"/>
70289
- <line num="317" type="stmt" count="0"/>
70290
- <line num="319" type="stmt" count="0"/>
70291
  <line num="320" type="stmt" count="0"/>
70292
- <line num="321" type="stmt" count="0"/>
70293
- <line num="330" type="method" name="setFile" visibility="public" complexity="2" crap="6" count="0"/>
70294
- <line num="331" type="stmt" count="0"/>
70295
- <line num="332" type="stmt" count="0"/>
70296
- <line num="339" type="method" name="setIsInstalled" visibility="public" complexity="1" crap="2" count="0"/>
70297
- <line num="340" type="stmt" count="0"/>
70298
  <line num="342" type="stmt" count="0"/>
70299
- <line num="343" type="stmt" count="0"/>
70300
- <line num="350" type="method" name="setPath" visibility="public" complexity="1" crap="2" count="0"/>
 
 
 
70301
  <line num="351" type="stmt" count="0"/>
70302
  <line num="352" type="stmt" count="0"/>
70303
- <line num="361" type="method" name="getUpdatePlugins" visibility="public" complexity="2" crap="6" count="0"/>
70304
- <line num="362" type="stmt" count="0"/>
70305
  <line num="363" type="stmt" count="0"/>
70306
  <line num="364" type="stmt" count="0"/>
70307
- <line num="366" type="stmt" count="0"/>
70308
- <line num="367" type="stmt" count="0"/>
70309
- <line num="376" type="method" name="hasUpdate" visibility="public" complexity="1" crap="2" count="0"/>
70310
- <line num="377" type="stmt" count="0"/>
70311
- <line num="379" type="stmt" count="0"/>
70312
- <line num="380" type="stmt" count="0"/>
70313
- <line num="389" type="method" name="isActive" visibility="public" complexity="1" crap="2" count="0"/>
70314
- <line num="390" type="stmt" count="0"/>
70315
- <line num="391" type="stmt" count="0"/>
70316
- <metrics loc="392" ncloc="167" classes="1" methods="21" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="83" coveredstatements="0" elements="104" coveredelements="0"/>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
70317
  </file>
70318
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/src/Library/Plugin/Plugins.php">
70319
  <class name="Plugins" namespace="Boldgrid\Library\Library\Plugin">
@@ -70416,6 +70576,118 @@
70416
  <metrics loc="80" ncloc="32" classes="1" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="15" coveredstatements="0" elements="17" coveredelements="0"/>
70417
  </file>
70418
  </package>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
70419
  <package name="Boldgrid\Library\Library\Util">
70420
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/src/Library/Util/Plugin.php">
70421
  <class name="Plugin" namespace="Boldgrid\Library\Library\Util">
@@ -71437,11 +71709,11 @@
71437
  <line num="46" type="stmt" count="0"/>
71438
  <line num="47" type="stmt" count="0"/>
71439
  <line num="48" type="stmt" count="0"/>
71440
- <line num="49" type="stmt" count="0"/>
71441
- <line num="50" type="stmt" count="0"/>
71442
  <line num="51" type="stmt" count="0"/>
71443
  <line num="52" type="stmt" count="0"/>
71444
  <line num="53" type="stmt" count="0"/>
 
 
71445
  <line num="56" type="stmt" count="0"/>
71446
  <line num="57" type="stmt" count="0"/>
71447
  <line num="58" type="stmt" count="0"/>
@@ -71471,9 +71743,9 @@
71471
  <line num="82" type="stmt" count="0"/>
71472
  <line num="83" type="stmt" count="0"/>
71473
  <line num="84" type="stmt" count="0"/>
71474
- <line num="85" type="stmt" count="0"/>
71475
- <line num="86" type="stmt" count="0"/>
71476
- <line num="87" type="stmt" count="0"/>
71477
  <line num="102" type="stmt" count="0"/>
71478
  <line num="103" type="stmt" count="0"/>
71479
  <line num="104" type="stmt" count="0"/>
@@ -71495,9 +71767,9 @@
71495
  <line num="120" type="stmt" count="0"/>
71496
  <line num="121" type="stmt" count="0"/>
71497
  <line num="122" type="stmt" count="0"/>
71498
- <line num="123" type="stmt" count="0"/>
71499
- <line num="124" type="stmt" count="0"/>
71500
  <line num="125" type="stmt" count="0"/>
 
 
71501
  <line num="128" type="stmt" count="0"/>
71502
  <line num="129" type="stmt" count="0"/>
71503
  <line num="130" type="stmt" count="0"/>
@@ -71509,11 +71781,9 @@
71509
  <line num="136" type="stmt" count="0"/>
71510
  <line num="137" type="stmt" count="0"/>
71511
  <line num="138" type="stmt" count="0"/>
71512
- <line num="139" type="stmt" count="0"/>
71513
- <line num="140" type="stmt" count="0"/>
71514
- <line num="141" type="stmt" count="0"/>
71515
  <line num="142" type="stmt" count="0"/>
71516
- <metrics loc="142" ncloc="106" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="102" coveredstatements="0" elements="102" coveredelements="0"/>
 
71517
  </file>
71518
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/tests/Library/Library/test-activity.php">
71519
  <class name="Test_Activty" namespace="global" fullPackage="Test">
@@ -71849,24 +72119,85 @@
71849
  </file>
71850
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/tests/Library/Plugin/test-plugin.php">
71851
  <class name="Test_BoldGrid_Library_Library_Plugin_Plugin" namespace="global" fullPackage="Test.BoldGrid.Library.Library.Plugin">
71852
- <metrics complexity="3" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="13" coveredstatements="0" elements="15" coveredelements="0"/>
71853
  </class>
71854
- <line num="32" type="method" name="setUp" visibility="public" complexity="2" crap="6" count="0"/>
71855
- <line num="35" type="stmt" count="0"/>
 
 
71856
  <line num="37" type="stmt" count="0"/>
71857
- <line num="39" type="stmt" count="0"/>
71858
- <line num="40" type="stmt" count="0"/>
71859
- <line num="41" type="stmt" count="0"/>
71860
- <line num="42" type="stmt" count="0"/>
71861
- <line num="44" type="stmt" count="0"/>
71862
- <line num="45" type="stmt" count="0"/>
71863
  <line num="46" type="stmt" count="0"/>
71864
- <line num="53" type="method" name="testGetDownloadUrl" visibility="public" complexity="1" crap="2" count="0"/>
71865
- <line num="56" type="stmt" count="0"/>
 
 
71866
  <line num="58" type="stmt" count="0"/>
71867
  <line num="60" type="stmt" count="0"/>
71868
- <line num="61" type="stmt" count="0"/>
71869
- <metrics loc="61" ncloc="30" classes="1" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="13" coveredstatements="0" elements="15" coveredelements="0"/>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
71870
  </file>
71871
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/tests/Library/Util/test-plugin.php">
71872
  <class name="Test_BoldGrid_Library_Util_Plugin" namespace="global" fullPackage="Test.BoldGrid.Library.Util">
@@ -71922,8 +72253,9 @@
71922
  <line num="19" type="stmt" count="0"/>
71923
  <line num="20" type="stmt" count="0"/>
71924
  <line num="21" type="stmt" count="0"/>
71925
- <line num="23" type="stmt" count="0"/>
71926
- <metrics loc="24" ncloc="24" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="18" coveredstatements="0" elements="18" coveredelements="0"/>
 
71927
  </file>
71928
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/tests/test-reseller.php">
71929
  <class name="Test_BoldGrid_Libarary_Reseller" namespace="global" fullPackage="Test.BoldGrid.Libarary">
@@ -72622,7 +72954,7 @@
72622
  <metrics loc="445" ncloc="281" classes="1" methods="21" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="216" coveredstatements="0" elements="237" coveredelements="0"/>
72623
  </file>
72624
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/composer/autoload_static.php">
72625
- <class name="ComposerStaticInitaa67122c232c29f3839c669da76fdc18" namespace="Composer\Autoload">
72626
  <metrics complexity="2" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="5" coveredstatements="0" elements="7" coveredelements="0"/>
72627
  </class>
72628
  <line num="91" type="method" name="getInitializer" visibility="public" complexity="1" crap="2" count="0"/>
@@ -72714,7 +73046,7 @@
72714
  <metrics loc="12" ncloc="10" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="7" coveredstatements="0" elements="7" coveredelements="0"/>
72715
  </file>
72716
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/composer/autoload_real.php">
72717
- <class name="ComposerAutoloaderInitaa67122c232c29f3839c669da76fdc18" namespace="global">
72718
  <metrics complexity="13" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="41" coveredstatements="0" elements="43" coveredelements="0"/>
72719
  </class>
72720
  <line num="9" type="method" name="loadClassLoader" visibility="public" complexity="2" crap="6" count="0"/>
@@ -91714,6 +92046,6 @@
91714
  <line num="16" type="stmt" count="0"/>
91715
  <metrics loc="16" ncloc="9" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="8" coveredstatements="0" elements="8" coveredelements="0"/>
91716
  </file>
91717
- <metrics files="905" loc="182807" ncloc="111924" classes="818" methods="3307" coveredmethods="167" conditionals="0" coveredconditionals="0" statements="82829" coveredstatements="2747" elements="86136" coveredelements="2914"/>
91718
  </project>
91719
  </coverage>
1
  <?xml version="1.0" encoding="UTF-8"?>
2
+ <coverage generated="1576782444">
3
+ <project timestamp="1576782444">
4
  <package name="Boldgrid\Backup\Admin\Card">
5
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/card/class-backups.php">
6
  <class name="Backups" namespace="Boldgrid\Backup\Admin\Card">
2853
  <line num="1835" type="stmt" count="4"/>
2854
  <line num="1836" type="stmt" count="0"/>
2855
  <line num="1838" type="stmt" count="4"/>
2856
+ <line num="1839" type="stmt" count="1"/>
2857
  <line num="1842" type="stmt" count="4"/>
2858
  <line num="1843" type="stmt" count="3"/>
2859
  <line num="1846" type="stmt" count="4"/>
4916
  </file>
4917
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-notice.php">
4918
  <class name="Boldgrid_Backup_Admin_Notice" namespace="global" fullPackage="Boldgrid.Backup.Admin">
4919
+ <metrics complexity="22" methods="11" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="87" coveredstatements="2" elements="98" coveredelements="3"/>
4920
  </class>
4921
  <line num="58" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="17"/>
4922
  <line num="59" type="stmt" count="17"/>
4997
  <line num="248" type="stmt" count="0"/>
4998
  <line num="250" type="stmt" count="0"/>
4999
  <line num="251" type="stmt" count="0"/>
5000
+ <line num="263" type="method" name="plugin_renamed_notice" visibility="public" complexity="3" crap="12" count="0"/>
5001
  <line num="264" type="stmt" count="0"/>
 
 
 
 
5002
  <line num="272" type="stmt" count="0"/>
5003
  <line num="273" type="stmt" count="0"/>
 
 
5004
  <line num="276" type="stmt" count="0"/>
5005
+ <line num="278" type="stmt" count="0"/>
5006
  <line num="279" type="stmt" count="0"/>
5007
  <line num="281" type="stmt" count="0"/>
5008
  <line num="282" type="stmt" count="0"/>
5009
+ <line num="284" type="stmt" count="0"/>
5010
+ <line num="285" type="stmt" count="0"/>
5011
+ <line num="286" type="stmt" count="0"/>
5012
+ <line num="287" type="stmt" count="0"/>
5013
+ <line num="288" type="stmt" count="0"/>
5014
+ <line num="289" type="stmt" count="0"/>
5015
+ <line num="291" type="stmt" count="0"/>
5016
+ <line num="293" type="stmt" count="0"/>
5017
+ <line num="294" type="stmt" count="0"/>
5018
+ <line num="295" type="stmt" count="0"/>
5019
+ <metrics loc="296" ncloc="155" classes="1" methods="11" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="87" coveredstatements="2" elements="98" coveredelements="3"/>
5020
  </file>
5021
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-plugins.php">
5022
  <class name="Boldgrid_Backup_Admin_Plugins" namespace="global" fullPackage="Boldgrid.Backup.Admin">
6436
  <line num="501" type="stmt" count="0"/>
6437
  <metrics loc="502" ncloc="279" classes="1" methods="8" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="197" coveredstatements="2" elements="205" coveredelements="3"/>
6438
  </file>
6439
+ <file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-usage.php">
6440
+ <class name="Boldgrid_Backup_Admin_Usage" namespace="global" fullPackage="Boldgrid.Backup.Admin">
6441
+ <metrics complexity="8" methods="5" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="22" coveredstatements="0" elements="27" coveredelements="0"/>
6442
+ </class>
6443
+ <line num="42" type="method" name="admin_init" visibility="public" complexity="1" crap="2" count="0"/>
6444
+ <line num="51" type="stmt" count="0"/>
6445
+ <line num="61" type="stmt" count="0"/>
6446
+ <line num="62" type="stmt" count="0"/>
6447
+ <line num="71" type="method" name="maybe_show_notice" visibility="public" complexity="3" crap="12" count="0"/>
6448
+ <line num="72" type="stmt" count="0"/>
6449
+ <line num="78" type="stmt" count="0"/>
6450
+ <line num="79" type="stmt" count="0"/>
6451
+ <line num="81" type="stmt" count="0"/>
6452
+ <line num="82" type="stmt" count="0"/>
6453
+ <line num="92" type="method" name="filter_notice" visibility="public" complexity="2" crap="6" count="0"/>
6454
+ <line num="93" type="stmt" count="0"/>
6455
+ <line num="94" type="stmt" count="0"/>
6456
+ <line num="95" type="stmt" count="0"/>
6457
+ <line num="96" type="stmt" count="0"/>
6458
+ <line num="97" type="stmt" count="0"/>
6459
+ <line num="98" type="stmt" count="0"/>
6460
+ <line num="99" type="stmt" count="0"/>
6461
+ <line num="101" type="stmt" count="0"/>
6462
+ <line num="102" type="stmt" count="0"/>
6463
+ <line num="114" type="method" name="filter_prefixes" visibility="public" complexity="1" crap="2" count="0"/>
6464
+ <line num="115" type="stmt" count="0"/>
6465
+ <line num="117" type="stmt" count="0"/>
6466
+ <line num="118" type="stmt" count="0"/>
6467
+ <line num="127" type="method" name="has_screen_prefix" visibility="public" complexity="1" crap="2" count="0"/>
6468
+ <line num="128" type="stmt" count="0"/>
6469
+ <line num="129" type="stmt" count="0"/>
6470
+ <metrics loc="130" ncloc="42" classes="1" methods="5" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="22" coveredstatements="0" elements="27" coveredelements="0"/>
6471
+ </file>
6472
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-utility.php">
6473
  <class name="Boldgrid_Backup_Admin_Utility" namespace="global" fullPackage="Boldgrid.Backup.Admin">
6474
  <metrics complexity="84" methods="20" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="297" coveredstatements="31" elements="317" coveredelements="31"/>
13122
  </file>
13123
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/includes/class-boldgrid-backup.php">
13124
  <class name="Boldgrid_Backup" namespace="global" fullPackage="Boldgrid">
13125
+ <metrics complexity="16" methods="8" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="245" coveredstatements="0" elements="253" coveredelements="0"/>
13126
  </class>
13127
  <line num="66" type="method" name="__construct" visibility="public" complexity="2" crap="6" count="0"/>
13128
  <line num="67" type="stmt" count="0"/>
13227
  <line num="272" type="stmt" count="0"/>
13228
  <line num="274" type="stmt" count="0"/>
13229
  <line num="276" type="stmt" count="0"/>
13230
+ <line num="278" type="stmt" count="0"/>
13231
+ <line num="279" type="stmt" count="0"/>
13232
+ <line num="290" type="method" name="set_locale" visibility="private" complexity="1" crap="2" count="0"/>
13233
  <line num="291" type="stmt" count="0"/>
13234
+ <line num="293" type="stmt" count="0"/>
13235
+ <line num="294" type="stmt" count="0"/>
13236
+ <line num="302" type="method" name="define_admin_hooks" visibility="private" complexity="4" crap="20" count="0"/>
13237
  <line num="304" type="stmt" count="0"/>
13238
+ <line num="306" type="stmt" count="0"/>
13239
+ <line num="309" type="stmt" count="0"/>
 
13240
  <line num="312" type="stmt" count="0"/>
13241
+ <line num="313" type="stmt" count="0"/>
13242
  <line num="314" type="stmt" count="0"/>
 
13243
  <line num="316" type="stmt" count="0"/>
13244
+ <line num="317" type="stmt" count="0"/>
13245
+ <line num="318" type="stmt" count="0"/>
13246
  <line num="321" type="stmt" count="0"/>
13247
  <line num="322" type="stmt" count="0"/>
13248
+ <line num="323" type="stmt" count="0"/>
13249
+ <line num="324" type="stmt" count="0"/>
13250
  <line num="327" type="stmt" count="0"/>
13251
  <line num="328" type="stmt" count="0"/>
13252
+ <line num="329" type="stmt" count="0"/>
13253
  <line num="330" type="stmt" count="0"/>
 
13254
  <line num="332" type="stmt" count="0"/>
13255
  <line num="333" type="stmt" count="0"/>
13256
  <line num="334" type="stmt" count="0"/>
13257
+ <line num="335" type="stmt" count="0"/>
13258
+ <line num="336" type="stmt" count="0"/>
13259
  <line num="339" type="stmt" count="0"/>
13260
  <line num="340" type="stmt" count="0"/>
13261
+ <line num="341" type="stmt" count="0"/>
13262
+ <line num="342" type="stmt" count="0"/>
13263
  <line num="345" type="stmt" count="0"/>
13264
  <line num="346" type="stmt" count="0"/>
13265
+ <line num="347" type="stmt" count="0"/>
13266
+ <line num="348" type="stmt" count="0"/>
13267
  <line num="351" type="stmt" count="0"/>
13268
  <line num="352" type="stmt" count="0"/>
13269
+ <line num="353" type="stmt" count="0"/>
13270
+ <line num="354" type="stmt" count="0"/>
13271
  <line num="357" type="stmt" count="0"/>
13272
  <line num="358" type="stmt" count="0"/>
13273
+ <line num="359" type="stmt" count="0"/>
13274
+ <line num="360" type="stmt" count="0"/>
13275
  <line num="363" type="stmt" count="0"/>
13276
  <line num="364" type="stmt" count="0"/>
13277
+ <line num="365" type="stmt" count="0"/>
13278
+ <line num="366" type="stmt" count="0"/>
13279
  <line num="369" type="stmt" count="0"/>
13280
  <line num="370" type="stmt" count="0"/>
13281
+ <line num="371" type="stmt" count="0"/>
13282
  <line num="372" type="stmt" count="0"/>
 
13283
  <line num="374" type="stmt" count="0"/>
13284
+ <line num="375" type="stmt" count="0"/>
13285
+ <line num="376" type="stmt" count="0"/>
13286
  <line num="379" type="stmt" count="0"/>
13287
  <line num="380" type="stmt" count="0"/>
13288
+ <line num="381" type="stmt" count="0"/>
13289
+ <line num="382" type="stmt" count="0"/>
13290
  <line num="385" type="stmt" count="0"/>
13291
  <line num="386" type="stmt" count="0"/>
13292
+ <line num="387" type="stmt" count="0"/>
13293
  <line num="388" type="stmt" count="0"/>
 
13294
  <line num="390" type="stmt" count="0"/>
13295
  <line num="391" type="stmt" count="0"/>
13296
  <line num="392" type="stmt" count="0"/>
13297
  <line num="393" type="stmt" count="0"/>
13298
+ <line num="394" type="stmt" count="0"/>
13299
  <line num="395" type="stmt" count="0"/>
13300
  <line num="397" type="stmt" count="0"/>
13301
  <line num="399" type="stmt" count="0"/>
13302
  <line num="401" type="stmt" count="0"/>
 
13303
  <line num="403" type="stmt" count="0"/>
13304
+ <line num="404" type="stmt" count="0"/>
13305
  <line num="405" type="stmt" count="0"/>
13306
  <line num="407" type="stmt" count="0"/>
13307
  <line num="409" type="stmt" count="0"/>
13308
  <line num="411" type="stmt" count="0"/>
13309
  <line num="413" type="stmt" count="0"/>
13310
  <line num="415" type="stmt" count="0"/>
 
13311
  <line num="417" type="stmt" count="0"/>
13312
+ <line num="418" type="stmt" count="0"/>
13313
  <line num="419" type="stmt" count="0"/>
13314
  <line num="421" type="stmt" count="0"/>
 
13315
  <line num="423" type="stmt" count="0"/>
13316
  <line num="424" type="stmt" count="0"/>
13317
+ <line num="425" type="stmt" count="0"/>
13318
  <line num="426" type="stmt" count="0"/>
13319
  <line num="428" type="stmt" count="0"/>
13320
  <line num="430" type="stmt" count="0"/>
13321
  <line num="432" type="stmt" count="0"/>
13322
  <line num="434" type="stmt" count="0"/>
13323
  <line num="436" type="stmt" count="0"/>
13324
+ <line num="438" type="stmt" count="0"/>
13325
  <line num="443" type="stmt" count="0"/>
13326
  <line num="445" type="stmt" count="0"/>
13327
  <line num="447" type="stmt" count="0"/>
13329
  <line num="451" type="stmt" count="0"/>
13330
  <line num="453" type="stmt" count="0"/>
13331
  <line num="455" type="stmt" count="0"/>
13332
+ <line num="457" type="stmt" count="0"/>
13333
  <line num="458" type="stmt" count="0"/>
13334
+ <line num="460" type="stmt" count="0"/>
13335
  <line num="461" type="stmt" count="0"/>
13336
  <line num="463" type="stmt" count="0"/>
 
13337
  <line num="465" type="stmt" count="0"/>
13338
+ <line num="466" type="stmt" count="0"/>
13339
  <line num="467" type="stmt" count="0"/>
13340
  <line num="469" type="stmt" count="0"/>
13341
+ <line num="471" type="stmt" count="0"/>
13342
+ <line num="472" type="stmt" count="0"/>
 
13343
  <line num="475" type="stmt" count="0"/>
13344
+ <line num="476" type="stmt" count="0"/>
13345
+ <line num="477" type="stmt" count="0"/>
13346
+ <line num="480" type="stmt" count="0"/>
13347
+ <line num="481" type="stmt" count="0"/>
13348
+ <line num="484" type="stmt" count="0"/>
13349
+ <line num="487" type="stmt" count="0"/>
13350
+ <line num="490" type="stmt" count="0"/>
13351
  <line num="493" type="stmt" count="0"/>
13352
  <line num="495" type="stmt" count="0"/>
13353
+ <line num="497" type="stmt" count="0"/>
13354
  <line num="498" type="stmt" count="0"/>
13355
  <line num="500" type="stmt" count="0"/>
13356
  <line num="502" type="stmt" count="0"/>
13357
+ <line num="504" type="stmt" count="0"/>
13358
+ <line num="505" type="stmt" count="0"/>
13359
+ <line num="508" type="stmt" count="0"/>
 
13360
  <line num="511" type="stmt" count="0"/>
13361
+ <line num="512" type="stmt" count="0"/>
13362
+ <line num="514" type="stmt" count="0"/>
13363
+ <line num="515" type="stmt" count="0"/>
13364
+ <line num="516" type="stmt" count="0"/>
13365
+ <line num="517" type="stmt" count="0"/>
13366
+ <line num="518" type="stmt" count="0"/>
13367
  <line num="519" type="stmt" count="0"/>
13368
+ <line num="526" type="method" name="run" visibility="public" complexity="1" crap="2" count="0"/>
13369
+ <line num="527" type="stmt" count="0"/>
13370
+ <line num="528" type="stmt" count="0"/>
13371
+ <line num="537" type="method" name="get_plugin_name" visibility="public" complexity="1" crap="2" count="0"/>
13372
+ <line num="538" type="stmt" count="0"/>
13373
+ <line num="539" type="stmt" count="0"/>
13374
+ <line num="547" type="method" name="get_loader" visibility="public" complexity="1" crap="2" count="0"/>
13375
+ <line num="548" type="stmt" count="0"/>
13376
+ <line num="549" type="stmt" count="0"/>
13377
+ <line num="557" type="method" name="get_version" visibility="public" complexity="1" crap="2" count="0"/>
13378
+ <line num="558" type="stmt" count="0"/>
13379
+ <line num="559" type="stmt" count="0"/>
13380
+ <metrics loc="560" ncloc="337" classes="1" methods="8" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="245" coveredstatements="0" elements="253" coveredelements="0"/>
13381
  </file>
13382
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/includes/config/config.cron.php">
13383
  <line num="17" type="stmt" count="0"/>
68347
  </file>
68348
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/src/Library/Key.php">
68349
  <class name="Key" namespace="Boldgrid\Library\Library">
68350
+ <metrics complexity="34" methods="14" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="95" coveredstatements="0" elements="109" coveredelements="0"/>
68351
  </class>
68352
+ <line num="77" type="method" name="__construct" visibility="public" complexity="1" crap="2" count="0"/>
68353
+ <line num="78" type="stmt" count="0"/>
68354
+ <line num="79" type="stmt" count="0"/>
68355
+ <line num="80" type="stmt" count="0"/>
68356
+ <line num="81" type="stmt" count="0"/>
68357
+ <line num="83" type="stmt" count="0"/>
 
 
68358
  <line num="84" type="stmt" count="0"/>
68359
+ <line num="93" type="method" name="setLicense" visibility="public" complexity="2" crap="6" count="0"/>
68360
+ <line num="94" type="stmt" count="0"/>
68361
  <line num="95" type="stmt" count="0"/>
68362
+ <line num="104" type="method" name="getKey" visibility="private" complexity="1" crap="2" count="0"/>
68363
+ <line num="105" type="stmt" count="0"/>
68364
  <line num="106" type="stmt" count="0"/>
68365
+ <line num="115" type="method" name="getLicense" visibility="public" complexity="1" crap="2" count="0"/>
68366
+ <line num="116" type="stmt" count="0"/>
68367
+ <line num="117" type="stmt" count="0"/>
68368
+ <line num="126" type="method" name="getNotice" visibility="public" complexity="1" crap="2" count="0"/>
68369
+ <line num="127" type="stmt" count="0"/>
68370
+ <line num="128" type="stmt" count="0"/>
68371
+ <line num="139" type="method" name="hasKey" visibility="public" complexity="1" crap="2" count="0"/>
 
 
 
68372
  <line num="140" type="stmt" count="0"/>
68373
  <line num="142" type="stmt" count="0"/>
68374
+ <line num="143" type="stmt" count="0"/>
68375
+ <line num="154" type="method" name="setValid" visibility="public" complexity="7" crap="56" count="0"/>
68376
+ <line num="156" type="stmt" count="0"/>
68377
+ <line num="159" type="stmt" count="0"/>
 
 
 
68378
  <line num="162" type="stmt" count="0"/>
68379
+ <line num="165" type="stmt" count="0"/>
 
68380
  <line num="167" type="stmt" count="0"/>
68381
  <line num="168" type="stmt" count="0"/>
68382
  <line num="171" type="stmt" count="0"/>
 
68383
  <line num="173" type="stmt" count="0"/>
68384
+ <line num="176" type="stmt" count="0"/>
68385
+ <line num="178" type="stmt" count="0"/>
68386
+ <line num="181" type="stmt" count="0"/>
68387
+ <line num="182" type="stmt" count="0"/>
68388
+ <line num="183" type="stmt" count="0"/>
68389
+ <line num="185" type="stmt" count="0"/>
68390
+ <line num="186" type="stmt" count="0"/>
68391
+ <line num="196" type="method" name="setNotice" visibility="public" complexity="6" crap="42" count="0"/>
68392
  <line num="197" type="stmt" count="0"/>
68393
  <line num="198" type="stmt" count="0"/>
68394
  <line num="199" type="stmt" count="0"/>
 
 
68395
  <line num="202" type="stmt" count="0"/>
68396
  <line num="203" type="stmt" count="0"/>
68397
+ <line num="204" type="stmt" count="0"/>
68398
+ <line num="207" type="stmt" count="0"/>
68399
+ <line num="208" type="stmt" count="0"/>
68400
+ <line num="209" type="stmt" count="0"/>
68401
+ <line num="210" type="stmt" count="0"/>
68402
+ <line num="220" type="method" name="addKey" visibility="public" complexity="2" crap="6" count="0"/>
68403
+ <line num="228" type="stmt" count="0"/>
 
 
68404
  <line num="229" type="stmt" count="0"/>
68405
+ <line num="231" type="stmt" count="0"/>
68406
+ <line num="233" type="stmt" count="0"/>
68407
+ <line num="234" type="stmt" count="0"/>
68408
+ <line num="235" type="stmt" count="0"/>
68409
+ <line num="236" type="stmt" count="0"/>
68410
+ <line num="237" type="stmt" count="0"/>
68411
+ <line num="238" type="stmt" count="0"/>
68412
+ <line num="239" type="stmt" count="0"/>
68413
+ <line num="250" type="method" name="callCheckVersion" visibility="public" complexity="3" crap="12" count="0"/>
68414
+ <line num="251" type="stmt" count="0"/>
68415
+ <line num="252" type="stmt" count="0"/>
68416
+ <line num="255" type="stmt" count="0"/>
68417
+ <line num="258" type="stmt" count="0"/>
68418
+ <line num="259" type="stmt" count="0"/>
68419
  <line num="260" type="stmt" count="0"/>
68420
  <line num="261" type="stmt" count="0"/>
68421
  <line num="262" type="stmt" count="0"/>
68422
+ <line num="265" type="stmt" count="0"/>
68423
+ <line num="266" type="stmt" count="0"/>
68424
+ <line num="276" type="method" name="verifyData" visibility="public" complexity="1" crap="2" count="0"/>
68425
+ <line num="277" type="stmt" count="0"/>
68426
+ <line num="278" type="stmt" count="0"/>
68427
+ <line num="292" type="method" name="verify" visibility="public" complexity="3" crap="12" count="0"/>
 
 
 
 
68428
  <line num="293" type="stmt" count="0"/>
68429
  <line num="296" type="stmt" count="0"/>
68430
+ <line num="297" type="stmt" count="0"/>
68431
+ <line num="298" type="stmt" count="0"/>
68432
  <line num="299" type="stmt" count="0"/>
68433
+ <line num="300" type="stmt" count="0"/>
68434
+ <line num="303" type="stmt" count="0"/>
68435
+ <line num="304" type="stmt" count="0"/>
68436
+ <line num="305" type="stmt" count="0"/>
68437
+ <line num="308" type="stmt" count="0"/>
68438
+ <line num="309" type="stmt" count="0"/>
68439
+ <line num="321" type="method" name="save" visibility="public" complexity="1" crap="2" count="0"/>
68440
+ <line num="322" type="stmt" count="0"/>
68441
+ <line num="326" type="stmt" count="0"/>
68442
+ <line num="329" type="stmt" count="0"/>
68443
+ <line num="332" type="stmt" count="0"/>
68444
  <line num="335" type="stmt" count="0"/>
68445
  <line num="338" type="stmt" count="0"/>
68446
+ <line num="342" type="stmt" count="0"/>
 
68447
  <line num="343" type="stmt" count="0"/>
68448
+ <line num="354" type="method" name="saveReseller" visibility="protected" complexity="4" crap="20" count="0"/>
68449
+ <line num="355" type="stmt" count="0"/>
68450
+ <line num="360" type="stmt" count="0"/>
68451
+ <line num="363" type="stmt" count="0"/>
68452
+ <line num="366" type="stmt" count="0"/>
68453
+ <line num="369" type="stmt" count="0"/>
68454
+ <line num="370" type="stmt" count="0"/>
68455
+ <line num="371" type="stmt" count="0"/>
68456
+ <line num="374" type="stmt" count="0"/>
68457
+ <line num="375" type="stmt" count="0"/>
68458
+ <line num="376" type="stmt" count="0"/>
68459
+ <line num="379" type="stmt" count="0"/>
68460
+ <line num="380" type="stmt" count="0"/>
68461
+ <metrics loc="381" ncloc="139" classes="1" methods="14" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="95" coveredstatements="0" elements="109" coveredelements="0"/>
68462
  </file>
68463
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/src/Library/License.php">
68464
  <class name="License" namespace="Boldgrid\Library\Library">
69113
  <line num="77" type="stmt" count="0"/>
69114
  <metrics loc="78" ncloc="27" classes="1" methods="3" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="10" coveredstatements="0" elements="13" coveredelements="0"/>
69115
  </file>
69116
+ <file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/src/Library/Settings.php">
69117
+ <class name="Settings" namespace="Boldgrid\Library\Library">
69118
+ <metrics complexity="6" methods="5" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="14" coveredstatements="0" elements="19" coveredelements="0"/>
69119
+ </class>
69120
+ <line num="35" type="method" name="get" visibility="public" complexity="1" crap="2" count="0"/>
69121
+ <line num="36" type="stmt" count="0"/>
69122
+ <line num="37" type="stmt" count="0"/>
69123
+ <line num="49" type="method" name="getKey" visibility="public" complexity="2" crap="6" count="0"/>
69124
+ <line num="50" type="stmt" count="0"/>
69125
+ <line num="52" type="stmt" count="0"/>
69126
+ <line num="53" type="stmt" count="0"/>
69127
+ <line num="63" type="method" name="hasKey" visibility="public" complexity="1" crap="2" count="0"/>
69128
+ <line num="64" type="stmt" count="0"/>
69129
+ <line num="66" type="stmt" count="0"/>
69130
+ <line num="67" type="stmt" count="0"/>
69131
+ <line num="77" type="method" name="set" visibility="public" complexity="1" crap="2" count="0"/>
69132
+ <line num="78" type="stmt" count="0"/>
69133
+ <line num="79" type="stmt" count="0"/>
69134
+ <line num="90" type="method" name="setKey" visibility="public" complexity="1" crap="2" count="0"/>
69135
+ <line num="91" type="stmt" count="0"/>
69136
+ <line num="93" type="stmt" count="0"/>
69137
+ <line num="95" type="stmt" count="0"/>
69138
+ <line num="96" type="stmt" count="0"/>
69139
+ <metrics loc="97" ncloc="35" classes="1" methods="5" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="14" coveredstatements="0" elements="19" coveredelements="0"/>
69140
+ </file>
69141
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/src/Library/Start.php">
69142
  <class name="Start" namespace="Boldgrid\Library\Library">
69143
  <metrics complexity="13" methods="8" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="52" coveredstatements="0" elements="60" coveredelements="0"/>
69359
  <line num="201" type="stmt" count="0"/>
69360
  <metrics loc="202" ncloc="89" classes="1" methods="8" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="56" coveredstatements="0" elements="64" coveredelements="0"/>
69361
  </file>
69362
+ <file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/src/Library/Usage.php">
69363
+ <class name="Usage" namespace="Boldgrid\Library\Library">
69364
+ <metrics complexity="14" methods="6" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="48" coveredstatements="0" elements="54" coveredelements="0"/>
69365
+ </class>
69366
+ <line num="57" type="method" name="__construct" visibility="public" complexity="2" crap="6" count="0"/>
69367
+ <line num="59" type="stmt" count="0"/>
69368
+ <line num="60" type="stmt" count="0"/>
69369
+ <line num="61" type="stmt" count="0"/>
69370
+ <line num="62" type="stmt" count="0"/>
69371
+ <line num="64" type="stmt" count="0"/>
69372
+ <line num="65" type="stmt" count="0"/>
69373
+ <line num="72" type="method" name="addTag" visibility="public" complexity="1" crap="2" count="0"/>
69374
+ <line num="75" type="stmt" count="0"/>
69375
+ <line num="76" type="stmt" count="0"/>
69376
+ <line num="77" type="stmt" count="0"/>
69377
+ <line num="78" type="stmt" count="0"/>
69378
+ <line num="80" type="stmt" count="0"/>
69379
+ <line num="82" type="stmt" count="0"/>
69380
+ <line num="89" type="method" name="admin_enqueue_scripts" visibility="public" complexity="4" crap="20" count="0"/>
69381
+ <line num="90" type="stmt" count="0"/>
69382
+ <line num="92" type="stmt" count="0"/>
69383
+ <line num="93" type="stmt" count="0"/>
69384
+ <line num="94" type="stmt" count="0"/>
69385
+ <line num="95" type="stmt" count="0"/>
69386
+ <line num="96" type="stmt" count="0"/>
69387
+ <line num="98" type="stmt" count="0"/>
69388
+ <line num="100" type="stmt" count="0"/>
69389
+ <line num="101" type="stmt" count="0"/>
69390
+ <line num="102" type="stmt" count="0"/>
69391
+ <line num="103" type="stmt" count="0"/>
69392
+ <line num="104" type="stmt" count="0"/>
69393
+ <line num="105" type="stmt" count="0"/>
69394
+ <line num="107" type="stmt" count="0"/>
69395
+ <line num="108" type="stmt" count="0"/>
69396
+ <line num="109" type="stmt" count="0"/>
69397
+ <line num="110" type="stmt" count="0"/>
69398
+ <line num="111" type="stmt" count="0"/>
69399
+ <line num="113" type="stmt" count="0"/>
69400
+ <line num="115" type="stmt" count="0"/>
69401
+ <line num="116" type="stmt" count="0"/>
69402
+ <line num="117" type="stmt" count="0"/>
69403
+ <line num="124" type="method" name="admin_head" visibility="public" complexity="2" crap="6" count="0"/>
69404
+ <line num="125" type="stmt" count="0"/>
69405
+ <line num="126" type="stmt" count="0"/>
69406
+ <line num="127" type="stmt" count="0"/>
69407
+ <line num="128" type="stmt" count="0"/>
69408
+ <line num="137" type="method" name="getLicenseData" visibility="private" complexity="2" crap="6" count="0"/>
69409
+ <line num="138" type="stmt" count="0"/>
69410
+ <line num="139" type="stmt" count="0"/>
69411
+ <line num="142" type="stmt" count="0"/>
69412
+ <line num="143" type="stmt" count="0"/>
69413
+ <line num="145" type="stmt" count="0"/>
69414
+ <line num="146" type="stmt" count="0"/>
69415
+ <line num="155" type="method" name="maybeLoad" visibility="private" complexity="3" crap="12" count="0"/>
69416
+ <line num="156" type="stmt" count="0"/>
69417
+ <line num="157" type="stmt" count="0"/>
69418
+ <line num="164" type="stmt" count="0"/>
69419
+ <line num="165" type="stmt" count="0"/>
69420
+ <metrics loc="166" ncloc="83" classes="1" methods="6" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="48" coveredstatements="0" elements="54" coveredelements="0"/>
69421
+ </file>
69422
  </package>
69423
  <package name="Boldgrid\Library\Library\Api">
69424
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/src/Library/Api/Availability.php">
69917
  <package name="Boldgrid\Library\Library\Notice">
69918
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/src/Library/Notice/KeyPrompt.php">
69919
  <class name="KeyPrompt" namespace="Boldgrid\Library\Library\Notice">
69920
+ <metrics complexity="24" methods="11" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="122" coveredstatements="0" elements="133" coveredelements="0"/>
69921
  </class>
69922
  <line num="79" type="method" name="__construct" visibility="public" complexity="1" crap="2" count="0"/>
69923
  <line num="80" type="stmt" count="0"/>
70003
  <line num="213" type="stmt" count="0"/>
70004
  <line num="214" type="stmt" count="0"/>
70005
  <line num="215" type="stmt" count="0"/>
70006
+ <line num="232" type="method" name="maybePromptKey" visibility="public" complexity="2" crap="6" count="0"/>
 
70007
  <line num="234" type="stmt" count="0"/>
 
70008
  <line num="237" type="stmt" count="0"/>
70009
+ <line num="239" type="stmt" count="0"/>
70010
  <line num="240" type="stmt" count="0"/>
70011
+ <line num="249" type="method" name="addKey" visibility="public" complexity="3" crap="12" count="0"/>
70012
+ <line num="258" type="stmt" count="0"/>
70013
+ <line num="259" type="stmt" count="0"/>
 
 
 
 
 
 
 
 
 
70014
  <line num="261" type="stmt" count="0"/>
70015
+ <line num="262" type="stmt" count="0"/>
70016
+ <line num="263" type="stmt" count="0"/>
70017
  <line num="265" type="stmt" count="0"/>
70018
  <line num="266" type="stmt" count="0"/>
70019
+ <line num="267" type="stmt" count="0"/>
70020
+ <line num="268" type="stmt" count="0"/>
70021
  <line num="269" type="stmt" count="0"/>
70022
  <line num="270" type="stmt" count="0"/>
70023
  <line num="271" type="stmt" count="0"/>
70024
+ <line num="272" type="stmt" count="0"/>
70025
+ <line num="273" type="stmt" count="0"/>
70026
  <line num="274" type="stmt" count="0"/>
70027
  <line num="275" type="stmt" count="0"/>
70028
  <line num="276" type="stmt" count="0"/>
70029
+ <line num="285" type="method" name="validate" visibility="protected" complexity="5" crap="30" count="0"/>
70030
+ <line num="286" type="stmt" count="0"/>
70031
+ <line num="289" type="stmt" count="0"/>
 
70032
  <line num="290" type="stmt" count="0"/>
70033
  <line num="291" type="stmt" count="0"/>
 
70034
  <line num="294" type="stmt" count="0"/>
70035
  <line num="295" type="stmt" count="0"/>
70036
+ <line num="296" type="stmt" count="0"/>
70037
+ <line num="299" type="stmt" count="0"/>
70038
+ <line num="300" type="stmt" count="0"/>
70039
+ <line num="301" type="stmt" count="0"/>
70040
+ <line num="302" type="stmt" count="0"/>
70041
+ <line num="304" type="stmt" count="0"/>
70042
  <line num="305" type="stmt" count="0"/>
70043
+ <line num="314" type="method" name="getIsDismissed" visibility="public" complexity="2" crap="6" count="0"/>
70044
+ <line num="315" type="stmt" count="0"/>
70045
  <line num="316" type="stmt" count="0"/>
70046
  <line num="317" type="stmt" count="0"/>
70047
+ <line num="319" type="stmt" count="0"/>
70048
+ <line num="320" type="stmt" count="0"/>
70049
+ <line num="329" type="method" name="getIsDisplayed" visibility="public" complexity="1" crap="2" count="0"/>
70050
+ <line num="330" type="stmt" count="0"/>
70051
+ <line num="331" type="stmt" count="0"/>
70052
+ <line num="340" type="method" name="getMessages" visibility="protected" complexity="1" crap="2" count="0"/>
70053
+ <line num="341" type="stmt" count="0"/>
70054
+ <line num="342" type="stmt" count="0"/>
70055
+ <metrics loc="343" ncloc="174" classes="1" methods="11" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="122" coveredstatements="0" elements="133" coveredelements="0"/>
70056
  </file>
70057
  </package>
70058
  <package name="Boldgrid\Library\Library\Notifications">
70346
  </file>
70347
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/src/Library/Plugin/Plugin.php">
70348
  <class name="Plugin" namespace="Boldgrid\Library\Library\Plugin">
70349
+ <metrics complexity="39" methods="24" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="101" coveredstatements="0" elements="125" coveredelements="0"/>
70350
  </class>
70351
+ <line num="100" type="method" name="__construct" visibility="public" complexity="1" crap="2" count="0"/>
70352
+ <line num="101" type="stmt" count="0"/>
70353
+ <line num="103" type="stmt" count="0"/>
70354
+ <line num="105" type="stmt" count="0"/>
70355
+ <line num="107" type="stmt" count="0"/>
 
70356
  <line num="109" type="stmt" count="0"/>
70357
+ <line num="110" type="stmt" count="0"/>
70358
+ <line num="121" type="method" name="firstVersionCompare" visibility="public" complexity="1" crap="2" count="0"/>
 
 
 
70359
  <line num="123" type="stmt" count="0"/>
70360
+ <line num="125" type="stmt" count="0"/>
70361
+ <line num="126" type="stmt" count="0"/>
70362
+ <line num="135" type="method" name="getActivateUrl" visibility="public" complexity="1" crap="2" count="0"/>
70363
  <line num="136" type="stmt" count="0"/>
70364
  <line num="137" type="stmt" count="0"/>
70365
+ <line num="138" type="stmt" count="0"/>
70366
  <line num="139" type="stmt" count="0"/>
70367
  <line num="140" type="stmt" count="0"/>
70368
+ <line num="149" type="method" name="getIcons" visibility="public" complexity="3" crap="12" count="0"/>
70369
  <line num="150" type="stmt" count="0"/>
70370
+ <line num="152" type="stmt" count="0"/>
70371
+ <line num="153" type="stmt" count="0"/>
70372
+ <line num="154" type="stmt" count="0"/>
70373
+ <line num="156" type="stmt" count="0"/>
70374
+ <line num="157" type="stmt" count="0"/>
70375
+ <line num="166" type="method" name="getChildPlugins" visibility="public" complexity="1" crap="2" count="0"/>
70376
+ <line num="167" type="stmt" count="0"/>
70377
  <line num="168" type="stmt" count="0"/>
70378
+ <line num="180" type="method" name="getConfig" visibility="public" complexity="3" crap="12" count="0"/>
70379
+ <line num="181" type="stmt" count="0"/>
70380
+ <line num="183" type="stmt" count="0"/>
70381
+ <line num="185" type="stmt" count="0"/>
70382
+ <line num="186" type="stmt" count="0"/>
70383
+ <line num="187" type="stmt" count="0"/>
 
70384
  <line num="188" type="stmt" count="0"/>
70385
+ <line num="189" type="stmt" count="0"/>
70386
  <line num="191" type="stmt" count="0"/>
70387
+ <line num="192" type="stmt" count="0"/>
70388
+ <line num="204" type="method" name="getData" visibility="public" complexity="2" crap="6" count="0"/>
70389
  <line num="205" type="stmt" count="0"/>
70390
  <line num="207" type="stmt" count="0"/>
70391
  <line num="208" type="stmt" count="0"/>
70392
+ <line num="219" type="method" name="getDownloadUrl" visibility="public" complexity="1" crap="2" count="0"/>
 
 
70393
  <line num="220" type="stmt" count="0"/>
 
70394
  <line num="222" type="stmt" count="0"/>
70395
+ <line num="224" type="stmt" count="0"/>
70396
+ <line num="225" type="stmt" count="0"/>
70397
+ <line num="234" type="method" name="getInstallUrl" visibility="public" complexity="1" crap="2" count="0"/>
70398
+ <line num="235" type="stmt" count="0"/>
70399
+ <line num="236" type="stmt" count="0"/>
70400
+ <line num="237" type="stmt" count="0"/>
70401
+ <line num="238" type="stmt" count="0"/>
70402
+ <line num="239" type="stmt" count="0"/>
70403
+ <line num="248" type="method" name="getIsInstalled" visibility="public" complexity="1" crap="2" count="0"/>
70404
+ <line num="249" type="stmt" count="0"/>
70405
+ <line num="250" type="stmt" count="0"/>
70406
+ <line num="259" type="method" name="getFile" visibility="public" complexity="1" crap="2" count="0"/>
70407
  <line num="260" type="stmt" count="0"/>
70408
+ <line num="261" type="stmt" count="0"/>
70409
+ <line num="276" type="method" name="getFileSlug" visibility="public" complexity="1" crap="2" count="0"/>
70410
+ <line num="277" type="stmt" count="0"/>
70411
+ <line num="279" type="stmt" count="0"/>
70412
+ <line num="280" type="stmt" count="0"/>
70413
+ <line num="289" type="method" name="getNewVersion" visibility="public" complexity="2" crap="6" count="0"/>
 
 
 
 
70414
  <line num="290" type="stmt" count="0"/>
70415
+ <line num="292" type="stmt" count="0"/>
70416
+ <line num="293" type="stmt" count="0"/>
70417
+ <line num="302" type="method" name="getPluginData" visibility="public" complexity="3" crap="12" count="0"/>
70418
+ <line num="303" type="stmt" count="0"/>
70419
+ <line num="304" type="stmt" count="0"/>
70420
+ <line num="305" type="stmt" count="0"/>
70421
+ <line num="307" type="stmt" count="0"/>
70422
+ <line num="308" type="stmt" count="0"/>
70423
+ <line num="317" type="method" name="getPluginsChecked" visibility="public" complexity="2" crap="6" count="0"/>
70424
+ <line num="318" type="stmt" count="0"/>
 
 
70425
  <line num="320" type="stmt" count="0"/>
70426
+ <line num="322" type="stmt" count="0"/>
70427
+ <line num="323" type="stmt" count="0"/>
70428
+ <line num="332" type="method" name="getSlug" visibility="public" complexity="1" crap="2" count="0"/>
70429
+ <line num="333" type="stmt" count="0"/>
70430
+ <line num="334" type="stmt" count="0"/>
70431
+ <line num="341" type="method" name="setChildPlugins" visibility="public" complexity="3" crap="12" count="0"/>
70432
  <line num="342" type="stmt" count="0"/>
70433
+ <line num="344" type="stmt" count="0"/>
70434
+ <line num="345" type="stmt" count="0"/>
70435
+ <line num="346" type="stmt" count="0"/>
70436
+ <line num="348" type="stmt" count="0"/>
70437
+ <line num="349" type="stmt" count="0"/>
70438
  <line num="351" type="stmt" count="0"/>
70439
  <line num="352" type="stmt" count="0"/>
70440
+ <line num="353" type="stmt" count="0"/>
70441
+ <line num="362" type="method" name="setFile" visibility="public" complexity="2" crap="6" count="0"/>
70442
  <line num="363" type="stmt" count="0"/>
70443
  <line num="364" type="stmt" count="0"/>
70444
+ <line num="371" type="method" name="setIsInstalled" visibility="public" complexity="1" crap="2" count="0"/>
70445
+ <line num="372" type="stmt" count="0"/>
70446
+ <line num="374" type="stmt" count="0"/>
70447
+ <line num="375" type="stmt" count="0"/>
70448
+ <line num="382" type="method" name="setPath" visibility="public" complexity="1" crap="2" count="0"/>
70449
+ <line num="383" type="stmt" count="0"/>
70450
+ <line num="384" type="stmt" count="0"/>
70451
+ <line num="393" type="method" name="getUpdatePlugins" visibility="public" complexity="2" crap="6" count="0"/>
70452
+ <line num="394" type="stmt" count="0"/>
70453
+ <line num="395" type="stmt" count="0"/>
70454
+ <line num="396" type="stmt" count="0"/>
70455
+ <line num="398" type="stmt" count="0"/>
70456
+ <line num="399" type="stmt" count="0"/>
70457
+ <line num="408" type="method" name="hasUpdate" visibility="public" complexity="1" crap="2" count="0"/>
70458
+ <line num="409" type="stmt" count="0"/>
70459
+ <line num="411" type="stmt" count="0"/>
70460
+ <line num="412" type="stmt" count="0"/>
70461
+ <line num="421" type="method" name="isActive" visibility="public" complexity="1" crap="2" count="0"/>
70462
+ <line num="422" type="stmt" count="0"/>
70463
+ <line num="423" type="stmt" count="0"/>
70464
+ <line num="432" type="method" name="getFirstVersion" visibility="public" complexity="3" crap="12" count="0"/>
70465
+ <line num="433" type="stmt" count="0"/>
70466
+ <line num="435" type="stmt" count="0"/>
70467
+ <line num="444" type="stmt" count="0"/>
70468
+ <line num="445" type="stmt" count="0"/>
70469
+ <line num="446" type="stmt" count="0"/>
70470
+ <line num="447" type="stmt" count="0"/>
70471
+ <line num="448" type="stmt" count="0"/>
70472
+ <line num="450" type="stmt" count="0"/>
70473
+ <line num="451" type="stmt" count="0"/>
70474
+ <line num="453" type="stmt" count="0"/>
70475
+ <line num="454" type="stmt" count="0"/>
70476
+ <metrics loc="455" ncloc="195" classes="1" methods="24" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="101" coveredstatements="0" elements="125" coveredelements="0"/>
70477
  </file>
70478
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/src/Library/Plugin/Plugins.php">
70479
  <class name="Plugins" namespace="Boldgrid\Library\Library\Plugin">
70576
  <metrics loc="80" ncloc="32" classes="1" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="15" coveredstatements="0" elements="17" coveredelements="0"/>
70577
  </file>
70578
  </package>
70579
+ <package name="Boldgrid\Library\Library\Usage">
70580
+ <file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/src/Library/Usage/Helper.php">
70581
+ <class name="Helper" namespace="Boldgrid\Library\Library\Usage">
70582
+ <metrics complexity="3" methods="1" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="11" coveredstatements="0" elements="12" coveredelements="0"/>
70583
+ </class>
70584
+ <line num="24" type="method" name="hasScreenPrefix" visibility="public" complexity="3" crap="12" count="0"/>
70585
+ <line num="25" type="stmt" count="0"/>
70586
+ <line num="26" type="stmt" count="0"/>
70587
+ <line num="27" type="stmt" count="0"/>
70588
+ <line num="28" type="stmt" count="0"/>
70589
+ <line num="30" type="stmt" count="0"/>
70590
+ <line num="31" type="stmt" count="0"/>
70591
+ <line num="32" type="stmt" count="0"/>
70592
+ <line num="33" type="stmt" count="0"/>
70593
+ <line num="34" type="stmt" count="0"/>
70594
+ <line num="36" type="stmt" count="0"/>
70595
+ <line num="37" type="stmt" count="0"/>
70596
+ <metrics loc="38" ncloc="20" classes="1" methods="1" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="11" coveredstatements="0" elements="12" coveredelements="0"/>
70597
+ </file>
70598
+ <file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/src/Library/Usage/Notice.php">
70599
+ <class name="Notice" namespace="Boldgrid\Library\Library\Usage">
70600
+ <metrics complexity="13" methods="5" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="64" coveredstatements="0" elements="69" coveredelements="0"/>
70601
+ </class>
70602
+ <line num="40" type="method" name="__construct" visibility="public" complexity="2" crap="6" count="0"/>
70603
+ <line num="42" type="stmt" count="0"/>
70604
+ <line num="43" type="stmt" count="0"/>
70605
+ <line num="44" type="stmt" count="0"/>
70606
+ <line num="45" type="stmt" count="0"/>
70607
+ <line num="46" type="stmt" count="0"/>
70608
+ <line num="53" type="method" name="admin_enqueue_scripts" visibility="public" complexity="1" crap="2" count="0"/>
70609
+ <line num="54" type="stmt" count="0"/>
70610
+ <line num="56" type="stmt" count="0"/>
70611
+ <line num="57" type="stmt" count="0"/>
70612
+ <line num="58" type="stmt" count="0"/>
70613
+ <line num="59" type="stmt" count="0"/>
70614
+ <line num="60" type="stmt" count="0"/>
70615
+ <line num="61" type="stmt" count="0"/>
70616
+ <line num="63" type="stmt" count="0"/>
70617
+ <line num="64" type="stmt" count="0"/>
70618
+ <line num="65" type="stmt" count="0"/>
70619
+ <line num="66" type="stmt" count="0"/>
70620
+ <line num="68" type="stmt" count="0"/>
70621
+ <line num="70" type="stmt" count="0"/>
70622
+ <line num="71" type="stmt" count="0"/>
70623
+ <line num="80" type="method" name="maybeShow" visibility="public" complexity="5" crap="30" count="0"/>
70624
+ <line num="81" type="stmt" count="0"/>
70625
+ <line num="83" type="stmt" count="0"/>
70626
+ <line num="84" type="stmt" count="0"/>
70627
+ <line num="86" type="stmt" count="0"/>
70628
+ <line num="87" type="stmt" count="0"/>
70629
+ <line num="89" type="stmt" count="0"/>
70630
+ <line num="90" type="stmt" count="0"/>
70631
+ <line num="91" type="stmt" count="0"/>
70632
+ <line num="92" type="stmt" count="0"/>
70633
+ <line num="106" type="stmt" count="0"/>
70634
+ <line num="108" type="stmt" count="0"/>
70635
+ <line num="109" type="stmt" count="0"/>
70636
+ <line num="116" type="method" name="admin_notices" visibility="public" complexity="2" crap="6" count="0"/>
70637
+ <line num="118" type="stmt" count="0"/>
70638
+ <line num="119" type="stmt" count="0"/>
70639
+ <line num="120" type="stmt" count="0"/>
70640
+ <line num="122" type="stmt" count="0"/>
70641
+ <line num="123" type="stmt" count="0"/>
70642
+ <line num="124" type="stmt" count="0"/>
70643
+ <line num="125" type="stmt" count="0"/>
70644
+ <line num="126" type="stmt" count="0"/>
70645
+ <line num="127" type="stmt" count="0"/>
70646
+ <line num="128" type="stmt" count="0"/>
70647
+ <line num="129" type="stmt" count="0"/>
70648
+ <line num="130" type="stmt" count="0"/>
70649
+ <line num="145" type="stmt" count="0"/>
70650
+ <line num="147" type="stmt" count="0"/>
70651
+ <line num="149" type="stmt" count="0"/>
70652
+ <line num="150" type="stmt" count="0"/>
70653
+ <line num="151" type="stmt" count="0"/>
70654
+ <line num="152" type="stmt" count="0"/>
70655
+ <line num="153" type="stmt" count="0"/>
70656
+ <line num="154" type="stmt" count="0"/>
70657
+ <line num="156" type="stmt" count="0"/>
70658
+ <line num="157" type="stmt" count="0"/>
70659
+ <line num="158" type="stmt" count="0"/>
70660
+ <line num="159" type="stmt" count="0"/>
70661
+ <line num="161" type="stmt" count="0"/>
70662
+ <line num="162" type="stmt" count="0"/>
70663
+ <line num="169" type="method" name="wp_ajax_bglib_usage_signup" visibility="public" complexity="3" crap="12" count="0"/>
70664
+ <line num="170" type="stmt" count="0"/>
70665
+ <line num="171" type="stmt" count="0"/>
70666
+ <line num="172" type="stmt" count="0"/>
70667
+ <line num="174" type="stmt" count="0"/>
70668
+ <line num="176" type="stmt" count="0"/>
70669
+ <line num="178" type="stmt" count="0"/>
70670
+ <line num="179" type="stmt" count="0"/>
70671
+ <metrics loc="180" ncloc="94" classes="1" methods="5" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="64" coveredstatements="0" elements="69" coveredelements="0"/>
70672
+ </file>
70673
+ <file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/src/Library/Usage/Settings.php">
70674
+ <class name="Settings" namespace="Boldgrid\Library\Library\Usage">
70675
+ <metrics complexity="4" methods="3" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="8" coveredstatements="0" elements="11" coveredelements="0"/>
70676
+ </class>
70677
+ <line num="33" type="method" name="hasAgreed" visibility="public" complexity="1" crap="2" count="0"/>
70678
+ <line num="34" type="stmt" count="0"/>
70679
+ <line num="36" type="stmt" count="0"/>
70680
+ <line num="37" type="stmt" count="0"/>
70681
+ <line num="46" type="method" name="hasAgreeDecision" visibility="public" complexity="1" crap="2" count="0"/>
70682
+ <line num="47" type="stmt" count="0"/>
70683
+ <line num="48" type="stmt" count="0"/>
70684
+ <line num="57" type="method" name="setAgree" visibility="public" complexity="2" crap="6" count="0"/>
70685
+ <line num="58" type="stmt" count="0"/>
70686
+ <line num="60" type="stmt" count="0"/>
70687
+ <line num="61" type="stmt" count="0"/>
70688
+ <metrics loc="62" ncloc="23" classes="1" methods="3" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="8" coveredstatements="0" elements="11" coveredelements="0"/>
70689
+ </file>
70690
+ </package>
70691
  <package name="Boldgrid\Library\Library\Util">
70692
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/src/Library/Util/Plugin.php">
70693
  <class name="Plugin" namespace="Boldgrid\Library\Library\Util">
71709
  <line num="46" type="stmt" count="0"/>
71710
  <line num="47" type="stmt" count="0"/>
71711
  <line num="48" type="stmt" count="0"/>
 
 
71712
  <line num="51" type="stmt" count="0"/>
71713
  <line num="52" type="stmt" count="0"/>
71714
  <line num="53" type="stmt" count="0"/>
71715
+ <line num="54" type="stmt" count="0"/>
71716
+ <line num="55" type="stmt" count="0"/>
71717
  <line num="56" type="stmt" count="0"/>
71718
  <line num="57" type="stmt" count="0"/>
71719
  <line num="58" type="stmt" count="0"/>
71743
  <line num="82" type="stmt" count="0"/>
71744
  <line num="83" type="stmt" count="0"/>
71745
  <line num="84" type="stmt" count="0"/>
71746
+ <line num="99" type="stmt" count="0"/>
71747
+ <line num="100" type="stmt" count="0"/>
71748
+ <line num="101" type="stmt" count="0"/>
71749
  <line num="102" type="stmt" count="0"/>
71750
  <line num="103" type="stmt" count="0"/>
71751
  <line num="104" type="stmt" count="0"/>
71767
  <line num="120" type="stmt" count="0"/>
71768
  <line num="121" type="stmt" count="0"/>
71769
  <line num="122" type="stmt" count="0"/>
 
 
71770
  <line num="125" type="stmt" count="0"/>
71771
+ <line num="126" type="stmt" count="0"/>
71772
+ <line num="127" type="stmt" count="0"/>
71773
  <line num="128" type="stmt" count="0"/>
71774
  <line num="129" type="stmt" count="0"/>
71775
  <line num="130" type="stmt" count="0"/>
71781
  <line num="136" type="stmt" count="0"/>
71782
  <line num="137" type="stmt" count="0"/>
71783
  <line num="138" type="stmt" count="0"/>
 
 
 
71784
  <line num="142" type="stmt" count="0"/>
71785
+ <line num="143" type="stmt" count="0"/>
71786
+ <metrics loc="143" ncloc="105" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="100" coveredstatements="0" elements="100" coveredelements="0"/>
71787
  </file>
71788
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/tests/Library/Library/test-activity.php">
71789
  <class name="Test_Activty" namespace="global" fullPackage="Test">
72119
  </file>
72120
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/tests/Library/Plugin/test-plugin.php">
72121
  <class name="Test_BoldGrid_Library_Library_Plugin_Plugin" namespace="global" fullPackage="Test.BoldGrid.Library.Library.Plugin">
72122
+ <metrics complexity="6" methods="6" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="70" coveredstatements="0" elements="76" coveredelements="0"/>
72123
  </class>
72124
+ <line num="30" type="method" name="setUp" visibility="public" complexity="1" crap="2" count="0"/>
72125
+ <line num="32" type="stmt" count="0"/>
72126
+ <line num="34" type="stmt" count="0"/>
72127
+ <line num="36" type="stmt" count="0"/>
72128
  <line num="37" type="stmt" count="0"/>
72129
+ <line num="38" type="stmt" count="0"/>
72130
+ <line num="45" type="method" name="resetConfigs" visibility="public" complexity="1" crap="2" count="0"/>
 
 
 
 
72131
  <line num="46" type="stmt" count="0"/>
72132
+ <line num="48" type="stmt" count="0"/>
72133
+ <line num="49" type="stmt" count="0"/>
72134
+ <line num="50" type="stmt" count="0"/>
72135
+ <line num="57" type="method" name="testGetDownloadUrl" visibility="public" complexity="1" crap="2" count="0"/>
72136
  <line num="58" type="stmt" count="0"/>
72137
  <line num="60" type="stmt" count="0"/>
72138
+ <line num="62" type="stmt" count="0"/>
72139
+ <line num="63" type="stmt" count="0"/>
72140
+ <line num="70" type="method" name="testFirstVersionCompare" visibility="public" complexity="1" crap="2" count="0"/>
72141
+ <line num="72" type="stmt" count="0"/>
72142
+ <line num="73" type="stmt" count="0"/>
72143
+ <line num="74" type="stmt" count="0"/>
72144
+ <line num="75" type="stmt" count="0"/>
72145
+ <line num="78" type="stmt" count="0"/>
72146
+ <line num="79" type="stmt" count="0"/>
72147
+ <line num="80" type="stmt" count="0"/>
72148
+ <line num="81" type="stmt" count="0"/>
72149
+ <line num="82" type="stmt" count="0"/>
72150
+ <line num="83" type="stmt" count="0"/>
72151
+ <line num="84" type="stmt" count="0"/>
72152
+ <line num="85" type="stmt" count="0"/>
72153
+ <line num="86" type="stmt" count="0"/>
72154
+ <line num="87" type="stmt" count="0"/>
72155
+ <line num="88" type="stmt" count="0"/>
72156
+ <line num="89" type="stmt" count="0"/>
72157
+ <line num="90" type="stmt" count="0"/>
72158
+ <line num="91" type="stmt" count="0"/>
72159
+ <line num="98" type="method" name="testGetFirstVersion" visibility="public" complexity="1" crap="2" count="0"/>
72160
+ <line num="100" type="stmt" count="0"/>
72161
+ <line num="101" type="stmt" count="0"/>
72162
+ <line num="102" type="stmt" count="0"/>
72163
+ <line num="103" type="stmt" count="0"/>
72164
+ <line num="106" type="stmt" count="0"/>
72165
+ <line num="107" type="stmt" count="0"/>
72166
+ <line num="108" type="stmt" count="0"/>
72167
+ <line num="109" type="stmt" count="0"/>
72168
+ <line num="110" type="stmt" count="0"/>
72169
+ <line num="111" type="stmt" count="0"/>
72170
+ <line num="112" type="stmt" count="0"/>
72171
+ <line num="113" type="stmt" count="0"/>
72172
+ <line num="114" type="stmt" count="0"/>
72173
+ <line num="115" type="stmt" count="0"/>
72174
+ <line num="116" type="stmt" count="0"/>
72175
+ <line num="117" type="stmt" count="0"/>
72176
+ <line num="124" type="method" name="testGetPluginsChecked" visibility="public" complexity="1" crap="2" count="0"/>
72177
+ <line num="126" type="stmt" count="0"/>
72178
+ <line num="127" type="stmt" count="0"/>
72179
+ <line num="128" type="stmt" count="0"/>
72180
+ <line num="129" type="stmt" count="0"/>
72181
+ <line num="132" type="stmt" count="0"/>
72182
+ <line num="133" type="stmt" count="0"/>
72183
+ <line num="136" type="stmt" count="0"/>
72184
+ <line num="137" type="stmt" count="0"/>
72185
+ <line num="138" type="stmt" count="0"/>
72186
+ <line num="139" type="stmt" count="0"/>
72187
+ <line num="140" type="stmt" count="0"/>
72188
+ <line num="143" type="stmt" count="0"/>
72189
+ <line num="144" type="stmt" count="0"/>
72190
+ <line num="145" type="stmt" count="0"/>
72191
+ <line num="146" type="stmt" count="0"/>
72192
+ <line num="147" type="stmt" count="0"/>
72193
+ <line num="148" type="stmt" count="0"/>
72194
+ <line num="149" type="stmt" count="0"/>
72195
+ <line num="150" type="stmt" count="0"/>
72196
+ <line num="151" type="stmt" count="0"/>
72197
+ <line num="152" type="stmt" count="0"/>
72198
+ <line num="153" type="stmt" count="0"/>
72199
+ <line num="154" type="stmt" count="0"/>
72200
+ <metrics loc="154" ncloc="93" classes="1" methods="6" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="70" coveredstatements="0" elements="76" coveredelements="0"/>
72201
  </file>
72202
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/tests/Library/Util/test-plugin.php">
72203
  <class name="Test_BoldGrid_Library_Util_Plugin" namespace="global" fullPackage="Test.BoldGrid.Library.Util">
72253
  <line num="19" type="stmt" count="0"/>
72254
  <line num="20" type="stmt" count="0"/>
72255
  <line num="21" type="stmt" count="0"/>
72256
+ <line num="22" type="stmt" count="0"/>
72257
+ <line num="24" type="stmt" count="0"/>
72258
+ <metrics loc="25" ncloc="25" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="19" coveredstatements="0" elements="19" coveredelements="0"/>
72259
  </file>
72260
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/boldgrid/library/tests/test-reseller.php">
72261
  <class name="Test_BoldGrid_Libarary_Reseller" namespace="global" fullPackage="Test.BoldGrid.Libarary">
72954
  <metrics loc="445" ncloc="281" classes="1" methods="21" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="216" coveredstatements="0" elements="237" coveredelements="0"/>
72955
  </file>
72956
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/composer/autoload_static.php">
72957
+ <class name="ComposerStaticInit9c4a1eb0c928382272818b485ae0eb35" namespace="Composer\Autoload">
72958
  <metrics complexity="2" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="5" coveredstatements="0" elements="7" coveredelements="0"/>
72959
  </class>
72960
  <line num="91" type="method" name="getInitializer" visibility="public" complexity="1" crap="2" count="0"/>
73046
  <metrics loc="12" ncloc="10" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="7" coveredstatements="0" elements="7" coveredelements="0"/>
73047
  </file>
73048
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/composer/autoload_real.php">
73049
+ <class name="ComposerAutoloaderInit9c4a1eb0c928382272818b485ae0eb35" namespace="global">
73050
  <metrics complexity="13" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="41" coveredstatements="0" elements="43" coveredelements="0"/>
73051
  </class>
73052
  <line num="9" type="method" name="loadClassLoader" visibility="public" complexity="2" crap="6" count="0"/>
92046
  <line num="16" type="stmt" count="0"/>
92047
  <metrics loc="16" ncloc="9" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="8" coveredstatements="0" elements="8" coveredelements="0"/>
92048
  </file>
92049
+ <metrics files="911" loc="183719" ncloc="112343" classes="824" methods="3342" coveredmethods="167" conditionals="0" coveredconditionals="0" statements="83088" coveredstatements="2747" elements="86430" coveredelements="2914"/>
92050
  </project>
92051
  </coverage>
includes/class-boldgrid-backup.php CHANGED
@@ -273,6 +273,8 @@ class Boldgrid_Backup {
273
 
274
  require_once BOLDGRID_BACKUP_PATH . '/includes/class-boldgrid-backup-activator.php';
275
 
 
 
276
  $this->loader = new Boldgrid_Backup_Loader();
277
  }
278
 
@@ -508,6 +510,12 @@ class Boldgrid_Backup {
508
  // Disply a notice regarding the plugin rename.
509
  $this->loader->add_action( 'admin_notices', $plugin_admin_core->notice, 'plugin_renamed_notice' );
510
  $this->loader->add_action( 'wp_ajax_dismissBoldgridNotice', 'Boldgrid\Library\Library\Notice', 'dismiss' );
 
 
 
 
 
 
511
  }
512
 
513
  /**
273
 
274
  require_once BOLDGRID_BACKUP_PATH . '/includes/class-boldgrid-backup-activator.php';
275
 
276
+ require_once BOLDGRID_BACKUP_PATH . '/admin/class-boldgrid-backup-admin-usage.php';
277
+
278
  $this->loader = new Boldgrid_Backup_Loader();
279
  }
280
 
510
  // Disply a notice regarding the plugin rename.
511
  $this->loader->add_action( 'admin_notices', $plugin_admin_core->notice, 'plugin_renamed_notice' );
512
  $this->loader->add_action( 'wp_ajax_dismissBoldgridNotice', 'Boldgrid\Library\Library\Notice', 'dismiss' );
513
+
514
+ $usage = new Boldgrid_Backup_Admin_Usage();
515
+ $this->loader->add_action( 'admin_init', $usage, 'admin_init' );
516
+ $this->loader->add_filter( 'Boldgrid\Library\Usage\Notice\admin_notices', $usage, 'filter_notice' );
517
+ $this->loader->add_filter( 'Boldgrid\Library\Usage\Notice\maybeShow', $usage, 'maybe_show_notice' );
518
+ $this->loader->add_filter( 'Boldgrid\Library\Usage\getPrefixes', $usage, 'filter_prefixes' );
519
  }
520
 
521
  /**
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: backup, cloud backup, database backup, restore, wordpress backup
4
  Requires at least: 4.4
5
  Tested up to: 5.3
6
  Requires PHP: 5.4
7
- Stable tag: 1.12.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -132,6 +132,13 @@ Have a problem? First, take a look at our [Getting Started](https://www.boldgrid
132
 
133
  == Changelog ==
134
 
 
 
 
 
 
 
 
135
  = 1.12.2 =
136
 
137
  Release date: December 13th, 2019
4
  Requires at least: 4.4
5
  Tested up to: 5.3
6
  Requires PHP: 5.4
7
+ Stable tag: 1.12.3
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
132
 
133
  == Changelog ==
134
 
135
+ = 1.12.3 =
136
+
137
+ Release date: December 19th, 2019
138
+
139
+ * Bug fix: Only show plugin rename notice to active users.
140
+ * Update: Updating link to admin page for entering BoldGrid Connect Key.
141
+
142
  = 1.12.2 =
143
 
144
  Release date: December 13th, 2019
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInitaa67122c232c29f3839c669da76fdc18::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInit9c4a1eb0c928382272818b485ae0eb35::getLoader();
vendor/boldgrid/library/README.md CHANGED
@@ -11,8 +11,23 @@ composer require boldgrid/library
11
 
12
  ## Changelog ##
13
 
 
 
 
 
 
 
 
 
 
 
 
 
 
14
  ### 2.10.6 ###
15
 
 
 
16
  * Update: Renamed plugin from "BoldGrid Backup" to "Total Upkeep".
17
 
18
  ### 2.10.5 ###
11
 
12
  ## Changelog ##
13
 
14
+ ### 2.11.0 ###
15
+
16
+ Release date: December 19th, 2019
17
+
18
+ * Update: Added Usage class.
19
+ * Update: Added methods to Plugin class for getting / testing version data via plugins_checked.
20
+
21
+ ### 2.10.7 ###
22
+
23
+ Release date: December 10th, 2019
24
+
25
+ * Update: Changed the recommended form plugin from WPForms to weForms.
26
+
27
  ### 2.10.6 ###
28
 
29
+ Release date: November 19, 2019
30
+
31
  * Update: Renamed plugin from "BoldGrid Backup" to "Total Upkeep".
32
 
33
  ### 2.10.5 ###
vendor/boldgrid/library/package.json CHANGED
@@ -1,12 +1,12 @@
1
  {
2
  "scripts": {
3
- "js-lint": "prettier-eslint **/*.js --list-different --ignore **/build/**",
4
- "js-lint-fix": "prettier-eslint **/*.js --write --ignore **/build/**",
5
  "create-pot": "php -d xdebug.max_nesting_level=500 \"$(which wp)\" i18n make-pot src languages/boldgrid-library.pot --slug=\"boldgrid-library\""
6
  },
7
  "devDependencies": {
8
  "cpx": "^1.5.0",
9
- "eslint": "^6.2.0",
10
  "eslint-config-wordpress": "^2.0.0",
11
  "eslint-plugin-html": "^6.0.0",
12
  "jquery-toggles": "^4.0.0",
1
  {
2
  "scripts": {
3
+ "js-lint": "prettier-eslint src/**/*.js --list-different",
4
+ "js-lint-fix": "prettier-eslint src/**/*.js --write",
5
  "create-pot": "php -d xdebug.max_nesting_level=500 \"$(which wp)\" i18n make-pot src languages/boldgrid-library.pot --slug=\"boldgrid-library\""
6
  },
7
  "devDependencies": {
8
  "cpx": "^1.5.0",
9
+ "eslint": "6.6.*",
10
  "eslint-config-wordpress": "^2.0.0",
11
  "eslint-plugin-html": "^6.0.0",
12
  "jquery-toggles": "^4.0.0",
vendor/boldgrid/library/src/Library/Key.php CHANGED
@@ -20,6 +20,16 @@ namespace Boldgrid\Library\Library;
20
  * @since 1.0.0
21
  */
22
  class Key {
 
 
 
 
 
 
 
 
 
 
23
 
24
  /**
25
  * @access protected
@@ -84,6 +94,17 @@ class Key {
84
  return $this->license = self::$valid ? new License() : false;
85
  }
86
 
 
 
 
 
 
 
 
 
 
 
 
87
  /**
88
  * Get the license class property.
89
  *
@@ -106,6 +127,21 @@ class Key {
106
  return $this->notice;
107
  }
108
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
109
  /**
110
  * Set $valid class property.
111
  *
@@ -293,7 +329,7 @@ class Key {
293
  set_site_transient( 'boldgrid_api_data', $data, 8 * HOUR_IN_SECONDS );
294
 
295
  // Update the key option in case key is being overridden by something else so we have the new one next time.
296
- update_site_option( 'boldgrid_api_key', $key );
297
 
298
  // Updates the site hash identifier being stored.
299
  update_site_option( 'boldgrid_site_hash', $data->result->data->site_hash );
20
  * @since 1.0.0
21
  */
22
  class Key {
23
+ /**
24
+ * Api key option.
25
+ *
26
+ * This is the option that stores the key hash.
27
+ *
28
+ * @since 2.11.0
29
+ * @access protected
30
+ * @var string
31
+ */
32
+ protected $apiKeyOption = 'boldgrid_api_key';
33
 
34
  /**
35
  * @access protected
94
  return $this->license = self::$valid ? new License() : false;
95
  }
96
 
97
+ /**
98
+ * Get our key.
99
+ *
100
+ * @since 2.11.0
101
+ *
102
+ * @return mixed String if a key exists, false if it doesn't.
103
+ */
104
+ private function getKey() {
105
+ return get_site_option( $this->apiKeyOption );
106
+ }
107
+
108
  /**
109
  * Get the license class property.
110
  *
127
  return $this->notice;
128
  }
129
 
130
+ /**
131
+ * Whether or not the user has entered a key.
132
+ *
133
+ * @since 2.11.0
134
+ *
135
+ * @hook Boldgrid\Library\Key\hasKey
136
+ *
137
+ * @return bool
138
+ */
139
+ public function hasKey() {
140
+ $key = $this->getKey();
141
+
142
+ return ! empty( $key );
143
+ }
144
+
145
  /**
146
  * Set $valid class property.
147
  *
329
  set_site_transient( 'boldgrid_api_data', $data, 8 * HOUR_IN_SECONDS );
330
 
331
  // Update the key option in case key is being overridden by something else so we have the new one next time.
332
+ update_site_option( $this->apiKeyOption, $key );
333
 
334
  // Updates the site hash identifier being stored.
335
  update_site_option( 'boldgrid_site_hash', $data->result->data->site_hash );
vendor/boldgrid/library/src/Library/License.php CHANGED
@@ -343,7 +343,7 @@ class License {
343
  *
344
  * @since 1.0.0
345
  *
346
- * @nohook
347
  *
348
  * @return $data The data class property.
349
  */
343
  *
344
  * @since 1.0.0
345
  *
346
+ * @hook Boldgrid\Library\License\getData
347
  *
348
  * @return $data The data class property.
349
  */
vendor/boldgrid/library/src/Library/Notice/KeyPrompt.php CHANGED
@@ -214,6 +214,31 @@ class KeyPrompt {
214
  }
215
  }
216
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
217
  /**
218
  * Key input handling.
219
  *
214
  }
215
  }
216
 
217
+ /**
218
+ * Whether or not we are prompting the user for a key.
219
+ *
220
+ * This class has an $isDisplayed attribute which is set to true the moment we show the connect
221
+ * key input notice. The problem with checking for this value is that depending on when you check
222
+ * it's value, it may not be accurate. This method should be able to be called whenever, and should
223
+ * tell us if the prompt will be shown - which is when the user hasn't dismissed it and they don't
224
+ * have a key.
225
+ *
226
+ * @since 2.11.0
227
+ *
228
+ * @hook Boldgrid\Library\Notice\KeyPrompt\maybePromptKey
229
+ *
230
+ * @return bool
231
+ */
232
+ public function maybePromptKey() {
233
+ // Whether or not the user has dismissed the notice to enter their connect key.
234
+ $isKeyDismissed = $this->getIsDismissed();
235
+
236
+ // Whether or not the user has entered a connect key.
237
+ $hasKey = apply_filters( 'Boldgrid\Library\Key\hasKey', false );
238
+
239
+ return ! $isKeyDismissed && ! $hasKey;
240
+ }
241
+
242
  /**
243
  * Key input handling.
244
  *
vendor/boldgrid/library/src/Library/Plugin/Plugin.php CHANGED
@@ -11,6 +11,7 @@
11
  namespace Boldgrid\Library\Library\Plugin;
12
 
13
  use Boldgrid\Library\Library\Configs;
 
14
 
15
  /**
16
  * Generic plugin class.
@@ -108,6 +109,22 @@ class Plugin {
108
  $this->setChildPlugins();
109
  }
110
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
111
  /**
112
  * Get the url to activate this plugin.
113
  *
@@ -290,6 +307,21 @@ class Plugin {
290
  return $this->pluginData;
291
  }
292
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
293
  /**
294
  * Get slug.
295
  *
@@ -389,4 +421,35 @@ class Plugin {
389
  public function isActive() {
390
  return is_plugin_active( $this->file );
391
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
392
  }
11
  namespace Boldgrid\Library\Library\Plugin;
12
 
13
  use Boldgrid\Library\Library\Configs;
14
+ use Boldgrid\Library\Library\Settings;
15
 
16
  /**
17
  * Generic plugin class.
109
  $this->setChildPlugins();
110
  }
111
 
112
+ /**
113
+ * Version compare for the first version of this plugin.
114
+ *
115
+ * @since 2.11.0
116
+ *
117
+ * @param string $version2 The second version number.
118
+ * @param string $operator The relationship to test for.
119
+ * @return bool
120
+ */
121
+ public function firstVersionCompare( $version2, $operator ) {
122
+ // The first version of this plugin.
123
+ $firstVersion = $this->getFirstVersion();
124
+
125
+ return version_compare( $firstVersion, $version2, $operator );
126
+ }
127
+
128
  /**
129
  * Get the url to activate this plugin.
130
  *
307
  return $this->pluginData;
308
  }
309
 
310
+ /**
311
+ * Get the plugins_checked data for this plugin.
312
+ *
313
+ * @since 2.11.0
314
+ *
315
+ * @return array
316
+ */
317
+ public function getPluginsChecked() {
318
+ $pluginsChecked = Settings::getKey( 'plugins_checked', [] );
319
+
320
+ $pluginsChecked = ! empty( $pluginsChecked[ $this->file ] ) ? $pluginsChecked[ $this->file ] : [];
321
+
322
+ return $pluginsChecked;
323
+ }
324
+
325
  /**
326
  * Get slug.
327
  *
421
  public function isActive() {
422
  return is_plugin_active( $this->file );
423
  }
424
+
425
+ /**
426
+ * Get the first version of this plugin installed.
427
+ *
428
+ * @since 2.11.0
429
+ *
430
+ * @return string
431
+ */
432
+ public function getFirstVersion() {
433
+ $pluginsChecked = $this->getPluginsChecked();
434
+
435
+ if ( ! empty( $pluginsChecked ) ) {
436
+ /*
437
+ * Get the first version of the plugin, which is the first key from plugins_checked.
438
+ *
439
+ * Ideal method is to use array_key_first, but that requires php 7+. Alternative is to use
440
+ * this polyfill.
441
+ *
442
+ * @link https://www.php.net/manual/en/function.array-key-first.php
443
+ */
444
+ foreach ( $pluginsChecked as $key => $unused ) {
445
+ $firstVersion = $key;
446
+ break;
447
+ }
448
+ } else {
449
+ // If the data is missing for some reason, return the plugin's current version.
450
+ $firstVersion = $this->getData( 'Version' );
451
+ }
452
+
453
+ return $firstVersion;
454
+ }
455
  }
vendor/boldgrid/library/src/Library/Settings.php ADDED
@@ -0,0 +1,97 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * BoldGrid Library Settings Class
4
+ *
5
+ * @package Boldgrid\Library
6
+ *
7
+ * @version 2.11.0
8
+ * @author BoldGrid <wpb@boldgrid.com>
9
+ */
10
+
11
+ namespace Boldgrid\Library\Library;
12
+
13
+ /**
14
+ * BoldGrid Library Settings Class.
15
+ *
16
+ * @since 2.11.0
17
+ */
18
+ class Settings {
19
+ /**
20
+ * The option name where boldgrid settings are stored.
21
+ *
22
+ * @since 2.11.0
23
+ * @access private
24
+ * @var string
25
+ */
26
+ private static $optionName = 'boldgrid_settings';
27
+
28
+ /**
29
+ * Get the option.
30
+ *
31
+ * @since 2.11.0
32
+ *
33
+ * @return array
34
+ */
35
+ public static function get() {
36
+ return get_option( self::$optionName, [] );
37
+ }
38
+
39
+ /**
40
+ * Get a key from the option.
41
+ *
42
+ * @since 2.11.0
43
+ *
44
+ * @param string $key The key of the array to return.
45
+ * @param mixed $default The default value to return.
46
+ *
47
+ * @return mixed.
48
+ */
49
+ public static function getKey( $key, $default = false ) {
50
+ $option = self::get();
51
+
52
+ return isset( $option[ $key ] ) ? $option[ $key ] : $default;
53
+ }
54
+
55
+ /**
56
+ * Whether or not a key exists in the option.
57
+ *
58
+ * @since 2.11.0
59
+ *
60
+ * @param string $key The key to look for.
61
+ * @return bool
62
+ */
63
+ public static function hasKey( $key ) {
64
+ $option = self::get();
65
+
66
+ return isset( $option[ $key ] );
67
+ }
68
+
69
+ /**
70
+ * Set the value of the option.
71
+ *
72
+ * @since 2.11.0
73
+ *
74
+ * @param array $values The values to set.
75
+ * @return bool True if saved.
76
+ */
77
+ public static function set( array $values ) {
78
+ return update_option( self::$optionName, $values );
79
+ }
80
+
81
+ /**
82
+ * Set the value of a specific key.
83
+ *
84
+ * @since 2.11.0
85
+ *
86
+ * @param string $key The key to set.
87
+ * @param string $value The value to set.
88
+ * @return bool True if the key was updated.
89
+ */
90
+ public static function setKey( $key, $value ) {
91
+ $option = self::get();
92
+
93
+ $option[ $key ] = $value;
94
+
95
+ return self::set( $option );
96
+ }
97
+ }
vendor/boldgrid/library/src/Library/Usage.php ADDED
@@ -0,0 +1,166 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * BoldGrid Library Usage Class
4
+ *
5
+ * @package Boldgrid\Library
6
+ *
7
+ * @version 2.11.0
8
+ * @author BoldGrid <wpb@boldgrid.com>
9
+ */
10
+
11
+ namespace Boldgrid\Library\Library;
12
+
13
+ use Boldgrid\Library\Library\Usage\Helper;
14
+
15
+ /**
16
+ * BoldGrid Library Usage Class.
17
+ *
18
+ * @since 2.11.0
19
+ */
20
+ class Usage {
21
+ /**
22
+ * Whether or not we've already added the filters in the constructor.
23
+ *
24
+ * Filters only need to be added once.
25
+ *
26
+ * @since 2.11.0
27
+ * @access private
28
+ * @var bool
29
+ */
30
+ private static $filtersAdded = false;
31
+
32
+ /**
33
+ * GA ID.
34
+ *
35
+ * @since 2.11.0
36
+ * @access private
37
+ * @var string
38
+ */
39
+ private $gaId;
40
+
41
+ /**
42
+ * An array of page prefixes to load usage tracking on.
43
+ *
44
+ * @since 2.11.0
45
+ * @access private
46
+ * @var array
47
+ */
48
+ private $prefixes;
49
+
50
+ /**
51
+ * Construct.
52
+ *
53
+ * Do not instantiate this class unless you're sure you want to collect usage data.
54
+ *
55
+ * @since 2.11.0
56
+ */
57
+ public function __construct() {
58
+ // Only add the filters once.
59
+ if ( ! self::$filtersAdded ) {
60
+ Filter::add( $this );
61
+ self::$filtersAdded = true;
62
+ }
63
+
64
+ $this->gaId = Configs::get( 'gaId' );
65
+ }
66
+
67
+ /**
68
+ * Add tag.
69
+ *
70
+ * @since 2.11.0
71
+ */
72
+ public function addTag() {
73
+ ?>
74
+ <script async src="https://www.googletagmanager.com/gtag/js?id=<?php echo $this->gaId; ?>"></script>
75
+ <script>
76
+ window.dataLayer = window.dataLayer || [];
77
+ function gtag(){ dataLayer.push( arguments ); }
78
+ gtag( 'js', new Date() );
79
+ gtag( 'config', '<?php echo $this->gaId; ?>', { send_page_view: false } );
80
+ </script>
81
+ <?php
82
+ }
83
+
84
+ /**
85
+ * Admin enqueue scripts.
86
+ *
87
+ * @since 2.11.0
88
+ */
89
+ public function admin_enqueue_scripts() {
90
+ if ( $this->maybeLoad() ) {
91
+ // Include license data.
92
+ if ( ! apply_filters( 'Boldgrid\Library\Key\hasKey', false ) ) {
93
+ $licenseData = [ 'no-key' ];
94
+ } else {
95
+ $licenseData = $this->getLicenseData();
96
+ }
97
+
98
+ $handle = 'bglib-usage';
99
+
100
+ wp_register_script(
101
+ $handle,
102
+ Configs::get( 'libraryUrl' ) . 'src/assets/js/usage.js',
103
+ 'jquery',
104
+ date( 'Ymd' )
105
+ );
106
+
107
+ $translation = [
108
+ 'page' => ! empty ( $_GET['page'] ) ? $_GET['page'] : '',
109
+ 'ga_id' => $this->gaId,
110
+ 'license' => json_encode( $licenseData ),
111
+ ];
112
+
113
+ wp_localize_script( $handle, 'BglibUsage', $translation );
114
+
115
+ wp_enqueue_script( $handle );
116
+ }
117
+ }
118
+
119
+ /**
120
+ * Admin head.
121
+ *
122
+ * @since 2.11.0
123
+ */
124
+ public function admin_head() {
125
+ if ( $this->maybeLoad() ) {
126
+ $this->addTag();
127
+ }
128
+ }
129
+
130
+ /**
131
+ * Get license data.
132
+ *
133
+ * @since 2.11.0
134
+ *
135
+ * @return array
136
+ */
137
+ private function getLicenseData() {
138
+ $licenseData = apply_filters( 'Boldgrid\Library\License\getData', false );
139
+ $licenseData = is_object( $licenseData ) ? get_object_vars( $licenseData ) : [];
140
+
141
+ // Remove things we don't need.
142
+ unset( $licenseData['issuedAt'] );
143
+ unset( $licenseData['refreshBy'] );
144
+
145
+ return array_keys( $licenseData );
146
+ }
147
+
148
+ /**
149
+ * Determine whether or not we should load and track usage.
150
+ *
151
+ * @since 2.11.0
152
+ *
153
+ * @return bool
154
+ */
155
+ private function maybeLoad() {
156
+ $hasKey = apply_filters( 'Boldgrid\Library\Key\hasKey', false );
157
+ $userAgreed = \Boldgrid\Library\Library\Usage\Settings::hasAgreed();
158
+
159
+ /*
160
+ * In this class' initial implementation, determining whether or not to track usage is done
161
+ * based on whether the page begins with boldgrid-backup. In the future, this logic may need
162
+ * to be expanded upon.
163
+ */
164
+ return ( $hasKey || $userAgreed ) && Helper::hasScreenPrefix();
165
+ }
166
+ }
vendor/boldgrid/library/src/Library/Usage/Helper.php ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * BoldGrid Library Usage Helper Class.
4
+ *
5
+ * @package Boldgrid\Library
6
+ *
7
+ * @version 2.11.0
8
+ * @author BoldGrid <wpb@boldgrid.com>
9
+ */
10
+
11
+ namespace Boldgrid\Library\Library\Usage;
12
+
13
+ /**
14
+ * BoldGrid Library Usage Helper Class.
15
+ *
16
+ * @since 2.11.0
17
+ */
18
+ class Helper {
19
+ /**
20
+ * Whether or not the current screen id begins with a prefix.
21
+ *
22
+ * @return bool True if the screen id begins with one of the prefixes.
23
+ */
24
+ public static function hasScreenPrefix() {
25
+ $prefixes = apply_filters( 'Boldgrid\Library\Usage\getPrefixes', [] );
26
+ $hasScreenPrefix = false;
27
+ $screen = get_current_screen();
28
+ $screenId = $screen->id;
29
+
30
+ foreach ( $prefixes as $prefix ) {
31
+ if ( substr( $screenId, 0, strlen( $prefix ) ) === $prefix ) {
32
+ $hasScreenPrefix = true;
33
+ }
34
+ }
35
+
36
+ return $hasScreenPrefix;
37
+ }
38
+ }
vendor/boldgrid/library/src/Library/Usage/Notice.php ADDED
@@ -0,0 +1,180 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * BoldGrid Usage Notice.
4
+ *
5
+ * @package Boldgrid\Library
6
+ *
7
+ * @version 2.11.0
8
+ * @author BoldGrid <wpb@boldgrid.com>
9
+ */
10
+
11
+ namespace Boldgrid\Library\Library\Usage;
12
+
13
+ use Boldgrid\Library\Library;
14
+ use Boldgrid\Library\Library\Filter;
15
+
16
+ /**
17
+ * BoldGrid Library Usage Notice Class.
18
+ *
19
+ * @since 2.11.0
20
+ */
21
+ class Notice {
22
+ /**
23
+ * Whether or not we've already added the filters in the constructor.
24
+ *
25
+ * Filters only need to be added once.
26
+ *
27
+ * @since 2.11.0
28
+ * @access private
29
+ * @var bool
30
+ */
31
+ private static $filtersAdded = false;
32
+
33
+ /**
34
+ * Construct.
35
+ *
36
+ * Do not instantiate this class unless you're sure you want to collect usage data.
37
+ *
38
+ * @since 2.11.0
39
+ */
40
+ public function __construct() {
41
+ // Only add the filters once.
42
+ if ( ! self::$filtersAdded ) {
43
+ Filter::add( $this );
44
+ self::$filtersAdded = true;
45
+ }
46
+ }
47
+
48
+ /**
49
+ * Admin enqueue scripts.
50
+ *
51
+ * @since 2.11.0
52
+ */
53
+ public static function admin_enqueue_scripts() {
54
+ $handle = 'bglib-usage-notice';
55
+
56
+ wp_register_script(
57
+ $handle,
58
+ Library\Configs::get( 'libraryUrl' ) . 'src/assets/js/usage-notice.js',
59
+ 'jquery',
60
+ date( 'Ymd' )
61
+ );
62
+
63
+ $translation = [
64
+ 'nonce' => wp_create_nonce( 'bglib_usage_signup' ),
65
+ 'error' => esc_html__( 'There was a problem dismissing this notice. Please refresh the page and try again.', 'boldgrid-library' ),
66
+ ];
67
+
68
+ wp_localize_script( $handle, 'BglibUsageNotice', $translation );
69
+
70
+ wp_enqueue_script( $handle );
71
+ }
72
+
73
+ /**
74
+ * Determine whether or not to show the usage notice.
75
+ *
76
+ * @since 2.11.0
77
+ *
78
+ * return bool
79
+ */
80
+ public function maybeShow() {
81
+ if ( apply_filters( 'Boldgrid\Library\Notice\KeyPrompt\maybePromptKey', false ) ) {
82
+ // If we're currently prompting the user to enter their key, don't show this notice.
83
+ $maybeShow = false;
84
+ } elseif ( apply_filters( 'Boldgrid\Library\Key\hasKey', false ) ) {
85
+ // If the user has a key entered, no need to show the notice.
86
+ $maybeShow = false;
87
+ } elseif( ! Settings::hasAgreeDecision() && Helper::hasScreenPrefix() ) {
88
+ // If the user has not made a decision and their on an applicable page, show the notice.
89
+ $maybeShow = true;
90
+ } else {
91
+ $maybeShow = false;
92
+ }
93
+
94
+ /**
95
+ * Filter whether or not we should show the notice.
96
+ *
97
+ * The first usage of this filter is for Total Upkeep to say "Don't show the notice if the user
98
+ * has not made their first backup yet.". The reason for this is that if the user hasn't made
99
+ * their first backup yet, they're going to see notices teaching them how, and now is not a
100
+ * good time to ask to track anonymous usage data.
101
+ *
102
+ * @since 2.11.0
103
+ *
104
+ * @param bool $maybeShow Whether or not we should show the notice.
105
+ */
106
+ $maybeShow = apply_filters( 'Boldgrid\Library\Usage\Notice\maybeShow', $maybeShow );
107
+
108
+ return $maybeShow;
109
+ }
110
+
111
+ /**
112
+ * Show the notice.
113
+ *
114
+ * @since 2.11.0
115
+ */
116
+ public function admin_notices() {
117
+ // Abort if we shouldn't be showing the notice.
118
+ if ( ! $this->maybeShow() ) {
119
+ return;
120
+ }
121
+
122
+ $params = [
123
+ 'message' => '<p>' .
124
+ __(
125
+ 'Thank you for using BoldGrid! Would you be ok with helping us improve our products by sending anonymous usage data? Information collected will not be personal and is not used to identify or contact you.',
126
+ 'boldgrid-library'
127
+ ) . '</p>',
128
+ 'yes' => __( 'Sure, I\'ll help!', 'boldgrid-library' ),
129
+ 'no' => __( 'Sorry, not now', 'boldgrid-library' ),
130
+ ];
131
+
132
+ /**
133
+ * Filter the params for the notice.
134
+ *
135
+ * @since 2.11.0
136
+ *
137
+ * @param array $params {
138
+ * An array of params for the notice.
139
+ *
140
+ * @type string $message The markup for the message, generally within a p tag.
141
+ * @type string $yes The verbiage for the yes button.
142
+ * @type string $no The verbiage for the no button.
143
+ * }
144
+ */
145
+ $params = apply_filters( 'Boldgrid\Library\Usage\Notice\admin_notices', $params );
146
+
147
+ echo '<div class="notice notice-info" id="bglib_usage_notice">';
148
+
149
+ echo wp_kses(
150
+ $params['message'],
151
+ [
152
+ 'p' => [],
153
+ ]
154
+ );
155
+
156
+ echo '<p>
157
+ <a class="button button-primary" data-choice="1">' . esc_html( $params['yes'] ) . '</a>
158
+ <a href="" data-choice="0">' . esc_html( $params['no'] ) . '</a>
159
+ </p>';
160
+
161
+ echo '</div>';
162
+ }
163
+
164
+ /**
165
+ * Handle the ajax call to accept / decline the notice.
166
+ *
167
+ * @since 2.11.0
168
+ */
169
+ public static function wp_ajax_bglib_usage_signup() {
170
+ if( ! check_ajax_referer( 'bglib_usage_signup', 'nonce', false ) ) {
171
+ wp_send_json_error( esc_html__( 'Invalid nonce.', 'boldgrid-library' ) );
172
+ }
173
+
174
+ $share_data = ! empty( $_POST['choice'] );
175
+
176
+ $updated = Settings::setAgree( $share_data );
177
+
178
+ $updated ? wp_send_json_success() : wp_send_json_error();
179
+ }
180
+ }
vendor/boldgrid/library/src/Library/Usage/Settings.php ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * BoldGrid Usage Settings.
4
+ *
5
+ * @package Boldgrid\Library
6
+ *
7
+ * @version 2.11.0
8
+ * @author BoldGrid <wpb@boldgrid.com>
9
+ */
10
+
11
+ namespace Boldgrid\Library\Library\Usage;
12
+
13
+ /**
14
+ * BoldGrid Library Usage Settings Class.
15
+ *
16
+ * @since 2.11.0
17
+ */
18
+ class Settings {
19
+ /**
20
+ * The boldgrid_setting's option key that holds this information.
21
+ *
22
+ * @since 2.11.0
23
+ */
24
+ private static $agreeKey = 'usage_agree';
25
+
26
+ /**
27
+ * Whether or not the user has agreed.
28
+ *
29
+ * @since 2.11.0
30
+ *
31
+ * @return bool
32
+ */
33
+ public static function hasAgreed() {
34
+ $hasAgreed = \Boldgrid\Library\Library\Settings::getKey( self::$agreeKey );
35
+
36
+ return ! empty( $hasAgreed );
37
+ }
38
+
39
+ /**
40
+ * Whether or not the user has made a yes / no desicion.
41
+ *
42
+ * @since 2.11.0
43
+ *
44
+ * @return bool
45
+ */
46
+ public static function hasAgreeDecision() {
47
+ return \Boldgrid\Library\Library\Settings::hasKey( self::$agreeKey );
48
+ }
49
+
50
+ /**
51
+ * Set the user's decision.
52
+ *
53
+ * @since 2.11.0
54
+ *
55
+ * @return bool True on success.
56
+ */
57
+ public static function setAgree( $value ) {
58
+ $value = ! empty( $value ) ? 1 : 0;
59
+
60
+ return \Boldgrid\Library\Library\Settings::setKey( self::$agreeKey, $value );
61
+ }
62
+ }
vendor/boldgrid/library/src/assets/js/usage-notice.js ADDED
@@ -0,0 +1,113 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * Usage Notice.
3
+ *
4
+ * @summary This file handles the notice to accept usage statistics.
5
+ *
6
+ * @since 2.11.0
7
+ */
8
+
9
+ /* global jQuery,ajaxurl */
10
+
11
+ var BOLDGRID = BOLDGRID || {};
12
+
13
+ BOLDGRID.LIBRARY = BOLDGRID.LIBRARY || {};
14
+
15
+ ( function( $ ) {
16
+ 'use strict';
17
+
18
+ var self;
19
+
20
+ /**
21
+ * Usage Notice.
22
+ *
23
+ * @since 2.11.0
24
+ */
25
+ BOLDGRID.LIBRARY.UsageNotice = {
26
+
27
+ /**
28
+ * i18n.
29
+ *
30
+ * @since 2.11.0
31
+ *
32
+ * @type object
33
+ */
34
+ i18n: window.BglibUsageNotice || {},
35
+
36
+ /**
37
+ * Init.
38
+ *
39
+ * @since 2.11.0
40
+ */
41
+ init: function() {
42
+ self._onReady();
43
+ },
44
+
45
+ /**
46
+ * Handle the click of a yes / no choice.
47
+ *
48
+ * @since 2.11.0
49
+ */
50
+ onClick: function() {
51
+ var $anchor = $( this ),
52
+ choice = $anchor.attr( 'data-choice' ),
53
+ data,
54
+ $notice = $( '#bglib_usage_notice' );
55
+
56
+ data = {
57
+ action: 'bglib_usage_signup',
58
+ choice: choice,
59
+ nonce: self.i18n.nonce
60
+ };
61
+
62
+ $.post(
63
+ ajaxurl,
64
+ data,
65
+ function( response ) {
66
+ var fail = response.success === undefined || false === response.success;
67
+
68
+ // @todo On success, we can do more than simply slide up the notice.
69
+ fail ? self.onDismissError() : $notice.slideUp();
70
+ },
71
+ 'json'
72
+ ).fail( function( jqXHR ) {
73
+ self.onDismissError();
74
+ } );
75
+
76
+ return false;
77
+ },
78
+
79
+ /**
80
+ * Actions to take if a notice is not dismissed successfully.
81
+ *
82
+ * This should never really be the case, but, just in case.
83
+ *
84
+ * @since 2.11.0
85
+ */
86
+ onDismissError: function() {
87
+ $( '#bglib_usage_notice' )
88
+
89
+ // Change the notice from info to alert.
90
+ .removeClass( 'notice-info' )
91
+ .addClass( 'notice-error' )
92
+
93
+ // Empty the notice and add our generic error message.
94
+ .empty()
95
+ .html( '<p>' + self.i18n.error + '</p>' );
96
+ },
97
+
98
+ /**
99
+ * On ready.
100
+ *
101
+ * @since 2.11.0
102
+ */
103
+ _onReady: function() {
104
+ $( function() {
105
+ $( '#bglib_usage_notice a' ).on( 'click', self.onClick );
106
+ } );
107
+ }
108
+ };
109
+
110
+ self = BOLDGRID.LIBRARY.UsageNotice;
111
+ } )( jQuery );
112
+
113
+ BOLDGRID.LIBRARY.UsageNotice.init();
vendor/boldgrid/library/src/assets/js/usage.js ADDED
@@ -0,0 +1,120 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * Usage class.
3
+ *
4
+ * @summary This file handles usage statistics.
5
+ *
6
+ * @since 2.11.0
7
+ */
8
+
9
+ /* global jQuery,gtag */
10
+
11
+ var BOLDGRID = BOLDGRID || {};
12
+
13
+ BOLDGRID.LIBRARY = BOLDGRID.LIBRARY || {};
14
+
15
+ ( function( $ ) {
16
+ 'use strict';
17
+
18
+ var self;
19
+
20
+ /**
21
+ * Total Upkeep Usage.
22
+ *
23
+ * @since 2.11.0
24
+ */
25
+ BOLDGRID.LIBRARY.Usage = {
26
+
27
+ /**
28
+ * Get the page path we will use to track the pageview.
29
+ *
30
+ * @since 2.11.0
31
+ *
32
+ * @return string
33
+ */
34
+ getPagePath: function() {
35
+ return '/user-domain/wp-admin/admin.php?page=' + self.i18n.page;
36
+ },
37
+
38
+ /**
39
+ * i18n.
40
+ *
41
+ * @since 2.11.0
42
+ *
43
+ * @type object
44
+ */
45
+ i18n: window.BglibUsage || {},
46
+
47
+ /**
48
+ * Init.
49
+ *
50
+ * @since 2.11.0
51
+ */
52
+ init: function() {
53
+ self._onReady();
54
+ },
55
+
56
+ /**
57
+ * Actions to take when a user clicks a nav item of the bglib UI class.
58
+ *
59
+ * @since 2.11.0
60
+ */
61
+ onNavClick: function() {
62
+ var pageviewParams = {
63
+ page_path: self.getPagePath() + '&section=' + $( this ).attr( 'data-section-id' )
64
+ };
65
+
66
+ self.triggerPageview( pageviewParams );
67
+ },
68
+
69
+ /**
70
+ * Trigger a pageview.
71
+ *
72
+ * @since 2.11.0
73
+ *
74
+ * @param object params An object containing params for the gtag call.
75
+ */
76
+ triggerPageview: function( params ) {
77
+
78
+ /*
79
+ * Allow this method to be called without passing in params. If no params are passed in,
80
+ * by default we'll only add the page path.
81
+ */
82
+ if ( params === undefined ) {
83
+ params = {
84
+ page_path: self.getPagePath()
85
+ };
86
+ }
87
+
88
+ // Configure license.
89
+ params.license = self.i18n.license;
90
+ params.custom_map = {
91
+ dimension7: 'license'
92
+ };
93
+
94
+ // Configure linker. This will add client id, on click, to all boldgrid.com links.
95
+ params.linker = { domains: [ 'boldgrid.com' ] };
96
+
97
+ gtag( 'config', self.i18n.ga_id, params );
98
+ },
99
+
100
+ /**
101
+ * On ready.
102
+ *
103
+ * @since 1.7.0
104
+ */
105
+ _onReady: function() {
106
+ $( function() {
107
+
108
+ // Log the pageview.
109
+ self.triggerPageview();
110
+
111
+ // Listen to clicks on the bglib UI's nav.
112
+ $( '.bg-left-nav li' ).on( 'click', self.onNavClick );
113
+ } );
114
+ }
115
+ };
116
+
117
+ self = BOLDGRID.LIBRARY.Usage;
118
+ } )( jQuery );
119
+
120
+ BOLDGRID.LIBRARY.Usage.init();
vendor/boldgrid/library/src/library.global.php CHANGED
@@ -45,11 +45,6 @@ return array(
45
  'file' => 'boldgrid-gallery/wc-gallery.php',
46
  'priority' => 70,
47
  ),
48
- 'boldgrid-ninja-forms' => array(
49
- 'key' => 'ninja-forms',
50
- 'file' => 'boldgrid-ninja-forms/ninja-forms.php',
51
- 'priority' => 80,
52
- ),
53
  ),
54
 
55
  // WordPress.org recommended plugins.
@@ -69,15 +64,17 @@ return array(
69
  'link' => '//wordpress.org/plugins/boldgrid-backup/',
70
  'priority' => 40,
71
  ),
72
- 'wpforms-lite' => array(
73
- 'slug' => 'wpforms-lite',
74
- 'link' => '//wpforms.com/lite-upgrade/',
75
  'priority' => 80,
 
76
  ),
77
  'w3-total-cache' => array(
78
  'slug' => 'w3-total-cache',
79
  'link' => '//wordpress.org/plugins/w3-total-cache/',
80
  'priority' => 80,
 
81
  ),
82
  ),
83
  ),
@@ -139,4 +136,8 @@ return array(
139
  'priority' => 'core',
140
  ),
141
  ),
 
 
 
 
142
  );
45
  'file' => 'boldgrid-gallery/wc-gallery.php',
46
  'priority' => 70,
47
  ),
 
 
 
 
 
48
  ),
49
 
50
  // WordPress.org recommended plugins.
64
  'link' => '//wordpress.org/plugins/boldgrid-backup/',
65
  'priority' => 40,
66
  ),
67
+ 'weforms' => array(
68
+ 'slug' => 'weforms',
69
+ 'link' => '//wordpress.org/plugins/weforms',
70
  'priority' => 80,
71
+ 'hide_premium' => true,
72
  ),
73
  'w3-total-cache' => array(
74
  'slug' => 'w3-total-cache',
75
  'link' => '//wordpress.org/plugins/w3-total-cache/',
76
  'priority' => 80,
77
+ 'hide_premium' => true,
78
  ),
79
  ),
80
  ),
136
  'priority' => 'core',
137
  ),
138
  ),
139
+
140
+
141
+ // Google Analytics ID, used by the Usage class.
142
+ 'gaId' => 'UA-1501988-42',
143
  );
vendor/boldgrid/library/tests/Library/Plugin/test-plugin.php CHANGED
@@ -22,41 +22,134 @@ class Test_BoldGrid_Library_Library_Plugin_Plugin extends WP_UnitTestCase {
22
  $backup_premium,
23
  $key = 'CONNECT-KEY';
24
 
25
- private static $configs;
26
-
27
  /**
28
  * Setup.
29
  *
30
  * @since 1.7.7
31
  */
32
  public function setUp() {
33
-
34
  // Setup our configs.
35
  update_site_option( 'boldgrid_api_key', $this->key );
36
- // Initialization needed so the constructor will include library.global.php.
37
- new \Boldgrid\Library\Library\Configs();
38
- // Configs are a real problem in this test. If we can get configs, save them.
39
- $configs = Configs::get();
40
- if ( ! empty( $configs ) ) {
41
- self::$configs = $configs;
42
- }
43
 
44
  $this->backup = new Boldgrid\Library\Library\Plugin\Plugin( 'boldgrid-backup' );
45
  $this->backup_premium = new Boldgrid\Library\Library\Plugin\Plugin( 'boldgrid-backup-premium' );
46
  }
47
 
 
 
 
 
 
 
 
 
 
 
 
 
48
  /**
49
  * Test getDownloadUrl.
50
  *
51
  * @since 2.7.7
52
  */
53
  public function testGetDownloadUrl() {
54
-
55
- // Reset our configs.
56
- Configs::set( self::$configs );
57
 
58
  $this->assertEquals( $this->backup->getDownloadUrl(), 'https://api.boldgrid.com/v1/plugins/boldgrid-backup/download?key=' . $this->key );
59
 
60
  $this->assertEquals( $this->backup_premium->getDownloadUrl(), 'https://api.boldgrid.com/v1/plugins/boldgrid-backup-premium/download?key=' . $this->key );
61
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
62
  }
22
  $backup_premium,
23
  $key = 'CONNECT-KEY';
24
 
 
 
25
  /**
26
  * Setup.
27
  *
28
  * @since 1.7.7
29
  */
30
  public function setUp() {
 
31
  // Setup our configs.
32
  update_site_option( 'boldgrid_api_key', $this->key );
33
+
34
+ $this->resetConfigs();
 
 
 
 
 
35
 
36
  $this->backup = new Boldgrid\Library\Library\Plugin\Plugin( 'boldgrid-backup' );
37
  $this->backup_premium = new Boldgrid\Library\Library\Plugin\Plugin( 'boldgrid-backup-premium' );
38
  }
39
 
40
+ /**
41
+ * Reset library configs.
42
+ *
43
+ * @since 2.11.0
44
+ */
45
+ public function resetConfigs() {
46
+ $configsFile = dirname( dirname( dirname( __DIR__ ) ) ) . '/src/library.global.php';
47
+
48
+ $defaults = include( $configsFile );
49
+ Configs::set( $defaults );
50
+ }
51
+
52
  /**
53
  * Test getDownloadUrl.
54
  *
55
  * @since 2.7.7
56
  */
57
  public function testGetDownloadUrl() {
58
+ $this->resetConfigs();
 
 
59
 
60
  $this->assertEquals( $this->backup->getDownloadUrl(), 'https://api.boldgrid.com/v1/plugins/boldgrid-backup/download?key=' . $this->key );
61
 
62
  $this->assertEquals( $this->backup_premium->getDownloadUrl(), 'https://api.boldgrid.com/v1/plugins/boldgrid-backup-premium/download?key=' . $this->key );
63
  }
64
+
65
+ /**
66
+ * Test firstVersionCompare.
67
+ *
68
+ * @since 2.11.0
69
+ */
70
+ public function testFirstVersionCompare() {
71
+ // Good data we will be testing against.
72
+ $backupPluginsChecked = [
73
+ '1.11.0' => 123456,
74
+ '1.12.0' => 123456,
75
+ ];
76
+
77
+ // Make sure good data gets us good data.
78
+ $settings = [
79
+ 'plugins_checked' => [
80
+ 'other-plugin/other-plugin.php' => [
81
+ '1.0.0' => 12345,
82
+ '1.1.0' => 12346,
83
+ ],
84
+ 'boldgrid-backup/boldgrid-backup.php' => $backupPluginsChecked,
85
+ ],
86
+ ];
87
+ update_option( 'boldgrid_settings', $settings );
88
+ $this->assertTrue( $this->backup->firstVersionCompare( '1.10.0', '>=' ) );
89
+ $this->assertTrue( $this->backup->firstVersionCompare( '1.11.0', '==' ) );
90
+ $this->assertTrue( $this->backup->firstVersionCompare( '1.12.0', '<=' ) );
91
+ }
92
+
93
+ /**
94
+ * Test getFirstVersion.
95
+ *
96
+ * @since 2.11.0
97
+ */
98
+ public function testGetFirstVersion() {
99
+ // Good data we will be testing against.
100
+ $backupPluginsChecked = [
101
+ '1.11.0' => 123456,
102
+ '1.12.0' => 123456,
103
+ ];
104
+
105
+ // Make sure good data gets us good data.
106
+ $settings = [
107
+ 'plugins_checked' => [
108
+ 'other-plugin/other-plugin.php' => [
109
+ '1.0.0' => 12345,
110
+ '1.1.0' => 12346,
111
+ ],
112
+ 'boldgrid-backup/boldgrid-backup.php' => $backupPluginsChecked,
113
+ ],
114
+ ];
115
+ update_option( 'boldgrid_settings', $settings );
116
+ $this->assertEquals( $this->backup->getFirstVersion(), '1.11.0' );
117
+ }
118
+
119
+ /**
120
+ * Test getPluginsChecked.
121
+ *
122
+ * @since 2.11.0
123
+ */
124
+ public function testGetPluginsChecked() {
125
+ // Good data we will be testing against.
126
+ $backupPluginsChecked = [
127
+ '1.11.0' => 123456,
128
+ '1.12.0' => 123456,
129
+ ];
130
+
131
+ // Make sure wrong data gives us an empty array.
132
+ update_option( 'boldgrid_settings', false );
133
+ $this->assertEquals( $this->backup->getPluginsChecked(), [] );
134
+
135
+ // Make sure wrong data gives us an empty array.
136
+ $settings = [
137
+ 'plugins_checked' => [],
138
+ ];
139
+ update_option( 'boldgrid_settings', $settings );
140
+ $this->assertEquals( $this->backup->getPluginsChecked(), [] );
141
+
142
+ // Make sure good data gets us good data.
143
+ $settings = [
144
+ 'plugins_checked' => [
145
+ 'other-plugin/other-plugin.php' => [
146
+ '1.0.0' => 12345,
147
+ '1.1.0' => 12346,
148
+ ],
149
+ 'boldgrid-backup/boldgrid-backup.php' => $backupPluginsChecked,
150
+ ],
151
+ ];
152
+ update_option( 'boldgrid_settings', $settings );
153
+ $this->assertEquals( $this->backup->getPluginsChecked(), $backupPluginsChecked );
154
+ }
155
  }
vendor/boldgrid/library/tests/bootstrap.php CHANGED
@@ -8,6 +8,7 @@ if ( ! $_tests_dir ) {
8
  require_once $_tests_dir . '/includes/functions.php';
9
 
10
  require_once dirname( dirname( __FILE__ ) ) . '/src/Library/License.php';
 
11
  require_once dirname( dirname( __FILE__ ) ) . '/src/Library/Api/Call.php';
12
  require_once dirname( dirname( __FILE__ ) ) . '/src/Library/Api/Availability.php';
13
  require_once dirname( dirname( __FILE__ ) ) . '/src/Library/Configs.php';
8
  require_once $_tests_dir . '/includes/functions.php';
9
 
10
  require_once dirname( dirname( __FILE__ ) ) . '/src/Library/License.php';
11
+ require_once dirname( dirname( __FILE__ ) ) . '/src/Library/Settings.php';
12
  require_once dirname( dirname( __FILE__ ) ) . '/src/Library/Api/Call.php';
13
  require_once dirname( dirname( __FILE__ ) ) . '/src/Library/Api/Availability.php';
14
  require_once dirname( dirname( __FILE__ ) ) . '/src/Library/Configs.php';
vendor/boldgrid/library/yarn.lock CHANGED
@@ -83,9 +83,9 @@ acorn@^5.5.0:
83
  integrity sha512-T/zvzYRfbVojPWahDsE5evJdHb3oJoQfFbsrKM7w5Zcs++Tr257tia3BmMP8XYVjp1S9RZXQMh7gao96BlqZOw==
84
 
85
  acorn@^6.0.7:
86
- version "6.3.0"
87
- resolved "https://registry.yarnpkg.com/acorn/-/acorn-6.3.0.tgz#0087509119ffa4fc0a0041d1e93a417e68cb856e"
88
- integrity sha512-/czfa8BwS88b9gWQVhc8eknunSA2DoJpJyTQkhheIf5E48u1N0R4q/YxxsAeqRrmK9TQ/uYfgLDfZo91UlANIA==
89
 
90
  acorn@^7.1.0:
91
  version "7.1.0"
@@ -108,11 +108,11 @@ ansi-escapes@^3.2.0:
108
  integrity sha512-cBhpre4ma+U0T1oM5fXg7Dy1Jw7zzwv7lt/GoCpr+hDQJoYnKVPLL4dCvSEFMmQurOQvSrwT7SL/DAlhBI97RQ==
109
 
110
  ansi-escapes@^4.2.1:
111
- version "4.2.1"
112
- resolved "https://registry.yarnpkg.com/ansi-escapes/-/ansi-escapes-4.2.1.tgz#4dccdb846c3eee10f6d64dea66273eab90c37228"
113
- integrity sha512-Cg3ymMAdN10wOk/VYfLV7KCQyv7EDirJ64500sU7n9UlmioEtDuU5Gd+hj73hXSU/ex7tHJSssmyftDdkMLO8Q==
114
  dependencies:
115
- type-fest "^0.5.2"
116
 
117
  ansi-regex@^2.0.0:
118
  version "2.1.1"
@@ -129,6 +129,11 @@ ansi-regex@^4.1.0:
129
  resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-4.1.0.tgz#8b9f8f08cf1acb843756a839ca8c7e3168c51997"
130
  integrity sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==
131
 
 
 
 
 
 
132
  ansi-styles@^2.2.1:
133
  version "2.2.1"
134
  resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-2.2.1.tgz#b432dd3358b634cf75e1e4664368240533c1ddbe"
@@ -316,9 +321,9 @@ callsites@^3.0.0:
316
  integrity sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==
317
 
318
  camelcase-keys@^6.0.0:
319
- version "6.1.0"
320
- resolved "https://registry.yarnpkg.com/camelcase-keys/-/camelcase-keys-6.1.0.tgz#3ca09b3cae196a58e291a6913ce97ffc8f8ae850"
321
- integrity sha512-43tBGDIs3SBDA5R5mYzkiBP3lt2IKhLDp1wVGS9XTq6SR3+7ZNdi/VwBJsk4NKgySoaziTrKM+N8hhT04NBVUA==
322
  dependencies:
323
  camelcase "^5.3.1"
324
  map-obj "^4.0.0"
@@ -469,9 +474,9 @@ core-js@^2.4.0:
469
  integrity sha512-I39t74+4t+zau64EN1fE5v2W31Adtc/REhzWN+gWRRXg6WH5qAsZm62DHpQ1+Yhe4047T55jvzz7MUqF/dBBlA==
470
 
471
  core-js@^3.1.4:
472
- version "3.3.6"
473
- resolved "https://registry.yarnpkg.com/core-js/-/core-js-3.3.6.tgz#6ad1650323c441f45379e176ed175c0d021eac92"
474
- integrity sha512-u4oM8SHwmDuh5mWZdDg9UwNVq5s1uqq6ZDLLIs07VY+VJU91i3h4f3K/pgFvtUQPGdeStrZ+odKyfyt4EnKHfA==
475
 
476
  core-util-is@~1.0.0:
477
  version "1.0.2"
@@ -592,9 +597,9 @@ doctrine@^3.0.0:
592
  esutils "^2.0.2"
593
 
594
  dom-serializer@0:
595
- version "0.2.1"
596
- resolved "https://registry.yarnpkg.com/dom-serializer/-/dom-serializer-0.2.1.tgz#13650c850daffea35d8b626a4cfc4d3a17643fdb"
597
- integrity sha512-sK3ujri04WyjwQXVoK4PU3y8ula1stq10GJZpqHIUgoGZdsGzAGu65BnU3d08aTVSvO7mGPZUc0wTEDL+qGE0Q==
598
  dependencies:
599
  domelementtype "^2.0.1"
600
  entities "^2.0.0"
@@ -702,90 +707,90 @@ eslint-visitor-keys@^1.0.0, eslint-visitor-keys@^1.1.0:
702
  resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-1.1.0.tgz#e2a82cea84ff246ad6fb57f9bde5b46621459ec2"
703
  integrity sha512-8y9YjtM1JBJU/A9Kc+SbaOV4y29sSWckBwMHa+FGtVj5gN/sbnKDf6xJUl+8g7FAij9LVaP8C24DUiH/f/2Z9A==
704
 
705
- eslint@^5.0.0:
706
- version "5.16.0"
707
- resolved "https://registry.yarnpkg.com/eslint/-/eslint-5.16.0.tgz#a1e3ac1aae4a3fbd8296fcf8f7ab7314cbb6abea"
708
- integrity sha512-S3Rz11i7c8AA5JPv7xAH+dOyq/Cu/VXHiHXBPOU1k/JAM5dXqQPt3qcrhpHSorXmrpu2g0gkIBVXAqCpzfoZIg==
709
  dependencies:
710
  "@babel/code-frame" "^7.0.0"
711
- ajv "^6.9.1"
712
  chalk "^2.1.0"
713
  cross-spawn "^6.0.5"
714
  debug "^4.0.1"
715
  doctrine "^3.0.0"
716
- eslint-scope "^4.0.3"
717
- eslint-utils "^1.3.1"
718
- eslint-visitor-keys "^1.0.0"
719
- espree "^5.0.1"
720
  esquery "^1.0.1"
721
  esutils "^2.0.2"
722
  file-entry-cache "^5.0.1"
723
  functional-red-black-tree "^1.0.1"
724
- glob "^7.1.2"
725
  globals "^11.7.0"
726
  ignore "^4.0.6"
727
  import-fresh "^3.0.0"
728
  imurmurhash "^0.1.4"
729
- inquirer "^6.2.2"
730
- js-yaml "^3.13.0"
 
731
  json-stable-stringify-without-jsonify "^1.0.1"
732
  levn "^0.3.0"
733
- lodash "^4.17.11"
734
  minimatch "^3.0.4"
735
  mkdirp "^0.5.1"
736
  natural-compare "^1.4.0"
737
  optionator "^0.8.2"
738
- path-is-inside "^1.0.2"
739
  progress "^2.0.0"
740
  regexpp "^2.0.1"
741
- semver "^5.5.1"
742
- strip-ansi "^4.0.0"
743
- strip-json-comments "^2.0.1"
744
  table "^5.2.3"
745
  text-table "^0.2.0"
 
746
 
747
- eslint@^6.2.0:
748
- version "6.6.0"
749
- resolved "https://registry.yarnpkg.com/eslint/-/eslint-6.6.0.tgz#4a01a2fb48d32aacef5530ee9c5a78f11a8afd04"
750
- integrity sha512-PpEBq7b6qY/qrOmpYQ/jTMDYfuQMELR4g4WI1M/NaSDDD/bdcMb+dj4Hgks7p41kW2caXsPsEZAEAyAgjVVC0g==
751
  dependencies:
752
  "@babel/code-frame" "^7.0.0"
753
- ajv "^6.10.0"
754
  chalk "^2.1.0"
755
  cross-spawn "^6.0.5"
756
  debug "^4.0.1"
757
  doctrine "^3.0.0"
758
- eslint-scope "^5.0.0"
759
- eslint-utils "^1.4.3"
760
- eslint-visitor-keys "^1.1.0"
761
- espree "^6.1.2"
762
  esquery "^1.0.1"
763
  esutils "^2.0.2"
764
  file-entry-cache "^5.0.1"
765
  functional-red-black-tree "^1.0.1"
766
- glob-parent "^5.0.0"
767
  globals "^11.7.0"
768
  ignore "^4.0.6"
769
  import-fresh "^3.0.0"
770
  imurmurhash "^0.1.4"
771
- inquirer "^7.0.0"
772
- is-glob "^4.0.0"
773
- js-yaml "^3.13.1"
774
  json-stable-stringify-without-jsonify "^1.0.1"
775
  levn "^0.3.0"
776
- lodash "^4.17.14"
777
  minimatch "^3.0.4"
778
  mkdirp "^0.5.1"
779
  natural-compare "^1.4.0"
780
  optionator "^0.8.2"
 
781
  progress "^2.0.0"
782
  regexpp "^2.0.1"
783
- semver "^6.1.2"
784
- strip-ansi "^5.2.0"
785
- strip-json-comments "^3.0.1"
786
  table "^5.2.3"
787
  text-table "^0.2.0"
788
- v8-compile-cache "^2.0.3"
789
 
790
  espree@^3.5.2:
791
  version "3.5.4"
@@ -924,7 +929,7 @@ fast-json-stable-stringify@^2.0.0:
924
  resolved "https://registry.yarnpkg.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.0.0.tgz#d5142c0caee6b1189f87d3a76111064f86c8bbf2"
925
  integrity sha1-1RQsDK7msRifh9OnYREGT4bIu/I=
926
 
927
- fast-levenshtein@~2.0.4:
928
  version "2.0.6"
929
  resolved "https://registry.yarnpkg.com/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz#3d8a5c66883a16a30ca8643e851f19baa7797917"
930
  integrity sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=
@@ -1113,9 +1118,9 @@ glob2base@^0.0.12:
1113
  find-index "^0.1.1"
1114
 
1115
  glob@^7.0.5, glob@^7.1.2, glob@^7.1.3, glob@^7.1.4:
1116
- version "7.1.5"
1117
- resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.5.tgz#6714c69bee20f3c3e64c4dd905553e532b40cdc0"
1118
- integrity sha512-J9dlskqUXK1OeTOYBEn5s8aMukWMwWfs+rPTn/jn50Ux4MNXVhubL1wu/j2t+H4NVI+cXEcCaYellqaPVGXNqQ==
1119
  dependencies:
1120
  fs.realpath "^1.0.0"
1121
  inflight "^1.0.4"
@@ -1219,9 +1224,9 @@ ignore@^5.1.2:
1219
  integrity sha512-MzbUSahkTW1u7JpKKjY7LCARd1fU5W2rLdxlM4kdkayuCwZImjkpluF9CM1aLewYJguPDqewLam18Y6AU69A8A==
1220
 
1221
  import-fresh@^3.0.0:
1222
- version "3.1.0"
1223
- resolved "https://registry.yarnpkg.com/import-fresh/-/import-fresh-3.1.0.tgz#6d33fa1dcef6df930fae003446f33415af905118"
1224
- integrity sha512-PpuksHKGt8rXfWEr9m9EHIpgyyaltBy8+eF6GJM0QCAxMgxCfucMF3mjecK2QsJr0amJW7gTqh5/wht0z2UhEQ==
1225
  dependencies:
1226
  parent-module "^1.0.0"
1227
  resolve-from "^4.0.0"
@@ -1587,9 +1592,9 @@ loglevel-colored-level-prefix@^1.0.0:
1587
  loglevel "^1.4.1"
1588
 
1589
  loglevel@^1.4.1:
1590
- version "1.6.4"
1591
- resolved "https://registry.yarnpkg.com/loglevel/-/loglevel-1.6.4.tgz#f408f4f006db8354d0577dcf6d33485b3cb90d56"
1592
- integrity sha512-p0b6mOGKcGa+7nnmKbpzR6qloPbrgLcnio++E+14Vo/XffOGwZtRpUhr8dTH/x2oCMmEoIU0Zwm3ZauhvYD17g==
1593
 
1594
  make-plural@^4.3.0:
1595
  version "4.3.0"
@@ -1912,16 +1917,16 @@ onetime@^5.1.0:
1912
  mimic-fn "^2.1.0"
1913
 
1914
  optionator@^0.8.2:
1915
- version "0.8.2"
1916
- resolved "https://registry.yarnpkg.com/optionator/-/optionator-0.8.2.tgz#364c5e409d3f4d6301d6c0b4c05bba50180aeb64"
1917
- integrity sha1-NkxeQJ0/TWMB1sC0wFu6UBgK62Q=
1918
  dependencies:
1919
  deep-is "~0.1.3"
1920
- fast-levenshtein "~2.0.4"
1921
  levn "~0.3.0"
1922
  prelude-ls "~1.1.2"
1923
  type-check "~0.3.2"
1924
- wordwrap "~1.0.0"
1925
 
1926
  os-homedir@^1.0.0:
1927
  version "1.0.2"
@@ -2058,9 +2063,9 @@ prettier-eslint-cli@^5.0.0:
2058
  yargs "^13.2.4"
2059
 
2060
  prettier-eslint@^9.0.0:
2061
- version "9.0.0"
2062
- resolved "https://registry.yarnpkg.com/prettier-eslint/-/prettier-eslint-9.0.0.tgz#b9a6ecb67c69be43cbd598addf7ff0b6753e6999"
2063
- integrity sha512-0dael2aMpMAxAwClnLi2Coc30v3BubsTX6clqseZ8NFCJZnbZlwxZGHHESYBlqTyN9lvZDHHv+XdeHW0fKhxJQ==
2064
  dependencies:
2065
  "@typescript-eslint/parser" "^1.10.2"
2066
  common-tags "^1.4.0"
@@ -2077,9 +2082,9 @@ prettier-eslint@^9.0.0:
2077
  vue-eslint-parser "^2.0.2"
2078
 
2079
  prettier@^1.7.0:
2080
- version "1.18.2"
2081
- resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.18.2.tgz#6823e7c5900017b4bd3acf46fe9ac4b4d7bda9ea"
2082
- integrity sha512-OeHeMc0JhFE9idD4ZdtNibzY0+TPHSpSSb9h8FqtP+YnoZZ1sl8Vc9b1sasjfymH3SonAF4QcA2+mzHPhMvIiw==
2083
 
2084
  pretty-format@^23.0.1:
2085
  version "23.6.0"
@@ -2225,9 +2230,9 @@ resolve-url@^0.2.1:
2225
  integrity sha1-LGN/53yJOv0qZj/iGqkIAGjiBSo=
2226
 
2227
  resolve@^1.1.7:
2228
- version "1.12.0"
2229
- resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.12.0.tgz#3fc644a35c84a48554609ff26ec52b66fa577df6"
2230
- integrity sha512-B/dOmuoAik5bKcD6s6nXDCjzUKnaDvdkRyAk6rsmsKLipWj4797iothd7jmmUhWTfinVMU+wc56rYKsit2Qy4w==
2231
  dependencies:
2232
  path-parse "^1.0.6"
2233
 
@@ -2473,13 +2478,13 @@ string-width@^3.0.0, string-width@^3.1.0:
2473
  strip-ansi "^5.1.0"
2474
 
2475
  string-width@^4.1.0:
2476
- version "4.1.0"
2477
- resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.1.0.tgz#ba846d1daa97c3c596155308063e075ed1c99aff"
2478
- integrity sha512-NrX+1dVVh+6Y9dnQ19pR0pP4FiEIlUvdTGn8pw6CKTNq5sgib2nIhmUNT5TAmhWmvKr3WcxBcP3E8nWezuipuQ==
2479
  dependencies:
2480
  emoji-regex "^8.0.0"
2481
  is-fullwidth-code-point "^3.0.0"
2482
- strip-ansi "^5.2.0"
2483
 
2484
  string_decoder@^1.1.1:
2485
  version "1.3.0"
@@ -2516,6 +2521,13 @@ strip-ansi@^5.0.0, strip-ansi@^5.1.0, strip-ansi@^5.2.0:
2516
  dependencies:
2517
  ansi-regex "^4.1.0"
2518
 
 
 
 
 
 
 
 
2519
  strip-json-comments@^2.0.1, strip-json-comments@~2.0.1:
2520
  version "2.0.1"
2521
  resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a"
@@ -2622,15 +2634,15 @@ type-check@~0.3.2:
2622
  dependencies:
2623
  prelude-ls "~1.1.2"
2624
 
2625
- type-fest@^0.5.2:
2626
- version "0.5.2"
2627
- resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.5.2.tgz#d6ef42a0356c6cd45f49485c3b6281fc148e48a2"
2628
- integrity sha512-DWkS49EQKVX//Tbupb9TFa19c7+MK1XmzkrZUR8TAktmE/DizXoaoJV6TZ/tSIPXipqNiRI6CyAe7x69Jb6RSw==
2629
 
2630
  typescript@^3.2.1:
2631
- version "3.7.2"
2632
- resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.7.2.tgz#27e489b95fa5909445e9fef5ee48d81697ad18fb"
2633
- integrity sha512-ml7V7JfiN2Xwvcer+XAf2csGO1bPBdRbFCkYBczNZggrBZ9c7G3riSUeJmqEU5uOtXNPMhE3n+R4FA/3YOAWOQ==
2634
 
2635
  union-value@^1.0.0:
2636
  version "1.0.1"
@@ -2708,10 +2720,10 @@ wide-align@^1.1.0:
2708
  dependencies:
2709
  string-width "^1.0.2 || 2"
2710
 
2711
- wordwrap@~1.0.0:
2712
- version "1.0.0"
2713
- resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-1.0.0.tgz#27584810891456a4171c8d0226441ade90cbcaeb"
2714
- integrity sha1-J1hIEIkUVqQXHI0CJkQa3pDLyus=
2715
 
2716
  wrap-ansi@^5.1.0:
2717
  version "5.1.0"
83
  integrity sha512-T/zvzYRfbVojPWahDsE5evJdHb3oJoQfFbsrKM7w5Zcs++Tr257tia3BmMP8XYVjp1S9RZXQMh7gao96BlqZOw==
84
 
85
  acorn@^6.0.7:
86
+ version "6.4.0"
87
+ resolved "https://registry.yarnpkg.com/acorn/-/acorn-6.4.0.tgz#b659d2ffbafa24baf5db1cdbb2c94a983ecd2784"
88
+ integrity sha512-gac8OEcQ2Li1dxIEWGZzsp2BitJxwkwcOm0zHAJLcPJaVvm58FRnk6RkuLRpU1EujipU2ZFODv2P9DLMfnV8mw==
89
 
90
  acorn@^7.1.0:
91
  version "7.1.0"
108
  integrity sha512-cBhpre4ma+U0T1oM5fXg7Dy1Jw7zzwv7lt/GoCpr+hDQJoYnKVPLL4dCvSEFMmQurOQvSrwT7SL/DAlhBI97RQ==
109
 
110
  ansi-escapes@^4.2.1:
111
+ version "4.3.0"
112
+ resolved "https://registry.yarnpkg.com/ansi-escapes/-/ansi-escapes-4.3.0.tgz#a4ce2b33d6b214b7950d8595c212f12ac9cc569d"
113
+ integrity sha512-EiYhwo0v255HUL6eDyuLrXEkTi7WwVCLAw+SeOQ7M7qdun1z1pum4DEm/nuqIVbPvi9RPPc9k9LbyBv6H0DwVg==
114
  dependencies:
115
+ type-fest "^0.8.1"
116
 
117
  ansi-regex@^2.0.0:
118
  version "2.1.1"
129
  resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-4.1.0.tgz#8b9f8f08cf1acb843756a839ca8c7e3168c51997"
130
  integrity sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==
131
 
132
+ ansi-regex@^5.0.0:
133
+ version "5.0.0"
134
+ resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-5.0.0.tgz#388539f55179bf39339c81af30a654d69f87cb75"
135
+ integrity sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==
136
+
137
  ansi-styles@^2.2.1:
138
  version "2.2.1"
139
  resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-2.2.1.tgz#b432dd3358b634cf75e1e4664368240533c1ddbe"
321
  integrity sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==
322
 
323
  camelcase-keys@^6.0.0:
324
+ version "6.1.1"
325
+ resolved "https://registry.yarnpkg.com/camelcase-keys/-/camelcase-keys-6.1.1.tgz#0d24dde78cea4c7d2da7f4ea40b7995083328c8d"
326
+ integrity sha512-kEPCddRFChEzO0d6w61yh0WbBiSv9gBnfZWGfXRYPlGqIdIGef6HMR6pgqVSEWCYkrp8B0AtEpEXNY+Jx0xk1A==
327
  dependencies:
328
  camelcase "^5.3.1"
329
  map-obj "^4.0.0"
474
  integrity sha512-I39t74+4t+zau64EN1fE5v2W31Adtc/REhzWN+gWRRXg6WH5qAsZm62DHpQ1+Yhe4047T55jvzz7MUqF/dBBlA==
475
 
476
  core-js@^3.1.4:
477
+ version "3.4.7"
478
+ resolved "https://registry.yarnpkg.com/core-js/-/core-js-3.4.7.tgz#57c35937da80fe494fbc3adcf9cf3dc00eb86b34"
479
+ integrity sha512-qaPVGw30J1wQ0GR3GvoPqlGf9GZfKKF4kFC7kiHlcsPTqH3txrs9crCp3ZiMAXuSenhz89Jnl4GZs/67S5VOSg==
480
 
481
  core-util-is@~1.0.0:
482
  version "1.0.2"
597
  esutils "^2.0.2"
598
 
599
  dom-serializer@0:
600
+ version "0.2.2"
601
+ resolved "https://registry.yarnpkg.com/dom-serializer/-/dom-serializer-0.2.2.tgz#1afb81f533717175d478655debc5e332d9f9bb51"
602
+ integrity sha512-2/xPb3ORsQ42nHYiSunXkDjPLBaEj/xTwUO4B7XCZQTRk7EBtTOPaygh10YAAh2OI1Qrp6NWfpAhzswj0ydt9g==
603
  dependencies:
604
  domelementtype "^2.0.1"
605
  entities "^2.0.0"
707
  resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-1.1.0.tgz#e2a82cea84ff246ad6fb57f9bde5b46621459ec2"
708
  integrity sha512-8y9YjtM1JBJU/A9Kc+SbaOV4y29sSWckBwMHa+FGtVj5gN/sbnKDf6xJUl+8g7FAij9LVaP8C24DUiH/f/2Z9A==
709
 
710
+ eslint@6.6.*:
711
+ version "6.6.0"
712
+ resolved "https://registry.yarnpkg.com/eslint/-/eslint-6.6.0.tgz#4a01a2fb48d32aacef5530ee9c5a78f11a8afd04"
713
+ integrity sha512-PpEBq7b6qY/qrOmpYQ/jTMDYfuQMELR4g4WI1M/NaSDDD/bdcMb+dj4Hgks7p41kW2caXsPsEZAEAyAgjVVC0g==
714
  dependencies:
715
  "@babel/code-frame" "^7.0.0"
716
+ ajv "^6.10.0"
717
  chalk "^2.1.0"
718
  cross-spawn "^6.0.5"
719
  debug "^4.0.1"
720
  doctrine "^3.0.0"
721
+ eslint-scope "^5.0.0"
722
+ eslint-utils "^1.4.3"
723
+ eslint-visitor-keys "^1.1.0"
724
+ espree "^6.1.2"
725
  esquery "^1.0.1"
726
  esutils "^2.0.2"
727
  file-entry-cache "^5.0.1"
728
  functional-red-black-tree "^1.0.1"
729
+ glob-parent "^5.0.0"
730
  globals "^11.7.0"
731
  ignore "^4.0.6"
732
  import-fresh "^3.0.0"
733
  imurmurhash "^0.1.4"
734
+ inquirer "^7.0.0"
735
+ is-glob "^4.0.0"
736
+ js-yaml "^3.13.1"
737
  json-stable-stringify-without-jsonify "^1.0.1"
738
  levn "^0.3.0"
739
+ lodash "^4.17.14"
740
  minimatch "^3.0.4"
741
  mkdirp "^0.5.1"
742
  natural-compare "^1.4.0"
743
  optionator "^0.8.2"
 
744
  progress "^2.0.0"
745
  regexpp "^2.0.1"
746
+ semver "^6.1.2"
747
+ strip-ansi "^5.2.0"
748
+ strip-json-comments "^3.0.1"
749
  table "^5.2.3"
750
  text-table "^0.2.0"
751
+ v8-compile-cache "^2.0.3"
752
 
753
+ eslint@^5.0.0:
754
+ version "5.16.0"
755
+ resolved "https://registry.yarnpkg.com/eslint/-/eslint-5.16.0.tgz#a1e3ac1aae4a3fbd8296fcf8f7ab7314cbb6abea"
756
+ integrity sha512-S3Rz11i7c8AA5JPv7xAH+dOyq/Cu/VXHiHXBPOU1k/JAM5dXqQPt3qcrhpHSorXmrpu2g0gkIBVXAqCpzfoZIg==
757
  dependencies:
758
  "@babel/code-frame" "^7.0.0"
759
+ ajv "^6.9.1"
760
  chalk "^2.1.0"
761
  cross-spawn "^6.0.5"
762
  debug "^4.0.1"
763
  doctrine "^3.0.0"
764
+ eslint-scope "^4.0.3"
765
+ eslint-utils "^1.3.1"
766
+ eslint-visitor-keys "^1.0.0"
767
+ espree "^5.0.1"
768
  esquery "^1.0.1"
769
  esutils "^2.0.2"
770
  file-entry-cache "^5.0.1"
771
  functional-red-black-tree "^1.0.1"
772
+ glob "^7.1.2"
773
  globals "^11.7.0"
774
  ignore "^4.0.6"
775
  import-fresh "^3.0.0"
776
  imurmurhash "^0.1.4"
777
+ inquirer "^6.2.2"
778
+ js-yaml "^3.13.0"
 
779
  json-stable-stringify-without-jsonify "^1.0.1"
780
  levn "^0.3.0"
781
+ lodash "^4.17.11"
782
  minimatch "^3.0.4"
783
  mkdirp "^0.5.1"
784
  natural-compare "^1.4.0"
785
  optionator "^0.8.2"
786
+ path-is-inside "^1.0.2"
787
  progress "^2.0.0"
788
  regexpp "^2.0.1"
789
+ semver "^5.5.1"
790
+ strip-ansi "^4.0.0"
791
+ strip-json-comments "^2.0.1"
792
  table "^5.2.3"
793
  text-table "^0.2.0"
 
794
 
795
  espree@^3.5.2:
796
  version "3.5.4"
929
  resolved "https://registry.yarnpkg.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.0.0.tgz#d5142c0caee6b1189f87d3a76111064f86c8bbf2"
930
  integrity sha1-1RQsDK7msRifh9OnYREGT4bIu/I=
931
 
932
+ fast-levenshtein@~2.0.6:
933
  version "2.0.6"
934
  resolved "https://registry.yarnpkg.com/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz#3d8a5c66883a16a30ca8643e851f19baa7797917"
935
  integrity sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=
1118
  find-index "^0.1.1"
1119
 
1120
  glob@^7.0.5, glob@^7.1.2, glob@^7.1.3, glob@^7.1.4:
1121
+ version "7.1.6"
1122
+ resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.6.tgz#141f33b81a7c2492e125594307480c46679278a6"
1123
+ integrity sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==
1124
  dependencies:
1125
  fs.realpath "^1.0.0"
1126
  inflight "^1.0.4"
1224
  integrity sha512-MzbUSahkTW1u7JpKKjY7LCARd1fU5W2rLdxlM4kdkayuCwZImjkpluF9CM1aLewYJguPDqewLam18Y6AU69A8A==
1225
 
1226
  import-fresh@^3.0.0:
1227
+ version "3.2.1"
1228
+ resolved "https://registry.yarnpkg.com/import-fresh/-/import-fresh-3.2.1.tgz#633ff618506e793af5ac91bf48b72677e15cbe66"
1229
+ integrity sha512-6e1q1cnWP2RXD9/keSkxHScg508CdXqXWgWBaETNhyuBFz+kUZlKboh+ISK+bU++DmbHimVBrOz/zzPe0sZ3sQ==
1230
  dependencies:
1231
  parent-module "^1.0.0"
1232
  resolve-from "^4.0.0"
1592
  loglevel "^1.4.1"
1593
 
1594
  loglevel@^1.4.1:
1595
+ version "1.6.6"
1596
+ resolved "https://registry.yarnpkg.com/loglevel/-/loglevel-1.6.6.tgz#0ee6300cc058db6b3551fa1c4bf73b83bb771312"
1597
+ integrity sha512-Sgr5lbboAUBo3eXCSPL4/KoVz3ROKquOjcctxmHIt+vol2DrqTQe3SwkKKuYhEiWB5kYa13YyopJ69deJ1irzQ==
1598
 
1599
  make-plural@^4.3.0:
1600
  version "4.3.0"
1917
  mimic-fn "^2.1.0"
1918
 
1919
  optionator@^0.8.2:
1920
+ version "0.8.3"
1921
+ resolved "https://registry.yarnpkg.com/optionator/-/optionator-0.8.3.tgz#84fa1d036fe9d3c7e21d99884b601167ec8fb495"
1922
+ integrity sha512-+IW9pACdk3XWmmTXG8m3upGUJst5XRGzxMRjXzAuJ1XnIFNvfhjjIuYkDvysnPQ7qzqVzLt78BCruntqRhWQbA==
1923
  dependencies:
1924
  deep-is "~0.1.3"
1925
+ fast-levenshtein "~2.0.6"
1926
  levn "~0.3.0"
1927
  prelude-ls "~1.1.2"
1928
  type-check "~0.3.2"
1929
+ word-wrap "~1.2.3"
1930
 
1931
  os-homedir@^1.0.0:
1932
  version "1.0.2"
2063
  yargs "^13.2.4"
2064
 
2065
  prettier-eslint@^9.0.0:
2066
+ version "9.0.1"
2067
+ resolved "https://registry.yarnpkg.com/prettier-eslint/-/prettier-eslint-9.0.1.tgz#fbf507cde7329141cd368c6aeb54a70715d02cf4"
2068
+ integrity sha512-KZT65QTosSAqBBqmrC+RpXbsMRe7Os2YSR9cAfFbDlyPAopzA/S5bioiZ3rpziNQNSJaOxmtXSx07EQ+o2Dlug==
2069
  dependencies:
2070
  "@typescript-eslint/parser" "^1.10.2"
2071
  common-tags "^1.4.0"
2082
  vue-eslint-parser "^2.0.2"
2083
 
2084
  prettier@^1.7.0:
2085
+ version "1.19.1"
2086
+ resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.19.1.tgz#f7d7f5ff8a9cd872a7be4ca142095956a60797cb"
2087
+ integrity sha512-s7PoyDv/II1ObgQunCbB9PdLmUcBZcnWOcxDh7O0N/UwDEsHyqkW+Qh28jW+mVuCdx7gLB0BotYI1Y6uI9iyew==
2088
 
2089
  pretty-format@^23.0.1:
2090
  version "23.6.0"
2230
  integrity sha1-LGN/53yJOv0qZj/iGqkIAGjiBSo=
2231
 
2232
  resolve@^1.1.7:
2233
+ version "1.13.1"
2234
+ resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.13.1.tgz#be0aa4c06acd53083505abb35f4d66932ab35d16"
2235
+ integrity sha512-CxqObCX8K8YtAhOBRg+lrcdn+LK+WYOS8tSjqSFbjtrI5PnS63QPhZl4+yKfrU9tdsbMu9Anr/amegT87M9Z6w==
2236
  dependencies:
2237
  path-parse "^1.0.6"
2238
 
2478
  strip-ansi "^5.1.0"
2479
 
2480
  string-width@^4.1.0:
2481
+ version "4.2.0"
2482
+ resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.0.tgz#952182c46cc7b2c313d1596e623992bd163b72b5"
2483
+ integrity sha512-zUz5JD+tgqtuDjMhwIg5uFVV3dtqZ9yQJlZVfq4I01/K5Paj5UHj7VyrQOJvzawSVlKpObApbfD0Ed6yJc+1eg==
2484
  dependencies:
2485
  emoji-regex "^8.0.0"
2486
  is-fullwidth-code-point "^3.0.0"
2487
+ strip-ansi "^6.0.0"
2488
 
2489
  string_decoder@^1.1.1:
2490
  version "1.3.0"
2521
  dependencies:
2522
  ansi-regex "^4.1.0"
2523
 
2524
+ strip-ansi@^6.0.0:
2525
+ version "6.0.0"
2526
+ resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.0.tgz#0b1571dd7669ccd4f3e06e14ef1eed26225ae532"
2527
+ integrity sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==
2528
+ dependencies:
2529
+ ansi-regex "^5.0.0"
2530
+
2531
  strip-json-comments@^2.0.1, strip-json-comments@~2.0.1:
2532
  version "2.0.1"
2533
  resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a"
2634
  dependencies:
2635
  prelude-ls "~1.1.2"
2636
 
2637
+ type-fest@^0.8.1:
2638
+ version "0.8.1"
2639
+ resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.8.1.tgz#09e249ebde851d3b1e48d27c105444667f17b83d"
2640
+ integrity sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==
2641
 
2642
  typescript@^3.2.1:
2643
+ version "3.7.3"
2644
+ resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.7.3.tgz#b36840668a16458a7025b9eabfad11b66ab85c69"
2645
+ integrity sha512-Mcr/Qk7hXqFBXMN7p7Lusj1ktCBydylfQM/FZCk5glCNQJrCUKPkMHdo9R0MTFWsC/4kPFvDS0fDPvukfCkFsw==
2646
 
2647
  union-value@^1.0.0:
2648
  version "1.0.1"
2720
  dependencies:
2721
  string-width "^1.0.2 || 2"
2722
 
2723
+ word-wrap@~1.2.3:
2724
+ version "1.2.3"
2725
+ resolved "https://registry.yarnpkg.com/word-wrap/-/word-wrap-1.2.3.tgz#610636f6b1f703891bd34771ccb17fb93b47079c"
2726
+ integrity sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==
2727
 
2728
  wrap-ansi@^5.1.0:
2729
  version "5.1.0"
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInitaa67122c232c29f3839c669da76fdc18
6
  {
7
  private static $loader;
8
 
@@ -19,15 +19,15 @@ class ComposerAutoloaderInitaa67122c232c29f3839c669da76fdc18
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInitaa67122c232c29f3839c669da76fdc18', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInitaa67122c232c29f3839c669da76fdc18', 'loadClassLoader'));
25
 
26
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
27
  if ($useStaticLoader) {
28
  require_once __DIR__ . '/autoload_static.php';
29
 
30
- call_user_func(\Composer\Autoload\ComposerStaticInitaa67122c232c29f3839c669da76fdc18::getInitializer($loader));
31
  } else {
32
  $map = require __DIR__ . '/autoload_namespaces.php';
33
  foreach ($map as $namespace => $path) {
@@ -48,19 +48,19 @@ class ComposerAutoloaderInitaa67122c232c29f3839c669da76fdc18
48
  $loader->register(true);
49
 
50
  if ($useStaticLoader) {
51
- $includeFiles = Composer\Autoload\ComposerStaticInitaa67122c232c29f3839c669da76fdc18::$files;
52
  } else {
53
  $includeFiles = require __DIR__ . '/autoload_files.php';
54
  }
55
  foreach ($includeFiles as $fileIdentifier => $file) {
56
- composerRequireaa67122c232c29f3839c669da76fdc18($fileIdentifier, $file);
57
  }
58
 
59
  return $loader;
60
  }
61
  }
62
 
63
- function composerRequireaa67122c232c29f3839c669da76fdc18($fileIdentifier, $file)
64
  {
65
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
66
  require $file;
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInit9c4a1eb0c928382272818b485ae0eb35
6
  {
7
  private static $loader;
8
 
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInit9c4a1eb0c928382272818b485ae0eb35', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInit9c4a1eb0c928382272818b485ae0eb35', 'loadClassLoader'));
25
 
26
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
27
  if ($useStaticLoader) {
28
  require_once __DIR__ . '/autoload_static.php';
29
 
30
+ call_user_func(\Composer\Autoload\ComposerStaticInit9c4a1eb0c928382272818b485ae0eb35::getInitializer($loader));
31
  } else {
32
  $map = require __DIR__ . '/autoload_namespaces.php';
33
  foreach ($map as $namespace => $path) {
48
  $loader->register(true);
49
 
50
  if ($useStaticLoader) {
51
+ $includeFiles = Composer\Autoload\ComposerStaticInit9c4a1eb0c928382272818b485ae0eb35::$files;
52
  } else {
53
  $includeFiles = require __DIR__ . '/autoload_files.php';
54
  }
55
  foreach ($includeFiles as $fileIdentifier => $file) {
56
+ composerRequire9c4a1eb0c928382272818b485ae0eb35($fileIdentifier, $file);
57
  }
58
 
59
  return $loader;
60
  }
61
  }
62
 
63
+ function composerRequire9c4a1eb0c928382272818b485ae0eb35($fileIdentifier, $file)
64
  {
65
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
66
  require $file;
vendor/composer/autoload_static.php CHANGED
@@ -4,7 +4,7 @@
4
 
5
  namespace Composer\Autoload;
6
 
7
- class ComposerStaticInitaa67122c232c29f3839c669da76fdc18
8
  {
9
  public static $files = array (
10
  'decc78cc4436b1292c6c0d151b19445c' => __DIR__ . '/..' . '/phpseclib/phpseclib/phpseclib/bootstrap.php',
@@ -91,9 +91,9 @@ class ComposerStaticInitaa67122c232c29f3839c669da76fdc18
91
  public static function getInitializer(ClassLoader $loader)
92
  {
93
  return \Closure::bind(function () use ($loader) {
94
- $loader->prefixLengthsPsr4 = ComposerStaticInitaa67122c232c29f3839c669da76fdc18::$prefixLengthsPsr4;
95
- $loader->prefixDirsPsr4 = ComposerStaticInitaa67122c232c29f3839c669da76fdc18::$prefixDirsPsr4;
96
- $loader->classMap = ComposerStaticInitaa67122c232c29f3839c669da76fdc18::$classMap;
97
 
98
  }, null, ClassLoader::class);
99
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInit9c4a1eb0c928382272818b485ae0eb35
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 = ComposerStaticInit9c4a1eb0c928382272818b485ae0eb35::$prefixLengthsPsr4;
95
+ $loader->prefixDirsPsr4 = ComposerStaticInit9c4a1eb0c928382272818b485ae0eb35::$prefixDirsPsr4;
96
+ $loader->classMap = ComposerStaticInit9c4a1eb0c928382272818b485ae0eb35::$classMap;
97
 
98
  }, null, ClassLoader::class);
99
  }
vendor/composer/installed.json CHANGED
@@ -1,20 +1,20 @@
1
  [
2
  {
3
  "name": "boldgrid/library",
4
- "version": "2.10.6",
5
- "version_normalized": "2.10.6.0",
6
  "source": {
7
  "type": "git",
8
  "url": "https://github.com/BoldGrid/library.git",
9
- "reference": "c6e390ebc8cb1c93cd53a026eb2c157601bc3d48"
10
  },
11
  "dist": {
12
  "type": "zip",
13
- "url": "https://api.github.com/repos/BoldGrid/library/zipball/c6e390ebc8cb1c93cd53a026eb2c157601bc3d48",
14
- "reference": "c6e390ebc8cb1c93cd53a026eb2c157601bc3d48",
15
  "shasum": ""
16
  },
17
- "time": "2019-11-19T17:57:49+00:00",
18
  "type": "library",
19
  "installation-source": "dist",
20
  "autoload": {
1
  [
2
  {
3
  "name": "boldgrid/library",
4
+ "version": "2.11.0",
5
+ "version_normalized": "2.11.0.0",
6
  "source": {
7
  "type": "git",
8
  "url": "https://github.com/BoldGrid/library.git",
9
+ "reference": "e58584cb1d04d68ede318d9237c54cfb5af8259e"
10
  },
11
  "dist": {
12
  "type": "zip",
13
+ "url": "https://api.github.com/repos/BoldGrid/library/zipball/e58584cb1d04d68ede318d9237c54cfb5af8259e",
14
+ "reference": "e58584cb1d04d68ede318d9237c54cfb5af8259e",
15
  "shasum": ""
16
  },
17
+ "time": "2019-12-19T17:25:20+00:00",
18
  "type": "library",
19
  "installation-source": "dist",
20
  "autoload": {