File tree Expand file tree Collapse file tree 2 files changed +17
-3
lines changed Expand file tree Collapse file tree 2 files changed +17
-3
lines changed Original file line number Diff line number Diff line change 1
1
# Changelog #
2
2
3
+ ## v2.1.1 (2015-08-08) ##
4
+
5
+ * Fixed object encoder not throwing an exception on some incorrect
6
+ object.format values.
7
+ * Fixed coding standards issues around the code and api documentation
8
+ * Improved Travis build process
9
+
3
10
## v2.1.0 (2015-04-18) ##
4
11
5
12
* Encoder options with ` null ` default value will now be recognized
20
27
## v2.0.2 (2015-01-21) ##
21
28
22
29
* ` array.align ` will now respect ` array.omit ` and ` array.inline ` settings if
23
- all the keys in the array can be omitted.
24
- * Clarified documentation on how these settings are intended to work
25
- together.
30
+ all the keys in the array can be omitted.
31
+ * Clarified documentation on how these settings are intended to work
32
+ together.
26
33
27
34
## v2.0.1 (2015-01-11) ##
28
35
Original file line number Diff line number Diff line change @@ -132,4 +132,11 @@ public function testInvalidFormat()
132
132
$ this ->setExpectedException ('RuntimeException ' );
133
133
$ encoder ->encode (new \stdClass ());
134
134
}
135
+
136
+ public function testInvalidFormatValueType ()
137
+ {
138
+ $ encoder = new PHPEncoder (['object.format ' => true ]);
139
+ $ this ->setExpectedException ('RuntimeException ' );
140
+ $ encoder ->encode (new \stdClass ());
141
+ }
135
142
}
You can’t perform that action at this time.
0 commit comments