Skip to content

Commit

Permalink
Add line break between opening tag and namespace
Browse files Browse the repository at this point in the history
in generated Test and Cest files
  • Loading branch information
Naktibalda committed Jan 2, 2021
1 parent bf2d786 commit 8356d5d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Codeception/Lib/Generator/Cest.php
Expand Up @@ -11,8 +11,8 @@ class Cest
use Namespaces;

protected $template = <<<EOF
<?php {{namespace}}
<?php
{{namespace}}
class {{name}}Cest
{
public function _before({{actor}} \$I)
Expand Down
3 changes: 2 additions & 1 deletion src/Codeception/Lib/Generator/Test.php
Expand Up @@ -11,7 +11,8 @@ class Test
use Shared\Classname;

protected $template = <<<EOF
<?php {{namespace}}
<?php
{{namespace}}
class {{name}}Test extends \Codeception\Test\Unit
{
{{tester}}
Expand Down

0 comments on commit 8356d5d

Please sign in to comment.