Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit c4c5803

Browse files
authoredMay 30, 2020
Changelog and fix two psalm issues (#153)
1 parent 410b679 commit c4c5803

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed
 

‎CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
66
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
77

8+
## [2.1.0] - 2020-06-01
9+
### Changed
10+
- Don't execute ob_flush() when output buffering is not enabled (#152)
11+
- Fix inconsistent return type on 32-bit systems (#149) Fix #144
12+
- Use mbstring polyfill (#151)
13+
- Promote 7zip usage over unzip to avoid UTF-8 issues (#147)
14+
815
## [2.0.0] - 2020-02-22
916
### Breaking change
1017
- Only the self opened streams will be closed (#139)

‎src/Option/Method.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,10 @@
1010
*
1111
* @method static STORE(): Method
1212
* @method static DEFLATE(): Method
13+
* @psalm-immutable
1314
*/
1415
class Method extends Enum
1516
{
1617
const STORE = 0x00;
1718
const DEFLATE = 0x08;
18-
}
19+
}

‎src/Option/Version.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,11 @@
1212
* @method static STORE(): Version
1313
* @method static DEFLATE(): Version
1414
* @method static ZIP64(): Version
15+
* @psalm-immutable
1516
*/
1617
class Version extends Enum
1718
{
1819
const STORE = 0x000A; // 1.00
1920
const DEFLATE = 0x0014; // 2.00
2021
const ZIP64 = 0x002D; // 4.50
21-
}
22+
}

0 commit comments

Comments
 (0)
Please sign in to comment.