mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-09-04 06:10:07 +00:00
25 lines
523 B
PHP
25 lines
523 B
PHP
|
<?php
|
||
|
|
||
|
namespace FastRoute\Dispatcher;
|
||
|
|
||
|
class MarkBasedTest extends DispatcherTest
|
||
|
{
|
||
|
public function setUp()
|
||
|
{
|
||
|
preg_match('/(*MARK:A)a/', 'a', $matches);
|
||
|
if (!isset($matches['MARK'])) {
|
||
|
$this->markTestSkipped('PHP 5.6 required for MARK support');
|
||
|
}
|
||
|
}
|
||
|
|
||
|
protected function getDispatcherClass()
|
||
|
{
|
||
|
return 'FastRoute\\Dispatcher\\MarkBased';
|
||
|
}
|
||
|
|
||
|
protected function getDataGeneratorClass()
|
||
|
{
|
||
|
return 'FastRoute\\DataGenerator\\MarkBased';
|
||
|
}
|
||
|
}
|