mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-02-07 12:36:25 +00:00
PHPCS fixes.
This commit is contained in:
parent
75e8facd2f
commit
28dbc5b89b
1 changed files with 3 additions and 3 deletions
|
@ -1356,7 +1356,7 @@ class ViewTest extends CakeTestCase {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Test setting a block's content to an object with __toString magic method
|
* Test setting a block's content to an object with __toString magic method
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testBlockSetObjectWithToString() {
|
public function testBlockSetObjectWithToString() {
|
||||||
|
@ -1419,7 +1419,6 @@ class ViewTest extends CakeTestCase {
|
||||||
$this->assertSame('Block' . $value, $result);
|
$this->assertSame('Block' . $value, $result);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Test appending an object without __toString magic method to a block with append.
|
* Test appending an object without __toString magic method to a block with append.
|
||||||
*
|
*
|
||||||
|
@ -1437,7 +1436,7 @@ class ViewTest extends CakeTestCase {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Test prepending to a block with prepend.
|
* Test prepending to a block with prepend.
|
||||||
*
|
*
|
||||||
* @dataProvider blockValueProvider
|
* @dataProvider blockValueProvider
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
|
@ -1448,6 +1447,7 @@ class ViewTest extends CakeTestCase {
|
||||||
$result = $this->View->fetch('test');
|
$result = $this->View->fetch('test');
|
||||||
$this->assertEquals($value . 'Block', $result);
|
$this->assertEquals($value . 'Block', $result);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Test prepending an object without __toString magic method to a block with prepend.
|
* Test prepending an object without __toString magic method to a block with prepend.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Add table
Reference in a new issue