Skip to content

Commit

Permalink
Release version 3.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
OndraM committed May 20, 2020
1 parent 92a31f8 commit 3dd2406
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"php": "^7.1",
"ext-mbstring": "*",
"laminas/laminas-filter": "^2.7",
"ondram/ci-detector": "=3.2.0",
"ondram/ci-detector": "=3.3.0",
"symfony/console": "^4.0 || ^5.0"
},
"require-dev": {
Expand Down
4 changes: 2 additions & 2 deletions src/Command/DumpCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

namespace OndraM\CiDetector\Command;

use Laminas\Filter\FilterInterface;
use Laminas\Filter\Word\DashToCamelCase;
use OndraM\CiDetector\CiDetector;
use OndraM\CiDetector\CiMeta;
use OndraM\CiDetector\TrinaryLogic;
Expand All @@ -10,8 +12,6 @@
use Symfony\Component\Console\Helper\Table;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use Zend\Filter\FilterInterface;
use Zend\Filter\Word\DashToCamelCase;

class DumpCommand extends Command
{
Expand Down
5 changes: 3 additions & 2 deletions tests/Command/DetectCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
use OndraM\CiDetector\CiDetector;
use OndraM\CiDetector\Command\DetectCommand;
use OndraM\CiDetector\Exception\CiNotDetectedException;
use PHPUnit\Framework\MockObject\MockObject;
use PHPUnit\Framework\TestCase;
use Symfony\Component\Console\Application;
use Symfony\Component\Console\Command\Command;
Expand Down Expand Up @@ -104,7 +105,7 @@ private function createCommandWithCiDetectorMock(CiDetector $ciDetector): Comman
}

/**
* @return CiDetector::class|\PHPUnit_Framework_MockObject_MockObject
* @return CiDetector|MockObject
*/
private function createCiDetectorForCiEnvironment(CiInterface $ci)
{
Expand All @@ -118,7 +119,7 @@ private function createCiDetectorForCiEnvironment(CiInterface $ci)
}

/**
* @return CiDetector::class|\PHPUnit_Framework_MockObject_MockObject
* @return CiDetector|MockObject
*/
private function createCiDetectorForNonCiEnvironment()
{
Expand Down
5 changes: 3 additions & 2 deletions tests/Command/DumpCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
use OndraM\CiDetector\Command\DumpCommand;
use OndraM\CiDetector\Exception\CiNotDetectedException;
use OndraM\CiDetector\TrinaryLogic;
use PHPUnit\Framework\MockObject\MockObject;
use PHPUnit\Framework\TestCase;
use Symfony\Component\Console\Application;
use Symfony\Component\Console\Command\Command;
Expand Down Expand Up @@ -91,7 +92,7 @@ private function createCommandWithCiDetectorMock(CiDetector $ciDetector): Comman
}

/**
* @return CiDetector::class|\PHPUnit_Framework_MockObject_MockObject
* @return CiDetector|MockObject
*/
private function createCiDetectorForCiEnvironment(CiInterface $ci)
{
Expand All @@ -105,7 +106,7 @@ private function createCiDetectorForCiEnvironment(CiInterface $ci)
}

/**
* @return CiDetector::class|\PHPUnit_Framework_MockObject_MockObject
* @return CiDetector|MockObject
*/
private function createCiDetectorForNonCiEnvironment()
{
Expand Down

0 comments on commit 3dd2406

Please sign in to comment.