PluginProbe
Media Cloud Sync / 1.4.2
Media Cloud Sync v1.4.2
1.4.2 1.4.1 1.4.0 1.3.12 1.3.11 1.3.10 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.1.0 1.1.1 1.2.0 1.2.10 1.2.11 1.2.12 1.2.13 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 All 36 releases
← All changes | includes/sdk/google/google/cloud-core/snippet-bootstrap.php +8 -2 1.1.0 → 1.4.2 View file →
@@ -1,7 +1,13 @@
1 1 <?php
2 2
3 -namespace Dudlewebs\WPMCS;
3 +namespace Dudlewebs\WPMCS\GCP;
4 4
5 -use Dudlewebs\WPMCS\Google\Cloud\Core\Testing\TestHelpers;
5 +use Dudlewebs\WPMCS\GCP\DG\BypassFinals;
6 +use Dudlewebs\WPMCS\GCP\Google\Cloud\Core\Testing\TestHelpers;
6 7 TestHelpers::snippetBootstrap();
7 8 \date_default_timezone_set('UTC');
9 +// Make sure that while testing we bypass the `final` keyword for the GAPIC client.
10 +// Only run this if the individual component has the helper package installed
11 +if (\class_exists(BypassFinals::class)) {
12 + BypassFinals::enable();
13 +}