Skip to content

Commit

Permalink
Fix: Remove SchemaValidator
Browse files Browse the repository at this point in the history
  • Loading branch information
localheinz committed Dec 29, 2021
1 parent 4509b71 commit 2e787af
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 449 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ For a full diff see [`1.0.3...main`][1.0.3...main].
- Updated `justinrainbow/json-schema` ([#517]), by [@dependabot]
- Stopped sorting the newly added `allow-plugins` configuration ([#590]), by [@dependabot]

### Removed

- Removed `Validator\Result`, `Valdiator\SchemaValidator`, and `Validator\SchemaValidatorInterface` ([#597]), by [@dependabot]

## [`1.0.3`][1.0.3]

For a full diff see [`1.0.2...1.0.3`][1.0.2...1.0.3].
Expand Down Expand Up @@ -429,6 +433,7 @@ For a full diff see [`5d8b3e2...0.1.0`][5d8b3e2...0.1.0].
[#589]: https://github.com/ergebnis/json-normalizer/pull/589
[#590]: https://github.com/ergebnis/json-normalizer/pull/590
[#595]: https://github.com/ergebnis/json-normalizer/pull/595
[#597]: https://github.com/ergebnis/json-normalizer/pull/597

[@BackEndTea]: https://github.com/BackEndTea
[@dependabot]: https://github.com/dependabot
Expand Down
26 changes: 0 additions & 26 deletions psalm-baseline.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,6 @@
<code>$value</code>
</MixedAssignment>
</file>
<file src="src/Validator/SchemaValidator.php">
<MixedInferredReturnType occurrences="1">
<code>bool</code>
</MixedInferredReturnType>
<MixedReturnStatement occurrences="1">
<code>$this-&gt;validator-&gt;isValid()</code>
</MixedReturnStatement>
</file>
<file src="src/Vendor/Composer/ConfigHashNormalizer.php">
<MixedArgument occurrences="2">
<code>$value</code>
Expand Down Expand Up @@ -153,24 +145,6 @@
<code>isFile</code>
</MixedMethodCall>
</file>
<file src="test/Unit/Validator/SchemaValidatorTest.php">
<MixedArgument occurrences="6">
<code>$data</code>
<code>$data</code>
<code>$data</code>
<code>$schema</code>
<code>$schema</code>
<code>$schema</code>
</MixedArgument>
<MixedAssignment occurrences="6">
<code>$data</code>
<code>$data</code>
<code>$data</code>
<code>$schema</code>
<code>$schema</code>
<code>$schema</code>
</MixedAssignment>
</file>
<file src="test/Unit/Vendor/Composer/AbstractComposerTestCase.php">
<MixedInferredReturnType occurrences="1">
<code>\Generator&lt;array&lt;string&gt;&gt;</code>
Expand Down
51 changes: 0 additions & 51 deletions src/Validator/Result.php

This file was deleted.

93 changes: 0 additions & 93 deletions src/Validator/SchemaValidator.php

This file was deleted.

35 changes: 0 additions & 35 deletions src/Validator/SchemaValidatorInterface.php

This file was deleted.

52 changes: 0 additions & 52 deletions test/Unit/Validator/ResultTest.php

This file was deleted.

0 comments on commit 2e787af

Please sign in to comment.