Skip to content

Releases: josantonius/php-http-status-code

v2.0.4

29 Sep 16:53
e1b4bc7
Compare
Choose a tag to compare

What's Changed

  • pre-release/v2.0.4 by @josantonius in #3

  • Release/v2.0.4 by @josantonius in #4

  • The notation type in the test function names has been changed from camel to snake case for readability.

  • Functions were added to document the methods and avoid confusion.

  • Disabled the ´CamelCaseMethodName´ rule in ´phpmd.xml´ to avoid warnings about function names in tests.

  • The alignment of the asterisks in the comments has been fixed.

  • Tests for Windows have been added.

  • Tests for PHP 8.2 have been added.

Full Changelog: v2.0.3...v2.0.4

v2.0.3

11 Aug 13:31
Compare
Choose a tag to compare

What's Changed

  • Improved documentation.

Full Changelog: v2.0.2...v2.0.3

v2.0.2

04 Aug 20:52
Compare
Choose a tag to compare

What's Changed

  • Fix Packagist URL in README.md files

Full Changelog: v2.0.1...v2.0.2

v2.0.1

31 Jul 15:18
a2bfe0f
Compare
Choose a tag to compare

What's Changed

  • The links in the CHANGELOG.md file have been fixed.

  • Removed the warning about version 1.x in the README.md files.

  • The comment in the exception class was modified.

  • pre-release/v2.0.1 by @josantonius in #2

Full Changelog: v2.0.0...v2.0.1

v2.0.0

31 Jul 01:51
Compare
Choose a tag to compare

What's Changed

  • pre-release/v2.0.0 in #1

Version 1.x is considered as deprecated and unsupported. In this version (2.x) the library was completely restructured. It is recommended to review the documentation for this version and make the necessary changes before starting to use it, as it not be compatible with version 1.x.


  • The library was completely refactored.

  • Support for PHP version 8.0.

  • Support for earlier versions of PHP 8.0 is discontinued.

  • Replaced all static methods in Josantonius\HttpStatusCode\HttpStatusCode class.

  • 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.

Full Changelog: 1.1.6...v2.0.0

1.1.6

06 Jan 10:32
Compare
Choose a tag to compare

What's Changed

  • The tests were fixed.

  • Changes in documentation.

Full Changelog: 1.1.5...1.1.6

1.1.5

08 Nov 22:47
Compare
Choose a tag to compare

What's Changed

  • 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.

Full Changelog: 1.1.4...1.1.5

1.1.4

01 Nov 19:09
Compare
Choose a tag to compare

What's Changed

  • 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 HTTPStatusCode/phpcs.ruleset.xml file.

  • Deleted HTTPStatusCode/src/bootstrap.php file.

  • Deleted HTTPStatusCode/tests/bootstrap.php file.

  • Deleted HTTPStatusCode/tests/resources/http-status-code.jsond file.

  • Deleted HTTPStatusCode/vendor folder.

  • Changed Josantonius\HTTPStatusCode\Test\HTTPStatusCodeTest class to Josantonius\HTTPStatusCode\HTTPStatusCodeTest class.

  • Added Josantonius\HTTPStatusCode\HTTPStatusCodeCollection class.

  • Added Josantonius\HTTPStatusCode\HTTPStatusCodeCollection::all() method.

  • Added Josantonius\HTTPStatusCode\HTTPStatusCodeCollection::get() method.

  • Deleted Josantonius\HTTPStatusCode\HTTPStatusCode::load() method.

Full Changelog: 1.1.3...1.1.4

1.1.3

13 Sep 21:39
Compare
Choose a tag to compare

What's Changed

  • Unit tests supported by PHPUnit were added.

  • The repository was synchronized with Travis CI to implement continuous integration.

  • Added HTTPStatusCode/src/bootstrap.php file

  • Added HTTPStatusCode/tests/bootstrap.php file.

  • Added HTTPStatusCode/phpunit.xml.dist file.

  • Added HTTPStatusCode/_config.yml file.

  • Added HTTPStatusCode/.travis.yml file.

  • Deleted Josantonius\HTTPStatusCode\Tests\HTTPStatusCodeTest class.

  • Deleted Josantonius\HTTPStatusCode\Tests\HTTPStatusCodeTest::testLoad() method.

  • Deleted Josantonius\HTTPStatusCode\Tests\HTTPStatusCodeTest::testLoadES() method.

  • Deleted Josantonius\HTTPStatusCode\Tests\HTTPStatusCodeTest::testGetEN() method.

  • Deleted Josantonius\HTTPStatusCode\Tests\HTTPStatusCodeTest::testGetES() method.

  • Deleted Josantonius\HTTPStatusCode\Tests\HTTPStatusCodeTest::testGetLargeEN() method.

  • Deleted Josantonius\HTTPStatusCode\Tests\HTTPStatusCodeTest::testGetLargeES() method.

  • Deleted Josantonius\HTTPStatusCode\Tests\HTTPStatusCodeTest::testGetShortEN() method.

  • Deleted Josantonius\HTTPStatusCode\Tests\HTTPStatusCodeTest::testGetShortES() method.

  • Deleted Josantonius\HTTPStatusCode\Tests\HTTPStatusCodeTest::testGetUndefinedEN() method.

  • Deleted Josantonius\HTTPStatusCode\Tests\HTTPStatusCodeTest::testGetUndefinedES() method.

  • Deleted Josantonius\HTTPStatusCode\Tests\HTTPStatusCodeTest::testGetAllEN() method.

  • Deleted Josantonius\HTTPStatusCode\Tests\HTTPStatusCodeTest::testGetAllES() method.

  • Added Josantonius\HTTPStatusCode\Test\HTTPStatusCodeTest::test() method.

Full Changelog: 1.1.2...1.1.3

1.1.2

16 Jul 01:49
Compare
Choose a tag to compare

What's Changed

  • Deleted Josantonius\HTTPStatusCode\Exception\HTTPStatusCodeException class.
  • Deleted Josantonius\HTTPStatusCode\Exception\Exceptions abstract class.
  • Deleted Josantonius\HTTPStatusCode\Exception\HTTPStatusCodeException->__construct() method.

Full Changelog: 1.1.1...1.1.2