generated from ergebnis/php-package-template
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: Remove Parsed\FrontMatter and Parsed\Content value objects
- Loading branch information
1 parent
4dc5ce0
commit f5fab42
Showing
13 changed files
with
87 additions
and
318 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,3 @@ | ||
parameters: | ||
ignoreErrors: | ||
- | ||
message: "#^Call to function is_string\\(\\) with string will always evaluate to true\\.$#" | ||
count: 1 | ||
path: src/Parsed/FrontMatter.php | ||
|
||
- | ||
message: "#^Parameter \\#1 \\$value of static method Ergebnis\\\\FrontMatter\\\\Parsed\\\\FrontMatter\\:\\:fromArray\\(\\) expects array\\<string, mixed\\>, array\\<int, string\\> given\\.$#" | ||
count: 1 | ||
path: test/Unit/Parsed/FrontMatterTest.php | ||
ignoreErrors: [] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,8 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<files psalm-version="4.3.1@2feba22a005a18bf31d4c7b9bdb9252c73897476"> | ||
<file src="src/Parsed/FrontMatter.php"> | ||
<DocblockTypeContradiction occurrences="1"> | ||
<code>return !\is_string($key);</code> | ||
</DocblockTypeContradiction> | ||
</file> | ||
<files psalm-version="4.3.2@57b53ff26237074fdf5cbcb034f7da5172be4524"> | ||
<file src="src/YamlParser.php"> | ||
<MixedArgumentTypeCoercion occurrences="1"> | ||
<code>(array) $data</code> | ||
</MixedArgumentTypeCoercion> | ||
<MixedAssignment occurrences="1"> | ||
<code>$data</code> | ||
</MixedAssignment> | ||
</file> | ||
<file src="test/Unit/Parsed/FrontMatterTest.php"> | ||
<InvalidScalarArgument occurrences="1"> | ||
<code>$value</code> | ||
</InvalidScalarArgument> | ||
</file> | ||
</files> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.