diff --git a/.docheader b/.docheader new file mode 100644 index 0000000000000000000000000000000000000000..72e66b79b4b2259686c42107ed6aa954df6c239e --- /dev/null +++ b/.docheader @@ -0,0 +1,5 @@ +This file is part of "%package%". +(c) %yearRange% Irstea <dsi.poleis@irstea.fr> + +For the full copyright and license information, please view the LICENSE +file that was distributed with this source code. diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000000000000000000000000000000000000..5a5d7666b7bf2321ae2d868222227285ecf53bdd --- /dev/null +++ b/LICENSE @@ -0,0 +1,10 @@ +MIT License + +Copyright (c) 2019 Irstea + +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 (including the next paragraph) 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/src/MyClass.php b/src/MyClass.php index a6f632377c3400adb51c4b31c5fd404b84c43f60..496555e40b080b89bc70ceebc4d3598e46273a1e 100644 --- a/src/MyClass.php +++ b/src/MyClass.php @@ -1,6 +1,10 @@ <?php declare(strict_types=1); /* - * Create and customize a file named .docheader at the root of the project to change this message. + * This file is part of "irstea/php-skeleton". + * (c) 2019 Irstea <dsi.poleis@irstea.fr> + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ namespace Irstea\MyProject; diff --git a/tests/MyClassTest.php b/tests/MyClassTest.php index 4b222ee60040a386b6724b4338f35cd5f6159cbe..6458d60c3d98adb0cb578f7ba5a653144f5a5a0c 100644 --- a/tests/MyClassTest.php +++ b/tests/MyClassTest.php @@ -1,6 +1,10 @@ <?php declare(strict_types=1); /* - * Create and customize a file named .docheader at the root of the project to change this message. + * This file is part of "irstea/php-skeleton". + * (c) 2019 Irstea <dsi.poleis@irstea.fr> + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. */ namespace Irstea\MyProject\Tests;