Permalink
Browse files

Merge pull request #967 from ceeram/2.3-phpcs

fix coding standards
  • Loading branch information...
2 parents 27d7e28 + eadc3a7 commit 5870d71e846b6b03c96fe66fd1948dd2cdc029f8 @markstory markstory committed Nov 21, 2012
Showing with 161 additions and 163 deletions.
  1. +1 −1 lib/Cake/Console/Command/AclShell.php
  2. +1 −1 lib/Cake/Console/Command/ApiShell.php
  3. +1 −1 lib/Cake/Console/Command/Task/ExtractTask.php
  4. +1 −1 lib/Cake/Console/Command/Task/ViewTask.php
  5. +2 −2 lib/Cake/Controller/Component/Acl/PhpAcl.php
  6. +1 −1 lib/Cake/Controller/Component/EmailComponent.php
  7. +1 −1 lib/Cake/Controller/Controller.php
  8. +1 −1 lib/Cake/Event/CakeEventListener.php
  9. +1 −1 lib/Cake/Model/Datasource/Database/Postgres.php
  10. +1 −1 lib/Cake/Model/Datasource/Database/Sqlserver.php
  11. +1 −1 lib/Cake/Network/Http/HttpSocketResponse.php
  12. +2 −2 lib/Cake/Routing/Router.php
  13. +1 −1 lib/Cake/Test/Case/Console/ShellDispatcherTest.php
  14. +3 −3 lib/Cake/Test/Case/Controller/Component/EmailComponentTest.php
  15. +1 −1 lib/Cake/Test/Case/Core/AppTest.php
  16. +4 −4 lib/Cake/Test/Case/I18n/MultibyteTest.php
  17. +1 −1 lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php
  18. +1 −1 lib/Cake/Test/Case/Model/ModelIntegrationTest.php
  19. +7 −7 lib/Cake/Test/Case/Model/ModelReadTest.php
  20. +15 −15 lib/Cake/Test/Case/Model/ModelWriteTest.php
  21. +1 −1 lib/Cake/Test/Case/Model/Validator/CakeValidationSetTest.php
  22. +1 −1 lib/Cake/Test/Case/Network/CakeRequestTest.php
  23. +9 −9 lib/Cake/Test/Case/Network/Email/CakeEmailTest.php
  24. +1 −1 lib/Cake/Test/Case/Network/Http/HttpSocketTest.php
  25. +1 −1 lib/Cake/Test/Case/Routing/Route/PluginShortRouteTest.php
  26. +1 −1 lib/Cake/Test/Case/Routing/Route/RedirectRouteTest.php
  27. +4 −4 lib/Cake/Test/Case/Routing/RouterTest.php
  28. +0 −2 lib/Cake/Test/Case/TestSuite/CakeTestCaseTest.php
  29. +2 −2 lib/Cake/Test/Case/TestSuite/CakeTestFixtureTest.php
  30. +5 −5 lib/Cake/Test/Case/Utility/DebuggerTest.php
  31. +11 −11 lib/Cake/Test/Case/Utility/SetTest.php
  32. +1 −1 lib/Cake/Test/Case/View/Helper/FormHelperTest.php
  33. +6 −6 lib/Cake/Test/Case/View/Helper/HtmlHelperTest.php
  34. +1 −1 lib/Cake/Test/Case/View/Helper/PaginatorHelperTest.php
  35. +1 −1 lib/Cake/Test/Case/View/Helper/RssHelperTest.php
  36. +5 −5 lib/Cake/Test/Fixture/AcoFixture.php
  37. +5 −5 lib/Cake/Test/Fixture/AcoTwoFixture.php
  38. +5 −5 lib/Cake/Test/Fixture/AdFixture.php
  39. +4 −4 lib/Cake/Test/Fixture/AfterTreeFixture.php
  40. +6 −6 lib/Cake/Test/Fixture/AroTwoFixture.php
  41. +20 −20 lib/Cake/Test/Fixture/ArosAcoTwoFixture.php
  42. +1 −1 lib/Cake/Test/Fixture/AttachmentFixture.php
  43. +3 −3 lib/Cake/Test/Fixture/CounterCachePostFixture.php
  44. +3 −3 lib/Cake/Test/Fixture/CounterCachePostNonstandardPrimaryKeyFixture.php
  45. +14 −14 lib/Cake/Test/test_app/Config/acl.php
  46. +2 −2 lib/Cake/TestSuite/CakeTestCase.php
  47. +1 −1 lib/Cake/TestSuite/CakeTestSuiteCommand.php
