diff --git a/LICENSE b/LICENSE index f5deabf..9e05101 100644 --- a/LICENSE +++ b/LICENSE @@ -1,30 +1,21 @@ -BSD License +MIT License -For hack-router software +Copyright (c) 2015-present, Facebook, Inc. -Copyright (c) 2015, Facebook, Inc. All rights reserved. +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: -Redistribution and use in source and binary forms, with or without modification, -are permitted provided that the following conditions are met: +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. - * 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 Facebook 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. +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/PATENTS b/PATENTS deleted file mode 100644 index 5c3a657..0000000 --- a/PATENTS +++ /dev/null @@ -1,33 +0,0 @@ -Additional Grant of Patent Rights Version 2 - -"Software" means the hack-router software distributed by Facebook, Inc. - -Facebook, Inc. ("Facebook") hereby grants to each recipient of the Software -("you") a perpetual, worldwide, royalty-free, non-exclusive, irrevocable -(subject to the termination provision below) license under any Necessary -Claims, to make, have made, use, sell, offer to sell, import, and otherwise -transfer the Software. For avoidance of doubt, no license is granted under -Facebook’s rights in any patent claims that are infringed by (i) modifications -to the Software made by you or any third party or (ii) the Software in -combination with any software or other technology. - -The license granted hereunder will terminate, automatically and without notice, -if you (or any of your subsidiaries, corporate affiliates or agents) initiate -directly or indirectly, or take a direct financial interest in, any Patent -Assertion: (i) against Facebook or any of its subsidiaries or corporate -affiliates, (ii) against any party if such Patent Assertion arises in whole or -in part from any software, technology, product or service of Facebook or any of -its subsidiaries or corporate affiliates, or (iii) against any party relating -to the Software. Notwithstanding the foregoing, if Facebook or any of its -subsidiaries or corporate affiliates files a lawsuit alleging patent -infringement against you in the first instance, and you respond by filing a -patent infringement counterclaim in that lawsuit against that party that is -unrelated to the Software, the license granted hereunder will not terminate -under section (i) of this paragraph due to such counterclaim. - -A "Necessary Claim" is a claim of a patent owned by Facebook that is -necessarily infringed by the Software standing alone. - -A "Patent Assertion" is any lawsuit or other action alleging direct, indirect, -or contributory infringement or inducement to infringe any patent, including a -cross-claim or counterclaim. diff --git a/README.md b/README.md index 95a8dde..dbb2bca 100644 --- a/README.md +++ b/README.md @@ -109,4 +109,4 @@ We welcome GitHub issues and pull requests - please see CONTRIBUTING.md for deta License ======= -hack-router is BSD-licensed. We also provide an additional patent grant. +hack-router is MIT-licensed. diff --git a/bin/generate-random-urimap.php b/bin/generate-random-urimap.php index 2960112..b649f3d 100644 --- a/bin/generate-random-urimap.php +++ b/bin/generate-random-urimap.php @@ -3,9 +3,8 @@ * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. * */ diff --git a/bin/naive-benchmark.php b/bin/naive-benchmark.php index 6a0a483..d98f21d 100644 --- a/bin/naive-benchmark.php +++ b/bin/naive-benchmark.php @@ -3,9 +3,8 @@ * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. * */ diff --git a/examples/BaseRouterExample.php b/examples/BaseRouterExample.php index 6834ff0..5b6da99 100644 --- a/examples/BaseRouterExample.php +++ b/examples/BaseRouterExample.php @@ -3,9 +3,8 @@ * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. * */ diff --git a/examples/UriPatternsExample.php b/examples/UriPatternsExample.php index 9ffc1b1..b1afd95 100644 --- a/examples/UriPatternsExample.php +++ b/examples/UriPatternsExample.php @@ -3,9 +3,8 @@ * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. * */ diff --git a/src/PatternParser/LiteralNode.php b/src/PatternParser/LiteralNode.php index 3749e1a..f0ef3eb 100644 --- a/src/PatternParser/LiteralNode.php +++ b/src/PatternParser/LiteralNode.php @@ -3,9 +3,8 @@ * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. * */ diff --git a/src/PatternParser/Node.php b/src/PatternParser/Node.php index aaf2174..3587450 100644 --- a/src/PatternParser/Node.php +++ b/src/PatternParser/Node.php @@ -3,9 +3,8 @@ * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. * */ diff --git a/src/PatternParser/OptionalNode.php b/src/PatternParser/OptionalNode.php index c53b39b..b5c9826 100644 --- a/src/PatternParser/OptionalNode.php +++ b/src/PatternParser/OptionalNode.php @@ -3,9 +3,8 @@ * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. * */ diff --git a/src/PatternParser/ParameterNode.php b/src/PatternParser/ParameterNode.php index 875358e..793bd76 100644 --- a/src/PatternParser/ParameterNode.php +++ b/src/PatternParser/ParameterNode.php @@ -3,9 +3,8 @@ * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. * */ diff --git a/src/PatternParser/Parser.php b/src/PatternParser/Parser.php index 8c34542..d614473 100644 --- a/src/PatternParser/Parser.php +++ b/src/PatternParser/Parser.php @@ -3,9 +3,8 @@ * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. * */ diff --git a/src/PatternParser/PatternNode.php b/src/PatternParser/PatternNode.php index 4a5b66b..0c2199e 100644 --- a/src/PatternParser/PatternNode.php +++ b/src/PatternParser/PatternNode.php @@ -3,9 +3,8 @@ * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. * */ diff --git a/src/PatternParser/Token.php b/src/PatternParser/Token.php index 614e19a..fdfe0d7 100644 --- a/src/PatternParser/Token.php +++ b/src/PatternParser/Token.php @@ -3,9 +3,8 @@ * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. * */ diff --git a/src/PatternParser/TokenType.php b/src/PatternParser/TokenType.php index c83da1f..62d5207 100644 --- a/src/PatternParser/TokenType.php +++ b/src/PatternParser/TokenType.php @@ -3,9 +3,8 @@ * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. * */ diff --git a/src/PatternParser/tokenize.php b/src/PatternParser/tokenize.php index 6c1a923..d952af1 100644 --- a/src/PatternParser/tokenize.php +++ b/src/PatternParser/tokenize.php @@ -3,9 +3,8 @@ * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. * */ diff --git a/src/http-exceptions/HttpException.php b/src/http-exceptions/HttpException.php index b58decf..9bb6dfc 100644 --- a/src/http-exceptions/HttpException.php +++ b/src/http-exceptions/HttpException.php @@ -3,9 +3,8 @@ * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. * */ diff --git a/src/http-exceptions/InternalServerErrorException.php b/src/http-exceptions/InternalServerErrorException.php index 545efe5..96a1c16 100644 --- a/src/http-exceptions/InternalServerErrorException.php +++ b/src/http-exceptions/InternalServerErrorException.php @@ -3,9 +3,8 @@ * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. * */ diff --git a/src/http-exceptions/MethodNotAllowedException.php b/src/http-exceptions/MethodNotAllowedException.php index 8a80022..342b516 100644 --- a/src/http-exceptions/MethodNotAllowedException.php +++ b/src/http-exceptions/MethodNotAllowedException.php @@ -3,9 +3,8 @@ * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. * */ diff --git a/src/http-exceptions/NotFoundException.php b/src/http-exceptions/NotFoundException.php index d02c66e..5292a68 100644 --- a/src/http-exceptions/NotFoundException.php +++ b/src/http-exceptions/NotFoundException.php @@ -3,9 +3,8 @@ * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. * */ diff --git a/src/request-parameters/EnumRequestParameter.php b/src/request-parameters/EnumRequestParameter.php index 5301dd0..82e8e36 100644 --- a/src/request-parameters/EnumRequestParameter.php +++ b/src/request-parameters/EnumRequestParameter.php @@ -3,9 +3,8 @@ * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. * */ diff --git a/src/request-parameters/IntRequestParameter.php b/src/request-parameters/IntRequestParameter.php index 0e49236..af2aa69 100644 --- a/src/request-parameters/IntRequestParameter.php +++ b/src/request-parameters/IntRequestParameter.php @@ -3,9 +3,8 @@ * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. * */ diff --git a/src/request-parameters/RequestParameter.php b/src/request-parameters/RequestParameter.php index 60fcaf5..c58798a 100644 --- a/src/request-parameters/RequestParameter.php +++ b/src/request-parameters/RequestParameter.php @@ -3,9 +3,8 @@ * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. * */ diff --git a/src/request-parameters/RequestParameterGetters.php b/src/request-parameters/RequestParameterGetters.php index e068878..3eaaf1b 100644 --- a/src/request-parameters/RequestParameterGetters.php +++ b/src/request-parameters/RequestParameterGetters.php @@ -3,9 +3,8 @@ * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. * */ diff --git a/src/request-parameters/RequestParameters.php b/src/request-parameters/RequestParameters.php index c8aefd5..ba440d3 100644 --- a/src/request-parameters/RequestParameters.php +++ b/src/request-parameters/RequestParameters.php @@ -3,9 +3,8 @@ * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. * */ diff --git a/src/request-parameters/RequestParametersBase.php b/src/request-parameters/RequestParametersBase.php index 2b94c4f..2b17877 100644 --- a/src/request-parameters/RequestParametersBase.php +++ b/src/request-parameters/RequestParametersBase.php @@ -3,9 +3,8 @@ * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. * */ diff --git a/src/request-parameters/StringRequestParameter.php b/src/request-parameters/StringRequestParameter.php index a65d64d..e994632 100644 --- a/src/request-parameters/StringRequestParameter.php +++ b/src/request-parameters/StringRequestParameter.php @@ -3,9 +3,8 @@ * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. * */ diff --git a/src/request-parameters/TypedRequestParameter.php b/src/request-parameters/TypedRequestParameter.php index dd77738..a99d11e 100644 --- a/src/request-parameters/TypedRequestParameter.php +++ b/src/request-parameters/TypedRequestParameter.php @@ -3,9 +3,8 @@ * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. * */ diff --git a/src/request-parameters/TypedUriParameter.php b/src/request-parameters/TypedUriParameter.php index 3f9d966..5e99658 100644 --- a/src/request-parameters/TypedUriParameter.php +++ b/src/request-parameters/TypedUriParameter.php @@ -3,9 +3,8 @@ * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. * */ diff --git a/src/request-parameters/UriParameter.php b/src/request-parameters/UriParameter.php index c8e67e8..f5f61dd 100644 --- a/src/request-parameters/UriParameter.php +++ b/src/request-parameters/UriParameter.php @@ -3,9 +3,8 @@ * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. * */ diff --git a/src/router/BaseRouter.php b/src/router/BaseRouter.php index 74df509..e141b46 100644 --- a/src/router/BaseRouter.php +++ b/src/router/BaseRouter.php @@ -3,9 +3,8 @@ * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. * */ diff --git a/src/router/HttpMethod.php b/src/router/HttpMethod.php index 52f185f..71ebc46 100644 --- a/src/router/HttpMethod.php +++ b/src/router/HttpMethod.php @@ -3,9 +3,8 @@ * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. * */ diff --git a/src/router/IResolver.php b/src/router/IResolver.php index 9831278..2c2155e 100644 --- a/src/router/IResolver.php +++ b/src/router/IResolver.php @@ -3,9 +3,8 @@ * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. * */ diff --git a/src/router/PrefixMatching/PrefixMap.php b/src/router/PrefixMatching/PrefixMap.php index 7e90fdd..a4bb23d 100644 --- a/src/router/PrefixMatching/PrefixMap.php +++ b/src/router/PrefixMatching/PrefixMap.php @@ -3,9 +3,8 @@ * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. * */ diff --git a/src/router/PrefixMatching/PrefixMapOrResponder.php b/src/router/PrefixMatching/PrefixMapOrResponder.php index c4c575c..5cd65dd 100644 --- a/src/router/PrefixMatching/PrefixMapOrResponder.php +++ b/src/router/PrefixMatching/PrefixMapOrResponder.php @@ -3,9 +3,8 @@ * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. * */ diff --git a/src/router/PrefixMatchingResolver.php b/src/router/PrefixMatchingResolver.php index 2c9549b..dc8be84 100644 --- a/src/router/PrefixMatchingResolver.php +++ b/src/router/PrefixMatchingResolver.php @@ -3,9 +3,8 @@ * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. * */ diff --git a/src/router/SimpleRegexpResolver.php b/src/router/SimpleRegexpResolver.php index 76da7d4..7846981 100644 --- a/src/router/SimpleRegexpResolver.php +++ b/src/router/SimpleRegexpResolver.php @@ -3,9 +3,8 @@ * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. * */ diff --git a/src/router/UnknownRouterException.php b/src/router/UnknownRouterException.php index b6746da..5282e22 100644 --- a/src/router/UnknownRouterException.php +++ b/src/router/UnknownRouterException.php @@ -3,9 +3,8 @@ * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. * */ diff --git a/src/uri-patterns/GetFastRoutePatternFromUriPattern.php b/src/uri-patterns/GetFastRoutePatternFromUriPattern.php index 827007b..bc72792 100644 --- a/src/uri-patterns/GetFastRoutePatternFromUriPattern.php +++ b/src/uri-patterns/GetFastRoutePatternFromUriPattern.php @@ -3,9 +3,8 @@ * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. * */ diff --git a/src/uri-patterns/GetUriBuilderFromUriPattern.php b/src/uri-patterns/GetUriBuilderFromUriPattern.php index 0c98fd2..6a076ca 100644 --- a/src/uri-patterns/GetUriBuilderFromUriPattern.php +++ b/src/uri-patterns/GetUriBuilderFromUriPattern.php @@ -3,9 +3,8 @@ * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. * */ diff --git a/src/uri-patterns/HasFastRouteFragment.php b/src/uri-patterns/HasFastRouteFragment.php index 8311352..9003445 100644 --- a/src/uri-patterns/HasFastRouteFragment.php +++ b/src/uri-patterns/HasFastRouteFragment.php @@ -3,9 +3,8 @@ * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. * */ diff --git a/src/uri-patterns/HasUriPattern.php b/src/uri-patterns/HasUriPattern.php index 6cc5709..d536bb7 100644 --- a/src/uri-patterns/HasUriPattern.php +++ b/src/uri-patterns/HasUriPattern.php @@ -3,9 +3,8 @@ * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. * */ diff --git a/src/uri-patterns/UriBuilder.php b/src/uri-patterns/UriBuilder.php index 5dc0aa8..28f44f9 100644 --- a/src/uri-patterns/UriBuilder.php +++ b/src/uri-patterns/UriBuilder.php @@ -3,9 +3,8 @@ * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. * */ diff --git a/src/uri-patterns/UriBuilderBase.php b/src/uri-patterns/UriBuilderBase.php index b8233f1..3b31f30 100644 --- a/src/uri-patterns/UriBuilderBase.php +++ b/src/uri-patterns/UriBuilderBase.php @@ -3,9 +3,8 @@ * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. * */ diff --git a/src/uri-patterns/UriBuilderGetPath.php b/src/uri-patterns/UriBuilderGetPath.php index 66cb2bc..1ff78b8 100644 --- a/src/uri-patterns/UriBuilderGetPath.php +++ b/src/uri-patterns/UriBuilderGetPath.php @@ -3,9 +3,8 @@ * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. * */ diff --git a/src/uri-patterns/UriBuilderSetters.php b/src/uri-patterns/UriBuilderSetters.php index 140d3cf..12db0e9 100644 --- a/src/uri-patterns/UriBuilderSetters.php +++ b/src/uri-patterns/UriBuilderSetters.php @@ -3,9 +3,8 @@ * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. * */ diff --git a/src/uri-patterns/UriBuilderWithPath.php b/src/uri-patterns/UriBuilderWithPath.php index ef3ee78..3b41f35 100644 --- a/src/uri-patterns/UriBuilderWithPath.php +++ b/src/uri-patterns/UriBuilderWithPath.php @@ -3,9 +3,8 @@ * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. * */ diff --git a/src/uri-patterns/UriPattern.php b/src/uri-patterns/UriPattern.php index 6765e15..8f267ff 100644 --- a/src/uri-patterns/UriPattern.php +++ b/src/uri-patterns/UriPattern.php @@ -3,9 +3,8 @@ * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. * */ diff --git a/src/uri-patterns/UriPatternLiteral.php b/src/uri-patterns/UriPatternLiteral.php index 6cc86f5..8d39e72 100644 --- a/src/uri-patterns/UriPatternLiteral.php +++ b/src/uri-patterns/UriPatternLiteral.php @@ -3,9 +3,8 @@ * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. * */ diff --git a/src/uri-patterns/UriPatternPart.php b/src/uri-patterns/UriPatternPart.php index 8c9cd50..19dfe6b 100644 --- a/src/uri-patterns/UriPatternPart.php +++ b/src/uri-patterns/UriPatternPart.php @@ -3,9 +3,8 @@ * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. * */ diff --git a/tests/ParserTest.php b/tests/ParserTest.php index dd2a0e2..f5f35a3 100644 --- a/tests/ParserTest.php +++ b/tests/ParserTest.php @@ -3,9 +3,8 @@ * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. * */ diff --git a/tests/RequestParametersTest.php b/tests/RequestParametersTest.php index ab77010..92c200f 100644 --- a/tests/RequestParametersTest.php +++ b/tests/RequestParametersTest.php @@ -3,9 +3,8 @@ * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. * */ diff --git a/tests/RouterTest.php b/tests/RouterTest.php index 25fefaf..dbba67d 100644 --- a/tests/RouterTest.php +++ b/tests/RouterTest.php @@ -3,9 +3,8 @@ * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. * */ diff --git a/tests/UriBuilderTest.php b/tests/UriBuilderTest.php index 6ea6d04..f7a1c59 100644 --- a/tests/UriBuilderTest.php +++ b/tests/UriBuilderTest.php @@ -3,9 +3,8 @@ * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. * */ diff --git a/tests/UriPatternTest.php b/tests/UriPatternTest.php index aa26eb2..8f7b3da 100644 --- a/tests/UriPatternTest.php +++ b/tests/UriPatternTest.php @@ -3,9 +3,8 @@ * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. * */ diff --git a/tests/lib/TestEnum.php b/tests/lib/TestEnum.php index f7c6f14..f894453 100644 --- a/tests/lib/TestEnum.php +++ b/tests/lib/TestEnum.php @@ -3,9 +3,8 @@ * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. * */ diff --git a/tests/lib/TestRouter.php b/tests/lib/TestRouter.php index fe4461e..53cdbd0 100644 --- a/tests/lib/TestRouter.php +++ b/tests/lib/TestRouter.php @@ -3,9 +3,8 @@ * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. * */