Skip to content

Commit

Permalink
Merge pull request #39 from samsonasik/fix-travis-2
Browse files Browse the repository at this point in the history
Fixing travis build : ignore cs check on SimpleDependencyObjectFactory test asset
  • Loading branch information
weierophinney committed May 11, 2020
2 parents dd65fc1 + de1db73 commit 0d4c862
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions phpcs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@
<file>benchmarks</file>

<exclude-pattern>test/log/</exclude-pattern>
<exclude-pattern>test/TestAsset/factories/SimpleDependencyObject.php</exclude-pattern>
</ruleset>
3 changes: 1 addition & 2 deletions test/TestAsset/factories/SimpleDependencyObject.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

use Interop\Container\ContainerInterface;
use Laminas\ServiceManager\Factory\FactoryInterface;
use LaminasTest\ServiceManager\TestAsset\InvokableObject;
use LaminasTest\ServiceManager\TestAsset\SimpleDependencyObject;

class SimpleDependencyObjectFactory implements FactoryInterface
Expand All @@ -17,6 +16,6 @@ class SimpleDependencyObjectFactory implements FactoryInterface
*/
public function __invoke(ContainerInterface $container, $requestedName, array $options = null)
{
return new SimpleDependencyObject($container->get(InvokableObject::class));
return new SimpleDependencyObject($container->get(\LaminasTest\ServiceManager\TestAsset\InvokableObject::class));
}
}

0 comments on commit 0d4c862

Please sign in to comment.