(NFC) SimpleCacheTest - Adapt license
authorTim Otten <totten@civicrm.org>
Tue, 28 Mar 2023 05:53:30 +0000 (22:53 -0700)
committerTim Otten <totten@civicrm.org>
Tue, 28 Mar 2023 05:53:30 +0000 (22:53 -0700)
The copied declaration references a file that doesn't exist. Just inline it.

tests/phpunit/CiviTest/CiviSimpleCacheTest.php

index f061757ca6d02d71a4957a881dc539c2d09bfdc5..a2967f854c8eed124309c8d44c17aa460ded5d9a 100644 (file)
@@ -7,8 +7,27 @@
  *
  * (c) 2015-2015 Aaron Scherer <aequasi@gmail.com>, Tobias Nyholm <tobias.nyholm@gmail.com>
  *
- * 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;