Browse Source

Code formatting

main
Cédric Belin 3 months ago
parent
commit
bcb2ba563a
4 changed files with 4 additions and 4 deletions
  1. +1
    -1
      doc/installation.md
  2. +1
    -1
      doc/usage.md
  3. +1
    -1
      example/main.php
  4. +1
    -1
      test/EnumTraitTest.php

+ 1
- 1
doc/installation.md View File

@@ -32,5 +32,5 @@ Now in your [PHP](https://www.php.net) code, you can use:

``` php
<?php
use Enum\{EnumTrait};
use Enum\EnumTrait;
```

+ 1
- 1
doc/usage.md View File

@@ -10,7 +10,7 @@ Just use the `Enum\EnumTrait` trait on a class:

``` php
<?php
use Enum\{EnumTrait};
use Enum\EnumTrait;

/** Specifies the day of the week. */
final class DayOfWeek {


+ 1
- 1
example/main.php View File

@@ -1,5 +1,5 @@
<?php declare(strict_types=1);
use Enum\{EnumTrait};
use Enum\EnumTrait;

/** Specifies the day of the week. */
final class DayOfWeek {


+ 1
- 1
test/EnumTraitTest.php View File

@@ -2,7 +2,7 @@
namespace Enum;

use function PHPUnit\Framework\{assertThat, equalTo, isEmpty, isFalse, isNull, isTrue};
use PHPUnit\Framework\{TestCase};
use PHPUnit\Framework\TestCase;

/** A sample enumeration. */
final class SampleEnum {


Loading…
Cancel
Save