Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apply fixes from StyleCI #6

Merged
merged 1 commit into from May 5, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/helpers.php
Expand Up @@ -5,7 +5,7 @@
if (! function_exists('shortcodes')) {

/**
* Render shortcodes
* Render shortcodes.
*
* @param string $string
* @return string|HtmlString
Expand Down
4 changes: 2 additions & 2 deletions tests/Unit/HelpersTest.php
Expand Up @@ -2,8 +2,8 @@

namespace Vedmant\LaravelShortcodes\Tests\Unit;

use Vedmant\LaravelShortcodes\Tests\Resources\BShortcode;
use Vedmant\LaravelShortcodes\Tests\TestCase;
use Vedmant\LaravelShortcodes\Tests\Resources\BShortcode;

class HelpersTest extends TestCase
{
Expand All @@ -17,6 +17,6 @@ public function testRenderWithHelper()
$this->manager->add('b', BShortcode::class);

$rendered = \shortcodes('[b class="test"]Content[/b]');
$this->assertEquals("<b class=\"test\">Content</b>", (string) $rendered);
$this->assertEquals('<b class="test">Content</b>', (string) $rendered);
}
}