@@ -1,5 +1,5 @@ discard block |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | namespace DQNEO\FizzBuzzEnterpriseEdition\Writer; |
4 | 4 | |
5 | 5 | use DQNEO\FizzBuzzEnterpriseEdition\Entity\AbstractEntity; |
@@ -14,6 +14,6 @@ discard block |
||
14 | 14 | |
15 | 15 | public function writeln(AbstractEntity $string) |
16 | 16 | { |
17 | - fwrite(STDOUT, $string . StringValue::NEW_LINE); |
|
17 | + fwrite(STDOUT, $string.StringValue::NEW_LINE); |
|
18 | 18 | } |
19 | 19 | } |
@@ -1,5 +1,5 @@ discard block |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | namespace DQNEO\FizzBuzzEnterpriseEdition\Writer; |
4 | 4 | |
5 | 5 | use DQNEO\FizzBuzzEnterpriseEdition\Entity\AbstractEntity; |
@@ -14,6 +14,6 @@ discard block |
||
14 | 14 | |
15 | 15 | public function writeln(AbstractEntity $string) |
16 | 16 | { |
17 | - fwrite(STDERR, $string . StringValue::NEW_LINE); |
|
17 | + fwrite(STDERR, $string.StringValue::NEW_LINE); |
|
18 | 18 | } |
19 | 19 | } |
@@ -1,5 +1,5 @@ discard block |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | namespace DQNEO\FizzBuzzEnterpriseEdition; |
4 | 4 | |
5 | 5 | use DQNEO\FizzBuzzEnterpriseEdition\Entity\AbstractEntity; |
@@ -20,7 +20,7 @@ discard block |
||
20 | 20 | |
21 | 21 | public function writeln(AbstractEntity $string) |
22 | 22 | { |
23 | - $this->buf .= $string . "\n"; |
|
23 | + $this->buf .= $string."\n"; |
|
24 | 24 | } |
25 | 25 | } |
26 | 26 | class FizzBuzzTest extends \PHPUnit_Framework_TestCase |
@@ -68,7 +68,7 @@ discard block |
||
68 | 68 | $fb = new FizzBuzzApplication($logic, $writer); |
69 | 69 | $fb->run(RangeIteratorFactory::factory(1, 16)); |
70 | 70 | |
71 | - $expected ="1 |
|
71 | + $expected = "1 |
|
72 | 72 | 2 |
73 | 73 | Fizz |
74 | 74 | 4 |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | namespace DQNEO\FizzBuzzEnterpriseEdition; |
4 | 4 | |
5 | 5 | use DQNEO\FizzBuzzEnterpriseEdition\Entity\AbstractEntity; |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | namespace DQNEO\FizzBuzzEnterpriseEdition; |
4 | 4 | |
5 | 5 | use DQNEO\FizzBuzzEnterpriseEdition\Entity\AbstractEntity; |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | namespace DQNEO\FizzBuzzEnterpriseEdition; |
4 | 4 | |
5 | 5 | use DQNEO\FizzBuzzEnterpriseEdition\Entity\AbstractEntity; |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | namespace DQNEO\FizzBuzzEnterpriseEdition; |
4 | 4 | |
5 | 5 | use DQNEO\FizzBuzzEnterpriseEdition\Entity\AbstractEntity; |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | namespace DQNEO\FizzBuzzEnterpriseEdition; |
4 | 4 | |
5 | 5 | use DQNEO\FizzBuzzEnterpriseEdition\Entity\AbstractEntity; |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | namespace DQNEO\FizzBuzzEnterpriseEdition; |
4 | 4 | |
5 | 5 | use DQNEO\FizzBuzzEnterpriseEdition\Entity\AbstractEntity; |