feat: modernize, only php 8 support

This commit is contained in:
Christopher Georg 2021-10-02 21:50:46 +02:00
parent 9eca389fdc
commit eb1e82c7ed
3 changed files with 10 additions and 6 deletions

View file

@ -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>

View file

@ -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();

View file

@ -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",