Skip to content

Commit 460f461

Browse files
authored
Prepare for 1.1.2 (php-translation#45)
* minor cleanups * Added changelog
1 parent f62af43 commit 460f461

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

Changelog.md

+10
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,16 @@ The change log describes what is "Added", "Removed", "Changed" or "Fixed" betwee
44

55
## UNRELEASED
66

7+
## 1.1.2
8+
9+
### Fixed
10+
11+
- Do not stop visiting a file when not class is not *Type.
12+
13+
### Added
14+
15+
- More test to prove correctness.
16+
717
## 1.1.1
818

919
### Fixed

src/Model/Error.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
namespace Translation\Extractor\Model;
1313

1414
/**
15-
* An error with the source code that occured when extracting.
15+
* An error with the source code that occurred when extracting.
1616
*
1717
* @author Tobias Nyholm <tobias.nyholm@gmail.com>
1818
*/

src/Visitor/Php/Symfony/FormTypeChoices.php

-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@ public function enterNode(Node $node)
7979

8080
// probably will be only 1, but who knows
8181
foreach ($choicesNodes as $choices) {
82-
// TODO: do something with grouped (multi-dimensional) arrays here
8382
if (!$choices instanceof Node\Expr\Array_) {
8483
$this->addError($choices, 'Form choice is not an array');
8584

0 commit comments

Comments
 (0)