Skip to content

Commit

Permalink
add note about php < 7.1
Browse files Browse the repository at this point in the history
  • Loading branch information
fab2s committed Sep 20, 2019
1 parent 11e399d commit d7861c8
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ composer require "fab2s/filelock"

`FileLock` is also included in [OpinHelper](https://github.com/fab2s/OpinHelpers) which packages several bellow "Swiss Army Knife" level Helpers covering some of the most annoying aspects of php programing, such as UTF8 string manipulation, high precision Mathematics or properly locking a file

Should you need to work with php bellow 7.1, you can still use [OpinHelper](https://github.com/fab2s/OpinHelpers) `0.x`

## Prerequisites

`FileLock` has no specific dependencies
Expand Down
8 changes: 8 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,13 @@
"psr-4": {
"fab2s\\Tests\\": "tests/"
}
},
"scripts": {
"post-update-cmd": [
"rm -f .*.cache"
],
"post-install-cmd": [
"rm -f .*.cache"
]
}
}
2 changes: 1 addition & 1 deletion tests/FileLockTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public function testLock(string $lockMethod, string $lockCall)
/**
* @return array
*/
public function lockMethodCases()
public function lockMethodCases(): array
{
return [
[
Expand Down

0 comments on commit d7861c8

Please sign in to comment.