Skip to content

Commit

Permalink
fix(chore): fix code style; PSR4 on KafkaSchemaRegistryApiClientTest.…
Browse files Browse the repository at this point in the history
…php; update composer.json to comply with newer composer versions (#15)
  • Loading branch information
haeber authored May 10, 2022
1 parent 3d80b85 commit dd58431
Show file tree
Hide file tree
Showing 20 changed files with 5 additions and 20 deletions.
5 changes: 4 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@
"squizlabs/php_codesniffer": "^3.4.2"
},
"config": {
"sort-packages": true
"sort-packages": true,
"allow-plugins": {
"infection/extension-installer": true
}
}
}
1 change: 0 additions & 1 deletion src/Exception/AbstractKafkaSchemaRegistryException.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,4 @@

abstract class AbstractKafkaSchemaRegistryException extends Exception implements SchemaRegistryExceptionInterface
{

}
1 change: 0 additions & 1 deletion src/Exception/BackendDatastoreException.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,4 @@

class BackendDatastoreException extends AbstractKafkaSchemaRegistryException
{

}
1 change: 0 additions & 1 deletion src/Exception/CompatibilityException.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,4 @@

class CompatibilityException extends AbstractKafkaSchemaRegistryException
{

}
1 change: 0 additions & 1 deletion src/Exception/ImportException.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,4 @@

class ImportException extends AbstractKafkaSchemaRegistryException
{

}
1 change: 0 additions & 1 deletion src/Exception/IncompatibileAvroSchemaException.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,4 @@

class IncompatibileAvroSchemaException extends AbstractKafkaSchemaRegistryException
{

}
1 change: 0 additions & 1 deletion src/Exception/InvalidAvroSchemaException.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,4 @@

class InvalidAvroSchemaException extends AbstractKafkaSchemaRegistryException
{

}
1 change: 0 additions & 1 deletion src/Exception/InvalidVersionException.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,4 @@

class InvalidVersionException extends AbstractKafkaSchemaRegistryException
{

}
1 change: 0 additions & 1 deletion src/Exception/OperationTimeoutException.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,4 @@

class OperationTimeoutException extends AbstractKafkaSchemaRegistryException
{

}
1 change: 0 additions & 1 deletion src/Exception/PathNotFoundException.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,4 @@

class PathNotFoundException extends AbstractKafkaSchemaRegistryException
{

}
1 change: 0 additions & 1 deletion src/Exception/RequestForwardException.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,4 @@

class RequestForwardException extends AbstractKafkaSchemaRegistryException
{

}
1 change: 0 additions & 1 deletion src/Exception/SchemaNotFoundException.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,4 @@

class SchemaNotFoundException extends AbstractKafkaSchemaRegistryException
{

}
1 change: 0 additions & 1 deletion src/Exception/SchemaRegistryExceptionInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,4 @@

interface SchemaRegistryExceptionInterface extends ClientExceptionInterface
{

}
1 change: 0 additions & 1 deletion src/Exception/SubjectNotFoundException.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,4 @@

class SubjectNotFoundException extends AbstractKafkaSchemaRegistryException
{

}
1 change: 0 additions & 1 deletion src/Exception/UnauthorizedException.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,4 @@

class UnauthorizedException extends AbstractKafkaSchemaRegistryException
{

}
1 change: 0 additions & 1 deletion src/Exception/UnprocessableEntityException.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,4 @@

class UnprocessableEntityException extends AbstractKafkaSchemaRegistryException
{

}
1 change: 0 additions & 1 deletion src/Exception/VersionNotFoundException.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,4 @@

class VersionNotFoundException extends AbstractKafkaSchemaRegistryException
{

}
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

class KafkaSchemaRegistryApiClientProvider implements ServiceProviderInterface
{

public const CONTAINER_KEY = 'kafka.schema.registry';

public const SETTING_KEY_USERNAME = 'username';
Expand Down
2 changes: 1 addition & 1 deletion tests/KafkaSchemaRegistryApiClientTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
/**
* @covers \Jobcloud\Kafka\SchemaRegistryClient\KafkaSchemaRegistryApiClient
*/
class KafkaSchemaRegistryApiApiClientTest extends TestCase
class KafkaSchemaRegistryApiClientTest extends TestCase
{
private const TEST_SUBJECT_NAME = 'some-subject';
private const TEST_SCHEMA = '{}';
Expand Down
1 change: 0 additions & 1 deletion tests/ReflectionAccessTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
*/
trait ReflectionAccessTrait
{

/**
* Set private/protected property.
*
Expand Down

0 comments on commit dd58431

Please # to comment.