Skip to content

Commit 1a4e339

Browse files
bighappyfaceerayd
authored andcommitted
Merge pull request jsonrainbow#477 from localheinz/fix/unused-import
Enhancement: Implicitly enable no_unused_imports fixer
1 parent f1bca87 commit 1a4e339

File tree

8 files changed

+0
-13
lines changed

8 files changed

+0
-13
lines changed

.php_cs.dist

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ $config
1515
'array_syntax' => array('syntax' => 'long'),
1616
'binary_operator_spaces' => false,
1717
'concat_space' => array('spacing' => 'one'),
18-
'no_unused_imports' => false,
1918
'no_useless_else' => true,
2019
'no_useless_return' => true,
2120
'ordered_imports' => true,

src/JsonSchema/Constraints/Constraint.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,6 @@
1010
namespace JsonSchema\Constraints;
1111

1212
use JsonSchema\Entity\JsonPointer;
13-
use JsonSchema\SchemaStorage;
14-
use JsonSchema\Uri\UriRetriever;
15-
use JsonSchema\UriRetrieverInterface;
1613

1714
/**
1815
* The Base Constraints, all Validators should extend this class

src/JsonSchema/Constraints/Factory.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@
99

1010
namespace JsonSchema\Constraints;
1111

12-
use JsonSchema\Constraints\Constraint;
1312
use JsonSchema\Exception\InvalidArgumentException;
14-
use JsonSchema\Exception\InvalidConfigException;
1513
use JsonSchema\SchemaStorage;
1614
use JsonSchema\SchemaStorageInterface;
1715
use JsonSchema\Uri\UriRetriever;

src/JsonSchema/Constraints/SchemaConstraint.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
use JsonSchema\Exception\InvalidArgumentException;
1414
use JsonSchema\Exception\InvalidSchemaException;
1515
use JsonSchema\Exception\RuntimeException;
16-
use JsonSchema\SchemaStorage;
1716
use JsonSchema\Validator;
1817

1918
/**

src/JsonSchema/Validator.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111

1212
use JsonSchema\Constraints\BaseConstraint;
1313
use JsonSchema\Constraints\Constraint;
14-
use JsonSchema\Exception\InvalidConfigException;
15-
use JsonSchema\SchemaStorage;
1614

1715
/**
1816
* A JsonSchema Constraint

tests/Drafts/Draft3Test.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99

1010
namespace JsonSchema\Tests\Drafts;
1111

12-
use JsonSchema\Constraints\Constraint;
13-
1412
/**
1513
* @package JsonSchema\Tests\Drafts
1614
*/

tests/SchemaStorageTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
use JsonSchema\Uri\UriRetriever;
1414
use JsonSchema\Validator;
1515
use PHPUnit\Framework\TestCase;
16-
use Prophecy\Argument;
1716

1817
class SchemaStorageTest extends TestCase
1918
{

tests/ValidatorTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
namespace JsonSchema\Tests;
44

5-
use JsonSchema\Constraints\Constraint;
65
use JsonSchema\Validator;
76
use PHPUnit\Framework\TestCase;
87

0 commit comments

Comments
 (0)