Skip to content

Commit

Permalink
Add missing CoversClass to use statement
Browse files Browse the repository at this point in the history
Signed-off-by: Abdul Malik Ikhsan <[email protected]>
  • Loading branch information
samsonasik committed Nov 4, 2024
1 parent f17d94e commit 7a4e364
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 20 deletions.
20 changes: 0 additions & 20 deletions psalm-baseline.xml
Original file line number Diff line number Diff line change
Expand Up @@ -135,25 +135,16 @@
<PossiblyUnusedMethod>
<code><![CDATA[invalidFactoryTargetPaths]]></code>
</PossiblyUnusedMethod>
<UndefinedAttributeClass>
<code><![CDATA[CoversClass]]></code>
</UndefinedAttributeClass>
</file>
<file src="test/Command/ConfigDumperCommandTest.php">
<PossiblyUnusedMethod>
<code><![CDATA[ignoreUnresolvedArguments]]></code>
</PossiblyUnusedMethod>
<UndefinedAttributeClass>
<code><![CDATA[CoversClass]]></code>
</UndefinedAttributeClass>
</file>
<file src="test/Command/FactoryCreatorCommandTest.php">
<PossiblyUnusedMethod>
<code><![CDATA[invalidArguments]]></code>
</PossiblyUnusedMethod>
<UndefinedAttributeClass>
<code><![CDATA[CoversClass]]></code>
</UndefinedAttributeClass>
</file>
<file src="test/CommonServiceLocatorBehaviorsTrait.php">
<MissingClosureParamType>
Expand Down Expand Up @@ -212,9 +203,6 @@
<code><![CDATA[assertIsArray]]></code>
<code><![CDATA[assertIsArray]]></code>
</RedundantCondition>
<UndefinedAttributeClass>
<code><![CDATA[CoversClass]]></code>
</UndefinedAttributeClass>
</file>
<file src="test/Proxy/LazyServiceFactoryTest.php">
<InvalidArgument>
Expand Down Expand Up @@ -279,16 +267,8 @@
</PossiblyUnusedMethod>
</file>
<file src="test/Tool/ConfigDumperTest.php">
<UndefinedAttributeClass>
<code><![CDATA[CoversClass]]></code>
</UndefinedAttributeClass>
<UnresolvableInclude>
<code><![CDATA[include $file]]></code>
</UnresolvableInclude>
</file>
<file src="test/Tool/FactoryCreatorTest.php">
<UndefinedAttributeClass>
<code><![CDATA[CoversClass]]></code>
</UndefinedAttributeClass>
</file>
</files>
1 change: 1 addition & 0 deletions test/Command/AheadOfTimeFactoryCreatorCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
use org\bovigo\vfs\vfsStream;
use org\bovigo\vfs\vfsStreamDirectory;
use org\bovigo\vfs\vfsStreamFile;
use PHPUnit\Framework\Attributes\CoversClass;
use PHPUnit\Framework\Attributes\DataProvider;
use PHPUnit\Framework\MockObject\MockObject;
use PHPUnit\Framework\TestCase;
Expand Down
1 change: 1 addition & 0 deletions test/Command/ConfigDumperCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
use LaminasTest\ServiceManager\TestAsset\SimpleDependencyObject;
use org\bovigo\vfs\vfsStream;
use org\bovigo\vfs\vfsStreamDirectory;
use PHPUnit\Framework\Attributes\CoversClass;
use PHPUnit\Framework\MockObject\MockObject;
use PHPUnit\Framework\TestCase;
use Symfony\Component\Console\Input\InputInterface;
Expand Down
1 change: 1 addition & 0 deletions test/Command/FactoryCreatorCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
use Laminas\ServiceManager\Tool\FactoryCreatorInterface;
use LaminasTest\ServiceManager\TestAsset\ObjectWithScalarDependency;
use LaminasTest\ServiceManager\TestAsset\SimpleDependencyObject;
use PHPUnit\Framework\Attributes\CoversClass;
use PHPUnit\Framework\Attributes\DataProvider;
use PHPUnit\Framework\MockObject\MockObject;
use PHPUnit\Framework\TestCase;
Expand Down
1 change: 1 addition & 0 deletions test/LazyServiceIntegrationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
use Laminas\ServiceManager\Proxy\LazyServiceFactory;
use Laminas\ServiceManager\ServiceManager;
use LaminasTest\ServiceManager\TestAsset\InvokableObject;
use PHPUnit\Framework\Attributes\CoversClass;
use PHPUnit\Framework\TestCase;
use ProxyManager\Autoloader\AutoloaderInterface;
use RecursiveDirectoryIterator;
Expand Down
1 change: 1 addition & 0 deletions test/Tool/ConfigDumperTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
use LaminasTest\ServiceManager\TestAsset\ObjectWithScalarDependency;
use LaminasTest\ServiceManager\TestAsset\SecondComplexDependencyObject;
use LaminasTest\ServiceManager\TestAsset\SimpleDependencyObject;
use PHPUnit\Framework\Attributes\CoversClass;
use PHPUnit\Framework\Attributes\Depends;
use PHPUnit\Framework\TestCase;
use Psr\Container\ContainerInterface;
Expand Down
1 change: 1 addition & 0 deletions test/Tool/FactoryCreatorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
use LaminasTest\ServiceManager\TestAsset\InvokableObject;
use LaminasTest\ServiceManager\TestAsset\SecondComplexDependencyObject;
use LaminasTest\ServiceManager\TestAsset\SimpleDependencyObject;
use PHPUnit\Framework\Attributes\CoversClass;
use PHPUnit\Framework\MockObject\MockObject;
use PHPUnit\Framework\TestCase;
use Psr\Container\ContainerInterface;
Expand Down

0 comments on commit 7a4e364

Please sign in to comment.