Skip to content

Commit 25862b4

Browse files
committed
switch to SPDX copyright style in src and tests
1 parent 43bcbc6 commit 25862b4

File tree

100 files changed

+331
-1359
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

100 files changed

+331
-1359
lines changed

src/Accessable.php

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,8 @@
11
<?php
2-
/*
3-
* A PHP Library to handle a JSON API body in an OOP way.
4-
* Copyright (C) 2015-2021 Artur Weigandt https://wlabs.de/kontakt
52

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

207
namespace Art4\JsonApiClient;
218

src/Element.php

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,8 @@
11
<?php
2-
/*
3-
* A PHP Library to handle a JSON API body in an OOP way.
4-
* Copyright (C) 2015-2021 Artur Weigandt https://wlabs.de/kontakt
52

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

207
namespace Art4\JsonApiClient;
218

src/Exception/AccessException.php

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,8 @@
11
<?php
2-
/*
3-
* A PHP Library to handle a JSON API body in an OOP way.
4-
* Copyright (C) 2015-2021 Artur Weigandt https://wlabs.de/kontakt
52

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

207
namespace Art4\JsonApiClient\Exception;
218

src/Exception/Exception.php

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,8 @@
11
<?php
2-
/*
3-
* A PHP Library to handle a JSON API body in an OOP way.
4-
* Copyright (C) 2015-2021 Artur Weigandt https://wlabs.de/kontakt
52

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

207
namespace Art4\JsonApiClient\Exception;
218

src/Exception/FactoryException.php

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,8 @@
11
<?php
2-
/*
3-
* A PHP Library to handle a JSON API body in an OOP way.
4-
* Copyright (C) 2015-2021 Artur Weigandt https://wlabs.de/kontakt
52

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

207
namespace Art4\JsonApiClient\Exception;
218

src/Exception/InputException.php

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,8 @@
11
<?php
2-
/*
3-
* A PHP Library to handle a JSON API body in an OOP way.
4-
* Copyright (C) 2015-2021 Artur Weigandt https://wlabs.de/kontakt
52

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

207
namespace Art4\JsonApiClient\Exception;
218

src/Exception/ValidationException.php

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,8 @@
11
<?php
2-
/*
3-
* A PHP Library to handle a JSON API body in an OOP way.
4-
* Copyright (C) 2015-2021 Artur Weigandt https://wlabs.de/kontakt
52

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

207
namespace Art4\JsonApiClient\Exception;
218

src/Factory.php

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,8 @@
11
<?php
2-
/*
3-
* A PHP Library to handle a JSON API body in an OOP way.
4-
* Copyright (C) 2015-2021 Artur Weigandt https://wlabs.de/kontakt
52

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

207
namespace Art4\JsonApiClient;
218

src/Helper/AbstractElement.php

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,8 @@
11
<?php
2-
/*
3-
* A PHP Library to handle a JSON API body in an OOP way.
4-
* Copyright (C) 2015-2021 Artur Weigandt https://wlabs.de/kontakt
52

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

207
namespace Art4\JsonApiClient\Helper;
218

src/Helper/AccessKey.php

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,8 @@
11
<?php
2-
/*
3-
* A PHP Library to handle a JSON API body in an OOP way.
4-
* Copyright (C) 2015-2021 Artur Weigandt https://wlabs.de/kontakt
52

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

207
namespace Art4\JsonApiClient\Helper;
218

0 commit comments

Comments
 (0)