From 3771c282b2619344d4656cf69d16196c1ecee58c Mon Sep 17 00:00:00 2001 From: Rowan Merewood Date: Fri, 16 Aug 2019 16:22:20 +0100 Subject: [PATCH] Consistent use of BSD 3-Clause license header --- LICENSE | 46 +++++++++---------- examples/appengine-https.php | 43 ++++++++++------- examples/config.php.dist | 31 +++++++++++++ examples/index.php | 43 ++++++++++------- .../recaptcha-content-security-policy.php | 43 ++++++++++------- examples/recaptcha-v2-checkbox-explicit.php | 43 ++++++++++------- examples/recaptcha-v2-checkbox.php | 43 ++++++++++------- examples/recaptcha-v2-invisible.php | 43 ++++++++++------- examples/recaptcha-v3-request-scores.php | 43 ++++++++++------- examples/recaptcha-v3-verify.php | 43 ++++++++++------- src/ReCaptcha/ReCaptcha.php | 42 ++++++++++------- src/ReCaptcha/RequestMethod.php | 42 ++++++++++------- src/ReCaptcha/RequestMethod/Curl.php | 42 ++++++++++------- src/ReCaptcha/RequestMethod/CurlPost.php | 42 ++++++++++------- src/ReCaptcha/RequestMethod/Post.php | 42 ++++++++++------- src/ReCaptcha/RequestMethod/Socket.php | 42 ++++++++++------- src/ReCaptcha/RequestMethod/SocketPost.php | 42 ++++++++++------- src/ReCaptcha/RequestParameters.php | 42 ++++++++++------- src/ReCaptcha/Response.php | 42 ++++++++++------- src/autoload.php | 29 ++++++++++++ tests/ReCaptcha/ReCaptchaTest.php | 42 ++++++++++------- .../ReCaptcha/RequestMethod/CurlPostTest.php | 42 ++++++++++------- tests/ReCaptcha/RequestMethod/PostTest.php | 42 ++++++++++------- .../RequestMethod/SocketPostTest.php | 42 ++++++++++------- tests/ReCaptcha/RequestParametersTest.php | 42 ++++++++++------- tests/ReCaptcha/ResponseTest.php | 42 ++++++++++------- 26 files changed, 666 insertions(+), 414 deletions(-) diff --git a/LICENSE b/LICENSE index f641232..d147b35 100644 --- a/LICENSE +++ b/LICENSE @@ -1,29 +1,29 @@ -Copyright 2014, Google Inc. +BSD 3-Clause License + +Copyright (c) 2019, Google Inc. All rights reserved. Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are -met: +modification, are permitted provided that the following conditions are met: - * Redistributions of source code must retain the above copyright -notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above -copyright notice, this list of conditions and the following disclaimer -in the documentation and/or other materials provided with the -distribution. - * Neither the name of Google Inc. nor the names of its -contributors may be used to endorse or promote products derived from -this software without specific prior written permission. +1. Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/examples/appengine-https.php b/examples/appengine-https.php index fb6feca..039e2db 100644 --- a/examples/appengine-https.php +++ b/examples/appengine-https.php @@ -1,26 +1,35 @@ [ 'site' => '', diff --git a/examples/index.php b/examples/index.php index a9e3699..b715acc 100644 --- a/examples/index.php +++ b/examples/index.php @@ -1,26 +1,35 @@ diff --git a/examples/recaptcha-content-security-policy.php b/examples/recaptcha-content-security-policy.php index d0ed949..aaf7eb2 100644 --- a/examples/recaptcha-content-security-policy.php +++ b/examples/recaptcha-content-security-policy.php @@ -1,26 +1,35 @@