diff --git a/README.md b/README.md index 06c6325..ccf06e1 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/composer.json b/composer.json index 812a9ef..29e1450 100644 --- a/composer.json +++ b/composer.json @@ -32,5 +32,13 @@ "psr-4": { "fab2s\\Tests\\": "tests/" } + }, + "scripts": { + "post-update-cmd": [ + "rm -f .*.cache" + ], + "post-install-cmd": [ + "rm -f .*.cache" + ] } } diff --git a/tests/FileLockTest.php b/tests/FileLockTest.php index 75acc62..7b00c38 100644 --- a/tests/FileLockTest.php +++ b/tests/FileLockTest.php @@ -67,7 +67,7 @@ public function testLock(string $lockMethod, string $lockCall) /** * @return array */ - public function lockMethodCases() + public function lockMethodCases(): array { return [ [