Skip to content
This repository has been archived by the owner on Jan 8, 2020. It is now read-only.

remove unnecessary space after function name #4738

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion library/Zend/Captcha/AbstractWord.php
Expand Up @@ -172,7 +172,7 @@ public function getId()
* @param string $id
* @return AbstractWord
*/
protected function setId ($id)
protected function setId($id)
{
$this->id = $id;
return $this;
Expand Down
2 changes: 1 addition & 1 deletion tests/ZendTest/Cache/Pattern/CallbackCacheTest.php
Expand Up @@ -47,7 +47,7 @@ public function __invoke()
* Test function
* @see ZendTest\Cache\Pattern\Foo::bar
*/
function bar ()
function bar()
{
return call_user_func_array(__NAMESPACE__ . '\TestCallbackCache::bar', func_get_args());
}
Expand Down
2 changes: 1 addition & 1 deletion tests/ZendTest/Filter/StripNewlinesTest.php
Expand Up @@ -25,7 +25,7 @@ class StripNewlinesTest extends \PHPUnit_Framework_TestCase
*
* @return void
*/
public function testBasic ()
public function testBasic()
{
$filter = new StripNewLinesFilter();
$valuesExpected = array(
Expand Down
2 changes: 1 addition & 1 deletion tests/ZendTest/Http/Response/ResponseStreamTest.php
Expand Up @@ -27,7 +27,7 @@ public function testResponseFactoryFromStringCreatesValidResponse()
$this->assertEquals("Foo Bar\r\nBar Foo", $response->getBody());
}

public function testGzipResponse ()
public function testGzipResponse()
{
$stream = fopen(__DIR__ . '/../_files/response_gzip','rb');

Expand Down
6 changes: 3 additions & 3 deletions tests/ZendTest/Http/ResponseTest.php
Expand Up @@ -88,7 +88,7 @@ public function testResponseHasZeroLengthReasonPhrase()
$this->assertEquals('OK', $response->getReasonPhrase());
}

public function testGzipResponse ()
public function testGzipResponse()
{
$response_text = file_get_contents(__DIR__ . '/_files/response_gzip');

Expand All @@ -99,7 +99,7 @@ public function testGzipResponse ()
$this->assertEquals('f24dd075ba2ebfb3bf21270e3fdc5303', md5($res->getContent()));
}

public function testDeflateResponse ()
public function testDeflateResponse()
{
$response_text = file_get_contents(__DIR__ . '/_files/response_deflate');

Expand Down Expand Up @@ -131,7 +131,7 @@ public function testNonStandardDeflateResponseZF6040()
$this->assertEquals('c830dd74bb502443cf12514c185ff174', md5($res->getContent()));
}

public function testChunkedResponse ()
public function testChunkedResponse()
{
$response_text = file_get_contents(__DIR__ . '/_files/response_chunked');

Expand Down
2 changes: 1 addition & 1 deletion tests/ZendTest/Log/Formatter/ErrorHandlerTest.php
Expand Up @@ -54,7 +54,7 @@ public function testSetDateTimeFormat()
$this->assertEquals('r', $formatter->getDateTimeFormat());
}

public function testComplexEvent ()
public function testComplexEvent()
{
$date = new DateTime();
$stringObject = new StringObject();
Expand Down
4 changes: 2 additions & 2 deletions tests/ZendTest/Paginator/Adapter/ArrayTest.php
Expand Up @@ -28,15 +28,15 @@ class ArrayTest extends \PHPUnit_Framework_TestCase
/**
* Prepares the environment before running a test.
*/
protected function setUp ()
protected function setUp()
{
parent::setUp();
$this->adapter = new Adapter\ArrayAdapter(range(1, 101));
}
/**
* Cleans up the environment after running a test.
*/
protected function tearDown ()
protected function tearDown()
{
$this->adapter = null;
parent::tearDown();
Expand Down
4 changes: 2 additions & 2 deletions tests/ZendTest/Paginator/Adapter/IteratorTest.php
Expand Up @@ -30,7 +30,7 @@ class IteratorTest extends \PHPUnit_Framework_TestCase
/**
* Prepares the environment before running a test.
*/
protected function setUp ()
protected function setUp()
{
parent::setUp();
$iterator = new \ArrayIterator(range(1, 101));
Expand All @@ -39,7 +39,7 @@ protected function setUp ()
/**
* Cleans up the environment after running a test.
*/
protected function tearDown ()
protected function tearDown()
{
$this->adapter = null;
parent::tearDown();
Expand Down
2 changes: 1 addition & 1 deletion tests/ZendTest/Paginator/Adapter/NullTest.php
Expand Up @@ -29,7 +29,7 @@ class NullTest extends \PHPUnit_Framework_TestCase
/**
* Prepares the environment before running a test.
*/
protected function setUp ()
protected function setUp()
{
parent::setUp();
$this->adapter = new Adapter\Null(101);
Expand Down
2 changes: 1 addition & 1 deletion tests/ZendTest/Paginator/ScrollingStyle/AllTest.php
Expand Up @@ -44,7 +44,7 @@ protected function setUp()
/**
* Cleans up the environment after running a test.
*/
protected function tearDown ()
protected function tearDown()
{
$this->scrollingStyle = null;
$this->paginator = null;
Expand Down
2 changes: 1 addition & 1 deletion tests/ZendTest/Soap/WsdlTest.php
Expand Up @@ -823,7 +823,7 @@ public function testClassMap()
/**
* @expectedException RuntimeException
*/
public function testAddElementException ()
public function testAddElementException()
{
$this->wsdl->addElement(1);
}
Expand Down