Skip to content

Commit

Permalink
switch to SPDX copyright style in src and tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Art4 committed Oct 13, 2023
1 parent 43bcbc6 commit 25862b4
Show file tree
Hide file tree
Showing 100 changed files with 331 additions and 1,359 deletions.
19 changes: 3 additions & 16 deletions src/Accessable.php
Original file line number Diff line number Diff line change
@@ -1,21 +1,8 @@
<?php
/*
* A PHP Library to handle a JSON API body in an OOP way.
* Copyright (C) 2015-2021 Artur Weigandt https://wlabs.de/kontakt

* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
// SPDX-FileCopyrightText: 2015-2023 Artur Weigandt https://wlabs.de/kontakt
//
// SPDX-License-Identifier: GPL-3.0-or-later

namespace Art4\JsonApiClient;

Expand Down
19 changes: 3 additions & 16 deletions src/Element.php
Original file line number Diff line number Diff line change
@@ -1,21 +1,8 @@
<?php
/*
* A PHP Library to handle a JSON API body in an OOP way.
* Copyright (C) 2015-2021 Artur Weigandt https://wlabs.de/kontakt

* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
// SPDX-FileCopyrightText: 2015-2023 Artur Weigandt https://wlabs.de/kontakt
//
// SPDX-License-Identifier: GPL-3.0-or-later

namespace Art4\JsonApiClient;

Expand Down
19 changes: 3 additions & 16 deletions src/Exception/AccessException.php
Original file line number Diff line number Diff line change
@@ -1,21 +1,8 @@
<?php
/*
* A PHP Library to handle a JSON API body in an OOP way.
* Copyright (C) 2015-2021 Artur Weigandt https://wlabs.de/kontakt

* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
// SPDX-FileCopyrightText: 2015-2023 Artur Weigandt https://wlabs.de/kontakt
//
// SPDX-License-Identifier: GPL-3.0-or-later

namespace Art4\JsonApiClient\Exception;

Expand Down
19 changes: 3 additions & 16 deletions src/Exception/Exception.php
Original file line number Diff line number Diff line change
@@ -1,21 +1,8 @@
<?php
/*
* A PHP Library to handle a JSON API body in an OOP way.
* Copyright (C) 2015-2021 Artur Weigandt https://wlabs.de/kontakt

* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
// SPDX-FileCopyrightText: 2015-2023 Artur Weigandt https://wlabs.de/kontakt
//
// SPDX-License-Identifier: GPL-3.0-or-later

namespace Art4\JsonApiClient\Exception;

Expand Down
19 changes: 3 additions & 16 deletions src/Exception/FactoryException.php
Original file line number Diff line number Diff line change
@@ -1,21 +1,8 @@
<?php
/*
* A PHP Library to handle a JSON API body in an OOP way.
* Copyright (C) 2015-2021 Artur Weigandt https://wlabs.de/kontakt

* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
// SPDX-FileCopyrightText: 2015-2023 Artur Weigandt https://wlabs.de/kontakt
//
// SPDX-License-Identifier: GPL-3.0-or-later

namespace Art4\JsonApiClient\Exception;

Expand Down
19 changes: 3 additions & 16 deletions src/Exception/InputException.php
Original file line number Diff line number Diff line change
@@ -1,21 +1,8 @@
<?php
/*
* A PHP Library to handle a JSON API body in an OOP way.
* Copyright (C) 2015-2021 Artur Weigandt https://wlabs.de/kontakt

* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
// SPDX-FileCopyrightText: 2015-2023 Artur Weigandt https://wlabs.de/kontakt
//
// SPDX-License-Identifier: GPL-3.0-or-later

namespace Art4\JsonApiClient\Exception;

Expand Down
19 changes: 3 additions & 16 deletions src/Exception/ValidationException.php
Original file line number Diff line number Diff line change
@@ -1,21 +1,8 @@
<?php
/*
* A PHP Library to handle a JSON API body in an OOP way.
* Copyright (C) 2015-2021 Artur Weigandt https://wlabs.de/kontakt

* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
// SPDX-FileCopyrightText: 2015-2023 Artur Weigandt https://wlabs.de/kontakt
//
// SPDX-License-Identifier: GPL-3.0-or-later

namespace Art4\JsonApiClient\Exception;

Expand Down
19 changes: 3 additions & 16 deletions src/Factory.php
Original file line number Diff line number Diff line change
@@ -1,21 +1,8 @@
<?php
/*
* A PHP Library to handle a JSON API body in an OOP way.
* Copyright (C) 2015-2021 Artur Weigandt https://wlabs.de/kontakt

* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
// SPDX-FileCopyrightText: 2015-2023 Artur Weigandt https://wlabs.de/kontakt
//
// SPDX-License-Identifier: GPL-3.0-or-later

namespace Art4\JsonApiClient;

Expand Down
19 changes: 3 additions & 16 deletions src/Helper/AbstractElement.php
Original file line number Diff line number Diff line change
@@ -1,21 +1,8 @@
<?php
/*
* A PHP Library to handle a JSON API body in an OOP way.
* Copyright (C) 2015-2021 Artur Weigandt https://wlabs.de/kontakt

* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
// SPDX-FileCopyrightText: 2015-2023 Artur Weigandt https://wlabs.de/kontakt
//
// SPDX-License-Identifier: GPL-3.0-or-later

namespace Art4\JsonApiClient\Helper;

Expand Down
19 changes: 3 additions & 16 deletions src/Helper/AccessKey.php
Original file line number Diff line number Diff line change
@@ -1,21 +1,8 @@
<?php
/*
* A PHP Library to handle a JSON API body in an OOP way.
* Copyright (C) 2015-2021 Artur Weigandt https://wlabs.de/kontakt

* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
// SPDX-FileCopyrightText: 2015-2023 Artur Weigandt https://wlabs.de/kontakt
//
// SPDX-License-Identifier: GPL-3.0-or-later

namespace Art4\JsonApiClient\Helper;

Expand Down
21 changes: 4 additions & 17 deletions src/Helper/AccessableTrait.php
Original file line number Diff line number Diff line change
@@ -1,21 +1,8 @@
<?php
/*
* A PHP Library to handle a JSON API body in an OOP way.
* Copyright (C) 2015-2021 Artur Weigandt https://wlabs.de/kontakt
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

// SPDX-FileCopyrightText: 2015-2023 Artur Weigandt https://wlabs.de/kontakt
//
// SPDX-License-Identifier: GPL-3.0-or-later

namespace Art4\JsonApiClient\Helper;

Expand Down
19 changes: 3 additions & 16 deletions src/Helper/Parser.php
Original file line number Diff line number Diff line change
@@ -1,21 +1,8 @@
<?php
/*
* A PHP Library to handle a JSON API body in an OOP way.
* Copyright (C) 2015-2021 Artur Weigandt https://wlabs.de/kontakt

* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
// SPDX-FileCopyrightText: 2015-2023 Artur Weigandt https://wlabs.de/kontakt
//
// SPDX-License-Identifier: GPL-3.0-or-later

namespace Art4\JsonApiClient\Helper;

Expand Down
19 changes: 3 additions & 16 deletions src/Helper/RootAccessable.php
Original file line number Diff line number Diff line change
@@ -1,21 +1,8 @@
<?php
/*
* A PHP Library to handle a JSON API body in an OOP way.
* Copyright (C) 2015-2021 Artur Weigandt https://wlabs.de/kontakt

* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
// SPDX-FileCopyrightText: 2015-2023 Artur Weigandt https://wlabs.de/kontakt
//
// SPDX-License-Identifier: GPL-3.0-or-later

namespace Art4\JsonApiClient\Helper;

Expand Down
19 changes: 3 additions & 16 deletions src/Input/Input.php
Original file line number Diff line number Diff line change
@@ -1,21 +1,8 @@
<?php
/*
* A PHP Library to handle a JSON API body in an OOP way.
* Copyright (C) 2015-2021 Artur Weigandt https://wlabs.de/kontakt

* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
// SPDX-FileCopyrightText: 2015-2023 Artur Weigandt https://wlabs.de/kontakt
//
// SPDX-License-Identifier: GPL-3.0-or-later

namespace Art4\JsonApiClient\Input;

Expand Down
19 changes: 3 additions & 16 deletions src/Input/RequestInput.php
Original file line number Diff line number Diff line change
@@ -1,21 +1,8 @@
<?php
/*
* A PHP Library to handle a JSON API body in an OOP way.
* Copyright (C) 2015-2021 Artur Weigandt https://wlabs.de/kontakt

* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
// SPDX-FileCopyrightText: 2015-2023 Artur Weigandt https://wlabs.de/kontakt
//
// SPDX-License-Identifier: GPL-3.0-or-later

namespace Art4\JsonApiClient\Input;

Expand Down
Loading

0 comments on commit 25862b4

Please sign in to comment.