All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Fix issue for Location with absolute path outside the locator main path.
- Fix path issue on Windows
- Added new
Normalizer::normalize
static class to help with path normalization. All paths are now transmormed to/
to make comparison easier when OS pass path contains\
orC:\
. - Reworked
Resource
class :- Added
setPath
,setLocation
&setStream
methods - Removed
getSeparator
&setSeparator
- Added
- Removed
setLocatorBasePath
,getSeparator
andsetSeparator
fromResourceInterface
- Removed
normalize
fromResourceLocator
. Replaced byNormalizer::normalize
- Added type hint across code
- Replaced Travis with GitHub Action for build
- Upgrade deprecation in tests
- Provides better exception message when scheme doesn't exist
- Fix issue where extra
/
would be present in the calculated path for stream with empty ('') path (#16). - Update PHP7 type hinting & DocBloc
- Fix RocketTheme integration
- Version bump
- Added PHP 7.4 test to Travis
- Added
stream_set_option
to support PHP 7.4
- Added
ResourceLocator::registerSharedStream
method
- Added
__tostring
to ResourceInterface - Added
__invoke
to ResourceLocatorInterface ResourceLocationInterface::setPath
don't accept anull
value anymore (produced an error anyway)- Added proper PHP7 type hints
- Misc code quality and docblock fix
- Dropping support for PHP 5.6 & 7.0
- Updated rockettheme/toolbox to 1.4.x
- Updated Laravel Illuminate packages to 5.8
- Updated PHPUnit to 7.5
- Added
sort
param tolistResources
method #4
- Normalize base path to fix Windows paths separator issue
- Added AppVeyor config for Windows based CI
- Added
ResourceInterface
,ResourceLocationInterface
,ResourceLocatorInterface
&ResourceStreamInterface
- Initial Release