Skip to content

Commit 14b3bcf

Browse files
committed
Added use stdClass in unit test for PHP 7.1 and 7.2 compatibility
1 parent dec1b05 commit 14b3bcf

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

util/template/test/unit-test-oss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ namespace :namespace;
1818

1919
use PHPUnit\Framework\TestCase;
2020
use Elasticsearch\Tests\Utility;
21+
use stdClass;
2122

2223
/**
2324
* YAML test for Elasticsearch

util/template/test/unit-test-xpack

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ namespace :namespace;
1818

1919
use PHPUnit\Framework\TestCase;
2020
use Elasticsearch\Tests\Utility;
21+
use stdClass;
2122

2223
/**
2324
* YAML test for Elasticsearch

0 commit comments

Comments
 (0)