Skip to content

Commit

Permalink
Switch license to BSD-3-Clause
Browse files Browse the repository at this point in the history
As per contributor agreement in #106

Fixes #106
  • Loading branch information
JeroenDeDauw committed Sep 11, 2018
1 parent b9a4477 commit fdeda4a
Show file tree
Hide file tree
Showing 54 changed files with 82 additions and 400 deletions.
376 changes: 29 additions & 347 deletions COPYING

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"wikidata"
],
"homepage": "https://github.com/wmde/Diff",
"license": "GPL-2.0-or-later",
"license": "BSD-3-Clause",
"authors": [
{
"name": "Jeroen De Dauw",
Expand Down
2 changes: 1 addition & 1 deletion src/ArrayComparer/ArrayComparer.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
*
* @since 0.8
*
* @license GPL-2.0+
* @license BSD-3-Clause
* @author Jeroen De Dauw < jeroendedauw@gmail.com >
*/
interface ArrayComparer {
Expand Down
2 changes: 1 addition & 1 deletion src/ArrayComparer/NativeArrayComparer.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
*
* @since 0.8
*
* @license GPL-2.0+
* @license BSD-3-Clause
* @author Jeroen De Dauw < jeroendedauw@gmail.com >
*/
class NativeArrayComparer implements ArrayComparer {
Expand Down
2 changes: 1 addition & 1 deletion src/ArrayComparer/OrderedArrayComparer.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*
* @since 0.9
*
* @license GPL-2.0+
* @license BSD-3-Clause
* @author Jeroen De Dauw < jeroendedauw@gmail.com >
* @author Tobias Gritschacher < tobias.gritschacher@wikimedia.de >
*/
Expand Down
2 changes: 1 addition & 1 deletion src/ArrayComparer/StrategicArrayComparer.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*
* @since 0.8
*
* @license GPL-2.0+
* @license BSD-3-Clause
* @author Jeroen De Dauw < jeroendedauw@gmail.com >
*/
class StrategicArrayComparer implements ArrayComparer {
Expand Down
2 changes: 1 addition & 1 deletion src/ArrayComparer/StrictArrayComparer.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*
* @since 0.8
*
* @license GPL-2.0+
* @license BSD-3-Clause
* @author Jeroen De Dauw < jeroendedauw@gmail.com >
*/
class StrictArrayComparer implements ArrayComparer {
Expand Down
2 changes: 1 addition & 1 deletion src/Comparer/CallbackComparer.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
*
* @since 0.6
*
* @license GPL-2.0+
* @license BSD-3-Clause
* @author Jeroen De Dauw < jeroendedauw@gmail.com >
*/
class CallbackComparer implements ValueComparer {
Expand Down
2 changes: 1 addition & 1 deletion src/Comparer/ComparableComparer.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
*
* @since 0.9
*
* @license GPL-2.0+
* @license BSD-3-Clause
* @author Jeroen De Dauw < jeroendedauw@gmail.com >
*/
class ComparableComparer implements ValueComparer {
Expand Down
2 changes: 1 addition & 1 deletion src/Comparer/StrictComparer.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
*
* @since 0.6
*
* @license GPL-2.0+
* @license BSD-3-Clause
* @author Jeroen De Dauw < jeroendedauw@gmail.com >
*/
class StrictComparer implements ValueComparer {
Expand Down
2 changes: 1 addition & 1 deletion src/Comparer/ValueComparer.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
*
* @since 0.6
*
* @license GPL-2.0+
* @license BSD-3-Clause
* @author Jeroen De Dauw < jeroendedauw@gmail.com >
*/
interface ValueComparer {
Expand Down
2 changes: 1 addition & 1 deletion src/DiffOp/AtomicDiffOp.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
*
* @since 0.1
*
* @license GPL-2.0+
* @license BSD-3-Clause
* @author Jeroen De Dauw < jeroendedauw@gmail.com >
* @author Daniel Kinzler
*/
Expand Down
2 changes: 1 addition & 1 deletion src/DiffOp/Diff/Diff.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*
* @since 0.1
*
* @license GPL-2.0+
* @license BSD-3-Clause
* @author Jeroen De Dauw < jeroendedauw@gmail.com >
* @author Daniel Kinzler
* @author Thiemo Kreuz
Expand Down
2 changes: 1 addition & 1 deletion src/DiffOp/DiffOp.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*
* @since 0.1
*
* @license GPL-2.0+
* @license BSD-3-Clause
* @author Jeroen De Dauw < jeroendedauw@gmail.com >
*/
interface DiffOp extends Serializable, Countable {
Expand Down
2 changes: 1 addition & 1 deletion src/DiffOp/DiffOpAdd.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
*
* @since 0.1
*
* @license GPL-2.0+
* @license BSD-3-Clause
* @author Jeroen De Dauw < jeroendedauw@gmail.com >
*/
class DiffOpAdd extends AtomicDiffOp {
Expand Down
2 changes: 1 addition & 1 deletion src/DiffOp/DiffOpChange.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
*
* @since 0.1
*
* @license GPL-2.0+
* @license BSD-3-Clause
* @author Jeroen De Dauw < jeroendedauw@gmail.com >
*/
class DiffOpChange extends AtomicDiffOp {
Expand Down
2 changes: 1 addition & 1 deletion src/DiffOp/DiffOpRemove.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
*
* @since 0.1
*
* @license GPL-2.0+
* @license BSD-3-Clause
* @author Jeroen De Dauw < jeroendedauw@gmail.com >
*/
class DiffOpRemove extends AtomicDiffOp {
Expand Down
2 changes: 1 addition & 1 deletion src/DiffOpFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*
* @since 0.5
*
* @license GPL-2.0+
* @license BSD-3-Clause
* @author Jeroen De Dauw < jeroendedauw@gmail.com >
* @author Daniel Kinzler
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Differ/CallbackListDiffer.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*
* @since 0.5
*
* @license GPL-2.0+
* @license BSD-3-Clause
* @author Jeroen De Dauw < jeroendedauw@gmail.com >
*/
class CallbackListDiffer implements Differ {
Expand Down
2 changes: 1 addition & 1 deletion src/Differ/Differ.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*
* @since 0.4
*
* @license GPL-2.0+
* @license BSD-3-Clause
* @author Jeroen De Dauw < jeroendedauw@gmail.com >
*/
interface Differ {
Expand Down
2 changes: 1 addition & 1 deletion src/Differ/ListDiffer.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*
* @since 0.4
*
* @license GPL-2.0+
* @license BSD-3-Clause
* @author Jeroen De Dauw < jeroendedauw@gmail.com >
*/
class ListDiffer implements Differ {
Expand Down
2 changes: 1 addition & 1 deletion src/Differ/MapDiffer.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
*
* @since 0.4
*
* @license GPL-2.0+
* @license BSD-3-Clause
* @author Jeroen De Dauw < jeroendedauw@gmail.com >
*/
class MapDiffer implements Differ {
Expand Down
2 changes: 1 addition & 1 deletion src/Differ/OrderedListDiffer.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*
* @since 0.9
*
* @license GPL-2.0+
* @license BSD-3-Clause
* @author Jeroen De Dauw < jeroendedauw@gmail.com >
* @author Tobias Gritschacher < tobias.gritschacher@wikimedia.de >
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Patcher/ListPatcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
/**
* @since 0.4
*
* @license GPL-2.0+
* @license BSD-3-Clause
* @author Jeroen De Dauw < jeroendedauw@gmail.com >
*/
class ListPatcher extends ThrowingPatcher {
Expand Down
2 changes: 1 addition & 1 deletion src/Patcher/MapPatcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*
* @since 0.4
*
* @license GPL-2.0+
* @license BSD-3-Clause
* @author Jeroen De Dauw < jeroendedauw@gmail.com >
*/
class MapPatcher extends ThrowingPatcher {
Expand Down
2 changes: 1 addition & 1 deletion src/Patcher/Patcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
*
* @since 0.4
*
* @license GPL-2.0+
* @license BSD-3-Clause
* @author Jeroen De Dauw < jeroendedauw@gmail.com >
*/
interface Patcher {
Expand Down
2 changes: 1 addition & 1 deletion src/Patcher/PatcherException.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
/**
* @since 0.4
*
* @license GPL-2.0+
* @license BSD-3-Clause
* @author Jeroen De Dauw < jeroendedauw@gmail.com >
*/
class PatcherException extends RuntimeException {
Expand Down
2 changes: 1 addition & 1 deletion src/Patcher/PreviewablePatcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*
* @since 0.4
*
* @license GPL-2.0+
* @license BSD-3-Clause
* @author Jeroen De Dauw < jeroendedauw@gmail.com >
*/
interface PreviewablePatcher extends Patcher {
Expand Down
2 changes: 1 addition & 1 deletion src/Patcher/ThrowingPatcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*
* @since 0.4
*
* @license GPL-2.0+
* @license BSD-3-Clause
* @author Jeroen De Dauw < jeroendedauw@gmail.com >
*/
abstract class ThrowingPatcher implements PreviewablePatcher {
Expand Down
2 changes: 1 addition & 1 deletion tests/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
/**
* PHPUnit bootstrap file for the Diff library.
*
* @license GPL-2.0+
* @license BSD-3-Clause
* @author Jeroen De Dauw < jeroendedauw@gmail.com >
*/

Expand Down
2 changes: 1 addition & 1 deletion tests/unit/ArrayComparer/NativeArrayComparerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*
* @group Diff
*
* @license GPL-2.0+
* @license BSD-3-Clause
* @author Jeroen De Dauw < jeroendedauw@gmail.com >
*/
class NativeArrayComparerTest extends DiffTestCase {
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/ArrayComparer/OrderedArrayComparerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*
* @group Diff
*
* @license GPL-2.0+
* @license BSD-3-Clause
* @author Jeroen De Dauw < jeroendedauw@gmail.com >
* @author Tobias Gritschacher < tobias.gritschacher@wikimedia.de >
*/
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/ArrayComparer/StrategicArrayComparerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
*
* @group Diff
*
* @license GPL-2.0+
* @license BSD-3-Clause
* @author Jeroen De Dauw < jeroendedauw@gmail.com >
*/
class StrategicArrayComparerTest extends DiffTestCase {
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/ArrayComparer/StrictArrayComparerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*
* @group Diff
*
* @license GPL-2.0+
* @license BSD-3-Clause
* @author Jeroen De Dauw < jeroendedauw@gmail.com >
*/
class StrictArrayComparerTest extends DiffTestCase {
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/Comparer/CallbackComparerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* @group Diff
* @group Comparer
*
* @license GPL-2.0+
* @license BSD-3-Clause
* @author Jeroen De Dauw < jeroendedauw@gmail.com >
*/
class CallbackComparerTest extends DiffTestCase {
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/Comparer/ComparableComparerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* @group Diff
* @group Comparer
*
* @license GPL-2.0+
* @license BSD-3-Clause
* @author Jeroen De Dauw < jeroendedauw@gmail.com >
*/
class ComparableComparerTest extends DiffTestCase {
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/Comparer/StrictComparerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* @group Diff
* @group Comparer
*
* @license GPL-2.0+
* @license BSD-3-Clause
* @author Jeroen De Dauw < jeroendedauw@gmail.com >
*/
class StrictComparerTest extends DiffTestCase {
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/DiffOp/Diff/DiffAsOpTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* @group Diff
* @group DiffOp
*
* @license GPL-2.0+
* @license BSD-3-Clause
* @author Jeroen De Dauw < jeroendedauw@gmail.com >
*/
class DiffAsOpTest extends DiffOpTest {
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/DiffOp/Diff/DiffTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
* @group Diff
* @group DiffOp
*
* @license GPL-2.0+
* @license BSD-3-Clause
* @author Jeroen De Dauw < jeroendedauw@gmail.com >
* @author Thiemo Kreuz
*/
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/DiffOp/DiffOpAddTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* @group Diff
* @group DiffOp
*
* @license GPL-2.0+
* @license BSD-3-Clause
* @author Jeroen De Dauw < jeroendedauw@gmail.com >
*/
class DiffOpAddTest extends DiffOpTest {
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/DiffOp/DiffOpChangeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* @group Diff
* @group DiffOp
*
* @license GPL-2.0+
* @license BSD-3-Clause
* @author Jeroen De Dauw < jeroendedauw@gmail.com >
*/
class DiffOpChangeTest extends DiffOpTest {
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/DiffOp/DiffOpRemoveTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* @group Diff
* @group DiffOp
*
* @license GPL-2.0+
* @license BSD-3-Clause
* @author Jeroen De Dauw < jeroendedauw@gmail.com >
*/
class DiffOpRemoveTest extends DiffOpTest {
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/DiffOp/DiffOpTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* @group Diff
* @group DiffOp
*
* @license GPL-2.0+
* @license BSD-3-Clause
* @author Jeroen De Dauw < jeroendedauw@gmail.com >
* @author Daniel Kinzler
*/
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/DiffOpFactoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*
* @group Diff
*
* @license GPL-2.0+
* @license BSD-3-Clause
* @author Jeroen De Dauw < jeroendedauw@gmail.com >
* @author Daniel Kinzler
*/
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/DiffTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
/**
* Base class for unit tests in the Diff library.
*
* @license GPL-2.0+
* @license BSD-3-Clause
* @author Jeroen De Dauw < jeroendedauw@gmail.com >
*/
abstract class DiffTestCase extends TestCase {
Expand Down
Loading

0 comments on commit fdeda4a

Please sign in to comment.