-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* #25 - configure NoExtraBlankLinesFixer * Update tests/codestyle/fixtures/noExtraBlankLines/actual.php Co-authored-by: Krzysztof Rewak <krzysztof.rewak@blumilk.pl> Co-authored-by: Krzysztof Rewak <krzysztof.rewak@blumilk.pl>
- Loading branch information
1 parent
9462c48
commit e96f41e
Showing
4 changed files
with
103 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
$a = [ | ||
1, | ||
2, | ||
|
||
]; | ||
|
||
function b(): int | ||
{ | ||
$a = 1; | ||
|
||
return $a; | ||
|
||
} | ||
|
||
function c(int $a, int $b, int $c): int | ||
{ | ||
|
||
return $a + $b + $c; | ||
|
||
|
||
|
||
|
||
|
||
|
||
} | ||
|
||
$d = c( | ||
|
||
1, | ||
2, | ||
3, | ||
|
||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
$a = [ | ||
1, | ||
2, | ||
]; | ||
|
||
function b(): int | ||
{ | ||
$a = 1; | ||
|
||
return $a; | ||
} | ||
|
||
function c(int $a, int $b, int $c): int | ||
{ | ||
return $a + $b + $c; | ||
} | ||
|
||
$d = c( | ||
1, | ||
2, | ||
3, | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters