Skip to content

Commit

Permalink
Close #170
Browse files Browse the repository at this point in the history
  • Loading branch information
neomerx committed Jan 3, 2020
1 parent 16a25d1 commit cb75a15
Show file tree
Hide file tree
Showing 145 changed files with 145 additions and 145 deletions.
2 changes: 1 addition & 1 deletion NOTICE
@@ -1,5 +1,5 @@
Framework agnostic JSON API implementation

Copyright 2015-2019 info@neomerx.com
Copyright 2015-2020 info@neomerx.com

This product includes software developed at Neomerx (www.neomerx.com).
2 changes: 1 addition & 1 deletion sample/Application/EncodeSamples.php
@@ -1,7 +1,7 @@
<?php declare(strict_types=1); namespace Neomerx\Samples\JsonApi\Application;

/**
* Copyright 2015-2019 info@neomerx.com
* Copyright 2015-2020 info@neomerx.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion sample/Models/Author.php
@@ -1,7 +1,7 @@
<?php declare(strict_types=1); namespace Neomerx\Samples\JsonApi\Models;

/**
* Copyright 2015-2019 info@neomerx.com
* Copyright 2015-2020 info@neomerx.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion sample/Models/Comment.php
@@ -1,7 +1,7 @@
<?php declare(strict_types=1); namespace Neomerx\Samples\JsonApi\Models;

/**
* Copyright 2015-2019 info@neomerx.com
* Copyright 2015-2020 info@neomerx.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion sample/Models/Post.php
@@ -1,7 +1,7 @@
<?php declare(strict_types=1); namespace Neomerx\Samples\JsonApi\Models;

/**
* Copyright 2015-2019 info@neomerx.com
* Copyright 2015-2020 info@neomerx.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion sample/Models/Site.php
@@ -1,7 +1,7 @@
<?php declare(strict_types=1); namespace Neomerx\Samples\JsonApi\Models;

/**
* Copyright 2015-2019 info@neomerx.com
* Copyright 2015-2020 info@neomerx.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion sample/README.md
Expand Up @@ -37,7 +37,7 @@ or with execution time measurement and specified number of iterations
$ time php sample.php -t=10000
```

If you have [docker-compose](https://docs.docker.com/compose/) installed you can run performance test in PHP 7.1, 7.2 and 7.3 with commands
If you have [docker-compose](https://docs.docker.com/compose/) installed you can run performance test in PHP 7.1, 7.2, 7.3 and 7.4 with commands

```
$ composer perf-test-php-7-1
Expand Down
2 changes: 1 addition & 1 deletion sample/Schemas/AuthorSchema.php
@@ -1,7 +1,7 @@
<?php declare(strict_types=1); namespace Neomerx\Samples\JsonApi\Schemas;

/**
* Copyright 2015-2019 info@neomerx.com
* Copyright 2015-2020 info@neomerx.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion sample/Schemas/CommentSchema.php
@@ -1,7 +1,7 @@
<?php declare(strict_types=1); namespace Neomerx\Samples\JsonApi\Schemas;

/**
* Copyright 2015-2019 info@neomerx.com
* Copyright 2015-2020 info@neomerx.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion sample/Schemas/PostSchema.php
@@ -1,7 +1,7 @@
<?php declare(strict_types=1); namespace Neomerx\Samples\JsonApi\Schemas;

/**
* Copyright 2015-2019 info@neomerx.com
* Copyright 2015-2020 info@neomerx.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion sample/Schemas/SiteSchema.php
@@ -1,7 +1,7 @@
<?php declare(strict_types=1); namespace Neomerx\Samples\JsonApi\Schemas;

/**
* Copyright 2015-2019 info@neomerx.com
* Copyright 2015-2020 info@neomerx.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion sample/sample.php
@@ -1,7 +1,7 @@
<?php declare(strict_types=1); namespace Neomerx\Samples\JsonApi;

/**
* Copyright 2015-2019 info@neomerx.com
* Copyright 2015-2020 info@neomerx.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/Contracts/Encoder/EncoderInterface.php
Expand Up @@ -3,7 +3,7 @@
namespace Neomerx\JsonApi\Contracts\Encoder;

/**
* Copyright 2015-2019 info@neomerx.com
* Copyright 2015-2020 info@neomerx.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/Contracts/Factories/FactoryInterface.php
Expand Up @@ -3,7 +3,7 @@
namespace Neomerx\JsonApi\Contracts\Factories;

/**
* Copyright 2015-2019 info@neomerx.com
* Copyright 2015-2020 info@neomerx.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/Contracts/Http/Headers/AcceptMediaTypeInterface.php
Expand Up @@ -3,7 +3,7 @@
namespace Neomerx\JsonApi\Contracts\Http\Headers;

/**
* Copyright 2015-2019 info@neomerx.com
* Copyright 2015-2020 info@neomerx.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Expand Up @@ -3,7 +3,7 @@
namespace Neomerx\JsonApi\Contracts\Http\Headers;

/**
* Copyright 2015-2019 info@neomerx.com
* Copyright 2015-2020 info@neomerx.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/Contracts/Http/Headers/MediaTypeInterface.php
Expand Up @@ -3,7 +3,7 @@
namespace Neomerx\JsonApi\Contracts\Http\Headers;

/**
* Copyright 2015-2019 info@neomerx.com
* Copyright 2015-2020 info@neomerx.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/Contracts/Http/Query/BaseQueryParserInterface.php
Expand Up @@ -3,7 +3,7 @@
namespace Neomerx\JsonApi\Contracts\Http\Query;

/**
* Copyright 2015-2019 info@neomerx.com
* Copyright 2015-2020 info@neomerx.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/Contracts/Http/ResponsesInterface.php
Expand Up @@ -3,7 +3,7 @@
namespace Neomerx\JsonApi\Contracts\Http;

/**
* Copyright 2015-2019 info@neomerx.com
* Copyright 2015-2020 info@neomerx.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/Contracts/Parser/DocumentDataInterface.php
Expand Up @@ -3,7 +3,7 @@
namespace Neomerx\JsonApi\Contracts\Parser;

/**
* Copyright 2015-2019 info@neomerx.com
* Copyright 2015-2020 info@neomerx.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/Contracts/Parser/EditableContextInterface.php
Expand Up @@ -3,7 +3,7 @@
namespace Neomerx\JsonApi\Contracts\Parser;

/**
* Copyright 2015-2019 info@neomerx.com
* Copyright 2015-2020 info@neomerx.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/Contracts/Parser/IdentifierInterface.php
Expand Up @@ -3,7 +3,7 @@
namespace Neomerx\JsonApi\Contracts\Parser;

/**
* Copyright 2015-2019 info@neomerx.com
* Copyright 2015-2020 info@neomerx.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/Contracts/Parser/ParsedResultInterface.php
Expand Up @@ -3,7 +3,7 @@
namespace Neomerx\JsonApi\Contracts\Parser;

/**
* Copyright 2015-2019 info@neomerx.com
* Copyright 2015-2020 info@neomerx.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/Contracts/Parser/ParserInterface.php
Expand Up @@ -3,7 +3,7 @@
namespace Neomerx\JsonApi\Contracts\Parser;

/**
* Copyright 2015-2019 info@neomerx.com
* Copyright 2015-2020 info@neomerx.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/Contracts/Parser/RelationshipDataInterface.php
Expand Up @@ -3,7 +3,7 @@
namespace Neomerx\JsonApi\Contracts\Parser;

/**
* Copyright 2015-2019 info@neomerx.com
* Copyright 2015-2020 info@neomerx.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/Contracts/Parser/RelationshipInterface.php
Expand Up @@ -3,7 +3,7 @@
namespace Neomerx\JsonApi\Contracts\Parser;

/**
* Copyright 2015-2019 info@neomerx.com
* Copyright 2015-2020 info@neomerx.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/Contracts/Parser/ResourceInterface.php
Expand Up @@ -3,7 +3,7 @@
namespace Neomerx\JsonApi\Contracts\Parser;

/**
* Copyright 2015-2019 info@neomerx.com
* Copyright 2015-2020 info@neomerx.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/Contracts/Representation/BaseWriterInterface.php
Expand Up @@ -3,7 +3,7 @@
namespace Neomerx\JsonApi\Contracts\Representation;

/**
* Copyright 2015-2019 info@neomerx.com
* Copyright 2015-2020 info@neomerx.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/Contracts/Representation/DocumentWriterInterface.php
Expand Up @@ -3,7 +3,7 @@
namespace Neomerx\JsonApi\Contracts\Representation;

/**
* Copyright 2015-2019 info@neomerx.com
* Copyright 2015-2020 info@neomerx.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/Contracts/Representation/ErrorWriterInterface.php
Expand Up @@ -3,7 +3,7 @@
namespace Neomerx\JsonApi\Contracts\Representation;

/**
* Copyright 2015-2019 info@neomerx.com
* Copyright 2015-2020 info@neomerx.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/Contracts/Representation/FieldSetFilterInterface.php
Expand Up @@ -3,7 +3,7 @@
namespace Neomerx\JsonApi\Contracts\Representation;

/**
* Copyright 2015-2019 info@neomerx.com
* Copyright 2015-2020 info@neomerx.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/Contracts/Schema/BaseLinkInterface.php
Expand Up @@ -3,7 +3,7 @@
namespace Neomerx\JsonApi\Contracts\Schema;

/**
* Copyright 2015-2019 info@neomerx.com
* Copyright 2015-2020 info@neomerx.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/Contracts/Schema/ContextInterface.php
Expand Up @@ -3,7 +3,7 @@
namespace Neomerx\JsonApi\Contracts\Schema;

/**
* Copyright 2015-2019 info@neomerx.com
* Copyright 2015-2020 info@neomerx.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/Contracts/Schema/DocumentInterface.php
Expand Up @@ -3,7 +3,7 @@
namespace Neomerx\JsonApi\Contracts\Schema;

/**
* Copyright 2015-2019 info@neomerx.com
* Copyright 2015-2020 info@neomerx.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/Contracts/Schema/ErrorInterface.php
Expand Up @@ -3,7 +3,7 @@
namespace Neomerx\JsonApi\Contracts\Schema;

/**
* Copyright 2015-2019 info@neomerx.com
* Copyright 2015-2020 info@neomerx.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/Contracts/Schema/IdentifierInterface.php
Expand Up @@ -3,7 +3,7 @@
namespace Neomerx\JsonApi\Contracts\Schema;

/**
* Copyright 2015-2019 info@neomerx.com
* Copyright 2015-2020 info@neomerx.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/Contracts/Schema/LinkInterface.php
Expand Up @@ -3,7 +3,7 @@
namespace Neomerx\JsonApi\Contracts\Schema;

/**
* Copyright 2015-2019 info@neomerx.com
* Copyright 2015-2020 info@neomerx.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/Contracts/Schema/LinkWithAliasesInterface.php
Expand Up @@ -3,7 +3,7 @@
namespace Neomerx\JsonApi\Contracts\Schema;

/**
* Copyright 2015-2019 info@neomerx.com
* Copyright 2015-2020 info@neomerx.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/Contracts/Schema/PositionInterface.php
Expand Up @@ -3,7 +3,7 @@
namespace Neomerx\JsonApi\Contracts\Schema;

/**
* Copyright 2015-2019 info@neomerx.com
* Copyright 2015-2020 info@neomerx.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/Contracts/Schema/SchemaContainerInterface.php
Expand Up @@ -3,7 +3,7 @@
namespace Neomerx\JsonApi\Contracts\Schema;

/**
* Copyright 2015-2019 info@neomerx.com
* Copyright 2015-2020 info@neomerx.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/Contracts/Schema/SchemaInterface.php
Expand Up @@ -3,7 +3,7 @@
namespace Neomerx\JsonApi\Contracts\Schema;

/**
* Copyright 2015-2019 info@neomerx.com
* Copyright 2015-2020 info@neomerx.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/Encoder/Encoder.php
Expand Up @@ -3,7 +3,7 @@
namespace Neomerx\JsonApi\Encoder;

/**
* Copyright 2015-2019 info@neomerx.com
* Copyright 2015-2020 info@neomerx.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/Encoder/EncoderPropertiesTrait.php
Expand Up @@ -3,7 +3,7 @@
namespace Neomerx\JsonApi\Encoder;

/**
* Copyright 2015-2019 info@neomerx.com
* Copyright 2015-2020 info@neomerx.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/Exceptions/BaseJsonApiException.php
Expand Up @@ -3,7 +3,7 @@
namespace Neomerx\JsonApi\Exceptions;

/**
* Copyright 2015-2019 info@neomerx.com
* Copyright 2015-2020 info@neomerx.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down

0 comments on commit cb75a15

Please sign in to comment.