Skip to content

Commit

Permalink
Removed php5.5 requirement
Browse files Browse the repository at this point in the history
  • Loading branch information
calcinai committed Jul 1, 2016
1 parent ee92ef1 commit 3fbafdd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
}
],
"require": {
"php": ">=5.4.0"
},
"autoload": {
"psr-4": {
Expand Down
3 changes: 2 additions & 1 deletion lib/registration.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
*/

//Kindof a backward way go get it as a resource.
stream_register_wrapper('mmap', \Calcinai\MMap\StreamWrapper::class);
stream_register_wrapper('mmap', '\\Calcinai\\MMap\\StreamWrapper');
//stream_register_wrapper('mmap', \Calcinai\MMap\StreamWrapper::class); //Only thing here that requires php5.5

function mmap_open($file_name, $block_size, $offset = 0){
//TODO - finish these
Expand Down

0 comments on commit 3fbafdd

Please sign in to comment.