We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2158573 commit 87d3c94Copy full SHA for 87d3c94
testing/bootstrap.php
@@ -22,4 +22,12 @@
22
. 'project root before running "phpunit" to run the samples tests.');
23
}
24
25
+// Make sure that while testing we bypass the `final` keyword for the GAPIC client.
26
+DG\BypassFinals::allowPaths([
27
+ '*/src/V*/Client/*',
28
+]);
29
+
30
+DG\BypassFinals::enable();
31
32
require_once __DIR__ . '/vendor/autoload.php';
33
testing/composer.json
@@ -11,6 +11,7 @@
11
"friendsofphp/php-cs-fixer": "^3.29",
12
"composer/semver": "^3.2",
13
"phpstan/phpstan": "^1.10",
14
- "phpspec/prophecy-phpunit": "^2.0"
+ "phpspec/prophecy-phpunit": "^2.0",
15
+ "dg/bypass-finals": " ^1.7"
16
17
0 commit comments