Skip to content

Releases: yriveiro/php-fslock

3.0.0

01 Oct 14:16
ae12605
Compare
Choose a tag to compare

Bump minimal PHP version to 7.x.

Changed

  • Declare explicit return values in methods.

Added

  • Added new param to the constructor method to configure where locks are stored.

Removed

  • destroy method removed. After callingdestroy method, the instance is useless and it can not be initialized again.

2.0.0

31 Jan 23:49
Compare
Choose a tag to compare

Bump fslock to PSR4 dimension

Added

  • New method destroy, allows manually destruction of the lock. Internally release the lock and perform a cleanup operation. It's the same process used by the __destruct magic method.
  • FSLock now implements FSLockInterface.

Changed

  • Improve test suit.
  • Update PSR-0 autoload to PSR-4 format.
  • Update README.