From 15fca65194d05526d0edc0a5851a63f779638970 Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Mon, 27 Mar 2023 22:53:30 -0700 Subject: [PATCH] (NFC) SimpleCacheTest - Adapt license The copied declaration references a file that doesn't exist. Just inline it. --- .../phpunit/CiviTest/CiviSimpleCacheTest.php | 23 +++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/tests/phpunit/CiviTest/CiviSimpleCacheTest.php b/tests/phpunit/CiviTest/CiviSimpleCacheTest.php index f061757ca6..a2967f854c 100644 --- a/tests/phpunit/CiviTest/CiviSimpleCacheTest.php +++ b/tests/phpunit/CiviTest/CiviSimpleCacheTest.php @@ -7,8 +7,27 @@ * * (c) 2015-2015 Aaron Scherer , Tobias Nyholm * - * This source file is subject to the MIT license that is bundled - * with this source code in the file LICENSE. + * This source file is originally available under the MIT license, which is + * compatible for bundling into AGPL. Terms originally delivered in + * `cache/integration-tests@0.17.0:LICENSE` and now reproduced below: + * + * 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. */ use PHPUnit\Framework\TestCase; -- 2.25.1