Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit57d30f9

Browse files
committed
Fix quoting style consistency.
1 parente93a3d7 commit57d30f9

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

‎src/Symfony/Bridge/Doctrine/Validator/Constraints/UniqueEntityValidator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public function validate($entity, Constraint $constraint)
7777
$criteria =array();
7878
foreach ($fieldsas$fieldName) {
7979
if (!$class->hasField($fieldName) && !$class->hasAssociation($fieldName)) {
80-
thrownewConstraintDefinitionException(sprintf("The field'%s' is not mapped by Doctrine, so it cannot be validated for uniqueness.",$fieldName));
80+
thrownewConstraintDefinitionException(sprintf('The field"%s" is not mapped by Doctrine, so it cannot be validated for uniqueness.',$fieldName));
8181
}
8282

8383
$criteria[$fieldName] =$class->reflFields[$fieldName]->getValue($entity);

‎src/Symfony/Component/Intl/DateFormatter/DateFormat/FullTransformer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ public function formatReplace($dateChars, $dateTime)
123123

124124
// handle unimplemented characters
125125
if (false !==strpos($this->notImplementedChars,$dateChars[0])) {
126-
thrownewNotImplementedException(sprintf("Unimplemented date character'%s' in format'%s'",$dateChars[0],$this->pattern));
126+
thrownewNotImplementedException(sprintf('Unimplemented date character"%s" in format"%s"',$dateChars[0],$this->pattern));
127127
}
128128
}
129129

‎src/Symfony/Component/Routing/Annotation/Route.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public function __construct(array $data)
5353
foreach ($dataas$key =>$value) {
5454
$method ='set'.str_replace('_','',$key);
5555
if (!method_exists($this,$method)) {
56-
thrownew \BadMethodCallException(sprintf("Unknown property'%s' on annotation'%s'.",$key,get_class($this)));
56+
thrownew \BadMethodCallException(sprintf('Unknown property"%s" on annotation"%s".',$key,get_class($this)));
5757
}
5858
$this->$method($value);
5959
}

‎src/Symfony/Component/Security/Http/Firewall/DigestAuthenticationListener.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ public function handle(GetResponseEvent $event)
101101

102102
if ($serverDigestMd5 !==$digestAuth->getResponse()) {
103103
if (null !==$this->logger) {
104-
$this->logger->debug(sprintf("Expected response:'%s' but received:'%s'; is AuthenticationDao returning clear text passwords?",$serverDigestMd5,$digestAuth->getResponse()));
104+
$this->logger->debug(sprintf('Expected response:"%s" but received:"%s"; is AuthenticationDao returning clear text passwords?',$serverDigestMd5,$digestAuth->getResponse()));
105105
}
106106

107107
$this->fail($event,$request,newBadCredentialsException('Incorrect response'));

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp