-
-
Notifications
You must be signed in to change notification settings - Fork 140
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Printer: added $linesBetweenProperties [Closes #60]
- Loading branch information
Showing
3 changed files
with
86 additions
and
2 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
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,65 @@ | ||
/** | ||
* Description of class. | ||
* This is example | ||
*/ | ||
final class Example extends ParentClass implements IExample | ||
{ | ||
use ObjectTrait; | ||
use AnotherTrait { | ||
sayHello as protected; | ||
} | ||
|
||
/** Commented */ | ||
private const FORCE_ARRAY = Nette\Utils\Json::FORCE_ARRAY; | ||
|
||
const MULTILINE_LONG = [ | ||
'aaaaaaaa' => 1, | ||
'bbbbbbbb' => 2, | ||
'cccccccc' => 3, | ||
'dddddddd' => 4, | ||
'eeeeeeee' => 5, | ||
'ffffffff' => 6, | ||
]; | ||
|
||
const SHORT = ['aaaaaaaa' => 1, 'bbbbbbbb' => 2, 'cccccccc' => 3, 'dddddddd' => 4, 'eeeeeeee' => 5, 'ffffffff' => 6]; | ||
|
||
/** @var resource orignal file handle */ | ||
private $handle; | ||
|
||
public $order = RecursiveIteratorIterator::SELF_FIRST; | ||
|
||
public $multilineLong = [ | ||
'aaaaaaaa' => 1, | ||
'bbbbbbbb' => 2, | ||
'cccccccc' => 3, | ||
'dddddddd' => 4, | ||
'eeeeeeee' => 5, | ||
'ffffffff' => 6, | ||
]; | ||
|
||
public $short = ['aaaaaaaa' => 1, 'bbbbbbbb' => 2, 'cccccccc' => 3, 'dddddddd' => 4, 'eeeeeeee' => 5, 'ffffffff' => 6]; | ||
|
||
|
||
|
||
/** | ||
* @return resource | ||
*/ | ||
final public function first(stdClass $var): stdClass | ||
{ | ||
func(); | ||
return [ | ||
'aaaaaaaaaaaa' => 1, | ||
'bbbbbbbbbbb' => 2, | ||
'cccccccccccccc' => 3, | ||
'dddddddddddd' => 4, | ||
'eeeeeeeeeeee' => 5, | ||
'ffffffff' => 6, | ||
]; | ||
} | ||
|
||
|
||
|
||
public function second() | ||
{ | ||
} | ||
} |