Skip to content

Commit

Permalink
v1.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
elb98rm committed Feb 20, 2023
1 parent c602984 commit fcb66d4
Show file tree
Hide file tree
Showing 36 changed files with 95 additions and 92 deletions.
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# @author Rick Morice <rick@floor9design.com>
# @copyright Floor9design Ltd
# @license MIT
# @version 1.0
# @version 1.3.0
# @link https://github.com/floor9design-ltd/json-api-formatter
# @link https://floor9design.com
# @since File available since pre-release development cycle
Expand Down
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# @author Rick Morice <rick@floor9design.com>
# @copyright Floor9design Ltd
# @license MIT
# @version 1.0
# @version 1.3.0
# @link https://github.com/floor9design-ltd/json-api-formatter
# @link https://floor9design.com
# @since File available since pre-release development cycle
Expand All @@ -21,4 +21,4 @@ vendor
# Testing
docs/tests/*
docs/phpdoc/*
/.phpunit.result.cache
/.phpunit.cache
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# @author Rick Morice <rick@floor9design.com>
# @copyright Floor9design Ltd
# @license MIT
# @version 1.0
# @version 1.3.0
# @link https://github.com/floor9design-ltd/json-api-formatter
# @link https://floor9design.com
# @since File available since pre-release development cycle
Expand Down
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## 1.0 - 1.3.0

* Support for PhpUnit 10
* Ongoing tweaks/improvements to functionality
* Fixing missing edge case requirements (advanced nested elements etc)
* Fixing some edge case json-api validation problems

## 1.0.0

* Initial release following 6 months production beta testing
Expand Down
2 changes: 1 addition & 1 deletion phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# @author Rick Morice <rick@floor9design.com>
# @copyright Floor9design Ltd
# @license MIT
# @version 1.0
# @version 1.3.0
# @link https://github.com/floor9design-ltd/json-api-formatter
# @link https://floor9design.com
# @since File available since pre-release development cycle
Expand Down
50 changes: 23 additions & 27 deletions phpunit.xml
Original file line number Diff line number Diff line change
@@ -1,29 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
bootstrap="vendor/autoload.php"
colors="true"
>
<coverage processUncoveredFiles="true">
<include>
<directory suffix=".php">./src</directory>
</include>
<report>
<clover outputFile="docs/tests/clover.xml"/>
<html outputDirectory="docs/tests/"/>
</report>
</coverage>
<testsuites>
<testsuite name="Unit">
<directory>./tests/Unit</directory>
</testsuite>
</testsuites>
<php>
<server name="APP_ENV" value="testing"/>
<server name="BCRYPT_ROUNDS" value="4"/>
<server name="CACHE_DRIVER" value="array"/>
<server name="MAIL_DRIVER" value="array"/>
<server name="QUEUE_CONNECTION" value="sync"/>
<server name="SESSION_DRIVER" value="array"/>
</php>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.0/phpunit.xsd" bootstrap="vendor/autoload.php" colors="true" cacheDirectory=".phpunit.cache">
<coverage>
<include>
<directory suffix=".php">./src</directory>
</include>
<report>
<clover outputFile="docs/tests/clover.xml"/>
<html outputDirectory="docs/tests/"/>
</report>
</coverage>
<testsuites>
<testsuite name="Unit">
<directory>./tests/Unit</directory>
</testsuite>
</testsuites>
<php>
<server name="APP_ENV" value="testing"/>
<server name="BCRYPT_ROUNDS" value="4"/>
<server name="CACHE_DRIVER" value="array"/>
<server name="MAIL_DRIVER" value="array"/>
<server name="QUEUE_CONNECTION" value="sync"/>
<server name="SESSION_DRIVER" value="array"/>
</php>
</phpunit>
4 changes: 2 additions & 2 deletions src/Exceptions/JsonApiFormatterException.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* @author Rick Morice <rick@floor9design.com>
* @copyright Floor9design Ltd
* @license MIT
* @version 1.1.1
* @version 1.3.0
* @link https://www.floor9design.com
* @since File available since pre-release development cycle
*
Expand All @@ -29,7 +29,7 @@
* @author Rick Morice <rick@floor9design.com>
* @copyright Floor9design Ltd
* @license MIT
* @version 1.1.1
* @version 1.3.0
* @link https://www.floor9design.com
* @since File available since pre-release development cycle
* @see https://jsonapi.org/format/
Expand Down
4 changes: 2 additions & 2 deletions src/Models/DataResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* @author Rick Morice <rick@floor9design.com>
* @copyright Floor9design Ltd
* @license MIT
* @version 1.1.1
* @version 1.3.0
* @link https://www.floor9design.com
* @since File available since pre-release development cycle
*
Expand All @@ -30,7 +30,7 @@
* @author Rick Morice <rick@floor9design.com>
* @copyright Floor9design Ltd
* @license MIT
* @version 1.1.1
* @version 1.3.0
* @link https://www.floor9design.com
* @link https://jsonapi.org/
* @link https://jsonapi-validator.herokuapp.com/
Expand Down
4 changes: 2 additions & 2 deletions src/Models/DataResourceMeta.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* @author Rick Morice <rick@floor9design.com>
* @copyright Floor9design Ltd
* @license MIT
* @version 1.1.1
* @version 1.3.0
* @link https://www.floor9design.com
* @since File available since pre-release development cycle
*
Expand All @@ -32,7 +32,7 @@
* @author Rick Morice <rick@floor9design.com>
* @copyright Floor9design Ltd
* @license MIT
* @version 1.1.1
* @version 1.3.0
* @link https://www.floor9design.com
* @link https://jsonapi.org/
* @link https://jsonapi-validator.herokuapp.com/
Expand Down
4 changes: 2 additions & 2 deletions src/Models/Error.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* @author Rick Morice <rick@floor9design.com>
* @copyright Floor9design Ltd
* @license MIT
* @version 1.1.1
* @version 1.3.0
* @link https://www.floor9design.com
* @since File available since pre-release development cycle
*
Expand All @@ -32,7 +32,7 @@
* @author Rick Morice <rick@floor9design.com>
* @copyright Floor9design Ltd
* @license MIT
* @version 1.1.1
* @version 1.3.0
* @link https://www.floor9design.com
* @link https://jsonapi.org/
* @link https://jsonapi-validator.herokuapp.com/
Expand Down
4 changes: 2 additions & 2 deletions src/Models/Included.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* @author Rick Morice <rick@floor9design.com>
* @copyright Floor9design Ltd
* @license MIT
* @version 1.1.1
* @version 1.3.0
* @link https://www.floor9design.com
* @since File available since pre-release development cycle
*
Expand All @@ -32,7 +32,7 @@
* @author Rick Morice <rick@floor9design.com>
* @copyright Floor9design Ltd
* @license MIT
* @version 1.1.1
* @version 1.3.0
* @link https://www.floor9design.com
* @link https://jsonapi.org/
* @link https://jsonapi-validator.herokuapp.com/
Expand Down
4 changes: 2 additions & 2 deletions src/Models/JsonApiFormatter.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* @author Rick Morice <rick@floor9design.com>
* @copyright Floor9design Ltd
* @license MIT
* @version 1.1.1
* @version 1.3.0
* @link https://www.floor9design.com
* @since File available since pre-release development cycle
*
Expand All @@ -33,7 +33,7 @@
* @author Rick Morice <rick@floor9design.com>
* @copyright Floor9design Ltd
* @license MIT
* @version 1.1.1
* @version 1.3.0
* @link https://www.floor9design.com
* @link https://jsonapi.org/
* @link https://jsonapi-validator.herokuapp.com/
Expand Down
4 changes: 2 additions & 2 deletions src/Models/Link.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* @author Rick Morice <rick@floor9design.com>
* @copyright Floor9design Ltd
* @license MIT
* @version 1.1.1
* @version 1.3.0
* @link https://www.floor9design.com
* @since File available since pre-release development cycle
*
Expand All @@ -33,7 +33,7 @@
* @author Rick Morice <rick@floor9design.com>
* @copyright Floor9design Ltd
* @license MIT
* @version 1.1.1
* @version 1.3.0
* @link https://www.floor9design.com
* @link https://jsonapi.org/
* @link https://jsonapi-validator.herokuapp.com/
Expand Down
4 changes: 2 additions & 2 deletions src/Models/Links.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* @author Rick Morice <rick@floor9design.com>
* @copyright Floor9design Ltd
* @license MIT
* @version 1.1.1
* @version 1.3.0
* @link https://www.floor9design.com
* @since File available since pre-release development cycle
*
Expand All @@ -35,7 +35,7 @@
* @author Rick Morice <rick@floor9design.com>
* @copyright Floor9design Ltd
* @license MIT
* @version 1.1.1
* @version 1.3.0
* @link https://www.floor9design.com
* @link https://jsonapi.org/
* @link https://jsonapi-validator.herokuapp.com/
Expand Down
4 changes: 2 additions & 2 deletions src/Models/Meta.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* @author Rick Morice <rick@floor9design.com>
* @copyright Floor9design Ltd
* @license MIT
* @version 1.1.1
* @version 1.3.0
* @link https://www.floor9design.com
* @since File available since pre-release development cycle
*
Expand All @@ -30,7 +30,7 @@
* @author Rick Morice <rick@floor9design.com>
* @copyright Floor9design Ltd
* @license MIT
* @version 1.1.1
* @version 1.3.0
* @link https://www.floor9design.com
* @link https://jsonapi.org/
* @link https://jsonapi-validator.herokuapp.com/
Expand Down
4 changes: 2 additions & 2 deletions src/Models/Relationship.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* @author Rick Morice <rick@floor9design.com>
* @copyright Floor9design Ltd
* @license MIT
* @version 1.1.1
* @version 1.3.0
* @link https://www.floor9design.com
* @since File available since pre-release development cycle
*
Expand All @@ -32,7 +32,7 @@
* @author Rick Morice <rick@floor9design.com>
* @copyright Floor9design Ltd
* @license MIT
* @version 1.1.1
* @version 1.3.0
* @link https://www.floor9design.com
* @link https://jsonapi.org/
* @link https://jsonapi-validator.herokuapp.com/
Expand Down
4 changes: 2 additions & 2 deletions src/Models/RelationshipData.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* @author Rick Morice <rick@floor9design.com>
* @copyright Floor9design Ltd
* @license MIT
* @version 1.1.1
* @version 1.3.0
* @link https://www.floor9design.com
* @since File available since pre-release development cycle
*
Expand All @@ -32,7 +32,7 @@
* @author Rick Morice <rick@floor9design.com>
* @copyright Floor9design Ltd
* @license MIT
* @version 1.1.1
* @version 1.3.0
* @link https://www.floor9design.com
* @link https://jsonapi.org/
* @link https://jsonapi-validator.herokuapp.com/
Expand Down
4 changes: 2 additions & 2 deletions src/Models/RelationshipLinks.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* @author Rick Morice <rick@floor9design.com>
* @copyright Floor9design Ltd
* @license MIT
* @version 1.1.1
* @version 1.3.0
* @link https://www.floor9design.com
* @since File available since pre-release development cycle
*
Expand All @@ -35,7 +35,7 @@
* @author Rick Morice <rick@floor9design.com>
* @copyright Floor9design Ltd
* @license MIT
* @version 1.1.1
* @version 1.3.0
* @link https://www.floor9design.com
* @link https://jsonapi.org/
* @link https://jsonapi-validator.herokuapp.com/
Expand Down
4 changes: 2 additions & 2 deletions src/Models/RelationshipMeta.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* @author Rick Morice <rick@floor9design.com>
* @copyright Floor9design Ltd
* @license MIT
* @version 1.1.1
* @version 1.3.0
* @link https://www.floor9design.com
* @since File available since pre-release development cycle
*
Expand All @@ -32,7 +32,7 @@
* @author Rick Morice <rick@floor9design.com>
* @copyright Floor9design Ltd
* @license MIT
* @version 1.1.1
* @version 1.3.0
* @link https://www.floor9design.com
* @link https://jsonapi.org/
* @link https://jsonapi-validator.herokuapp.com/
Expand Down
4 changes: 2 additions & 2 deletions src/Models/Relationships.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* @author Rick Morice <rick@floor9design.com>
* @copyright Floor9design Ltd
* @license MIT
* @version 1.1.1
* @version 1.3.0
* @link https://www.floor9design.com
* @since File available since pre-release development cycle
*
Expand All @@ -34,7 +34,7 @@
* @author Rick Morice <rick@floor9design.com>
* @copyright Floor9design Ltd
* @license MIT
* @version 1.1.1
* @version 1.3.0
* @link https://www.floor9design.com
* @link https://jsonapi.org/
* @link https://jsonapi-validator.herokuapp.com/
Expand Down
4 changes: 2 additions & 2 deletions src/Models/Source.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* @author Rick Morice <rick@floor9design.com>
* @copyright Floor9design Ltd
* @license MIT
* @version 1.1.1
* @version 1.3.0
* @link https://www.floor9design.com
* @since File available since pre-release development cycle
*
Expand All @@ -33,7 +33,7 @@
* @author Rick Morice <rick@floor9design.com>
* @copyright Floor9design Ltd
* @license MIT
* @version 1.1.1
* @version 1.3.0
* @link https://www.floor9design.com
* @link https://jsonapi.org/
* @link https://jsonapi-validator.herokuapp.com/
Expand Down
4 changes: 2 additions & 2 deletions tests/Unit/DataResourceMetaTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* @author Rick Morice <rick@floor9design.com>
* @copyright Floor9design Ltd
* @license MIT
* @version 1.0
* @version 1.3.0
* @link https://github.com/floor9design-ltd/json-api-formatter
* @link https://floor9design.com
* @since File available since Release 1.0
Expand All @@ -33,7 +33,7 @@
* @author Rick Morice <rick@floor9design.com>
* @copyright Floor9design Ltd
* @license MIT
* @version 1.0
* @version 1.3.0
* @link https://github.com/floor9design-ltd/json-api-formatter
* @link https://floor9design.com
* @since File available since Release 1.0
Expand Down

0 comments on commit fcb66d4

Please sign in to comment.