Releases: josantonius/php-json
1.1.9
- Fix sending code coverage report to Codecov.io.
1.1.8
-
Added support for
PHP 7.3and7.4. -
Improved documentation;
README.md,CODE_OF_CONDUCT.md,CONTRIBUTING.mdandCHANGELOG.md. -
Removed
Codacy. -
Removed
PHP Coding Standards Fixer. -
The
masterbranch was renamed tomain. -
The
developbranch was added to use a workflow based onGit Flow. -
Travisis discontinued for continuous integration.GitHub Actionswill be used from now on. -
Added
.github/CODE_OF_CONDUCT.mdfile. -
Added
.github/CONTRIBUTING.mdfile. -
Added
.github/FUNDING.ymlfile. -
Added
.github/workflows/ci.ymlfile. -
Added
.github/lang/es-ES/CODE_OF_CONDUCT.mdfile. -
Added
.github/lang/es-ES/CONTRIBUTING.mdfile. -
Added
.github/lang/es-ES/LICENSEfile. -
Added
.github/lang/es-ES/READMEfile. -
Deleted
.travis.ymlfile. -
Deleted
.editorconfigfile. -
Deleted
CONDUCT.MDfile. -
Deleted
README-ES.MDfile. -
Deleted
.php_cs.distfile.
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
JsonLastErrorclass.
1.1.6
-
Implemented
PHP Mess Detectorto detect inconsistencies in code styles. -
Implemented
PHP Code Beautifier and Fixerto fixing errors automatically. -
Implemented
PHP Coding Standards Fixerto organize PHP code automatically according to PSR standards.
1.1.5
-
Implemented
PSR-4 autoloader standardfrom all library files. -
Implemented
PSR-2 coding standardfrom all library PHP files. -
Implemented
PHPCSto ensure that PHP code complies withPSR2code standards. -
Implemented
Codacyto automates code reviews and monitors code quality over time. -
Implemented
Codecovto coverage reports. -
Added
phpcs.ruleset.xmlfile. -
Deleted
src/bootstrap.phpfile. -
Deleted
tests/bootstrap.phpfile. -
Deleted
vendorfolder. -
Changed
Josantonius\Json\Test\JsonTestclass toJosantonius\Json\JsonTestclass.
1.1.4
-
Unit tests supported by
PHPUnitwere added. -
The repository was synchronized with Travis CI to implement continuous integration.
-
Added
src/bootstrap.phpfile -
Added
tests/bootstrap.phpfile. -
Added
phpunit.xml.distfile. -
Added
_config.ymlfile. -
Added
.travis.ymlfile. -
Deleted
Josantonius\Json\Tests\JsonTestclass. -
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\JsonTestclass. -
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_PRINTwas 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.