Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Commit 8c9f355

Browse files
committed
Adds CHANGELOG entry for #140
1 parent e428e46 commit 8c9f355

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

CHANGELOG.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ All notable changes to this project will be documented in this file, in reverse
88

99
- Nothing.
1010

11+
### Changed
12+
13+
- Nothing.
14+
1115
### Deprecated
1216

1317
- Nothing.
@@ -18,7 +22,14 @@ All notable changes to this project will be documented in this file, in reverse
1822

1923
### Fixed
2024

21-
- Nothing.
25+
- [#140](https://github.com/zendframework/zend-code/pull/140) fixes `MethodScanner::setVisibility()` such that it no longer
26+
casts the provided visibility token to lower case; this fix is necessary, as
27+
the method is supposed to expect only the appropriate
28+
`T_(PUBLIC|PROTECTED|PRIVATE)` token values, which are integers.
29+
30+
- [#140](https://github.com/zendframework/zend-code/pull/140) updates the `MethodScanner::setVisibility()` method to raise
31+
a package-specific `InvalidArgumentException` instead of the non-existent
32+
package `Exception` class when an invalid visibility is provided.
2233

2334
## 3.3.0 - 2017-10-20
2435

@@ -257,6 +268,9 @@ All notable changes to this project will be documented in this file, in reverse
257268

258269
### Changed
259270

271+
- [#140](https://github.com/zendframework/zend-code/pull/140) updates the `MethodScanner::setVisibility()` method to raise a package-specific `InvalidArgumentException` instead of
272+
the non-existent package `Exception` class when an invalid visibility is provided.
273+
260274
This section refers to breaking changes: please refer to
261275
[doc/book/migration.md](doc/book/migration.md) for migration instructions.
262276

0 commit comments

Comments
 (0)