From 5db631cb93036fd1f3629cf381c59cd9e1ca8d4d Mon Sep 17 00:00:00 2001 From: Perreal Guillaume <guillaume.perreal@irstea.fr> Date: Wed, 10 Apr 2019 11:41:52 +0200 Subject: [PATCH] Inclusion de la licence MIT. --- .docheader | 5 +++++ LICENSE | 10 ++++++++++ src/MyClass.php | 6 +++++- tests/MyClassTest.php | 6 +++++- 4 files changed, 25 insertions(+), 2 deletions(-) create mode 100644 .docheader create mode 100644 LICENSE diff --git a/.docheader b/.docheader new file mode 100644 index 0000000..72e66b7 --- /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 0000000..5a5d766 --- /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 a6f6323..496555e 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 4b222ee..6458d60 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; -- GitLab