Releases: josantonius/php-json
1.1.9
- Fix sending code coverage report to Codecov.io.
1.1.8
-
Added support for
PHP 7.3
and7.4
. -
Improved documentation;
README.md
,CODE_OF_CONDUCT.md
,CONTRIBUTING.md
andCHANGELOG.md
. -
Removed
Codacy
. -
Removed
PHP Coding Standards Fixer
. -
The
master
branch was renamed tomain
. -
The
develop
branch was added to use a workflow based onGit Flow
. -
Travis
is discontinued for continuous integration.GitHub Actions
will be used from now on. -
Added
.github/CODE_OF_CONDUCT.md
file. -
Added
.github/CONTRIBUTING.md
file. -
Added
.github/FUNDING.yml
file. -
Added
.github/workflows/ci.yml
file. -
Added
.github/lang/es-ES/CODE_OF_CONDUCT.md
file. -
Added
.github/lang/es-ES/CONTRIBUTING.md
file. -
Added
.github/lang/es-ES/LICENSE
file. -
Added
.github/lang/es-ES/README
file. -
Deleted
.travis.yml
file. -
Deleted
.editorconfig
file. -
Deleted
CONDUCT.MD
file. -
Deleted
README-ES.MD
file. -
Deleted
.php_cs.dist
file.
1.1.7
-
The tests were fixed.
-
Changes in documentation.
-
JSON last error handling was implemented in a new class and replace collections with switch case:
JsonLastError
. -
Tests were implemented for
JsonLastError
class.
1.1.6
-
Implemented
PHP Mess Detector
to detect inconsistencies in code styles. -
Implemented
PHP Code Beautifier and Fixer
to fixing errors automatically. -
Implemented
PHP Coding Standards Fixer
to organize PHP code automatically according to PSR standards.
1.1.5
-
Implemented
PSR-4 autoloader standard
from all library files. -
Implemented
PSR-2 coding standard
from all library PHP files. -
Implemented
PHPCS
to ensure that PHP code complies withPSR2
code standards. -
Implemented
Codacy
to automates code reviews and monitors code quality over time. -
Implemented
Codecov
to coverage reports. -
Added
phpcs.ruleset.xml
file. -
Deleted
src/bootstrap.php
file. -
Deleted
tests/bootstrap.php
file. -
Deleted
vendor
folder. -
Changed
Josantonius\Json\Test\JsonTest
class toJosantonius\Json\JsonTest
class.
1.1.4
-
Unit tests supported by
PHPUnit
were added. -
The repository was synchronized with Travis CI to implement continuous integration.
-
Added
src/bootstrap.php
file -
Added
tests/bootstrap.php
file. -
Added
phpunit.xml.dist
file. -
Added
_config.yml
file. -
Added
.travis.yml
file. -
Deleted
Josantonius\Json\Tests\JsonTest
class. -
Deleted
Josantonius\Json\Tests\JsonTest::testArrayToFile()
method. -
Deleted
Josantonius\Json\Tests\JsonTest::testArrayToFileError()
method. -
Deleted
Josantonius\Json\Tests\JsonTest::testFileToArray()
method. -
Deleted
Josantonius\Json\Tests\JsonTest::testFileToArrayError()
method. -
Added
Josantonius\Json\Test\JsonTest
class. -
Added
Josantonius\Json\Test\JsonTest::testArrayToFile()
method. -
Added
Josantonius\Json\Test\JsonTest::testArrayToFileCreateFileException()
method. -
Added
Josantonius\Json\Test\JsonTest::testFileToArray()
method. -
Added
Josantonius\Json\Test\JsonTest::testFileToArrayCreateFileException()
method. -
Added
Josantonius\Json\Test\JsonTest::testExternalFileToArray()
method. -
Added
Josantonius\Json\Test\JsonTest::testExternalFileNonExistentToArray()
method.
1.1.3
-
Added
Josantonius\Json\Json::_jsonLastError()
method. -
Added
Josantonius\Json\Json::_createDirectory()
method. -
Added
Josantonius\Json\Json::_saveFile()
method. -
Removed
Josantonius\Json\Json::jsonLastError()
method. -
Now in the
fileToArray()
method files can be obtained from external urls. -
Now checking json last error returns an array with the error instead of an exception.
-
New errors available from PHP 7.0 to check for errors from
json_last_error()
were added.
1.1.2
-
The file exception not found in the
fileToArray()
method was deleted. Now if it does not exist the file will create it with an empty array. -
JSON_PRETTY_PRINT
was added at time to create the json file.
1.1.1
- Some files were excluded from download and comments and readme files were updated.
1.1.0
- Compatible with PHP 5.6 or higher.