Skip to content

Commit 8a67ae8

Browse files
authored
Fixed copyright block (#31)
1 parent f4b5336 commit 8a67ae8

22 files changed

+92
-136
lines changed

phpcs.xml.dist

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
<?xml version="1.0"?>
22
<!--
3-
~ /*
4-
~ * This file is part of JSON:API implementation for PHP.
5-
~ *
6-
~ * (c) Alexey Karapetov <[email protected]>
7-
~ *
8-
~ * For the full copyright and license information, please view the LICENSE
9-
~ * file that was distributed with this source code.
10-
~ */
3+
~ This file is part of JSON:API implementation for PHP.
4+
~
5+
~ (c) Alexey Karapetov <[email protected]>
6+
~
7+
~ For the full copyright and license information, please view the LICENSE
8+
~ file that was distributed with this source code.
119
-->
1210

1311
<ruleset>

phpunit.xml.dist

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
<?xml version="1.0" encoding="UTF-8" ?>
22
<!--
3-
~ /*
4-
~ * This file is part of JSON:API implementation for PHP.
5-
~ *
6-
~ * (c) Alexey Karapetov <[email protected]>
7-
~ *
8-
~ * For the full copyright and license information, please view the LICENSE
9-
~ * file that was distributed with this source code.
10-
~ */
3+
~ This file is part of JSON:API implementation for PHP.
4+
~
5+
~ (c) Alexey Karapetov <[email protected]>
6+
~
7+
~ For the full copyright and license information, please view the LICENSE
8+
~ file that was distributed with this source code.
119
-->
1210

1311
<phpunit

src/Document/Document.php

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
<?php
22
/**
3+
* This file is part of JSON:API implementation for PHP.
34
*
4-
* * This file is part of JSON:API implementation for PHP.
5-
* *
6-
* * (c) Alexey Karapetov <[email protected]>
7-
* *
8-
* * For the full copyright and license information, please view the LICENSE
9-
* * file that was distributed with this source code.
5+
* (c) Alexey Karapetov <[email protected]>
106
*
7+
* For the full copyright and license information, please view the LICENSE
8+
* file that was distributed with this source code.
119
*/
1210

1311
declare(strict_types=1);

src/Document/Error.php

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
<?php
22
/**
3+
* This file is part of JSON:API implementation for PHP.
34
*
4-
* * This file is part of JSON:API implementation for PHP.
5-
* *
6-
* * (c) Alexey Karapetov <[email protected]>
7-
* *
8-
* * For the full copyright and license information, please view the LICENSE
9-
* * file that was distributed with this source code.
5+
* (c) Alexey Karapetov <[email protected]>
106
*
7+
* For the full copyright and license information, please view the LICENSE
8+
* file that was distributed with this source code.
119
*/
1210

1311
declare(strict_types=1);

src/Document/Resource/IdentifiableResource.php

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
<?php
22
/**
3+
* This file is part of JSON:API implementation for PHP.
34
*
4-
* * This file is part of JSON:API implementation for PHP.
5-
* *
6-
* * (c) Alexey Karapetov <[email protected]>
7-
* *
8-
* * For the full copyright and license information, please view the LICENSE
9-
* * file that was distributed with this source code.
5+
* (c) Alexey Karapetov <[email protected]>
106
*
7+
* For the full copyright and license information, please view the LICENSE
8+
* file that was distributed with this source code.
119
*/
1210

1311
namespace JsonApiPhp\JsonApi\Document\Resource;

src/Document/Resource/NullData.php

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
<?php
22
/**
3+
* This file is part of JSON:API implementation for PHP.
34
*
4-
* * This file is part of JSON:API implementation for PHP.
5-
* *
6-
* * (c) Alexey Karapetov <[email protected]>
7-
* *
8-
* * For the full copyright and license information, please view the LICENSE
9-
* * file that was distributed with this source code.
5+
* (c) Alexey Karapetov <[email protected]>
106
*
7+
* For the full copyright and license information, please view the LICENSE
8+
* file that was distributed with this source code.
119
*/
1210

1311
declare(strict_types=1);

src/Document/Resource/Relationship/Linkage.php

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
<?php
22
/**
3+
* This file is part of JSON:API implementation for PHP.
34
*
4-
* * This file is part of JSON:API implementation for PHP.
5-
* *
6-
* * (c) Alexey Karapetov <[email protected]>
7-
* *
8-
* * For the full copyright and license information, please view the LICENSE
9-
* * file that was distributed with this source code.
5+
* (c) Alexey Karapetov <[email protected]>
106
*
7+
* For the full copyright and license information, please view the LICENSE
8+
* file that was distributed with this source code.
119
*/
1210

1311
declare(strict_types=1);

src/Document/Resource/Relationship/Relationship.php

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
<?php
22
/**
3+
* This file is part of JSON:API implementation for PHP.
34
*
4-
* * This file is part of JSON:API implementation for PHP.
5-
* *
6-
* * (c) Alexey Karapetov <[email protected]>
7-
* *
8-
* * For the full copyright and license information, please view the LICENSE
9-
* * file that was distributed with this source code.
5+
* (c) Alexey Karapetov <[email protected]>
106
*
7+
* For the full copyright and license information, please view the LICENSE
8+
* file that was distributed with this source code.
119
*/
1210

1311
declare(strict_types=1);

src/Document/Resource/ResourceId.php

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
<?php
22
/**
3+
* This file is part of JSON:API implementation for PHP.
34
*
4-
* * This file is part of JSON:API implementation for PHP.
5-
* *
6-
* * (c) Alexey Karapetov <[email protected]>
7-
* *
8-
* * For the full copyright and license information, please view the LICENSE
9-
* * file that was distributed with this source code.
5+
* (c) Alexey Karapetov <[email protected]>
106
*
7+
* For the full copyright and license information, please view the LICENSE
8+
* file that was distributed with this source code.
119
*/
1210

1311
declare(strict_types=1);

src/Document/Resource/ResourceObject.php

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
<?php
22
/**
3+
* This file is part of JSON:API implementation for PHP.
34
*
4-
* * This file is part of JSON:API implementation for PHP.
5-
* *
6-
* * (c) Alexey Karapetov <[email protected]>
7-
* *
8-
* * For the full copyright and license information, please view the LICENSE
9-
* * file that was distributed with this source code.
5+
* (c) Alexey Karapetov <[email protected]>
106
*
7+
* For the full copyright and license information, please view the LICENSE
8+
* file that was distributed with this source code.
119
*/
1210

1311
declare(strict_types=1);

src/HasLinks.php

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
<?php
22
/**
3+
* This file is part of JSON:API implementation for PHP.
34
*
4-
* * This file is part of JSON:API implementation for PHP.
5-
* *
6-
* * (c) Alexey Karapetov <[email protected]>
7-
* *
8-
* * For the full copyright and license information, please view the LICENSE
9-
* * file that was distributed with this source code.
5+
* (c) Alexey Karapetov <[email protected]>
106
*
7+
* For the full copyright and license information, please view the LICENSE
8+
* file that was distributed with this source code.
119
*/
1210

1311
declare(strict_types=1);

src/HasLinksAndMeta.php

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
<?php
22
/**
3+
* This file is part of JSON:API implementation for PHP.
34
*
4-
* * This file is part of JSON:API implementation for PHP.
5-
* *
6-
* * (c) Alexey Karapetov <[email protected]>
7-
* *
8-
* * For the full copyright and license information, please view the LICENSE
9-
* * file that was distributed with this source code.
5+
* (c) Alexey Karapetov <[email protected]>
106
*
7+
* For the full copyright and license information, please view the LICENSE
8+
* file that was distributed with this source code.
119
*/
1210

1311
declare(strict_types=1);

src/HasMeta.php

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
<?php
22
/**
3+
* This file is part of JSON:API implementation for PHP.
34
*
4-
* * This file is part of JSON:API implementation for PHP.
5-
* *
6-
* * (c) Alexey Karapetov <[email protected]>
7-
* *
8-
* * For the full copyright and license information, please view the LICENSE
9-
* * file that was distributed with this source code.
5+
* (c) Alexey Karapetov <[email protected]>
106
*
7+
* For the full copyright and license information, please view the LICENSE
8+
* file that was distributed with this source code.
119
*/
1210

1311
declare(strict_types=1);

test/Document/CompoundDocumentTest.php

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
<?php
22
/**
3+
* This file is part of JSON:API implementation for PHP.
34
*
4-
* * This file is part of JSON:API implementation for PHP.
5-
* *
6-
* * (c) Alexey Karapetov <[email protected]>
7-
* *
8-
* * For the full copyright and license information, please view the LICENSE
9-
* * file that was distributed with this source code.
5+
* (c) Alexey Karapetov <[email protected]>
106
*
7+
* For the full copyright and license information, please view the LICENSE
8+
* file that was distributed with this source code.
119
*/
1210

1311
declare(strict_types=1);

test/Document/DocumentTest.php

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
<?php
22
/**
3+
* This file is part of JSON:API implementation for PHP.
34
*
4-
* * This file is part of JSON:API implementation for PHP.
5-
* *
6-
* * (c) Alexey Karapetov <[email protected]>
7-
* *
8-
* * For the full copyright and license information, please view the LICENSE
9-
* * file that was distributed with this source code.
5+
* (c) Alexey Karapetov <[email protected]>
106
*
7+
* For the full copyright and license information, please view the LICENSE
8+
* file that was distributed with this source code.
119
*/
1210

1311
declare(strict_types=1);

test/Document/ErrorTest.php

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
<?php
22
/**
3+
* This file is part of JSON:API implementation for PHP.
34
*
4-
* * This file is part of JSON:API implementation for PHP.
5-
* *
6-
* * (c) Alexey Karapetov <[email protected]>
7-
* *
8-
* * For the full copyright and license information, please view the LICENSE
9-
* * file that was distributed with this source code.
5+
* (c) Alexey Karapetov <[email protected]>
106
*
7+
* For the full copyright and license information, please view the LICENSE
8+
* file that was distributed with this source code.
119
*/
1210

1311
declare(strict_types=1);

test/Document/Resource/Relationship/LinkageTest.php

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
<?php
22
/**
3+
* This file is part of JSON:API implementation for PHP.
34
*
4-
* * This file is part of JSON:API implementation for PHP.
5-
* *
6-
* * (c) Alexey Karapetov <[email protected]>
7-
* *
8-
* * For the full copyright and license information, please view the LICENSE
9-
* * file that was distributed with this source code.
5+
* (c) Alexey Karapetov <[email protected]>
106
*
7+
* For the full copyright and license information, please view the LICENSE
8+
* file that was distributed with this source code.
119
*/
1210

1311
declare(strict_types=1);

test/Document/Resource/Relationship/RelationshipTest.php

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
<?php
22
/**
3+
* This file is part of JSON:API implementation for PHP.
34
*
4-
* * This file is part of JSON:API implementation for PHP.
5-
* *
6-
* * (c) Alexey Karapetov <[email protected]>
7-
* *
8-
* * For the full copyright and license information, please view the LICENSE
9-
* * file that was distributed with this source code.
5+
* (c) Alexey Karapetov <[email protected]>
106
*
7+
* For the full copyright and license information, please view the LICENSE
8+
* file that was distributed with this source code.
119
*/
1210

1311
declare(strict_types=1);

test/Document/Resource/ResourceTest.php

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
<?php
22
/**
3+
* This file is part of JSON:API implementation for PHP.
34
*
4-
* * This file is part of JSON:API implementation for PHP.
5-
* *
6-
* * (c) Alexey Karapetov <[email protected]>
7-
* *
8-
* * For the full copyright and license information, please view the LICENSE
9-
* * file that was distributed with this source code.
5+
* (c) Alexey Karapetov <[email protected]>
106
*
7+
* For the full copyright and license information, please view the LICENSE
8+
* file that was distributed with this source code.
119
*/
1210

1311
declare(strict_types=1);

test/HasAssertEqualsAsJson.php

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
<?php
22
/**
3+
* This file is part of JSON:API implementation for PHP.
34
*
4-
* * This file is part of JSON:API implementation for PHP.
5-
* *
6-
* * (c) Alexey Karapetov <[email protected]>
7-
* *
8-
* * For the full copyright and license information, please view the LICENSE
9-
* * file that was distributed with this source code.
5+
* (c) Alexey Karapetov <[email protected]>
106
*
7+
* For the full copyright and license information, please view the LICENSE
8+
* file that was distributed with this source code.
119
*/
1210

1311
declare(strict_types=1);

test/IntegrationTest.php

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
<?php
22
/**
3+
* This file is part of JSON:API implementation for PHP.
34
*
4-
* * This file is part of JSON:API implementation for PHP.
5-
* *
6-
* * (c) Alexey Karapetov <[email protected]>
7-
* *
8-
* * For the full copyright and license information, please view the LICENSE
9-
* * file that was distributed with this source code.
5+
* (c) Alexey Karapetov <[email protected]>
106
*
7+
* For the full copyright and license information, please view the LICENSE
8+
* file that was distributed with this source code.
119
*/
1210

1311
declare(strict_types=1);

test/bootstrap.php

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
<?php
22
/**
3+
* This file is part of JSON:API implementation for PHP.
34
*
4-
* * This file is part of JSON:API implementation for PHP.
5-
* *
6-
* * (c) Alexey Karapetov <[email protected]>
7-
* *
8-
* * For the full copyright and license information, please view the LICENSE
9-
* * file that was distributed with this source code.
5+
* (c) Alexey Karapetov <[email protected]>
106
*
7+
* For the full copyright and license information, please view the LICENSE
8+
* file that was distributed with this source code.
119
*/
1210

1311
require_once __DIR__ . '/../vendor/autoload.php';

0 commit comments

Comments
 (0)