Skip to content

Commit 7d5ab18

Browse files
committed
Merge branch '2.6' into 2.7
* 2.6: (25 commits) Added information when an error occured during validation of an answer of a question Adding note about known BC issues Adding note about the PdoSessionHandler BC break [Console] fixes some typos and phpdoc. fix phpdoc's alignment [2.6] CS Fixes And Removed An Unused Import Minor phpcs fixes [ClassLoader] Fix undefined index in ClassCollectionLoader CS fixes Revert "minor #12821 Remove deprecated class (MasterB)" [2.3] More cs fixes Removed unused imports CS fixes bumped Symfony version to 2.6.2 updated VERSION for 2.6.1 updated CHANGELOG for 2.6.1 bumped Symfony version to 2.5.9 updated VERSION for 2.5.8 update CONTRIBUTORS for 2.5.8 updated CHANGELOG for 2.5.8 ... Conflicts: src/Symfony/Component/HttpKernel/Kernel.php
2 parents ae1ef66 + e4c9723 commit 7d5ab18

File tree

5 files changed

+16
-16
lines changed

5 files changed

+16
-16
lines changed

Encoder/XmlEncoder.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -129,17 +129,17 @@ public function decode($data, $format, array $context = array())
129129
return $data;
130130
}
131131

132-
/**
133-
* {@inheritdoc}
134-
*/
132+
/**
133+
* {@inheritdoc}
134+
*/
135135
public function supportsEncoding($format)
136136
{
137137
return 'xml' === $format;
138138
}
139139

140140
/**
141-
* {@inheritdoc}
142-
*/
141+
* {@inheritdoc}
142+
*/
143143
public function supportsDecoding($format)
144144
{
145145
return 'xml' === $format;

Normalizer/PropertyNormalizer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ public function supportsDenormalization($data, $type, $format = null)
180180
/**
181181
* Format an attribute name, for example to convert a snake_case name to camelCase.
182182
*
183-
* @param string $attributeName
183+
* @param string $attributeName
184184
*
185185
* @return string
186186
*/

Tests/Normalizer/PropertyNormalizerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,12 +151,12 @@ public function provideCallbacks()
151151
array(
152152
array(
153153
'bar' => function ($bar) {
154-
return null;
154+
return;
155155
},
156156
),
157157
'baz',
158158
array('foo' => '', 'bar' => null),
159-
'Null an item'
159+
'Null an item',
160160
),
161161
array(
162162
array(

Tests/Normalizer/TestDenormalizer.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@
2121
class TestDenormalizer implements DenormalizerInterface
2222
{
2323
/**
24-
* {@inheritdoc}
25-
*/
24+
* {@inheritdoc}
25+
*/
2626
public function denormalize($data, $class, $format = null, array $context = array())
2727
{
2828
}
2929

3030
/**
31-
* {@inheritdoc}
32-
*/
31+
* {@inheritdoc}
32+
*/
3333
public function supportsDenormalization($data, $type, $format = null)
3434
{
3535
return true;

Tests/Normalizer/TestNormalizer.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@
2121
class TestNormalizer implements NormalizerInterface
2222
{
2323
/**
24-
* {@inheritdoc}
25-
*/
24+
* {@inheritdoc}
25+
*/
2626
public function normalize($object, $format = null, array $context = array())
2727
{
2828
}
2929

3030
/**
31-
* {@inheritdoc}
32-
*/
31+
* {@inheritdoc}
32+
*/
3333
public function supportsNormalization($data, $format = null)
3434
{
3535
return true;

0 commit comments

Comments
 (0)