Skip to content

Commit 2dee705

Browse files
authored
Removed license banner (#59)
1 parent 36b0d29 commit 2dee705

33 files changed

+2
-280
lines changed

.php_cs.dist

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ return PhpCsFixer\Config::create()
2121
'method_separation' => true,
2222
'native_function_casing' => true,
2323
'no_blank_lines_after_class_opening' => true,
24+
'no_blank_lines_after_phpdoc' => true,
2425
'no_empty_statement' => true,
2526
'no_extra_consecutive_blank_lines' => true,
2627
'no_leading_import_slash' => true,

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2017 Alexey Karapetov
3+
Copyright (c) Alexey Karapetov
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

src/Document.php

-9
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,4 @@
11
<?php
2-
/**
3-
* This file is part of JSON:API implementation for PHP.
4-
*
5-
* (c) Alexey Karapetov <karapetov@gmail.com>
6-
*
7-
* For the full copyright and license information, please view the LICENSE
8-
* file that was distributed with this source code.
9-
*/
10-
112
declare(strict_types=1);
123

134
namespace JsonApiPhp\JsonApi;

src/Document/Error.php

-9
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,4 @@
11
<?php
2-
/**
3-
* This file is part of JSON:API implementation for PHP.
4-
*
5-
* (c) Alexey Karapetov <karapetov@gmail.com>
6-
*
7-
* For the full copyright and license information, please view the LICENSE
8-
* file that was distributed with this source code.
9-
*/
10-
112
declare(strict_types=1);
123

134
namespace JsonApiPhp\JsonApi\Document;

src/Document/Link/Link.php

-9
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,4 @@
11
<?php
2-
/**
3-
* This file is part of JSON:API implementation for PHP.
4-
*
5-
* (c) Alexey Karapetov <karapetov@gmail.com>
6-
*
7-
* For the full copyright and license information, please view the LICENSE
8-
* file that was distributed with this source code.
9-
*/
10-
112
declare(strict_types=1);
123

134
namespace JsonApiPhp\JsonApi\Document\Link;

src/Document/Link/LinkInterface.php

-9
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,4 @@
11
<?php
2-
/**
3-
* This file is part of JSON:API implementation for PHP.
4-
*
5-
* (c) Alexey Karapetov <karapetov@gmail.com>
6-
*
7-
* For the full copyright and license information, please view the LICENSE
8-
* file that was distributed with this source code.
9-
*/
10-
112
declare(strict_types=1);
123

134
namespace JsonApiPhp\JsonApi\Document\Link;

src/Document/Link/LinkObject.php

-9
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,4 @@
11
<?php
2-
/**
3-
* This file is part of JSON:API implementation for PHP.
4-
*
5-
* (c) Alexey Karapetov <karapetov@gmail.com>
6-
*
7-
* For the full copyright and license information, please view the LICENSE
8-
* file that was distributed with this source code.
9-
*/
10-
112
declare(strict_types=1);
123

134
namespace JsonApiPhp\JsonApi\Document\Link;

src/Document/LinksTrait.php

-9
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,4 @@
11
<?php
2-
/**
3-
* This file is part of JSON:API implementation for PHP.
4-
*
5-
* (c) Alexey Karapetov <karapetov@gmail.com>
6-
*
7-
* For the full copyright and license information, please view the LICENSE
8-
* file that was distributed with this source code.
9-
*/
10-
112
declare(strict_types=1);
123

134
namespace JsonApiPhp\JsonApi\Document;

src/Document/Meta.php

-9
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,4 @@
11
<?php
2-
/**
3-
* This file is part of JSON:API implementation for PHP.
4-
*
5-
* (c) Alexey Karapetov <karapetov@gmail.com>
6-
*
7-
* For the full copyright and license information, please view the LICENSE
8-
* file that was distributed with this source code.
9-
*/
10-
112
declare(strict_types=1);
123

134
namespace JsonApiPhp\JsonApi\Document;

src/Document/MetaTrait.php

-9
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,4 @@
11
<?php
2-
/**
3-
* This file is part of JSON:API implementation for PHP.
4-
*
5-
* (c) Alexey Karapetov <karapetov@gmail.com>
6-
*
7-
* For the full copyright and license information, please view the LICENSE
8-
* file that was distributed with this source code.
9-
*/
10-
112
declare(strict_types=1);
123

134
namespace JsonApiPhp\JsonApi\Document;

src/Document/PrimaryData/MultiIdentifierData.php

-9
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,4 @@
11
<?php
2-
/**
3-
* This file is part of JSON:API implementation for PHP.
4-
*
5-
* (c) Alexey Karapetov <karapetov@gmail.com>
6-
*
7-
* For the full copyright and license information, please view the LICENSE
8-
* file that was distributed with this source code.
9-
*/
10-
112
declare(strict_types=1);
123

134
namespace JsonApiPhp\JsonApi\Document\PrimaryData;

src/Document/PrimaryData/MultiResourceData.php

-9
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,4 @@
11
<?php
2-
/**
3-
* This file is part of JSON:API implementation for PHP.
4-
*
5-
* (c) Alexey Karapetov <karapetov@gmail.com>
6-
*
7-
* For the full copyright and license information, please view the LICENSE
8-
* file that was distributed with this source code.
9-
*/
10-
112
declare(strict_types=1);
123

134
namespace JsonApiPhp\JsonApi\Document\PrimaryData;

src/Document/PrimaryData/NullData.php

-9
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,4 @@
11
<?php
2-
/**
3-
* This file is part of JSON:API implementation for PHP.
4-
*
5-
* (c) Alexey Karapetov <karapetov@gmail.com>
6-
*
7-
* For the full copyright and license information, please view the LICENSE
8-
* file that was distributed with this source code.
9-
*/
10-
112
declare(strict_types=1);
123

134
namespace JsonApiPhp\JsonApi\Document\PrimaryData;

src/Document/PrimaryData/PrimaryDataInterface.php

-9
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,4 @@
11
<?php
2-
/**
3-
* This file is part of JSON:API implementation for PHP.
4-
*
5-
* (c) Alexey Karapetov <karapetov@gmail.com>
6-
*
7-
* For the full copyright and license information, please view the LICENSE
8-
* file that was distributed with this source code.
9-
*/
10-
112
declare(strict_types=1);
123

134
namespace JsonApiPhp\JsonApi\Document\PrimaryData;

src/Document/PrimaryData/SingleIdentifierData.php

-9
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,4 @@
11
<?php
2-
/**
3-
* This file is part of JSON:API implementation for PHP.
4-
*
5-
* (c) Alexey Karapetov <karapetov@gmail.com>
6-
*
7-
* For the full copyright and license information, please view the LICENSE
8-
* file that was distributed with this source code.
9-
*/
10-
112
declare(strict_types=1);
123

134
namespace JsonApiPhp\JsonApi\Document\PrimaryData;

src/Document/PrimaryData/SingleResourceData.php

-9
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,4 @@
11
<?php
2-
/**
3-
* This file is part of JSON:API implementation for PHP.
4-
*
5-
* (c) Alexey Karapetov <karapetov@gmail.com>
6-
*
7-
* For the full copyright and license information, please view the LICENSE
8-
* file that was distributed with this source code.
9-
*/
10-
112
declare(strict_types=1);
123

134
namespace JsonApiPhp\JsonApi\Document\PrimaryData;

src/Document/Resource/Linkage/LinkageInterface.php

-9
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,4 @@
11
<?php
2-
/**
3-
* This file is part of JSON:API implementation for PHP.
4-
*
5-
* (c) Alexey Karapetov <karapetov@gmail.com>
6-
*
7-
* For the full copyright and license information, please view the LICENSE
8-
* file that was distributed with this source code.
9-
*/
10-
112
declare(strict_types=1);
123

134
namespace JsonApiPhp\JsonApi\Document\Resource\Linkage;

src/Document/Resource/Linkage/MultiLinkage.php

-9
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,4 @@
11
<?php
2-
/**
3-
* This file is part of JSON:API implementation for PHP.
4-
*
5-
* (c) Alexey Karapetov <karapetov@gmail.com>
6-
*
7-
* For the full copyright and license information, please view the LICENSE
8-
* file that was distributed with this source code.
9-
*/
10-
112
declare(strict_types=1);
123

134
namespace JsonApiPhp\JsonApi\Document\Resource\Linkage;

src/Document/Resource/Linkage/NullLinkage.php

-9
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,4 @@
11
<?php
2-
/**
3-
* This file is part of JSON:API implementation for PHP.
4-
*
5-
* (c) Alexey Karapetov <karapetov@gmail.com>
6-
*
7-
* For the full copyright and license information, please view the LICENSE
8-
* file that was distributed with this source code.
9-
*/
10-
112
declare(strict_types=1);
123

134
namespace JsonApiPhp\JsonApi\Document\Resource\Linkage;

src/Document/Resource/Linkage/SingleLinkage.php

-9
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,4 @@
11
<?php
2-
/**
3-
* This file is part of JSON:API implementation for PHP.
4-
*
5-
* (c) Alexey Karapetov <karapetov@gmail.com>
6-
*
7-
* For the full copyright and license information, please view the LICENSE
8-
* file that was distributed with this source code.
9-
*/
10-
112
declare(strict_types=1);
123

134
namespace JsonApiPhp\JsonApi\Document\Resource\Linkage;

src/Document/Resource/Relationship/Relationship.php

-9
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,4 @@
11
<?php
2-
/**
3-
* This file is part of JSON:API implementation for PHP.
4-
*
5-
* (c) Alexey Karapetov <karapetov@gmail.com>
6-
*
7-
* For the full copyright and license information, please view the LICENSE
8-
* file that was distributed with this source code.
9-
*/
10-
112
declare(strict_types=1);
123

134
namespace JsonApiPhp\JsonApi\Document\Resource\Relationship;

src/Document/Resource/ResourceIdentifier.php

-9
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,4 @@
11
<?php
2-
/**
3-
* This file is part of JSON:API implementation for PHP.
4-
*
5-
* (c) Alexey Karapetov <karapetov@gmail.com>
6-
*
7-
* For the full copyright and license information, please view the LICENSE
8-
* file that was distributed with this source code.
9-
*/
10-
112
declare(strict_types=1);
123

134
namespace JsonApiPhp\JsonApi\Document\Resource;

src/Document/Resource/ResourceObject.php

-9
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,4 @@
11
<?php
2-
/**
3-
* This file is part of JSON:API implementation for PHP.
4-
*
5-
* (c) Alexey Karapetov <karapetov@gmail.com>
6-
*
7-
* For the full copyright and license information, please view the LICENSE
8-
* file that was distributed with this source code.
9-
*/
10-
112
declare(strict_types=1);
123

134
namespace JsonApiPhp\JsonApi\Document\Resource;

test/BaseTestCase.php

-9
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,4 @@
11
<?php
2-
/**
3-
* This file is part of JSON:API implementation for PHP.
4-
*
5-
* (c) Alexey Karapetov <karapetov@gmail.com>
6-
*
7-
* For the full copyright and license information, please view the LICENSE
8-
* file that was distributed with this source code.
9-
*/
10-
112
declare(strict_types=1);
123

134
namespace JsonApiPhp\JsonApi\Test;

test/Document/CompoundDocumentTest.php

-9
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,4 @@
11
<?php
2-
/**
3-
* This file is part of JSON:API implementation for PHP.
4-
*
5-
* (c) Alexey Karapetov <karapetov@gmail.com>
6-
*
7-
* For the full copyright and license information, please view the LICENSE
8-
* file that was distributed with this source code.
9-
*/
10-
112
declare(strict_types=1);
123

134
namespace JsonApiPhp\JsonApi\Test\Document;

test/Document/DocumentTest.php

-9
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,4 @@
11
<?php
2-
/**
3-
* This file is part of JSON:API implementation for PHP.
4-
*
5-
* (c) Alexey Karapetov <karapetov@gmail.com>
6-
*
7-
* For the full copyright and license information, please view the LICENSE
8-
* file that was distributed with this source code.
9-
*/
10-
112
declare(strict_types=1);
123

134
namespace JsonApiPhp\JsonApi\Test\Document;

test/Document/ErrorTest.php

-9
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,4 @@
11
<?php
2-
/**
3-
* This file is part of JSON:API implementation for PHP.
4-
*
5-
* (c) Alexey Karapetov <karapetov@gmail.com>
6-
*
7-
* For the full copyright and license information, please view the LICENSE
8-
* file that was distributed with this source code.
9-
*/
10-
112
declare(strict_types=1);
123

134
namespace JsonApiPhp\JsonApi\Document;

test/Document/MetaTest.php

-9
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,4 @@
11
<?php
2-
/**
3-
* This file is part of JSON:API implementation for PHP.
4-
*
5-
* (c) Alexey Karapetov <karapetov@gmail.com>
6-
*
7-
* For the full copyright and license information, please view the LICENSE
8-
* file that was distributed with this source code.
9-
*/
10-
112
declare(strict_types=1);
123

134
namespace JsonApiPhp\JsonApi\Test\Document;

test/Document/Resource/Relationship/LinkageTest.php

-9
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,4 @@
11
<?php
2-
/**
3-
* This file is part of JSON:API implementation for PHP.
4-
*
5-
* (c) Alexey Karapetov <karapetov@gmail.com>
6-
*
7-
* For the full copyright and license information, please view the LICENSE
8-
* file that was distributed with this source code.
9-
*/
10-
112
declare(strict_types=1);
123

134
namespace JsonApiPhp\JsonApi\Test\Document\Resource\Relationship;

0 commit comments

Comments
 (0)