Skip to content

Commit

Permalink
use header comment
Browse files Browse the repository at this point in the history
  • Loading branch information
OskarStark committed Dec 21, 2018
1 parent aded686 commit c32445d
Show file tree
Hide file tree
Showing 5 changed files with 48 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .php_cs.dist
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
<?php

$header = <<<'HEADER'
This file is part of the SonataAdminBehatContext package.
(c) Oskar Stark <[email protected]>
For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.
HEADER;

$finder = PhpCsFixer\Finder::create()
->in('src')
->in('tests')
Expand All @@ -8,6 +17,9 @@ $finder = PhpCsFixer\Finder::create()
return PhpCsFixer\Config::create()
->setRules([
'@Symfony' => true,
'header_comment' => [
'header' => $header,
],
])
->setFinder($finder)
;
9 changes: 9 additions & 0 deletions src/Context/SonataAdminContext.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
<?php

/*
* This file is part of the SonataAdminBehatContext package.
*
* (c) Oskar Stark <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

namespace OStark\Context;

use Behat\Behat\Context\CustomSnippetAcceptingContext;
Expand Down
9 changes: 9 additions & 0 deletions src/Test/BaseTestCase.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
<?php

/*
* This file is part of the SonataAdminBehatContext package.
*
* (c) Oskar Stark <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

namespace OStark\Test;

use Behat\Mink\Driver\BrowserKitDriver;
Expand Down
9 changes: 9 additions & 0 deletions src/Test/TestClient.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
<?php

/*
* This file is part of the SonataAdminBehatContext package.
*
* (c) Oskar Stark <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

namespace OStark\Test;

use Symfony\Component\BrowserKit\Client;
Expand Down
9 changes: 9 additions & 0 deletions tests/Context/SonataAdminContextTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
<?php

/*
* This file is part of the SonataAdminBehatContext package.
*
* (c) Oskar Stark <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

namespace Tests\OStark\Context;

use Behat\Mink\Element\NodeElement;
Expand Down

0 comments on commit c32445d

Please sign in to comment.