@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare (strict_types=1); |
|
2 | +declare (strict_types = 1); |
|
3 | 3 | namespace DQNEO\FizzBuzzEnterpriseEdition\Value; |
4 | 4 | |
5 | 5 | class IntegerValue |
@@ -1,5 +1,5 @@ |
||
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\Value\StringValue; |
@@ -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\Value\StringValue; |
@@ -13,6 +13,6 @@ discard block |
||
13 | 13 | |
14 | 14 | public function writeln(StringValue $string) |
15 | 15 | { |
16 | - fwrite(STDOUT, $string . StringValue::NEW_LINE); |
|
16 | + fwrite(STDOUT, $string.StringValue::NEW_LINE); |
|
17 | 17 | } |
18 | 18 | } |
@@ -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\Value\StringValue; |
@@ -13,6 +13,6 @@ discard block |
||
13 | 13 | |
14 | 14 | public function writeln(StringValue $string) |
15 | 15 | { |
16 | - fwrite(STDERR, $string . StringValue::NEW_LINE); |
|
16 | + fwrite(STDERR, $string.StringValue::NEW_LINE); |
|
17 | 17 | } |
18 | 18 | } |
@@ -1,5 +1,5 @@ discard block |
||
1 | 1 | <?php |
2 | -declare (strict_types=1); |
|
2 | +declare (strict_types = 1); |
|
3 | 3 | namespace DQNEO\FizzBuzzEnterpriseEdition\Console; |
4 | 4 | |
5 | 5 | use DQNEO\FizzBuzzEnterpriseEdition\Application\FizzBuzzApplication; |
@@ -21,7 +21,7 @@ discard block |
||
21 | 21 | $logic = new FizzBuzzLogic(new IntegerValue(3), new IntegerValue(5)); |
22 | 22 | |
23 | 23 | $fizzbuzz = new FizzBuzzApplication($logic, $writer); |
24 | - $rangeIterator = new RangeIterator(new IntegerValue(1), new IntegerValue((int)$argv[1])); |
|
24 | + $rangeIterator = new RangeIterator(new IntegerValue(1), new IntegerValue((int) $argv[1])); |
|
25 | 25 | $fizzbuzz->run($rangeIterator); |
26 | 26 | |
27 | 27 | return 0; |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare (strict_types=1); |
|
2 | +declare (strict_types = 1); |
|
3 | 3 | namespace DQNEO\FizzBuzzEnterpriseEdition\Logic; |
4 | 4 | |
5 | 5 | use DQNEO\FizzBuzzEnterpriseEdition\Entity\AbstractEntity; |