mirror of
https://github.com/KnpLabs/KnpMarkdownBundle.git
synced 2024-06-26 09:20:07 +02:00
feat: modernize, only php 8 support
This commit is contained in:
parent
9eca389fdc
commit
eb1e82c7ed
|
@ -16,7 +16,8 @@ class EscapingTest extends TestCase
|
|||
|
||||
public function testHtmlEscaping()
|
||||
{
|
||||
$this->markTestIncomplete('This tests a very deep escaping capability of the wrapped library @todo');
|
||||
$this->markTestSkipped('Wait for implemtation');
|
||||
#$this->markTestIncomplete('This tests a very deep escaping capability of the wrapped library @todo');
|
||||
|
||||
$text = <<<EOF
|
||||
<a>a tag injection</a>
|
||||
|
@ -32,7 +33,8 @@ EOF;
|
|||
|
||||
public function testScriptEscaping()
|
||||
{
|
||||
$this->markTestIncomplete('This tests a very deep escaping capability of the wrapped library @todo');
|
||||
$this->markTestSkipped('Wait for implemtation');
|
||||
#$this->markTestIncomplete('This tests a very deep escaping capability of the wrapped library @todo');
|
||||
|
||||
$text = <<<EOF
|
||||
<script>alert("haha");</script>
|
||||
|
|
|
@ -23,7 +23,8 @@ class PresetTest extends TestCase
|
|||
|
||||
public function testMin()
|
||||
{
|
||||
$this->markTestIncomplete('This test has not been implemented yet.');
|
||||
$this->markTestSkipped('Wait for implemtation');
|
||||
#$this->markTestIncomplete('This test has not been implemented yet.');
|
||||
|
||||
$parser = new Preset\Min();
|
||||
|
||||
|
@ -32,7 +33,8 @@ class PresetTest extends TestCase
|
|||
|
||||
public function testLight()
|
||||
{
|
||||
$this->markTestIncomplete('This test has not been implemented yet.');
|
||||
$this->markTestSkipped('Wait for implemtation');
|
||||
#$this->markTestIncomplete('This test has not been implemented yet.');
|
||||
|
||||
$parser = new Preset\Light();
|
||||
|
||||
|
|
|
@ -23,8 +23,8 @@
|
|||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit" : "^8.5.21 || ^9.5",
|
||||
"symfony/phpunit-bridge": "^4.4.20 || ^5.3 || ^6.0",
|
||||
"symfony/templating": "^4.4.20 || ^5.3 || ^6.0"
|
||||
"symfony/phpunit-bridge": "^4.4.31 || ^5.3 || ^6.0",
|
||||
"symfony/templating": "^4.4.31 || ^5.3 || ^6.0"
|
||||
},
|
||||
"suggest": {
|
||||
"symfony/twig-bundle": "to use the Twig markdown filter",
|
||||
|
|
Loading…
Reference in a new issue