fix: corrected windows line endings in view tests

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

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

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

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

Loading…
Cancel
Save