composer update

This commit is contained in:
Manish Verma
2018-12-05 10:50:52 +05:30
parent 9eabcacfa7
commit 4addd1e9c6
3328 changed files with 156676 additions and 138988 deletions

View File

@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);
/*
* This file is part of sebastian/environment.
*
@@ -7,9 +7,6 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace SebastianBergmann\Environment;
use PHPUnit\Framework\TestCase;
@@ -24,7 +21,7 @@ final class ConsoleTest extends TestCase
*/
private $console;
protected function setUp()/*: void*/
protected function setUp(): void
{
$this->console = new Console;
}
@@ -33,7 +30,7 @@ final class ConsoleTest extends TestCase
* @todo Now that this component is PHP 7-only and uses return type declarations
* this test makes even less sense than before
*/
public function testCanDetectIfStdoutIsInteractiveByDefault()/*: void*/
public function testCanDetectIfStdoutIsInteractiveByDefault(): void
{
$this->assertInternalType('boolean', $this->console->isInteractive());
}
@@ -42,16 +39,16 @@ final class ConsoleTest extends TestCase
* @todo Now that this component is PHP 7-only and uses return type declarations
* this test makes even less sense than before
*/
public function testCanDetectIfFileDescriptorIsInteractive()/*: void*/
public function testCanDetectIfFileDescriptorIsInteractive(): void
{
$this->assertInternalType('boolean', $this->console->isInteractive(STDOUT));
$this->assertInternalType('boolean', $this->console->isInteractive(\STDOUT));
}
/**
* @todo Now that this component is PHP 7-only and uses return type declarations
* this test makes even less sense than before
*/
public function testCanDetectColorSupport()/*: void*/
public function testCanDetectColorSupport(): void
{
$this->assertInternalType('boolean', $this->console->hasColorSupport());
}
@@ -60,7 +57,7 @@ final class ConsoleTest extends TestCase
* @todo Now that this component is PHP 7-only and uses return type declarations
* this test makes even less sense than before
*/
public function testCanDetectNumberOfColumns()/*: void*/
public function testCanDetectNumberOfColumns(): void
{
$this->assertInternalType('integer', $this->console->getNumberOfColumns());
}