Skip to content

Commit 03da095

Browse files
committed
fixed CS (missing or misplaced license blocks)
1 parent 2343ce2 commit 03da095

24 files changed

+115
-84
lines changed

Encoder/DecoderInterface.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<?php
22

3-
namespace Symfony\Component\Serializer\Encoder;
4-
5-
63
/*
74
* This file is part of the Symfony package.
85
*
@@ -12,6 +9,8 @@
129
* file that was distributed with this source code.
1310
*/
1411

12+
namespace Symfony\Component\Serializer\Encoder;
13+
1514
/**
1615
* Defines the interface of decoders
1716
*

Encoder/EncoderInterface.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
<?php
22

3-
namespace Symfony\Component\Serializer\Encoder;
4-
53
/*
64
* This file is part of the Symfony package.
75
*
@@ -11,6 +9,8 @@
119
* file that was distributed with this source code.
1210
*/
1311

12+
namespace Symfony\Component\Serializer\Encoder;
13+
1414
/**
1515
* Defines the interface of encoders
1616
*

Encoder/JsonEncoder.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<?php
22

3-
namespace Symfony\Component\Serializer\Encoder;
4-
5-
63
/*
74
* This file is part of the Symfony package.
85
*
@@ -12,6 +9,8 @@
129
* file that was distributed with this source code.
1310
*/
1411

12+
namespace Symfony\Component\Serializer\Encoder;
13+
1514
/**
1615
* Encodes JSON data
1716
*

Encoder/NormalizationAwareInterface.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<?php
22

3-
namespace Symfony\Component\Serializer\Encoder;
4-
5-
63
/*
74
* This file is part of the Symfony package.
85
*
@@ -12,6 +9,8 @@
129
* file that was distributed with this source code.
1310
*/
1411

12+
namespace Symfony\Component\Serializer\Encoder;
13+
1514
/**
1615
* Defines the interface of encoders that will normalize data themselves
1716
*

Encoder/SerializerAwareEncoder.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
11
<?php
22

3-
namespace Symfony\Component\Serializer\Encoder;
4-
5-
use Symfony\Component\Serializer\SerializerInterface;
6-
use Symfony\Component\Serializer\SerializerAwareInterface;
7-
83
/*
94
* This file is part of the Symfony package.
105
*
@@ -14,6 +9,11 @@
149
* file that was distributed with this source code.
1510
*/
1611

12+
namespace Symfony\Component\Serializer\Encoder;
13+
14+
use Symfony\Component\Serializer\SerializerInterface;
15+
use Symfony\Component\Serializer\SerializerAwareInterface;
16+
1717
/**
1818
* SerializerAware Encoder implementation
1919
*

Encoder/XmlEncoder.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
<?php
22

3-
namespace Symfony\Component\Serializer\Encoder;
4-
5-
use Symfony\Component\Serializer\Exception\UnexpectedValueException;
6-
73
/*
84
* This file is part of the Symfony package.
95
*
@@ -13,6 +9,10 @@
139
* file that was distributed with this source code.
1410
*/
1511

12+
namespace Symfony\Component\Serializer\Encoder;
13+
14+
use Symfony\Component\Serializer\Exception\UnexpectedValueException;
15+
1616
/**
1717
* Encodes XML data
1818
*

Normalizer/CustomNormalizer.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<?php
22

3-
namespace Symfony\Component\Serializer\Normalizer;
4-
5-
63
/*
74
* This file is part of the Symfony package.
85
*
@@ -12,6 +9,8 @@
129
* file that was distributed with this source code.
1310
*/
1411

12+
namespace Symfony\Component\Serializer\Normalizer;
13+
1514
/**
1615
* @author Jordi Boggiano <[email protected]>
1716
*/

Normalizer/DenormalizableInterface.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
<?php
22

3-
namespace Symfony\Component\Serializer\Normalizer;
4-
53
/*
64
* This file is part of the Symfony package.
75
*
@@ -11,6 +9,8 @@
119
* file that was distributed with this source code.
1210
*/
1311

12+
namespace Symfony\Component\Serializer\Normalizer;
13+
1414
/**
1515
* Defines the most basic interface a class must implement to be denormalizable
1616
*

Normalizer/DenormalizerInterface.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
<?php
22

3-
namespace Symfony\Component\Serializer\Normalizer;
4-
53
/*
64
* This file is part of the Symfony package.
75
*
@@ -11,6 +9,8 @@
119
* file that was distributed with this source code.
1210
*/
1311

12+
namespace Symfony\Component\Serializer\Normalizer;
13+
1414
/**
1515
* Defines the interface of denormalizers.
1616
*

Normalizer/GetSetMethodNormalizer.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
<?php
22

3-
namespace Symfony\Component\Serializer\Normalizer;
4-
5-
use Symfony\Component\Serializer\Exception\RuntimeException;
6-
73
/*
84
* This file is part of the Symfony package.
95
*
@@ -13,6 +9,10 @@
139
* file that was distributed with this source code.
1410
*/
1511

12+
namespace Symfony\Component\Serializer\Normalizer;
13+
14+
use Symfony\Component\Serializer\Exception\RuntimeException;
15+
1616
/**
1717
* Converts between objects with getter and setter methods and arrays.
1818
*

0 commit comments

Comments
 (0)