Fixed typos

This commit is contained in:
Pascal Borreli 2013-08-24 07:54:37 +01:00
parent c3abd0c988
commit d37404ccf7
12 changed files with 13 additions and 14 deletions

View File

@ -72,7 +72,7 @@ class ClassLoaderTest extends \PHPUnit_Framework_TestCase
public function getLoadNonexistentClassTests()
{
return array(
array('\\Pearlike3_Bar', '\\Pearlike3_Bar', '->loadClass() loads non exising Pearlike3_Bar class with a leading slash'),
array('\\Pearlike3_Bar', '\\Pearlike3_Bar', '->loadClass() loads non existing Pearlike3_Bar class with a leading slash'),
);
}

View File

@ -800,7 +800,7 @@ class FinderTest extends Iterator\RealIteratorTestCase
/**
* Searching in multiple locations with sub directories involves
* AppendIterator which does an unnecessary rewind which leaves
* FilterIterator with inner FilesystemIterator in an ivalid state.
* FilterIterator with inner FilesystemIterator in an invalid state.
*
* @see https://bugs.php.net/bug.php?id=49104
*/

View File

@ -20,7 +20,7 @@ class RecursiveDirectoryIteratorTest extends IteratorTestCase
*
* @param string $path
* @param Boolean $seekable
* @param Boolean $supports
* @param array $contains
* @param string $message
*/
public function testRewind($path, $seekable, $contains, $message = null)
@ -41,7 +41,7 @@ class RecursiveDirectoryIteratorTest extends IteratorTestCase
*
* @param string $path
* @param Boolean $seekable
* @param Boolean $supports
* @param array $contains
* @param string $message
*/
public function testSeek($path, $seekable, $contains, $message = null)

View File

@ -54,6 +54,7 @@ class PropertyPathMapperTest extends \PHPUnit_Framework_TestCase
/**
* @param FormConfigInterface $config
* @param Boolean $synchronized
* @param Boolean $submitted
* @return \PHPUnit_Framework_MockObject_MockObject
*/
private function getForm(FormConfigInterface $config, $synchronized = true, $submitted = true)

View File

@ -61,7 +61,7 @@ class InlineFragmentRenderer extends RoutableFragmentRenderer
$attributes = $reference->attributes;
$reference->attributes = array();
// The request format and locale might have been overriden by the user
// The request format and locale might have been overridden by the user
foreach (array('_format', '_locale') as $key) {
if (isset($attributes[$key])) {
$reference->attributes[$key] = $attributes[$key];

View File

@ -1182,8 +1182,6 @@ class Process
/**
* Writes data to pipes.
*
* @param Boolean $blocking Whether to use blocking calls or not.
*/
private function writePipes()
{

View File

@ -62,7 +62,7 @@ class ProcessBuilder
/**
* Adds an unescaped prefix to the command string.
*
* The prefix is preserved when reseting arguments.
* The prefix is preserved when resetting arguments.
*
* @param string|array $prefix A command prefix or an array of command prefixes
*

View File

@ -24,7 +24,7 @@ class PropertyAccessorBuilder
private $magicCall = false;
/**
* Enables the use of "__call" by the ProperyAccessor.
* Enables the use of "__call" by the PropertyAccessor.
*
* @return PropertyAccessorBuilder The builder object
*/
@ -36,7 +36,7 @@ class PropertyAccessorBuilder
}
/**
* Disables the use of "__call" by the ProperyAccessor.
* Disables the use of "__call" by the PropertyAccessor.
*
* @return PropertyAccessorBuilder The builder object
*/

View File

@ -44,7 +44,7 @@ class RouteTest extends \PHPUnit_Framework_TestCase
$this->assertEquals('/bar', $route->getPath(), '->setPath() adds a / at the beginning of the path if needed');
$this->assertEquals($route, $route->setPath(''), '->setPath() implements a fluent interface');
$route->setPath('//path');
$this->assertEquals('/path', $route->getPath(), '->setPath() does not allow two slahes "//" at the beginning of the path as it would be confused with a network path when generating the path from the route');
$this->assertEquals('/path', $route->getPath(), '->setPath() does not allow two slashes "//" at the beginning of the path as it would be confused with a network path when generating the path from the route');
}
public function testOptions()

View File

@ -208,7 +208,7 @@ abstract class AbstractToken implements TokenInterface
}
/**
* Sets a attribute.
* Sets an attribute.
*
* @param string $name The attribute name
* @param mixed $value The attribute value

View File

@ -51,7 +51,7 @@ class SwitchUserListenerTest extends \PHPUnit_Framework_TestCase
{
$this->request->expects($this->any())->method('get')->with('_switch_user')->will($this->returnValue(null));
$this->event->expects($this->never())->method('setResopnse');
$this->event->expects($this->never())->method('setResponse');
$this->securityContext->expects($this->never())->method('setToken');
$listener = new SwitchUserListener($this->securityContext, $this->userProvider, $this->userChecker, 'provider123', $this->accessDecisionManager);

View File

@ -34,7 +34,7 @@ class ResponseListenerTest extends \PHPUnit_Framework_TestCase
$listener->onKernelResponse($this->getEvent($request, $response));
}
public function testRemmeberMeCookieIsNotSendWithResponse()
public function testRememberMeCookieIsNotSendWithResponse()
{
$request = $this->getRequest();