Skip to content

Commit

Permalink
Update coding standard
Browse files Browse the repository at this point in the history
  • Loading branch information
xificurk committed Dec 23, 2019
1 parent a292b01 commit 9b4d7c8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"damejidlo/phpstan-nette-tester": "^0.2.0",
"phpstan/phpstan-mockery": "^0.12.0",
"jakub-onderka/php-parallel-lint": "^1.0",
"nepada/coding-standard": "^6.3.0"
"nepada/coding-standard": "^7.0.0"
},
"autoload": {
"psr-4": {
Expand Down
4 changes: 2 additions & 2 deletions tests/EmailAddressDoctrine/EmailAddressLowercaseTypeTest.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class EmailAddressLowercaseTypeTest extends TestCase
$this->type->convertToDatabaseValue('foo', $this->platform);
},
ConversionException::class,
'Could not convert PHP value \'foo\' of type \'string\' to type \'email_address_lowercase\'. Expected one of the following types: null, Nepada\EmailAddress\EmailAddress, email address string'
'Could not convert PHP value \'foo\' of type \'string\' to type \'email_address_lowercase\'. Expected one of the following types: null, Nepada\EmailAddress\EmailAddress, email address string',
);
}

Expand Down Expand Up @@ -104,7 +104,7 @@ class EmailAddressLowercaseTypeTest extends TestCase
$this->type->convertToPHPValue('foo', $this->platform);
},
ConversionException::class,
'Could not convert database value "foo" to Doctrine Type email_address_lowercase'
'Could not convert database value "foo" to Doctrine Type email_address_lowercase',
);
}

Expand Down
4 changes: 2 additions & 2 deletions tests/EmailAddressDoctrine/EmailAddressTypeTest.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class EmailAddressTypeTest extends TestCase
$this->type->convertToDatabaseValue('foo', $this->platform);
},
ConversionException::class,
'Could not convert PHP value \'foo\' of type \'string\' to type \'email_address\'. Expected one of the following types: null, Nepada\EmailAddress\EmailAddress, email address string'
'Could not convert PHP value \'foo\' of type \'string\' to type \'email_address\'. Expected one of the following types: null, Nepada\EmailAddress\EmailAddress, email address string',
);
}

Expand Down Expand Up @@ -104,7 +104,7 @@ class EmailAddressTypeTest extends TestCase
$this->type->convertToPHPValue('foo', $this->platform);
},
ConversionException::class,
'Could not convert database value "foo" to Doctrine Type email_address'
'Could not convert database value "foo" to Doctrine Type email_address',
);
}

Expand Down

0 comments on commit 9b4d7c8

Please sign in to comment.