Tests are now compliant with php-cs-fixer (CamelCase for method, phpdoc valid)
This commit is contained in:
@@ -1,19 +1,24 @@
|
||||
<?php
|
||||
|
||||
/** DomFramework - Tests
|
||||
* @package domframework
|
||||
* @author Dominique Fournier <dominique@fournier38.fr>
|
||||
* @license BSD
|
||||
*/
|
||||
/**
|
||||
* DomFramework - Tests
|
||||
* @package domframework
|
||||
* @author Dominique Fournier <dominique@fournier38.fr>
|
||||
* @license BSD
|
||||
*/
|
||||
|
||||
namespace Domframework\Tests;
|
||||
|
||||
use Domframework\Outputhtml;
|
||||
|
||||
/** Test the Outputhtml.php file */
|
||||
/**
|
||||
* Test the Outputhtml.php file
|
||||
*/
|
||||
class OutputhtmlTest extends \PHPUnit_Framework_TestCase
|
||||
{
|
||||
/** Entry null */
|
||||
/**
|
||||
* Entry null
|
||||
*/
|
||||
public function testlayout1()
|
||||
{
|
||||
$this->expectOutputRegex("#<body>\s+</body>#");
|
||||
@@ -58,7 +63,7 @@ class OutputhtmlTest extends \PHPUnit_Framework_TestCase
|
||||
</body>
|
||||
</html>\n");
|
||||
$output = new Outputhtml();
|
||||
$variable = array ("var" => "VARIABLE");
|
||||
$variable = ["var" => "VARIABLE"];
|
||||
$output->out(
|
||||
"data",
|
||||
"title",
|
||||
|
||||
Reference in New Issue
Block a user