flysystem-offload/vendor/google/cloud-core/snippet-bootstrap.php

15 lines
374 B
PHP

<?php
use DG\BypassFinals;
use Google\Cloud\Core\Testing\TestHelpers;
TestHelpers::snippetBootstrap();
date_default_timezone_set('UTC');
// Make sure that while testing we bypass the `final` keyword for the GAPIC client.
// Only run this if the individual component has the helper package installed
if (class_exists(BypassFinals::class)) {
BypassFinals::enable();
}