Skip to content

Releases: josantonius/php-json

1.1.9

11 Jun 22:00
7d86445
Compare
Choose a tag to compare
  • Fix sending code coverage report to Codecov.io.

1.1.8

11 Jun 13:50
Compare
Choose a tag to compare
  • Added support for PHP 7.3 and 7.4.

  • Improved documentation; README.md, CODE_OF_CONDUCT.md, CONTRIBUTING.md and CHANGELOG.md.

  • Removed Codacy.

  • Removed PHP Coding Standards Fixer.

  • The master branch was renamed to main.

  • The develop branch was added to use a workflow based on Git 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

04 Jan 12:56
Compare
Choose a tag to compare
  • 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

08 Nov 23:01
Compare
Choose a tag to compare
  • 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

01 Nov 20:58
Compare
Choose a tag to compare
  • 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 with PSR2 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 to Josantonius\Json\JsonTest class.

1.1.4

14 Sep 01:14
Compare
Choose a tag to compare
  • 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

20 Aug 05:13
Compare
Choose a tag to compare
  • 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

31 May 06:45
Compare
Choose a tag to compare
  • 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

18 Mar 04:14
Compare
Choose a tag to compare
  • Some files were excluded from download and comments and readme files were updated.

1.1.0

13 Mar 03:58
Compare
Choose a tag to compare
  • Compatible with PHP 5.6 or higher.