Skip to content

Commit

Permalink
Update coding standard
Browse files Browse the repository at this point in the history
  • Loading branch information
xificurk committed Dec 22, 2019
1 parent 2f72fed commit 35bdf17
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"phpstan/phpstan-nette": "^0.12.0",
"damejidlo/phpstan-nette-tester": "^0.2.0",
"jakub-onderka/php-parallel-lint": "^1.0",
"nepada/coding-standard": "^6.3.0"
"nepada/coding-standard": "^7.0.0"
},
"autoload": {
"psr-4": {
Expand Down
6 changes: 3 additions & 3 deletions tests/MetaControl/MetaControlTest.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class MetaControlTest extends TestCase
Assert::same('Lorem ipsum', $control->getMetadata('description'));
Assert::same(
"<meta name=\"author\" content=\"Jon Doe\">\n<meta name=\"description\" content=\"Lorem ipsum\">\n",
$this->getRenderingOutput($control)
$this->getRenderingOutput($control),
);

$control->setMetadata('author', null);
Expand All @@ -70,7 +70,7 @@ class MetaControlTest extends TestCase
Assert::same('https://example.com', $control->getProperty('og:url'));
Assert::same(
"<meta property=\"og:title\" content=\"Foo title\">\n<meta property=\"og:url\" content=\"https://example.com\">\n",
$this->getRenderingOutput($control)
$this->getRenderingOutput($control),
);

$control->setProperty('og:title', null);
Expand All @@ -94,7 +94,7 @@ class MetaControlTest extends TestCase
Assert::same('42', $control->getPragma('refresh'));
Assert::same(
"<meta http-equiv=\"content-type\" content=\"text/html; charset=UTF-8\">\n<meta http-equiv=\"refresh\" content=\"42\">\n",
$this->getRenderingOutput($control)
$this->getRenderingOutput($control),
);

$control->setPragma('content-type', null);
Expand Down

0 comments on commit 35bdf17

Please sign in to comment.