Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@
}
},
"require": {
"php": "^7.1",
"php": "^5.6|^7.2",
"friendsofphp/php-cs-fixer": "^2.1",
"phpunit/phpunit": "~6.0|~7.0",
"phpunit/phpunit": "^3.7|~6.0|~7.0|~8",
"squizlabs/php_codesniffer": "~3.0",
"phpmd/phpmd": "~2.6",
"symfony/dependency-injection": "~4.0",
"symfony/config": "~4.0",
"symfony/yaml": "~4.0",
"phpmd/phpmd": "*",
"symfony/dependency-injection": "~3.0|~4.0",
"symfony/config": "*",
"symfony/yaml": "*",
"fiunchinho/phpunit-randomizer": "~3.0|~4.0",
"seld/jsonlint": "~1.5",
"bruli/ignore-files": "~1.0",
Expand All @@ -39,7 +39,7 @@
},
"require-dev": {
"fzaninotto/faker": "^1.6",
"mockery/mockery": "~0.9",
"mockery/mockery": "~0.9|~1",
"composer/composer": "^1.4"
},
"config": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class ComposerToolHandlerTest extends ComposerUnitTestCase
*/
private $errorMessage;

protected function setUp()
protected function setUp(): void
{
$this->errorMessage = PreCommitResponseStub::FIX_YOUR_CODE;
$this->composerToolCommandHandler = new ComposerToolHandler(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class CommitMsgProcessorTest extends ConfigurationUnitTestCase
*/
private $commitMsgProcessor;

protected function setUp()
protected function setUp(): void
{
$this->commitMsgProcessor = new CommitMsgProcessor();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class ConfigurationDataFinderHandlerTest extends ConfigurationUnitTestCase
*/
private $configurationDataFinderQueryHandler;

protected function setUp()
protected function setUp(): void
{
$this->configurationDataFinderQueryHandler = new ConfigurationDataFinderHandler(
$this->getConfigurationFileReader()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ final class ConfigurationProcessorHandlerTest extends ConfigurationUnitTestCase
*/
private $configurationProcessorCommandHandler;

protected function setUp()
protected function setUp(): void
{
$this->configurationProcessorCommandHandler = new ConfigurationProcessorHandler(
$this->getConfigurationFileReader(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class PhpGuardCoverageGitIgnoreConfiguratorTest extends ConfigurationUnitTestCas
*/
private $phpGuardCoverageGitIgnoreConfigurator;

protected function setUp()
protected function setUp(): void
{
$this->phpGuardCoverageGitIgnoreConfigurator = new PhpGuardCoverageGitIgnoreConfigurator(
$this->getQueryBus(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class PreCommitProcessorTest extends ConfigurationUnitTestCase
*/
private $io;

protected function setUp()
protected function setUp(): void
{
$this->io = $this->getIOInterface();
$this->preCommitProcessor = new PreCommitProcessor(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class PhpFilesExtractorQueryHandlerTest extends FilesUnitTestCase
*/
private $phpFilesExtractorQueryHandler;

protected function setUp()
protected function setUp(): void
{
$this->phpFilesExtractorQueryHandler = new PhpFilesExtractorHandler();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class CommitMsgCommandHandlerTest extends GitUnitTestCase
*/
private $commitMsgCommandHandler;

protected function setUp()
protected function setUp(): void
{
$this->commitMsgCommandHandler = new CommitMsgHandler(
$this->getMergeValidator(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class GitIgnoreExtractorHandlerTest extends GitUnitTestCase
*/
private $gitIgnoreExtractorQueryHandler;

protected function setUp()
protected function setUp(): void
{
$this->gitIgnoreExtractorQueryHandler = new GitIgnoreExtractorHandler($this->getGitIgnoreFileReader());
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class PreCommitToolHandlerTest extends GitUnitTestCase
*/
private $preCommitToolCommandHandler;

protected function setUp()
protected function setUp(): void
{
$this->preCommitToolCommandHandler = new PreCommitToolHandler(
$this->getOutputInterface(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class PrePushToolHandlerTest extends GitUnitTestCase
*/
private $prePushToolCommandHandler;

protected function setUp()
protected function setUp(): void
{
$this->prePushToolCommandHandler = new PrePushToolHandler(
$this->getQueryBus(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class JsonLintToolHandlerTest extends JsonLintUnitTestCase
*/
private $errorMessage;

protected function setUp()
protected function setUp(): void
{
$this->jsonLintToolCommandHandler = new JsonLintToolHandler(
new JsonLintToolExecutor(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class PhpCsToolHandlerTest extends PhpCsUnitTestCase
*/
private $phpCsToolCommandHandler;

protected function setUp()
protected function setUp(): void
{
$this->phpCsToolCommandHandler = new PhpCsToolHandler(
$this->getOutputInterface(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class PhpCsFixerToolHandlerTest extends PhpCsFixerUnitTestCase
*/
private $phpCsFixerToolCommandHandler;

protected function setUp()
protected function setUp(): void
{
$this->phpCsFixerToolCommandHandler = new PhpCsFixerToolHandler(
$this->getOutputInterface(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class PhpLintToolHandlerTest extends PhpLintUnitTestCase
*/
private $phpLintToolCommandHandler;

protected function setUp()
protected function setUp(): void
{
$this->phpLintToolCommandHandler = new PhpLintToolHandler(
$this->getPhpLintToolProcessor(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class PhpMdToolHandlerTest extends PhpMdUnitTestCase
*/
private $phpMdToolCommandHandler;

protected function setUp()
protected function setUp(): void
{
$this->phpMdToolCommandHandler = new PhpMdToolHandler(
$this->getOutputInterface(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class GuardCoverageToolHandlerTest extends PhpUnitUnitTestCase
*/
private $guardCoverageToolCommandHandler;

protected function setUp()
protected function setUp(): void
{
$this->guardCoverageToolCommandHandler = new GuardCoverageToolHandler(
$this->getOutputInterface(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class PhpUnitToolHandlerTest extends PhpUnitUnitTestCase
*/
private $phpUnitToolCommandHandler;

protected function setUp()
protected function setUp(): void
{
$this->phpUnitToolCommandHandler = new PhpUnitToolHandler(
$this->getOutputInterface(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class StrictCoverageToolHandlerTest extends PhpUnitUnitTestCase
*/
private $strictCoverageToolCommandHandler;

protected function setUp()
protected function setUp(): void
{
$this->errorMessage = ConfigArrayDataStub::ERROR_MESSAGE;
$this->strictCoverageToolCommandHandler = new StrictCoverageToolHandler(
Expand Down