Skip to content

Commit c00e15a

Browse files
chore: removed abandoned package from composer (#6881)
1 parent a0ae1cf commit c00e15a

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"squizlabs/php_codesniffer": "2.*",
1515
"phpdocumentor/reflection": "^5.0",
1616
"erusev/parsedown": "^1.6",
17-
"rg/avro-php": "^3.0.0"
17+
"flix-tech/avro-php": "^5.0.0"
1818
},
1919
"suggest": {
2020
"ext-grpc": "The gRPC extension enables use of the performant gRPC transport",

tests/System/SchemaTest.php

+2-4
Original file line numberDiff line numberDiff line change
@@ -116,9 +116,6 @@ public function testSchemaManagementProtobuf(PubSubClient $client)
116116
*/
117117
public function testPublishWithAvroSchemaBinary(PubSubClient $client)
118118
{
119-
if (version_compare(phpversion(), '7.3.0') === -1) {
120-
$this->markTestSkipped('This test can only be run on php 7.3+');
121-
}
122119
$definition = file_get_contents(__DIR__ . '/testdata/schema.avsc');
123120
$schema = $client->createSchema(
124121
uniqid(self::TESTING_PREFIX),
@@ -147,9 +144,10 @@ public function testPublishWithAvroSchemaBinary(PubSubClient $client)
147144
$encoder = new \AvroIOBinaryEncoder($io);
148145
$writer->write($data, $encoder);
149146

150-
$topic->publish(new Message([
147+
$messageIds = $topic->publish(new Message([
151148
'data' => $io->string(),
152149
]));
150+
$this->assertNotEmpty($messageIds);
153151
}
154152

155153
/**

0 commit comments

Comments
 (0)