diff --git a/.php-cs-fixer.php b/.php-cs-fixer.php index e5e32a0..b41b3fd 100644 --- a/.php-cs-fixer.php +++ b/.php-cs-fixer.php @@ -1,13 +1,34 @@ in(__DIR__) ; +$header = << +@link https://www.oxidmodule.com +EOF; + $config = new PhpCsFixer\Config(); return $config->setRules([ '@PHP71Migration' => true, - '@PSR12' => true + '@PSR12' => true, + 'header_comment' => [ + 'comment_type' => 'PHPDoc', + 'header' => $header, + 'location' => 'after_open', + 'separate' => 'both', + ], ]) ->setFinder($finder) ; \ No newline at end of file diff --git a/Tests/Unit/Development/CanAccessRestrictedTest.php b/Tests/Unit/Development/CanAccessRestrictedTest.php index 6071812..288e446 100644 --- a/Tests/Unit/Development/CanAccessRestrictedTest.php +++ b/Tests/Unit/Development/CanAccessRestrictedTest.php @@ -1,8 +1,10 @@ - * @link http://www.oxidmodule.com + * @author D3 Data Development - Daniel Seifert + * @link https://www.oxidmodule.com */ namespace D3\TestingTools\Tests\Unit\Production\HelperClasses; diff --git a/Tests/Unit/Production/HelperClasses/IsMockableParent.php b/Tests/Unit/Production/HelperClasses/IsMockableParent.php index d6b9f88..d13ca9c 100644 --- a/Tests/Unit/Production/HelperClasses/IsMockableParent.php +++ b/Tests/Unit/Production/HelperClasses/IsMockableParent.php @@ -1,16 +1,16 @@ - * @link http://www.oxidmodule.com + * @author D3 Data Development - Daniel Seifert + * @link https://www.oxidmodule.com */ namespace D3\TestingTools\Tests\Unit\Production\HelperClasses; diff --git a/Tests/Unit/Production/IsMockableTest.php b/Tests/Unit/Production/IsMockableTest.php index e0ad66a..26b10e5 100644 --- a/Tests/Unit/Production/IsMockableTest.php +++ b/Tests/Unit/Production/IsMockableTest.php @@ -1,8 +1,10 @@