@@ -324,7 +324,7 @@ public function view() {
$this->hr();
$stack = array();
- $last = null;
+ $last = null;
foreach ($nodes as $n) {
$stack[] = $n;
@@ -161,7 +161,7 @@ public function getOptionParser() {
* @return void
*/
public function help() {
- $head = "Usage: cake api [<type>] <className> [-m <method>]\n";
+ $head = "Usage: cake api [<type>] <className> [-m <method>]\n";
$head .= "-----------------------------------------------\n";
$head .= "Parameters:\n\n";
@@ -611,7 +611,7 @@ protected function _writeFiles() {
* @return string Translation template header
*/
protected function _writeHeader() {
- $output = "# LANGUAGE translation of CakePHP Application\n";
+ $output = "# LANGUAGE translation of CakePHP Application\n";
$output .= "# Copyright YEAR NAME <EMAIL@ADDRESS>\n";
$output .= "#\n";
$output .= "#, fuzzy\n";
@@ -207,7 +207,7 @@ protected function _interactive() {
$this->Controller->connection = $this->connection;
$this->controllerName = $this->Controller->getName();
- $prompt = __d('cake_console', "Would you like bake to build your views interactively?\nWarning: Choosing no will overwrite %s views if it exist.", $this->controllerName);
+ $prompt = __d('cake_console', "Would you like bake to build your views interactively?\nWarning: Choosing no will overwrite %s views if it exist.", $this->controllerName);
$interactive = $this->in($prompt, array('y', 'n'), 'n');
if (strtolower($interactive) == 'n') {
@@ -273,7 +273,7 @@ public function access($aro, $aco, $action, $type = 'deny') {
foreach ($aco as $i => $node) {
if (!isset($tree[$node])) {
- $tree[$node] = array(
+ $tree[$node] = array(
'children' => array(),
);
}
@@ -519,7 +519,7 @@ public function addRole(array $aro) {
* @param array $alias alias from => to (e.g. Role/13 -> Role/editor)
* @return void
*/
- public function addAlias(array $alias) {
+ public function addAlias(array $alias) {
$this->aliases = array_merge($this->aliases, $alias);
}
@@ -448,7 +448,7 @@ protected function _formatAddresses($addresses) {
* @return string Stripped value
*/
protected function _strip($value, $message = false) {
- $search = '%0a|%0d|Content-(?:Type|Transfer-Encoding)\:';
+ $search = '%0a|%0d|Content-(?:Type|Transfer-Encoding)\:';
$search .= '|charset\=|mime-version\:|multipart/mixed|(?:[^a-z]to|b?cc)\:.*';
if ($message !== true) {
@@ -507,7 +507,7 @@ protected function _isPrivateAction(ReflectionMethod $method, CakeRequest $reque
$privateAction = (
$method->name[0] === '_' ||
!$method->isPublic() ||
- !in_array($method->name, $this->methods)
+ !in_array($method->name, $this->methods)
);
$prefixes = Router::prefixes();
@@ -22,7 +22,7 @@
*
* @package Cake.Event
*/
-interface CakeEventListener {
+interface CakeEventListener {
/**
* Returns a list of events this object is implementing. When the class is registered
@@ -407,7 +407,7 @@ public function fields(Model $model, $alias = null, $fields = array(), $quote =
$fields[$i] = $prepend . $this->name($build[0]) . '.' . $this->name($build[1]) . ' AS ' . $this->name($build[0] . '__' . $build[1]);
}
} else {
- $fields[$i] = preg_replace_callback('/\(([\s\.\w]+)\)/', array(&$this, '_quoteFunctionField'), $fields[$i]);
+ $fields[$i] = preg_replace_callback('/\(([\s\.\w]+)\)/', array(&$this, '_quoteFunctionField'), $fields[$i]);
}
$result[] = $fields[$i];
}
@@ -283,7 +283,7 @@ public function fields(Model $model, $alias = null, $fields = array(), $quote =
if (strpos($fields[$i], '.') === false) {
$this->_fieldMappings[$alias . '__' . $fields[$i]] = $alias . '.' . $fields[$i];
- $fieldName = $this->name($alias . '.' . $fields[$i]);
+ $fieldName = $this->name($alias . '.' . $fields[$i]);
$fieldAlias = $this->name($alias . '__' . $fields[$i]);
} else {
$build = explode('.', $fields[$i]);
@@ -245,7 +245,7 @@ protected function _decodeChunkedBody($body) {
$chunkLength = hexdec($hexLength);
$chunk = substr($body, 0, $chunkLength);
if (!empty($chunkExtensionName)) {
- // @todo See if there are popular chunk extensions we should implement
+ // @todo See if there are popular chunk extensions we should implement
}
$decodedBody .= $chunk;
if ($chunkLength !== 0) {
@@ -130,9 +130,9 @@ class Router {
array('action' => 'index', 'method' => 'GET', 'id' => false),
array('action' => 'view', 'method' => 'GET', 'id' => true),
array('action' => 'add', 'method' => 'POST', 'id' => false),
- array('action' => 'edit', 'method' => 'PUT', 'id' => true),
+ array('action' => 'edit', 'method' => 'PUT', 'id' => true),
array('action' => 'delete', 'method' => 'DELETE', 'id' => true),
- array('action' => 'edit', 'method' => 'POST', 'id' => true)
+ array('action' => 'edit', 'method' => 'POST', 'id' => true)
);
/**
@@ -564,7 +564,7 @@ public function testShiftArgs() {
$this->assertEquals('a', $Dispatcher->shiftArgs());
$this->assertSame($Dispatcher->args, array('b' => 'c', 'd'));
- $Dispatcher->args = array(0 => 'a', 2 => 'b', 30 => 'c');
+ $Dispatcher->args = array(0 => 'a', 2 => 'b', 30 => 'c');
$this->assertEquals('a', $Dispatcher->shiftArgs());
$this->assertSame($Dispatcher->args, array(0 => 'b', 1 => 'c'));
@@ -596,13 +596,13 @@ public function testContentStripping() {
$this->assertEquals($expected, $result);
$content = '<p>Some HTML content with an <a href="mailto:test@example.com">email link</a>';
- $result = $this->Controller->EmailTest->strip($content, true);
+ $result = $this->Controller->EmailTest->strip($content, true);
$expected = $content;
$this->assertEquals($expected, $result);
- $content = '<p>Some HTML content with an ';
+ $content = '<p>Some HTML content with an ';
$content .= '<a href="mailto:test@example.com,test2@example.com">email link</a>';
- $result = $this->Controller->EmailTest->strip($content, true);
+ $result = $this->Controller->EmailTest->strip($content, true);
$expected = $content;
$this->assertEquals($expected, $result);
}
@@ -302,7 +302,7 @@ public function testCore() {
* @return void
*/
public function testListObjects() {
- $result = App::objects('class', CAKE . 'Routing', false);
+ $result = App::objects('class', CAKE . 'Routing', false);
$this->assertTrue(in_array('Dispatcher', $result));
$this->assertTrue(in_array('Router', $result));
@@ -260,9 +260,9 @@ public function testUtf8() {
7716, 7718, 7720, 7722, 7724, 7726, 7728, 7730, 7732, 7734, 7736, 7738, 7740, 7742, 7744, 7746, 7748, 7750,
7752, 7754, 7756, 7758, 7760, 7762, 7764, 7766, 7768, 7770, 7772, 7774, 7776, 7778, 7780, 7782, 7784, 7786,
7788, 7790, 7792, 7794, 7796, 7798, 7800, 7802, 7804, 7806, 7808, 7810, 7812, 7814, 7816, 7818, 7820, 7822,
- 7824, 7826, 7828, 7830, 7831, 7832, 7833, 7834, 7840, 7842, 7844, 7846, 7848, 7850, 7852, 7854, 7856,
+ 7824, 7826, 7828, 7830, 7831, 7832, 7833, 7834, 7840, 7842, 7844, 7846, 7848, 7850, 7852, 7854, 7856,
7858, 7860, 7862, 7864, 7866, 7868, 7870, 7872, 7874, 7876, 7878, 7880, 7882, 7884, 7886, 7888, 7890, 7892,
- 7894, 7896, 7898, 7900, 7902, 7904, 7906, 7908, 7910, 7912, 7914, 7916, 7918, 7920, 7922, 7924, 7926, 7928);
+ 7894, 7896, 7898, 7900, 7902, 7904, 7906, 7908, 7910, 7912, 7914, 7916, 7918, 7920, 7922, 7924, 7926, 7928);
$this->assertEquals($expected, $result);
$string = 'ḁḃḅḇḉḋḍḏḑḓḕḗḙḛḝḟḡḣḥḧḩḫḭḯḱḳḵḷḹḻḽḿṁṃṅṇṉṋṍṏṑṓṕṗṙṛṝṟṡṣṥṧṩṫṭṯṱṳṵṷṹṻṽṿẁẃẅẇẉẋẍẏẑẓẕẖẗẘẙẚạảấầẩẫậắằẳẵặẹẻẽếềểễệỉịọỏốồổỗộớờởỡợụủứừửữựỳỵỷỹ';
@@ -579,9 +579,9 @@ public function testAscii() {
7716, 7718, 7720, 7722, 7724, 7726, 7728, 7730, 7732, 7734, 7736, 7738, 7740, 7742, 7744, 7746, 7748, 7750,
7752, 7754, 7756, 7758, 7760, 7762, 7764, 7766, 7768, 7770, 7772, 7774, 7776, 7778, 7780, 7782, 7784, 7786,
7788, 7790, 7792, 7794, 7796, 7798, 7800, 7802, 7804, 7806, 7808, 7810, 7812, 7814, 7816, 7818, 7820, 7822,
- 7824, 7826, 7828, 7830, 7831, 7832, 7833, 7834, 7840, 7842, 7844, 7846, 7848, 7850, 7852, 7854, 7856,
+ 7824, 7826, 7828, 7830, 7831, 7832, 7833, 7834, 7840, 7842, 7844, 7846, 7848, 7850, 7852, 7854, 7856,
7858, 7860, 7862, 7864, 7866, 7868, 7870, 7872, 7874, 7876, 7878, 7880, 7882, 7884, 7886, 7888, 7890, 7892,
- 7894, 7896, 7898, 7900, 7902, 7904, 7906, 7908, 7910, 7912, 7914, 7916, 7918, 7920, 7922, 7924, 7926, 7928);
+ 7894, 7896, 7898, 7900, 7902, 7904, 7906, 7908, 7910, 7912, 7914, 7916, 7918, 7920, 7922, 7924, 7926, 7928);
$result = Multibyte::ascii($input);
$expected = 'ḀḂḄḆḈḊḌḎḐḒḔḖḘḚḜḞḠḢḤḦḨḪḬḮḰḲḴḶḸḺḼḾṀṂṄṆṈṊṌṎṐṒṔṖṘṚṜṞṠṢṤṦṨṪṬṮṰṲṴṶṸṺṼṾẀẂẄẆẈẊẌẎẐẒẔẖẗẘẙẚẠẢẤẦẨẪẬẮẰẲẴẶẸẺẼẾỀỂỄỆỈỊỌỎỐỒỔỖỘỚỜỞỠỢỤỦỨỪỬỮỰỲỴỶỸ';
$this->assertEquals($expected, $result);
@@ -3028,7 +3028,7 @@ public function testBuildColumn2() {
'type' => 'timestamp',
'default' => 'current_timestamp',
'null' => false,
- );
+ );
$result = $this->Dbo->buildColumn($data);
$expected = '`created` timestamp DEFAULT CURRENT_TIMESTAMP NOT NULL';
$this->assertEquals($expected, $result);
@@ -1427,7 +1427,7 @@ public function testGetAssociated() {
$assocTypes = array('hasMany', 'hasOne', 'belongsTo', 'hasAndBelongsToMany');
foreach ($assocTypes as $type) {
- $this->assertEquals($Article->getAssociated($type), array_keys($Article->{$type}));
+ $this->assertEquals($Article->getAssociated($type), array_keys($Article->{$type}));
}
$Article->bindModel(array('hasMany' => array('Category')));
@@ -254,23 +254,23 @@ public function testOldQuery() {
$this->loadFixtures('Article', 'User', 'Tag', 'ArticlesTag', 'Comment', 'Attachment');
$Article = new Article();
- $query = 'SELECT title FROM ';
+ $query = 'SELECT title FROM ';
$query .= $this->db->fullTableName('articles');
$query .= ' WHERE ' . $this->db->fullTableName('articles') . '.id IN (1,2)';
$results = $Article->query($query);
$this->assertTrue(is_array($results));
$this->assertEquals(2, count($results));
- $query = 'SELECT title, body FROM ';
+ $query = 'SELECT title, body FROM ';
$query .= $this->db->fullTableName('articles');
$query .= ' WHERE ' . $this->db->fullTableName('articles') . '.id = 1';
$results = $Article->query($query, false);
$this->assertFalse($this->db->getQueryCache($query));
$this->assertTrue(is_array($results));
- $query = 'SELECT title, id FROM ';
+ $query = 'SELECT title, id FROM ';
$query .= $this->db->fullTableName('articles');
$query .= ' WHERE ' . $this->db->fullTableName('articles');
$query .= '.published = ' . $this->db->value('Y');
@@ -312,7 +312,7 @@ public function testPreparedQuery() {
$result = $this->db->getQueryCache($query, $params);
$this->assertFalse(empty($result));
- $query = 'SELECT id, created FROM ';
+ $query = 'SELECT id, created FROM ';
$query .= $this->db->fullTableName('articles');
$query .= ' WHERE ' . $this->db->fullTableName('articles') . '.title = ?';
@@ -326,7 +326,7 @@ public function testPreparedQuery() {
$result = $this->db->getQueryCache($query, $params);
$this->assertTrue(empty($result));
- $query = 'SELECT title FROM ';
+ $query = 'SELECT title FROM ';
$query .= $this->db->fullTableName('articles');
$query .= ' WHERE ' . $this->db->fullTableName('articles') . '.title LIKE ?';
@@ -339,7 +339,7 @@ public function testPreparedQuery() {
);
//related to ticket #5035
- $query = 'SELECT title FROM ';
+ $query = 'SELECT title FROM ';
$query .= $this->db->fullTableName('articles') . ' WHERE title = ? AND published = ?';
$params = array('First? Article', 'Y');
$Article->query($query, $params);
@@ -359,7 +359,7 @@ public function testParameterMismatch() {
$this->loadFixtures('Article', 'User', 'Tag', 'ArticlesTag');
$Article = new Article();
- $query = 'SELECT * FROM ' . $this->db->fullTableName('articles');
+ $query = 'SELECT * FROM ' . $this->db->fullTableName('articles');
$query .= ' WHERE ' . $this->db->fullTableName('articles');
$query .= '.published = ? AND ' . $this->db->fullTableName('articles') . '.user_id = ?';
$params = array('Y');
@@ -6281,8 +6281,8 @@ public function testFindAllForeignKey() {
'ProductUpdateAll' => array(
'id' => 1,
'name' => 'product one',
- 'groupcode' => 120,
- 'group_id' => 1),
+ 'groupcode' => 120,
+ 'group_id' => 1),
'Group' => array(
'id' => 1,
'name' => 'group one',
@@ -6292,7 +6292,7 @@ public function testFindAllForeignKey() {
'ProductUpdateAll' => array(
'id' => 2,
'name' => 'product two',
- 'groupcode' => 120,
+ 'groupcode' => 120,
'group_id' => 1),
'Group' => array(
'id' => 1,
@@ -6344,9 +6344,9 @@ public function testUpdateAllWithJoins() {
'0' => array(
'ProductUpdateAll' => array(
'id' => 1,
- 'name' => 'new product',
- 'groupcode' => 120,
- 'group_id' => 1),
+ 'name' => 'new product',
+ 'groupcode' => 120,
+ 'group_id' => 1),
'Group' => array(
'id' => 1,
'name' => 'group one',
@@ -6355,9 +6355,9 @@ public function testUpdateAllWithJoins() {
'1' => array(
'ProductUpdateAll' => array(
'id' => 2,
- 'name' => 'new product',
- 'groupcode' => 120,
- 'group_id' => 1),
+ 'name' => 'new product',
+ 'groupcode' => 120,
+ 'group_id' => 1),
'Group' => array(
'id' => 1,
'name' => 'group one',
@@ -6397,9 +6397,9 @@ public function testUpdateAllWithoutForeignKey() {
'0' => array(
'ProductUpdateAll' => array(
'id' => 1,
- 'name' => 'new product',
- 'groupcode' => 120,
- 'group_id' => 1),
+ 'name' => 'new product',
+ 'groupcode' => 120,
+ 'group_id' => 1),
'Group' => array(
'id' => 1,
'name' => 'group one',
@@ -6408,9 +6408,9 @@ public function testUpdateAllWithoutForeignKey() {
'1' => array(
'ProductUpdateAll' => array(
'id' => 2,
- 'name' => 'new product',
- 'groupcode' => 120,
- 'group_id' => 1),
+ 'name' => 'new product',
+ 'groupcode' => 120,
+ 'group_id' => 1),
'Group' => array(
'id' => 1,
'name' => 'group one',
@@ -24,7 +24,7 @@
*
* @package Cake.Test.Case.Model.Validator
*/
-class CakeValidationSetTest extends CakeTestCase {
+class CakeValidationSetTest extends CakeTestCase {
/**
* testValidate method
@@ -1337,7 +1337,7 @@ public static function environmentGenerator() {
return array(
array(
'IIS - No rewrite base path',
- array(
+ array(
'App' => array(
'base' => false,
'baseUrl' => '/index.php',
@@ -1772,9 +1772,9 @@ public function testCharsetsCompatible() {
$newStyleEmail = $this->_getEmailByNewStyleCharset('iso-2022-jp', null);
$newStyleHeaders = $newStyleEmail->getHeaders($checkHeaders);
- $this->assertSame($oldStyleHeaders['From'], $newStyleHeaders['From']);
- $this->assertSame($oldStyleHeaders['To'], $newStyleHeaders['To']);
- $this->assertSame($oldStyleHeaders['Cc'], $newStyleHeaders['Cc']);
+ $this->assertSame($oldStyleHeaders['From'], $newStyleHeaders['From']);
+ $this->assertSame($oldStyleHeaders['To'], $newStyleHeaders['To']);
+ $this->assertSame($oldStyleHeaders['Cc'], $newStyleHeaders['Cc']);
$this->assertSame($oldStyleHeaders['Subject'], $newStyleHeaders['Subject']);
// Header Charset : UTF-8
@@ -1785,9 +1785,9 @@ public function testCharsetsCompatible() {
$newStyleEmail = $this->_getEmailByNewStyleCharset('iso-2022-jp', 'utf-8');
$newStyleHeaders = $newStyleEmail->getHeaders($checkHeaders);
- $this->assertSame($oldStyleHeaders['From'], $newStyleHeaders['From']);
- $this->assertSame($oldStyleHeaders['To'], $newStyleHeaders['To']);
- $this->assertSame($oldStyleHeaders['Cc'], $newStyleHeaders['Cc']);
+ $this->assertSame($oldStyleHeaders['From'], $newStyleHeaders['From']);
+ $this->assertSame($oldStyleHeaders['To'], $newStyleHeaders['To']);
+ $this->assertSame($oldStyleHeaders['Cc'], $newStyleHeaders['Cc']);
$this->assertSame($oldStyleHeaders['Subject'], $newStyleHeaders['Subject']);
// Header Charset : ISO-2022-JP
@@ -1798,9 +1798,9 @@ public function testCharsetsCompatible() {
$newStyleEmail = $this->_getEmailByNewStyleCharset('utf-8', 'iso-2022-jp');
$newStyleHeaders = $newStyleEmail->getHeaders($checkHeaders);
- $this->assertSame($oldStyleHeaders['From'], $newStyleHeaders['From']);
- $this->assertSame($oldStyleHeaders['To'], $newStyleHeaders['To']);
- $this->assertSame($oldStyleHeaders['Cc'], $newStyleHeaders['Cc']);
+ $this->assertSame($oldStyleHeaders['From'], $newStyleHeaders['From']);
+ $this->assertSame($oldStyleHeaders['To'], $newStyleHeaders['To']);
+ $this->assertSame($oldStyleHeaders['Cc'], $newStyleHeaders['Cc']);
$this->assertSame($oldStyleHeaders['Subject'], $newStyleHeaders['Subject']);
}
@@ -221,7 +221,7 @@ public function testConstruct() {
$baseConfig = $this->Socket->config;
$this->Socket->expects($this->never())->method('connect');
$this->Socket->__construct(array('host' => 'foo-bar'));
- $baseConfig['host'] = 'foo-bar';
+ $baseConfig['host'] = 'foo-bar';
$baseConfig['protocol'] = getprotobyname($baseConfig['protocol']);
$this->assertEquals($this->Socket->config, $baseConfig);
Oops, something went wrong.

0 comments on commit 5870d71

Please sign in to comment.