diff --git a/.phive/phars.xml b/.phive/phars.xml index 76d11ce7595..1bed4b3ccda 100644 --- a/.phive/phars.xml +++ b/.phive/phars.xml @@ -1,7 +1,7 @@ - + diff --git a/tests/end-to-end/regression/2382/Issue2382Test.php b/tests/end-to-end/regression/2382/Issue2382Test.php index 85c7eea94ac..87ebceba840 100644 --- a/tests/end-to-end/regression/2382/Issue2382Test.php +++ b/tests/end-to-end/regression/2382/Issue2382Test.php @@ -16,14 +16,14 @@ class Issue2382Test extends TestCase */ public function testOne($test): void { - $this->assertInstanceOf(\Exception::class, $test); + $this->assertInstanceOf(Exception::class, $test); } public function dataProvider() { return [ [ - $this->getMockBuilder(\Exception::class)->getMock(), + $this->getMockBuilder(Exception::class)->getMock(), ], ]; } diff --git a/tests/end-to-end/regression/2811/Issue2811Test.php b/tests/end-to-end/regression/2811/Issue2811Test.php index bdc21cc0263..bf966edb830 100644 --- a/tests/end-to-end/regression/2811/Issue2811Test.php +++ b/tests/end-to-end/regression/2811/Issue2811Test.php @@ -13,6 +13,6 @@ public function testOne(): void { $this->expectExceptionMessage('hello'); - throw new \Exception('hello'); + throw new Exception('hello'); } } diff --git a/tests/end-to-end/regression/3093/Issue3093Test.php b/tests/end-to-end/regression/3093/Issue3093Test.php index 991e41e5eb3..d3fe62609b1 100644 --- a/tests/end-to-end/regression/3093/Issue3093Test.php +++ b/tests/end-to-end/regression/3093/Issue3093Test.php @@ -7,7 +7,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -class Issue3093Test extends \PHPUnit\Framework\TestCase +class Issue3093Test extends PHPUnit\Framework\TestCase { public function someDataProvider(): array { diff --git a/tests/end-to-end/regression/5210/Issue5210Test.php b/tests/end-to-end/regression/5210/Issue5210Test.php index 85ed03f978c..7c56aaaee04 100644 --- a/tests/end-to-end/regression/5210/Issue5210Test.php +++ b/tests/end-to-end/regression/5210/Issue5210Test.php @@ -13,7 +13,7 @@ final class Issue5210Test extends TestCase { protected function tearDown(): void { - throw new \Exception('test'); + throw new Exception('test'); } public function testOne(): void diff --git a/tools/php-cs-fixer b/tools/php-cs-fixer index f40036ebb7f..12c28eca354 100755 Binary files a/tools/php-cs-fixer and b/tools/php-cs-fixer differ