diff --git a/Common.php b/Common.php index 466b83b..3d0d69e 100644 --- a/Common.php +++ b/Common.php @@ -15,7 +15,7 @@ return 1; } -define( 'DATAVALUES_COMMON_VERSION', '0.3.0' ); +define( 'DATAVALUES_COMMON_VERSION', '0.3.1' ); if ( defined( 'MEDIAWIKI' ) ) { $GLOBALS['wgExtensionCredits']['datavalues'][] = array( diff --git a/README.md b/README.md index 1d4ac33..a857363 100644 --- a/README.md +++ b/README.md @@ -49,6 +49,10 @@ DataValues Common has been written by the Wikidata team, as [Wikimedia Germany] ## Release notes +### 0.3.1 (2015-08-14) + +* The component can now be installed together with DataValues Interfaces 0.1.5 + ### 0.3.0 (2015-08-11) * Added `DispatchingValueParser` diff --git a/composer.json b/composer.json index 5c6e1fc..45f01ef 100644 --- a/composer.json +++ b/composer.json @@ -25,7 +25,7 @@ "require": { "php": ">=5.3.0", "data-values/data-values": "~1.0|~0.1", - "data-values/interfaces": "~0.2.0" + "data-values/interfaces": "~0.2.0|^0.1.5" }, "extra": { "branch-alias": { diff --git a/tests/ValueFormatters/StringFormatterTest.php b/tests/ValueFormatters/StringFormatterTest.php index c70dcc0..3aef150 100644 --- a/tests/ValueFormatters/StringFormatterTest.php +++ b/tests/ValueFormatters/StringFormatterTest.php @@ -17,6 +17,13 @@ */ class StringFormatterTest extends ValueFormatterTestBase { + /** + * @deprecated since 0.2, just use getInstance. + */ + protected function getFormatterClass() { + throw new \LogicException( 'Should not be called, use getInstance' ); + } + /** * @see ValueFormatterTestBase::getInstance *