Skip to content

v0.7.0 - PHP: Nelson Martell Library

Compare
Choose a tag to compare
@nelson6e65 nelson6e65 released this 04 Dec 04:13
· 360 commits to master since this release
v0.7.0
2f5b0c8

⭐ Important changes

This release is mainly intended to provide PHP 7 compatibility:

  • 🔥 Rename class NelsonMartell\Extensions\String to NelsonMartell\Extensions\Text, but still available in PHP 5.6 as alias.
  • 🔥 Rename class NelsonMartell\Object to NelsonMartell\StrictObject, but still available in PHP < 7.2 as alias.
  • 🔥 Drop support for PHP < 5.6.
  • 🔥 Remove deprecated code in v0.6.
  • 🔥 Remove global functions. Are only available under NelsonMartell namespace now.
  • 🐛 Correct minor issues.

📓 Development changes

There are some improvements for development:

  • ⬆️ Use PHPUnit 5.7 and update tests.
  • ⬆️ Use PHP Code Sniffer 3.0.
  • ⬆️ Prepare code to use ApiGen 5.0 (removed as dependency).
  • 🆙 Update some internal scripts and other moved to the composer.json.
  • 🆕 Add utility scripts to the composer.json (check the CONTRIBUTING file for more details):
    • composer test-code
    • composer analize-code
    • composer autofix-code
    • composer check-all
    • composer build:
      • composer build-code-coverage:
        • composer build-code-coverage-clover
        • composer build-code-coverage-xml
        • composer build-code-coverage-html
      • composer build-api
  • 🆕 Add CONTRIBUTING file.

NOTE: API Documentation not updated to this release due to conflict in API generation tool.

More changes

See changes since v0.6.1 for more detailed info.