diff --git a/.php-cs-fixer.php b/.php-cs-fixer.php index 312ddf8..e7dbb96 100644 --- a/.php-cs-fixer.php +++ b/.php-cs-fixer.php @@ -1,5 +1,19 @@ ignoreVCSIgnored(true) ->in(__DIR__) @@ -16,6 +30,7 @@ '@Symfony' => true, '@Symfony:risky' => true, 'heredoc_indentation' => false, + 'header_comment' => ['header' => $fileHeaderComment], 'single_line_empty_body' => false, 'ordered_types' => false, // From @PhpCsFixer but we don't want it 'php_unit_internal_class' => false, // From @PhpCsFixer but we don't want it diff --git a/LICENSE.md b/LICENSE.md new file mode 100644 index 0000000..a96b463 --- /dev/null +++ b/LICENSE.md @@ -0,0 +1,19 @@ +Copyright (c) 2004-preset Benjamin Eberlei + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is furnished +to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/examples/castor.php b/examples/castor.php index a07f644..dbe4049 100644 --- a/examples/castor.php +++ b/examples/castor.php @@ -1,5 +1,12 @@ ['all' => true], Doctrine\Bundle\DoctrineBundle\DoctrineBundle::class => ['all' => true], diff --git a/examples/config/preload.php b/examples/config/preload.php index db37723..f12aeeb 100644 --- a/examples/config/preload.php +++ b/examples/config/preload.php @@ -1,5 +1,12 @@ [ 'path' => './assets/app.js', diff --git a/examples/public/index.php b/examples/public/index.php index 7fbc8cf..52e8536 100644 --- a/examples/public/index.php +++ b/examples/public/index.php @@ -1,5 +1,12 @@