From 37f211a37e9daed37a549f23f205eb5171b7fcf6 Mon Sep 17 00:00:00 2001 From: Yaman Qalieh Date: Thu, 9 Jun 2022 12:11:27 -0400 Subject: [PATCH] Add Laravel framework license --- README.md | 1 + lib/php8backports.php | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+) diff --git a/README.md b/README.md index fe63951c..0c4a4e4f 100644 --- a/README.md +++ b/README.md @@ -321,6 +321,7 @@ RSS-Bridge uses third party libraries with their own license: * [`PHP Simple HTML DOM Parser`](https://simplehtmldom.sourceforge.io/docs/1.9/index.html) licensed under the [MIT License](https://opensource.org/licenses/MIT) * [`php-urljoin`](https://github.com/fluffy-critter/php-urljoin) licensed under the [MIT License](https://opensource.org/licenses/MIT) * [php polyfills](https://github.com/symfony/polyfill) licensed under the [MIT License](https://opensource.org/licenses/MIT) + * [`Laravel framework`](https://github.com/laravel/framework/) licensed under the [MIT License](https://opensource.org/licenses/MIT) Technical notes === diff --git a/lib/php8backports.php b/lib/php8backports.php index 08fa1302..367e3a8f 100644 --- a/lib/php8backports.php +++ b/lib/php8backports.php @@ -12,6 +12,26 @@ */ // based on https://github.com/laravel/framework/blob/8.x/src/Illuminate/Support/Str.php +// +// Copyright (c) Taylor Otwell +// +// 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. if (!function_exists('str_starts_with')) { function str_starts_with($haystack, $needle) {