Skip to content

Commit

Permalink
chore: drop support for PHP 7.3 (#6014)
Browse files Browse the repository at this point in the history
  • Loading branch information
bshaffer authored Apr 9, 2023
1 parent f7da490 commit 94869ea
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"license": "Apache-2.0",
"minimum-stability": "stable",
"require": {
"php": ">=7.4",
"google/cloud-logging": "^1.16",
"google/gax": "^1.1"
},
"require-dev": {
"phpunit/phpunit": "^4.8|^5.0|^8.0",
"yoast/phpunit-polyfills": "^1.0",
"phpspec/prophecy": "^1.10.3",
"phpunit/phpunit": "^9.0",
"phpspec/prophecy-phpunit": "^2.0",
"google/cloud-core": "^1.39"
},
"suggest": {
Expand Down
7 changes: 5 additions & 2 deletions tests/Unit/BootstrapTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,9 @@
use Google\Cloud\ErrorReporting\Bootstrap;
use Google\Cloud\ErrorReporting\MockValues;
use Google\Cloud\Logging\PsrLogger;
use PHPUnit\Framework\TestCase;
use Prophecy\Argument;
use Yoast\PHPUnitPolyfills\TestCases\TestCase;
use Prophecy\PhpUnit\ProphecyTrait;

//@codingStandardsIgnoreStart
require_once __DIR__ . '/fakeGlobalFunctions.php';
Expand All @@ -33,11 +34,13 @@
*/
class BootstrapTest extends TestCase
{
use ProphecyTrait;


private $psrBatchLogger;
private $metadataProvider;

public function set_up()
public function setUp(): void
{
$this->psrBatchLogger = $this->prophesize(PsrLogger::class);
}
Expand Down

0 comments on commit 94869ea

Please sign in to comment.