fix: corrected windows line endings in view tests

pull/635/head
fadrian06 3 weeks ago
parent bc203944ac
commit e5ce02e5bb

@ -13,7 +13,7 @@
{
"name": "Franyer Sánchez",
"email": "franyeradriansanchez@gmail.com",
"homepage": "https://faslatam.000webhostapp.com",
"homepage": "https://faslatam.42web.io",
"role": "Maintainer"
},
{
@ -44,11 +44,11 @@
"flightphp/runway": "^0.2.3 || ^1.0",
"league/container": "^4.2",
"level-2/dice": "^4.0",
"phpstan/extension-installer": "^1.3",
"phpstan/phpstan": "^1.10",
"phpunit/phpunit": "^9.5",
"phpstan/extension-installer": "^1.4",
"phpstan/phpstan": "^2.1",
"phpunit/phpunit": "^9.6",
"rregeer/phpunit-coverage-check": "^0.3.1",
"squizlabs/php_codesniffer": "^3.8"
"squizlabs/php_codesniffer": "^3.11"
},
"config": {
"allow-plugins": {

@ -31,6 +31,7 @@
<exclude name="Generic.Formatting.MultipleStatementAlignment.NotSameWarning" />
<exclude name="Generic.Functions.OpeningFunctionBraceBsdAllman.BraceOnSameLine" />
<exclude name="Generic.PHP.DisallowRequestSuperglobal.Found" />
<exclude name="Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsedHeredocCloser" />
</rule>
<rule ref="Generic.Files.LineLength">
<properties>

@ -224,6 +224,7 @@ class ViewTest extends TestCase
<div></div>
html;
$html2 = <<<'html'
<input type="number" />
@ -234,6 +235,7 @@ class ViewTest extends TestCase
$html1 = str_replace("\n", PHP_EOL, $html1);
$html2 = str_replace("\n", PHP_EOL, $html2);
return [
[
$html1,

Loading…
Cancel
Save