Update coding style to include PSR-12, among other options

This also includes heavy use of slevomat/coding-standard to apply
various checks to the code, based on maintainer (me) preference.
This commit is contained in:
Ben Ramsey
2019-12-17 16:50:38 -06:00
parent e2a56d62e6
commit 0d7b8c2b7a
89 changed files with 1717 additions and 1444 deletions
+3 -1
View File
@@ -1,5 +1,7 @@
<?php
declare(strict_types=1);
namespace Ramsey\Uuid\Test\Validator;
use PHPUnit\Framework\MockObject\MockObject;
@@ -15,7 +17,7 @@ class ValidatorTest extends TestCase
public function setUp(): void
{
// Disable calls to the constructor, but do not override any methods
// Disable calls to the constructor, but do not override any methods.
$this->validator = $this->getMockBuilder(Validator::class)
->disableOriginalConstructor()
->onlyMethods([])