From f4c1ce71f464645d25cd8a192dd147c629ca4827 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Paul=20Th=C3=A9baud?= Date: Tue, 17 Jul 2018 22:14:28 +0200 Subject: [PATCH] Update dependencies --- composer.json | 3 ++- phpcs.xml | 4 ++-- phpunit.xml | 3 +-- src/Console/Application.php | 2 +- tests/unit/Console/ApplicationTest.php | 4 ++-- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/composer.json b/composer.json index 30b2a01..552f459 100755 --- a/composer.json +++ b/composer.json @@ -37,7 +37,8 @@ "require-dev": { "phpunit/phpunit": "^7.0", "squizlabs/php_codesniffer": "^3.0", - "satooshi/php-coveralls": "^2.0" + "phploc/phploc": "^4.0", + "php-coveralls/php-coveralls": "^2.1" }, "autoload": { "psr-4": { diff --git a/phpcs.xml b/phpcs.xml index de3035d..6a51bcd 100644 --- a/phpcs.xml +++ b/phpcs.xml @@ -1,6 +1,6 @@ - - Expressive Skeleton coding standard + + PhpUnitGen PSR-2 validation diff --git a/phpunit.xml b/phpunit.xml index d71ea37..c4c88a9 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -8,10 +8,9 @@ convertWarningsToExceptions="true" processIsolation="false" stopOnFailure="false" - syntaxCheck="false" > - + tests/ diff --git a/src/Console/Application.php b/src/Console/Application.php index c5f37cb..7a6a478 100644 --- a/src/Console/Application.php +++ b/src/Console/Application.php @@ -32,7 +32,7 @@ class Application extends AbstractApplication /** * @var string VERSION The current application version. */ - public const VERSION = '2.1.3'; + public const VERSION = '2.1.4'; /** * Application constructor. diff --git a/tests/unit/Console/ApplicationTest.php b/tests/unit/Console/ApplicationTest.php index c1ab2ca..4c73419 100644 --- a/tests/unit/Console/ApplicationTest.php +++ b/tests/unit/Console/ApplicationTest.php @@ -47,7 +47,7 @@ public function testConstruct(): void $this->assertInstanceOf(AbstractApplication::class, $app); $this->assertSame('phpunitgen', $app->getName()); - $this->assertSame('2.1.3', $app->getVersion()); + $this->assertSame('2.1.4', $app->getVersion()); $generate = $app->get('generate'); $this->assertInstanceOf(GenerateCommand::class, $generate); @@ -95,7 +95,7 @@ public function testDoRunNotQuiet(): void $output->expects($this->once())->method('isQuiet') ->willReturn(false); $output->expects($this->once())->method('writeln') - ->with("PhpUnitGen by Paul Thébaud (version 2.1.3).\n"); + ->with("PhpUnitGen by Paul Thébaud (version 2.1.4).\n"); $app->expects($this->once())->method('doRunParent') ->with($input, $output)->willReturn(0);