From b419a3b8b5bdfc47c1161b0d03653355a2f72103 Mon Sep 17 00:00:00 2001 From: Dennis Meckel Date: Sun, 24 Jul 2016 21:01:21 +0200 Subject: [PATCH] Removed `autoload.php` in favor of using a PSR-4 compatible class loader --- CHANGELOG.md | 10 +++++++++- README.md | 10 ---------- src/autoload.php | 16 ---------------- tests/AutoloadTest.php | 26 -------------------------- 4 files changed, 9 insertions(+), 53 deletions(-) delete mode 100644 src/autoload.php delete mode 100644 tests/AutoloadTest.php diff --git a/CHANGELOG.md b/CHANGELOG.md index c41a4a3..3c9da6b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,13 @@ All notable changes to this project will be documented in this file. This project *surprisingly* adheres to [Semantic Versioning](http://semver.org). +## [Unreleased] + +### Removed + +* `autoload.php` in favor of using a [`PSR-4`](http://php-fig.org/psr/psr-4) compatible class loader +* Section about manual setup in `README.md` + ## [1.0.0-rc.3] - 2016-07-22 ### Added @@ -16,11 +23,12 @@ This project *surprisingly* adheres to [Semantic Versioning](http://semver.org). * `SemanticComparator` implements `SemanticComparatorInterface` * `SemanticVersion` implements `SemanticVersionInterface` * Updated to `PHPUnit ~5.0` -* Switched to `PSR2` +* Switched to [`PSR-2`](http://php-fig.org/psr/psr-2) ### Removed * Dropped official support for `PHP < 5.6` * Renamed `NoSemanticVersionException` to `InvalidVersionException` +[Unreleased]: https://github.com/Rayne/semantic-versioning.php/compare/1.0.0-rc.3...HEAD [1.0.0-rc.3]: https://github.com/Rayne/semantic-versioning.php/compare/1.0.0-rc.2...1.0.0-rc.3 \ No newline at end of file diff --git a/README.md b/README.md index d998321..330c750 100644 --- a/README.md +++ b/README.md @@ -24,10 +24,6 @@ A tiny independent library for parsing and comparing semantic versions which is # Setup -It's recommended to install and update the library with Composer. - -## Composer - [Download Composer](https://getcomposer.org/download) and install `rayne/semantic-versioning`. composer require rayne/semantic-versioning ~1.0 @@ -36,12 +32,6 @@ Set the `@dev` stability flag to install the latest development version. composer require rayne/semantic-versioning @dev -## Download - -Download and extract the library. Then include `src/autoload.php`. - - require 'src/autoload.php'; - # Tests 1. Clone the repository diff --git a/src/autoload.php b/src/autoload.php deleted file mode 100644 index 4163ee7..0000000 --- a/src/autoload.php +++ /dev/null @@ -1,16 +0,0 @@ -