Tests are now compliant with php-cs-fixer (CamelCase for method, phpdoc valid)

This commit is contained in:
2023-04-13 22:22:46 +02:00
parent b017700d0a
commit 273db5f183
51 changed files with 3926 additions and 3637 deletions

View File

@@ -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",