Skip to content

Commit

Permalink
CS
Browse files Browse the repository at this point in the history
  • Loading branch information
GromNaN committed Oct 19, 2024
1 parent c884a95 commit f8f5956
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 25 deletions.
2 changes: 1 addition & 1 deletion lib/Doctrine/ODM/MongoDB/Proxy/Autoloader.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
namespace Doctrine\ODM\MongoDB\Proxy;

use Closure;
use Doctrine\ODM\MongoDB\InvalidArgumentException;
use InvalidArgumentException;

use function file_exists;
use function ltrim;
Expand Down
28 changes: 4 additions & 24 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -65,16 +65,6 @@ parameters:
count: 1
path: lib/Doctrine/ODM/MongoDB/Aggregation/Stage/Lookup.php

-
message: "#^Method Doctrine\\\\ODM\\\\MongoDB\\\\Aggregation\\\\Stage\\\\Merge\\:\\:whenMatched\\(\\) has parameter \\$whenMatched with no value type specified in iterable type array\\.$#"
count: 1
path: lib/Doctrine/ODM/MongoDB/Aggregation/Stage/Merge.php

-
message: "#^Property Doctrine\\\\ODM\\\\MongoDB\\\\Aggregation\\\\Stage\\\\Merge\\:\\:\\$whenMatched type has no value type specified in iterable type array\\.$#"
count: 1
path: lib/Doctrine/ODM/MongoDB/Aggregation/Stage/Merge.php

-
message: "#^Unable to resolve the template type T in call to method Doctrine\\\\ODM\\\\MongoDB\\\\DocumentManager\\:\\:getClassMetadata\\(\\)$#"
count: 1
Expand Down Expand Up @@ -541,27 +531,17 @@ parameters:
path: lib/Doctrine/ODM/MongoDB/Persisters/DocumentPersister.php

-
message: "#^Call to an undefined static method Doctrine\\\\ODM\\\\MongoDB\\\\Proxy\\\\LazyGhostProxyFactory\\:\\:createLazyGhost\\(\\)\\.$#"
message: "#^Call to an undefined static method Doctrine\\\\ODM\\\\MongoDB\\\\Proxy\\\\ProxyFactory\\:\\:createLazyGhost\\(\\)\\.$#"
count: 1
path: lib/Doctrine/ODM/MongoDB/Proxy/LazyGhostProxyFactory.php

-
message: "#^Method Doctrine\\\\ODM\\\\MongoDB\\\\Proxy\\\\LazyGhostProxyFactory\\:\\:createLazyInitializer\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: lib/Doctrine/ODM/MongoDB/Proxy/LazyGhostProxyFactory.php

-
message: "#^Unable to resolve the template type T in call to method Doctrine\\\\ODM\\\\MongoDB\\\\DocumentManager\\:\\:getClassMetadata\\(\\)$#"
count: 1
path: lib/Doctrine/ODM/MongoDB/Proxy/LazyGhostProxyFactory.php
path: lib/Doctrine/ODM/MongoDB/Proxy/ProxyFactory.php

-
message: "#^Method Doctrine\\\\ODM\\\\MongoDB\\\\Proxy\\\\ProxyFactory\\:\\:generateProxyClasses\\(\\) has parameter \\$classes with no value type specified in iterable type array\\.$#"
message: "#^Method Doctrine\\\\ODM\\\\MongoDB\\\\Proxy\\\\ProxyFactory\\:\\:createLazyInitializer\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: lib/Doctrine/ODM/MongoDB/Proxy/ProxyFactory.php

-
message: "#^PHPDoc tag @param for parameter \\$classes with type Doctrine\\\\ODM\\\\MongoDB\\\\Mapping\\\\ClassMetadata is incompatible with native type array\\.$#"
message: "#^Unable to resolve the template type T in call to method Doctrine\\\\ODM\\\\MongoDB\\\\DocumentManager\\:\\:getClassMetadata\\(\\)$#"
count: 1
path: lib/Doctrine/ODM/MongoDB/Proxy/ProxyFactory.php

Expand Down

0 comments on commit f8f5956

Please sign in to comment.