From 60415cf5c9550a6af944f6d2226b9c379c858a7b Mon Sep 17 00:00:00 2001 From: ellisgl Date: Wed, 25 Nov 2026 10:37:55 -0600 Subject: [PATCH] Switch to the BSD 3-Clause license LICENSE.BSD was the BSD 2-Clause text while composer.json said GPL-3.0-or-later. Both are now BSD 3-Clause, matching the other GeekLab packages, and the README has a license badge. Co-Authored-By: Claude Opus 5.5 --- LICENSE.BSD | 6 +++++- README.md | 1 + composer.json | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/LICENSE.BSD b/LICENSE.BSD index f45550d..4d44cc2 100644 --- a/LICENSE.BSD +++ b/LICENSE.BSD @@ -1,4 +1,4 @@ -BSD 2-Clause License +BSD 3-Clause License Copyright (c) 2019, Kenneth McCall All rights reserved. @@ -13,6 +13,10 @@ modification, are permitted provided that the following conditions are met: 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 diff --git a/README.md b/README.md index 57de858..63bf1aa 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,7 @@ [![Packagist Version](https://img.shields.io/packagist/v/geeklab/arraytranslation)](https://packagist.org/packages/geeklab/arraytranslation) [![PHP Version](https://img.shields.io/packagist/dependency-v/geeklab/arraytranslation/php)](https://packagist.org/packages/geeklab/arraytranslation) [![PHPStan](https://img.shields.io/badge/PHPStan-level%205-brightgreen)](https://phpstan.org/) +[![License: BSD-3-Clause](https://img.shields.io/badge/License-BSD--3--Clause-blue.svg)](LICENSE.BSD) Convert an array to another data format or convert a data format to an array. diff --git a/composer.json b/composer.json index 7d37c71..7b636a3 100644 --- a/composer.json +++ b/composer.json @@ -2,7 +2,7 @@ "name": "geeklab/arraytranslation", "description": "Convert array to another data format or convert a data format to an array.", "type": "library", - "license": "GPL-3.0-or-later", + "license": "BSD-3-Clause", "authors": [ { "name": "ellisgl",