Skip to content

Commit

Permalink
Applied fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
mnapoli authored and StyleCIBot committed Feb 1, 2016
1 parent 8fd0731 commit 474f364
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/Application/Cli/InitTemplateCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ protected function execute(InputInterface $input, OutputInterface $output)

if (!$fileExists) {
$output->writeln('<comment>Initialising template.</comment>');
$template = <<<HTML
$template = <<<'HTML'
<!DOCTYPE html>
<html>
<head>
Expand Down
12 changes: 6 additions & 6 deletions tests/UnitTest/Module/Markdown/Step/RewriteMarkdownLinksTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class RewriteMarkdownLinksTest extends \PHPUnit_Framework_TestCase
{
public function testReplaceLinks()
{
$markdown = <<<MARKDOWN
$markdown = <<<'MARKDOWN'
This is a [link](doc/some-other.file.md), can you handle it (even with these parentheses)?
Here is a FILE.md.
Expand All @@ -29,7 +29,7 @@ public function testReplaceLinks()
Please leave [this](doc/test.html) and [this link](test.md.txt) alone.
MARKDOWN;

$expected = <<<MARKDOWN
$expected = <<<'MARKDOWN'
This is a [link](doc/some-other.file.html), can you handle it (even with these parentheses)?
Here is a FILE.md.
Expand Down Expand Up @@ -61,11 +61,11 @@ public function testReplaceLinks()
*/
public function testReplacesMultipleLinksPerLine()
{
$markdown = <<<MARKDOWN
$markdown = <<<'MARKDOWN'
This is a [link](doc/some-file.md) and [another one](doc/some-other-file.md)
MARKDOWN;

$expected = <<<MARKDOWN
$expected = <<<'MARKDOWN'
This is a [link](doc/some-file.html) and [another one](doc/some-other-file.html)
MARKDOWN;

Expand All @@ -81,12 +81,12 @@ public function testReplacesMultipleLinksPerLine()

public function testPreservesQueryString()
{
$markdown = <<<MARKDOWN
$markdown = <<<'MARKDOWN'
This is a [link](doc/some-file.md#header)
This is a [link](doc/some-file.md?search=foo)
MARKDOWN;

$expected = <<<MARKDOWN
$expected = <<<'MARKDOWN'
This is a [link](doc/some-file.html#header)
This is a [link](doc/some-file.html?search=foo)
MARKDOWN;
Expand Down

0 comments on commit 474f364

Please sign in to comment.