Skip to content

Commit

Permalink
Merge pull request #35 from DataValues/release122
Browse files Browse the repository at this point in the history
Release 1.2.2
  • Loading branch information
Ladsgroup authored Oct 25, 2017
2 parents 778cc27 + 7ed8dec commit d849fc1
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 11 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ as [Wikimedia Germany](https://wikimedia.de) employee for the [Wikidata project]

## Release notes

### 1.2.2 (2017-10-25)

* Made component installable together Serialization 4.x

### 1.2.1 (2017-06-26)

* Fixed `DataValueDeserializer` not always turning internal `InvalidArgumentException` into
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@
"require": {
"php": ">=5.5.9",
"data-values/data-values": "~1.0|~0.1",
"serialization/serialization": "~3.0"
"serialization/serialization": "~4.0|~3.0"
},
"require-dev": {
"phpunit/phpunit": "~4.8",
"wikibase/wikibase-codesniffer": "^0.1.0"
"wikibase/wikibase-codesniffer": "^0.2.0"
},
"autoload": {
"psr-4": {
Expand Down
10 changes: 2 additions & 8 deletions phpcs.xml
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
<?xml version="1.0"?>
<ruleset name="DataValuesSerialization">
<rule ref="vendor/wikibase/wikibase-codesniffer/Wikibase" />

<rule ref="Generic.Files.LineLength">
<properties>
<property name="lineLimit" value="113" />
</properties>
</rule>
<ruleset>
<rule ref="./vendor/wikibase/wikibase-codesniffer/Wikibase" />

<file>.</file>
</ruleset>
5 changes: 4 additions & 1 deletion tests/Deserializers/DataValueDeserializerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,10 @@ public function dataValueSerializationProvider() {
/**
* @dataProvider dataValueSerializationProvider
*/
public function testGivenDataValueSerialization_deserializeReturnsDataValue( $dvSerialization, $expectedType ) {
public function testGivenDataValueSerialization_deserializeReturnsDataValue(
$dvSerialization,
$expectedType
) {
$deserializer = $this->newDeserializer();

$dataValue = $deserializer->deserialize( $dvSerialization );
Expand Down

0 comments on commit d849fc1

Please sign in to comment.