Skip to content

Commit 5d9d4bf

Browse files
committed
Merge pull request #36 from DataValues/release031
Release 0.3.1
2 parents 7d59053 + b3d7108 commit 5d9d4bf

File tree

4 files changed

+13
-2
lines changed

4 files changed

+13
-2
lines changed

Common.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
return 1;
1616
}
1717

18-
define( 'DATAVALUES_COMMON_VERSION', '0.3.0' );
18+
define( 'DATAVALUES_COMMON_VERSION', '0.3.1' );
1919

2020
if ( defined( 'MEDIAWIKI' ) ) {
2121
$GLOBALS['wgExtensionCredits']['datavalues'][] = array(

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,10 @@ DataValues Common has been written by the Wikidata team, as [Wikimedia Germany]
4949

5050
## Release notes
5151

52+
### 0.3.1 (2015-08-14)
53+
54+
* The component can now be installed together with DataValues Interfaces 0.1.5
55+
5256
### 0.3.0 (2015-08-11)
5357

5458
* Added `DispatchingValueParser`

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"require": {
2626
"php": ">=5.3.0",
2727
"data-values/data-values": "~1.0|~0.1",
28-
"data-values/interfaces": "~0.2.0"
28+
"data-values/interfaces": "~0.2.0|^0.1.5"
2929
},
3030
"extra": {
3131
"branch-alias": {

tests/ValueFormatters/StringFormatterTest.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,13 @@
1717
*/
1818
class StringFormatterTest extends ValueFormatterTestBase {
1919

20+
/**
21+
* @deprecated since 0.2, just use getInstance.
22+
*/
23+
protected function getFormatterClass() {
24+
throw new \LogicException( 'Should not be called, use getInstance' );
25+
}
26+
2027
/**
2128
* @see ValueFormatterTestBase::getInstance
2229
*

0 commit comments

Comments
 (0)