Skip to content

Commit c55e2c8

Browse files
committed
Close #170
1 parent 16a25d1 commit c55e2c8

File tree

145 files changed

+151
-145
lines changed

Some content is hidden

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

145 files changed

+151
-145
lines changed

Diff for: NOTICE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Framework agnostic JSON API implementation
22

3-
Copyright 2015-2019 [email protected]
3+
Copyright 2015-2020 [email protected]
44

55
This product includes software developed at Neomerx (www.neomerx.com).

Diff for: sample/Application/EncodeSamples.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php declare(strict_types=1); namespace Neomerx\Samples\JsonApi\Application;
22

33
/**
4-
* Copyright 2015-2019 [email protected]
4+
* Copyright 2015-2020 [email protected]
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.

Diff for: sample/Models/Author.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php declare(strict_types=1); namespace Neomerx\Samples\JsonApi\Models;
22

33
/**
4-
* Copyright 2015-2019 [email protected]
4+
* Copyright 2015-2020 [email protected]
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.

Diff for: sample/Models/Comment.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php declare(strict_types=1); namespace Neomerx\Samples\JsonApi\Models;
22

33
/**
4-
* Copyright 2015-2019 [email protected]
4+
* Copyright 2015-2020 [email protected]
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.

Diff for: sample/Models/Post.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php declare(strict_types=1); namespace Neomerx\Samples\JsonApi\Models;
22

33
/**
4-
* Copyright 2015-2019 [email protected]
4+
* Copyright 2015-2020 [email protected]
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.

Diff for: sample/Models/Site.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php declare(strict_types=1); namespace Neomerx\Samples\JsonApi\Models;
22

33
/**
4-
* Copyright 2015-2019 [email protected]
4+
* Copyright 2015-2020 [email protected]
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.

Diff for: sample/README.md

+1-1

Diff for: sample/Schemas/AuthorSchema.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php declare(strict_types=1); namespace Neomerx\Samples\JsonApi\Schemas;
22

33
/**
4-
* Copyright 2015-2019 [email protected]
4+
* Copyright 2015-2020 [email protected]
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.

Diff for: sample/Schemas/CommentSchema.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php declare(strict_types=1); namespace Neomerx\Samples\JsonApi\Schemas;
22

33
/**
4-
* Copyright 2015-2019 [email protected]
4+
* Copyright 2015-2020 [email protected]
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.

Diff for: sample/Schemas/PostSchema.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php declare(strict_types=1); namespace Neomerx\Samples\JsonApi\Schemas;
22

33
/**
4-
* Copyright 2015-2019 [email protected]
4+
* Copyright 2015-2020 [email protected]
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.

Diff for: sample/Schemas/SiteSchema.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php declare(strict_types=1); namespace Neomerx\Samples\JsonApi\Schemas;
22

33
/**
4-
* Copyright 2015-2019 [email protected]
4+
* Copyright 2015-2020 [email protected]
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.

Diff for: sample/sample.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php declare(strict_types=1); namespace Neomerx\Samples\JsonApi;
22

33
/**
4-
* Copyright 2015-2019 [email protected]
4+
* Copyright 2015-2020 [email protected]
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.

Diff for: src/Contracts/Encoder/EncoderInterface.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
namespace Neomerx\JsonApi\Contracts\Encoder;
44

55
/**
6-
* Copyright 2015-2019 [email protected]
6+
* Copyright 2015-2020 [email protected]
77
*
88
* Licensed under the Apache License, Version 2.0 (the "License");
99
* you may not use this file except in compliance with the License.

Diff for: src/Contracts/Factories/FactoryInterface.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
namespace Neomerx\JsonApi\Contracts\Factories;
44

55
/**
6-
* Copyright 2015-2019 [email protected]
6+
* Copyright 2015-2020 [email protected]
77
*
88
* Licensed under the Apache License, Version 2.0 (the "License");
99
* you may not use this file except in compliance with the License.

Diff for: src/Contracts/Http/Headers/AcceptMediaTypeInterface.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
namespace Neomerx\JsonApi\Contracts\Http\Headers;
44

55
/**
6-
* Copyright 2015-2019 [email protected]
6+
* Copyright 2015-2020 [email protected]
77
*
88
* Licensed under the Apache License, Version 2.0 (the "License");
99
* you may not use this file except in compliance with the License.

Diff for: src/Contracts/Http/Headers/HeaderParametersParserInterface.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
namespace Neomerx\JsonApi\Contracts\Http\Headers;
44

55
/**
6-
* Copyright 2015-2019 [email protected]
6+
* Copyright 2015-2020 [email protected]
77
*
88
* Licensed under the Apache License, Version 2.0 (the "License");
99
* you may not use this file except in compliance with the License.

Diff for: src/Contracts/Http/Headers/MediaTypeInterface.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
namespace Neomerx\JsonApi\Contracts\Http\Headers;
44

55
/**
6-
* Copyright 2015-2019 [email protected]
6+
* Copyright 2015-2020 [email protected]
77
*
88
* Licensed under the Apache License, Version 2.0 (the "License");
99
* you may not use this file except in compliance with the License.

Diff for: src/Contracts/Http/Query/BaseQueryParserInterface.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
namespace Neomerx\JsonApi\Contracts\Http\Query;
44

55
/**
6-
* Copyright 2015-2019 [email protected]
6+
* Copyright 2015-2020 [email protected]
77
*
88
* Licensed under the Apache License, Version 2.0 (the "License");
99
* you may not use this file except in compliance with the License.

Diff for: src/Contracts/Http/ResponsesInterface.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
namespace Neomerx\JsonApi\Contracts\Http;
44

55
/**
6-
* Copyright 2015-2019 [email protected]
6+
* Copyright 2015-2020 [email protected]
77
*
88
* Licensed under the Apache License, Version 2.0 (the "License");
99
* you may not use this file except in compliance with the License.

Diff for: src/Contracts/Parser/DocumentDataInterface.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
namespace Neomerx\JsonApi\Contracts\Parser;
44

55
/**
6-
* Copyright 2015-2019 [email protected]
6+
* Copyright 2015-2020 [email protected]
77
*
88
* Licensed under the Apache License, Version 2.0 (the "License");
99
* you may not use this file except in compliance with the License.

Diff for: src/Contracts/Parser/EditableContextInterface.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
namespace Neomerx\JsonApi\Contracts\Parser;
44

55
/**
6-
* Copyright 2015-2019 [email protected]
6+
* Copyright 2015-2020 [email protected]
77
*
88
* Licensed under the Apache License, Version 2.0 (the "License");
99
* you may not use this file except in compliance with the License.

Diff for: src/Contracts/Parser/IdentifierInterface.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
namespace Neomerx\JsonApi\Contracts\Parser;
44

55
/**
6-
* Copyright 2015-2019 [email protected]
6+
* Copyright 2015-2020 [email protected]
77
*
88
* Licensed under the Apache License, Version 2.0 (the "License");
99
* you may not use this file except in compliance with the License.

Diff for: src/Contracts/Parser/ParsedResultInterface.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
namespace Neomerx\JsonApi\Contracts\Parser;
44

55
/**
6-
* Copyright 2015-2019 [email protected]
6+
* Copyright 2015-2020 [email protected]
77
*
88
* Licensed under the Apache License, Version 2.0 (the "License");
99
* you may not use this file except in compliance with the License.

Diff for: src/Contracts/Parser/ParserInterface.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
namespace Neomerx\JsonApi\Contracts\Parser;
44

55
/**
6-
* Copyright 2015-2019 [email protected]
6+
* Copyright 2015-2020 [email protected]
77
*
88
* Licensed under the Apache License, Version 2.0 (the "License");
99
* you may not use this file except in compliance with the License.

Diff for: src/Contracts/Parser/RelationshipDataInterface.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
namespace Neomerx\JsonApi\Contracts\Parser;
44

55
/**
6-
* Copyright 2015-2019 [email protected]
6+
* Copyright 2015-2020 [email protected]
77
*
88
* Licensed under the Apache License, Version 2.0 (the "License");
99
* you may not use this file except in compliance with the License.

Diff for: src/Contracts/Parser/RelationshipInterface.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
namespace Neomerx\JsonApi\Contracts\Parser;
44

55
/**
6-
* Copyright 2015-2019 [email protected]
6+
* Copyright 2015-2020 [email protected]
77
*
88
* Licensed under the Apache License, Version 2.0 (the "License");
99
* you may not use this file except in compliance with the License.

Diff for: src/Contracts/Parser/ResourceInterface.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
namespace Neomerx\JsonApi\Contracts\Parser;
44

55
/**
6-
* Copyright 2015-2019 [email protected]
6+
* Copyright 2015-2020 [email protected]
77
*
88
* Licensed under the Apache License, Version 2.0 (the "License");
99
* you may not use this file except in compliance with the License.

Diff for: src/Contracts/Representation/BaseWriterInterface.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
namespace Neomerx\JsonApi\Contracts\Representation;
44

55
/**
6-
* Copyright 2015-2019 [email protected]
6+
* Copyright 2015-2020 [email protected]
77
*
88
* Licensed under the Apache License, Version 2.0 (the "License");
99
* you may not use this file except in compliance with the License.

Diff for: src/Contracts/Representation/DocumentWriterInterface.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
namespace Neomerx\JsonApi\Contracts\Representation;
44

55
/**
6-
* Copyright 2015-2019 [email protected]
6+
* Copyright 2015-2020 [email protected]
77
*
88
* Licensed under the Apache License, Version 2.0 (the "License");
99
* you may not use this file except in compliance with the License.

Diff for: src/Contracts/Representation/ErrorWriterInterface.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
namespace Neomerx\JsonApi\Contracts\Representation;
44

55
/**
6-
* Copyright 2015-2019 [email protected]
6+
* Copyright 2015-2020 [email protected]
77
*
88
* Licensed under the Apache License, Version 2.0 (the "License");
99
* you may not use this file except in compliance with the License.

Diff for: src/Contracts/Representation/FieldSetFilterInterface.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
namespace Neomerx\JsonApi\Contracts\Representation;
44

55
/**
6-
* Copyright 2015-2019 [email protected]
6+
* Copyright 2015-2020 [email protected]
77
*
88
* Licensed under the Apache License, Version 2.0 (the "License");
99
* you may not use this file except in compliance with the License.

Diff for: src/Contracts/Schema/BaseLinkInterface.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
namespace Neomerx\JsonApi\Contracts\Schema;
44

55
/**
6-
* Copyright 2015-2019 [email protected]
6+
* Copyright 2015-2020 [email protected]
77
*
88
* Licensed under the Apache License, Version 2.0 (the "License");
99
* you may not use this file except in compliance with the License.

Diff for: src/Contracts/Schema/ContextInterface.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
namespace Neomerx\JsonApi\Contracts\Schema;
44

55
/**
6-
* Copyright 2015-2019 [email protected]
6+
* Copyright 2015-2020 [email protected]
77
*
88
* Licensed under the Apache License, Version 2.0 (the "License");
99
* you may not use this file except in compliance with the License.

Diff for: src/Contracts/Schema/DocumentInterface.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
namespace Neomerx\JsonApi\Contracts\Schema;
44

55
/**
6-
* Copyright 2015-2019 [email protected]
6+
* Copyright 2015-2020 [email protected]
77
*
88
* Licensed under the Apache License, Version 2.0 (the "License");
99
* you may not use this file except in compliance with the License.

Diff for: src/Contracts/Schema/ErrorInterface.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
namespace Neomerx\JsonApi\Contracts\Schema;
44

55
/**
6-
* Copyright 2015-2019 [email protected]
6+
* Copyright 2015-2020 [email protected]
77
*
88
* Licensed under the Apache License, Version 2.0 (the "License");
99
* you may not use this file except in compliance with the License.

Diff for: src/Contracts/Schema/IdentifierInterface.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
namespace Neomerx\JsonApi\Contracts\Schema;
44

55
/**
6-
* Copyright 2015-2019 [email protected]
6+
* Copyright 2015-2020 [email protected]
77
*
88
* Licensed under the Apache License, Version 2.0 (the "License");
99
* you may not use this file except in compliance with the License.

Diff for: src/Contracts/Schema/LinkInterface.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
namespace Neomerx\JsonApi\Contracts\Schema;
44

55
/**
6-
* Copyright 2015-2019 [email protected]
6+
* Copyright 2015-2020 [email protected]
77
*
88
* Licensed under the Apache License, Version 2.0 (the "License");
99
* you may not use this file except in compliance with the License.

Diff for: src/Contracts/Schema/LinkWithAliasesInterface.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
namespace Neomerx\JsonApi\Contracts\Schema;
44

55
/**
6-
* Copyright 2015-2019 [email protected]
6+
* Copyright 2015-2020 [email protected]
77
*
88
* Licensed under the Apache License, Version 2.0 (the "License");
99
* you may not use this file except in compliance with the License.

Diff for: src/Contracts/Schema/PositionInterface.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
namespace Neomerx\JsonApi\Contracts\Schema;
44

55
/**
6-
* Copyright 2015-2019 [email protected]
6+
* Copyright 2015-2020 [email protected]
77
*
88
* Licensed under the Apache License, Version 2.0 (the "License");
99
* you may not use this file except in compliance with the License.

Diff for: src/Contracts/Schema/SchemaContainerInterface.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
namespace Neomerx\JsonApi\Contracts\Schema;
44

55
/**
6-
* Copyright 2015-2019 [email protected]
6+
* Copyright 2015-2020 [email protected]
77
*
88
* Licensed under the Apache License, Version 2.0 (the "License");
99
* you may not use this file except in compliance with the License.

Diff for: src/Contracts/Schema/SchemaInterface.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
namespace Neomerx\JsonApi\Contracts\Schema;
44

55
/**
6-
* Copyright 2015-2019 [email protected]
6+
* Copyright 2015-2020 [email protected]
77
*
88
* Licensed under the Apache License, Version 2.0 (the "License");
99
* you may not use this file except in compliance with the License.

Diff for: src/Encoder/Encoder.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
namespace Neomerx\JsonApi\Encoder;
44

55
/**
6-
* Copyright 2015-2019 [email protected]
6+
* Copyright 2015-2020 [email protected]
77
*
88
* Licensed under the Apache License, Version 2.0 (the "License");
99
* you may not use this file except in compliance with the License.

Diff for: src/Encoder/EncoderPropertiesTrait.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
namespace Neomerx\JsonApi\Encoder;
44

55
/**
6-
* Copyright 2015-2019 [email protected]
6+
* Copyright 2015-2020 [email protected]
77
*
88
* Licensed under the Apache License, Version 2.0 (the "License");
99
* you may not use this file except in compliance with the License.

Diff for: src/Exceptions/BaseJsonApiException.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
namespace Neomerx\JsonApi\Exceptions;
44

55
/**
6-
* Copyright 2015-2019 [email protected]
6+
* Copyright 2015-2020 [email protected]
77
*
88
* Licensed under the Apache License, Version 2.0 (the "License");
99
* you may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)