-
-
Notifications
You must be signed in to change notification settings - Fork 505
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
It adds a baseline to reach level 5
- Loading branch information
Showing
28 changed files
with
206 additions
and
73 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
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 |
---|---|---|
@@ -0,0 +1,88 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<files psalm-version="4.20.0@f82a70e7edfc6cf2705e9374c8a0b6a974a779ed"> | ||
<file src="lib/Doctrine/ODM/MongoDB/Aggregation/Stage/GeoNear.php"> | ||
<InvalidReturnStatement occurrences="1"> | ||
<code>$this->num($limit)</code> | ||
</InvalidReturnStatement> | ||
<InvalidReturnType occurrences="1"> | ||
<code>self</code> | ||
</InvalidReturnType> | ||
</file> | ||
<file src="lib/Doctrine/ODM/MongoDB/Mapping/ClassMetadata.php"> | ||
<InvalidArrayOffset occurrences="1"> | ||
<code>[$this->identifier => $this->getIdentifierValue($object)]</code> | ||
</InvalidArrayOffset> | ||
</file> | ||
<file src="lib/Doctrine/ODM/MongoDB/Mapping/Driver/XmlDriver.php"> | ||
<InvalidArgument occurrences="1"> | ||
<code>$mapping</code> | ||
</InvalidArgument> | ||
</file> | ||
<file src="lib/Doctrine/ODM/MongoDB/PersistentCollection/AbstractPersistentCollectionFactory.php"> | ||
<InvalidArgument occurrences="1"> | ||
<code>new PersistentCollection($coll, $dm, $dm->getUnitOfWork())</code> | ||
</InvalidArgument> | ||
</file> | ||
<file src="lib/Doctrine/ODM/MongoDB/PersistentCollection/PersistentCollectionTrait.php"> | ||
<InvalidArgument occurrences="5"> | ||
<code>$func</code> | ||
<code>$p</code> | ||
<code>$p</code> | ||
<code>$p</code> | ||
<code>$p</code> | ||
</InvalidArgument> | ||
<InvalidNullableReturnType occurrences="1"> | ||
<code>getMapping</code> | ||
</InvalidNullableReturnType> | ||
<InvalidReturnType occurrences="1"> | ||
<code>getTypeClass</code> | ||
</InvalidReturnType> | ||
</file> | ||
<file src="lib/Doctrine/ODM/MongoDB/Proxy/Resolver/ProxyManagerClassNameResolver.php"> | ||
<MoreSpecificImplementedParamType occurrences="1"> | ||
<code>$className</code> | ||
</MoreSpecificImplementedParamType> | ||
</file> | ||
<file src="lib/Doctrine/ODM/MongoDB/Repository/DefaultGridFSRepository.php"> | ||
<InvalidReturnStatement occurrences="1"> | ||
<code>$options + ['metadata' => (object) $metadata]</code> | ||
</InvalidReturnStatement> | ||
</file> | ||
<file src="lib/Doctrine/ODM/MongoDB/UnitOfWork.php"> | ||
<InvalidPropertyAssignmentValue occurrences="2"> | ||
<code>$this->identityMap</code> | ||
<code>$this->originalDocumentData</code> | ||
</InvalidPropertyAssignmentValue> | ||
<NullableReturnStatement occurrences="1"> | ||
<code>$mapping['targetDocument']</code> | ||
</NullableReturnStatement> | ||
</file> | ||
<file src="tests/Doctrine/ODM/MongoDB/Tests/DocumentRepositoryTest.php"> | ||
<InvalidArgument occurrences="1"> | ||
<code>new ArrayCollection([$project])</code> | ||
</InvalidArgument> | ||
</file> | ||
<file src="tests/Doctrine/ODM/MongoDB/Tests/Functional/CollectionPersisterTest.php"> | ||
<InvalidArgument occurrences="3"> | ||
<code>[$user->categories[0]->children, $user->categories[1]->children]</code> | ||
<code>[$user->categories[0]->children[0]->children, $user->categories[0]->children[1]->children]</code> | ||
<code>[$user->categories[0]->children[0]->children, $user->categories[0]->children[1]->children]</code> | ||
</InvalidArgument> | ||
</file> | ||
<file src="tests/Doctrine/ODM/MongoDB/Tests/Functional/CustomCollectionsTest.php"> | ||
<InvalidArgument occurrences="4"> | ||
<code>$i</code> | ||
<code>$i</code> | ||
<code>$j</code> | ||
<code>$j</code> | ||
</InvalidArgument> | ||
</file> | ||
<file src="tests/Doctrine/ODM/MongoDB/Tests/Functional/Ticket/MODM81Test.php"> | ||
<InvalidNullableReturnType occurrences="1"> | ||
<code>DocumentManager</code> | ||
</InvalidNullableReturnType> | ||
<NullableReturnStatement occurrences="1"> | ||
<code>$this->dm</code> | ||
</NullableReturnStatement> | ||
</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 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
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 |
---|---|---|
|
@@ -203,7 +203,7 @@ class GH1229Child | |
/** | ||
* @ODM\Field(type="int") | ||
* | ||
* @var int|null | ||
* @var int | ||
*/ | ||
public $order = 0; | ||
|
||
|
Oops, something went wrong.