Skip to content
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,10 @@
"flix-tech/avro-php": "^3.0|^4.0",
"symfony/console": "^4.3|^5.1",
"pimple/pimple": "^3.2",
"jobcloud/php-kafka-schema-registry-client": "^0.1",
"guzzlehttp/guzzle": "^6.3|^7.3"
"jobcloud/php-kafka-schema-registry-client": "^1.0",
"guzzlehttp/guzzle": "^6.3|^7.3",
"kriswallsmith/buzz": "^1.2",
"nyholm/psr7": "^1.4"
},
"require-dev": {
"phpunit/phpunit": "^9.5",
Expand Down
2 changes: 1 addition & 1 deletion docker/dev/php/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM php:7.3-cli-alpine3.14
FROM php:7.4-cli-alpine3.14

ARG HOST_USER_ID

Expand Down
1 change: 0 additions & 1 deletion src/Command/AbstractModeCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@

abstract class AbstractModeCommand extends AbstractSchemaCommand implements ModeCommandInterface
{

/**
* @return void
*/
Expand Down
1 change: 0 additions & 1 deletion src/Command/AbstractSchemaCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

abstract class AbstractSchemaCommand extends Command
{

/**
* @var KafkaSchemaRegistryApiClientInterface
*/
Expand Down
1 change: 0 additions & 1 deletion src/Command/CheckAllSchemasCompatibilityCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@

class CheckAllSchemasCompatibilityCommand extends AbstractSchemaCommand
{

/**
* @return void
*/
Expand Down
1 change: 0 additions & 1 deletion src/Command/CheckCompatibilityCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@

class CheckCompatibilityCommand extends AbstractSchemaCommand
{

/**
* @return void
*/
Expand Down
1 change: 0 additions & 1 deletion src/Command/CheckIsRegistredCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@

class CheckIsRegistredCommand extends AbstractSchemaCommand
{

/**
* @return void
*/
Expand Down
1 change: 0 additions & 1 deletion src/Command/DeleteAllSchemasCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

class DeleteAllSchemasCommand extends AbstractSchemaCommand
{

/**
* @return void
*/
Expand Down
1 change: 0 additions & 1 deletion src/Command/GetCompatibilityModeCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

class GetCompatibilityModeCommand extends AbstractSchemaCommand
{

/**
* @return void
*/
Expand Down
1 change: 0 additions & 1 deletion src/Command/GetCompatibilityModeForSchemaCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@

class GetCompatibilityModeForSchemaCommand extends AbstractSchemaCommand
{

/**
* @return void
*/
Expand Down
1 change: 0 additions & 1 deletion src/Command/GetLatestSchemaCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

class GetLatestSchemaCommand extends AbstractSchemaCommand
{

/**
* @return void
*/
Expand Down
5 changes: 2 additions & 3 deletions src/Command/GetSchemaByVersionCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,15 @@

class GetSchemaByVersionCommand extends AbstractSchemaCommand
{

/**
* @return void
*/
protected function configure(): void
{
$this
->setName('kafka-schema-registry:fetch:schema')
->setDescription('List all versions for given schema')
->setHelp('List all versions for given schema')
->setDescription('Get schema by version number')
->setHelp('Get schema by version number')
->addArgument('schemaName', InputArgument::REQUIRED, 'Name of the schema')
->addArgument('schemaVersion', InputArgument::REQUIRED, 'Version of the schema')
->addArgument('outputFile', InputArgument::REQUIRED, 'Path to output file');
Expand Down
1 change: 0 additions & 1 deletion src/Command/ListAllSchemasCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

class ListAllSchemasCommand extends AbstractSchemaCommand
{

/**
* @return void
*/
Expand Down
1 change: 0 additions & 1 deletion src/Command/ListVersionsForSchemaCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@

class ListVersionsForSchemaCommand extends AbstractSchemaCommand
{

/**
* @return void
*/
Expand Down
1 change: 0 additions & 1 deletion src/Command/RegisterChangedSchemasCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@

class RegisterChangedSchemasCommand extends AbstractSchemaCommand
{

/**
* @var integer
*/
Expand Down
1 change: 0 additions & 1 deletion src/Command/RegisterSchemaVersionCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@

class RegisterSchemaVersionCommand extends AbstractSchemaCommand
{

/**
* @return void
*/
Expand Down
1 change: 0 additions & 1 deletion src/ServiceProvider/CommandServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@

class CommandServiceProvider implements ServiceProviderInterface
{

public const COMMANDS = 'kafka.schema.registry.commands';

/**
Expand Down