Fix code style
This commit is contained in:
1 parent
740fcfb8c1
commit
b968513cb9
171 files changed
+517
-792
No files matched your search
@@ -9,8 +9,6 @@ use Box\Spout\Writer\Common\Entity\Style\Color;
|
||||
|
||||
/**
|
||||
* Class BorderTest
|
||||
*
|
||||
* @package Box\Spout\Writer\Common\EntityStyle
|
||||
*/
|
||||
class BorderTest extends \PHPUnit_Framework_TestCase
|
||||
{
|
||||
@@ -21,7 +19,7 @@ class BorderTest extends \PHPUnit_Framework_TestCase
|
||||
{
|
||||
$noConstructorParams = new Border();
|
||||
$withConstructorParams = new Border([
|
||||
new BorderPart(Border::LEFT)
|
||||
new BorderPart(Border::LEFT),
|
||||
]);
|
||||
}
|
||||
|
||||
@@ -72,7 +70,7 @@ class BorderTest extends \PHPUnit_Framework_TestCase
|
||||
{
|
||||
$border = new Border();
|
||||
$border->setParts([
|
||||
new BorderPart(Border::LEFT)
|
||||
new BorderPart(Border::LEFT),
|
||||
]);
|
||||
|
||||
$this->assertEquals(1, count($border->getParts()), 'It should be possible to set the border parts');
|
||||
|
||||
@@ -4,8 +4,6 @@ namespace Box\Spout\Writer\Common\Entity\Style;
|
||||
|
||||
/**
|
||||
* Class ColorTest
|
||||
*
|
||||
* @package Box\Spout\Writer\Common\Entity\Style
|
||||
*/
|
||||
class ColorTest extends \PHPUnit_Framework_TestCase
|
||||
{
|
||||
@@ -14,7 +12,6 @@ class ColorTest extends \PHPUnit_Framework_TestCase
|
||||
*/
|
||||
public function dataProviderForTestRGB()
|
||||
{
|
||||
|
||||
return [
|
||||
[0, 0, 0, Color::BLACK],
|
||||
[255, 255, 255, Color::WHITE],
|
||||
|
||||
Reference in new issue
Block a user