This commit is contained in:
Fabien Potencier 2016-01-21 10:24:53 +01:00
parent 9188f0507d
commit 3aafa78f4d
16 changed files with 11 additions and 17 deletions

View File

@ -109,5 +109,4 @@ EOPHP
); );
} }
} }
} }

View File

@ -45,5 +45,4 @@ interface ResourceCheckerInterface
* @return bool True if the resource has not changed since the given timestamp, false otherwise. * @return bool True if the resource has not changed since the given timestamp, false otherwise.
*/ */
public function isFresh(ResourceInterface $resource, $timestamp); public function isFresh(ResourceInterface $resource, $timestamp);
} }

View File

@ -622,7 +622,6 @@ EOF;
* *
* This service is autowired. * This service is autowired.
EOF; EOF;
} }
if ($definition->isLazy()) { if ($definition->isLazy()) {

View File

@ -1005,7 +1005,6 @@ class FilesystemTest extends FilesystemTestCase
// The compress.zlib:// stream does not support mode x: creates the file, errors "failed to open stream: operation failed" and returns false // The compress.zlib:// stream does not support mode x: creates the file, errors "failed to open stream: operation failed" and returns false
$this->filesystem->tempnam($dirname, 'bar'); $this->filesystem->tempnam($dirname, 'bar');
} }
public function testTempnamWithPHPTempSchemeFails() public function testTempnamWithPHPTempSchemeFails()

View File

@ -105,5 +105,4 @@ class LdapUserProvider implements UserProviderInterface
{ {
return $class === 'Symfony\Component\Security\Core\User\User'; return $class === 'Symfony\Component\Security\Core\User\User';
} }
} }

View File

@ -79,5 +79,4 @@ class TargetOperationTest extends AbstractOperationTest
{ {
return new TargetOperation($source, $target); return new TargetOperation($source, $target);
} }
} }

View File

@ -34,7 +34,7 @@ class Unescaper
/** /**
* Regex fragment that matches an escaped character in a double quoted string. * Regex fragment that matches an escaped character in a double quoted string.
*/ */
const REGEX_ESCAPED_CHARACTER = "\\\\(x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4}|U[0-9a-fA-F]{8}|.)"; const REGEX_ESCAPED_CHARACTER = '\\\\(x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4}|U[0-9a-fA-F]{8}|.)';
/** /**
* Unescapes a single quoted string. * Unescapes a single quoted string.