Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
1 change: 0 additions & 1 deletion .php_cs.dist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ $config
'array_syntax' => array('syntax' => 'long'),
'binary_operator_spaces' => false,
'concat_space' => array('spacing' => 'one'),
'no_unused_imports' => false,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since no_unused_imports is enabled as part of the @Symfony rule set, we implicitly enable it by removing this rule here.

'no_useless_else' => true,
'no_useless_return' => true,
'ordered_imports' => true,
Expand Down
1 change: 0 additions & 1 deletion src/JsonSchema/Constraints/BaseConstraint.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
namespace JsonSchema\Constraints;

use JsonSchema\ConstraintError;
use JsonSchema\Constraints\TypeCheck\LooseTypeCheck;
use JsonSchema\Entity\JsonPointer;
use JsonSchema\Exception\InvalidArgumentException;
use JsonSchema\Exception\ValidationException;
Expand Down
3 changes: 0 additions & 3 deletions src/JsonSchema/Constraints/Constraint.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@
namespace JsonSchema\Constraints;

use JsonSchema\Entity\JsonPointer;
use JsonSchema\SchemaStorage;
use JsonSchema\Uri\UriRetriever;
use JsonSchema\UriRetrieverInterface;

/**
* The Base Constraints, all Validators should extend this class
Expand Down
2 changes: 0 additions & 2 deletions src/JsonSchema/Constraints/Factory.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@

namespace JsonSchema\Constraints;

use JsonSchema\Constraints\Constraint;
use JsonSchema\Exception\InvalidArgumentException;
use JsonSchema\Exception\InvalidConfigException;
use JsonSchema\SchemaStorage;
use JsonSchema\SchemaStorageInterface;
use JsonSchema\Uri\UriRetriever;
Expand Down
1 change: 0 additions & 1 deletion src/JsonSchema/Constraints/SchemaConstraint.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
use JsonSchema\Exception\InvalidArgumentException;
use JsonSchema\Exception\InvalidSchemaException;
use JsonSchema\Exception\RuntimeException;
use JsonSchema\SchemaStorage;
use JsonSchema\Validator;

/**
Expand Down
2 changes: 0 additions & 2 deletions src/JsonSchema/Validator.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@

use JsonSchema\Constraints\BaseConstraint;
use JsonSchema\Constraints\Constraint;
use JsonSchema\Exception\InvalidConfigException;
use JsonSchema\SchemaStorage;

/**
* A JsonSchema Constraint
Expand Down
2 changes: 0 additions & 2 deletions tests/Drafts/Draft3Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@

namespace JsonSchema\Tests\Drafts;

use JsonSchema\Constraints\Constraint;

/**
* @package JsonSchema\Tests\Drafts
*/
Expand Down
1 change: 0 additions & 1 deletion tests/SchemaStorageTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
use JsonSchema\Uri\UriRetriever;
use JsonSchema\Validator;
use PHPUnit\Framework\TestCase;
use Prophecy\Argument;

class SchemaStorageTest extends TestCase
{
Expand Down
1 change: 0 additions & 1 deletion tests/ValidatorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

namespace JsonSchema\Tests;

use JsonSchema\Constraints\Constraint;
use JsonSchema\Validator;
use PHPUnit\Framework\TestCase;

Expand Down