Skip to content
This repository has been archived by the owner on Jul 22, 2022. It is now read-only.

Commit

Permalink
Merge fb50cff into 095b76b
Browse files Browse the repository at this point in the history
  • Loading branch information
SonataCI committed Apr 20, 2020
2 parents 095b76b + fb50cff commit 0c1a0b0
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .php_cs.dist
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ $rules = [
'nullable_type_declaration_for_default_null_value' => ['use_nullable_type_declaration' => true],
'ordered_class_elements' => true,
'ordered_imports' => true,
'php_unit_set_up_tear_down_visibility' => true,
'phpdoc_order' => true,
'@PHP56Migration' => true,
'@PHP56Migration:risky' => true,
Expand Down
2 changes: 1 addition & 1 deletion tests/Component/Basket/BasketElementTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class BasketElementTest extends TestCase
/**
* Sets up unit test.
*/
public function setUp(): void
protected function setUp(): void
{
bcscale(3);
}
Expand Down
2 changes: 1 addition & 1 deletion tests/Component/Currency/CurrencyDoctrineTypeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

class CurrencyDoctrineTypeTest extends TestCase
{
public function setUp(): void
protected function setUp(): void
{
if (Type::hasType('currency')) {
Type::overrideType('currency', CurrencyDoctrineType::class);
Expand Down
2 changes: 1 addition & 1 deletion tests/Component/Currency/CurrencyFormTypeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class CurrencyFormTypeTest extends TestCase
*/
protected $currencyFormType;

public function setUp(): void
protected function setUp(): void
{
$currencyDataTransformer = $this->createMock(CurrencyDataTransformer::class);
$this->currencyFormType = new CurrencyFormType($currencyDataTransformer);
Expand Down

0 comments on commit 0c1a0b0

Please sign in to comment.