diff options
author | marvin-borner@live.com | 2018-04-16 21:09:05 +0200 |
---|---|---|
committer | marvin-borner@live.com | 2018-04-16 21:09:05 +0200 |
commit | cf14306c2b3f82a81f8d56669a71633b4d4b5fce (patch) | |
tree | 86700651aa180026e89a66064b0364b1e4346f3f /assets/php/vendor/symfony/routing/Tests/Fixtures | |
parent | 619b01b3615458c4ed78bfaeabb6b1a47cc8ad8b (diff) |
Main merge to user management system - files are now at /main/public/
Diffstat (limited to 'assets/php/vendor/symfony/routing/Tests/Fixtures')
85 files changed, 0 insertions, 2392 deletions
diff --git a/assets/php/vendor/symfony/routing/Tests/Fixtures/AnnotatedClasses/AbstractClass.php b/assets/php/vendor/symfony/routing/Tests/Fixtures/AnnotatedClasses/AbstractClass.php deleted file mode 100755 index 56bcab2..0000000 --- a/assets/php/vendor/symfony/routing/Tests/Fixtures/AnnotatedClasses/AbstractClass.php +++ /dev/null @@ -1,16 +0,0 @@ -<?php - -/* - * This file is part of the Symfony package. - * - * (c) Fabien Potencier <fabien@symfony.com> - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -namespace Symfony\Component\Routing\Tests\Fixtures\AnnotatedClasses; - -abstract class AbstractClass -{ -} diff --git a/assets/php/vendor/symfony/routing/Tests/Fixtures/AnnotatedClasses/BarClass.php b/assets/php/vendor/symfony/routing/Tests/Fixtures/AnnotatedClasses/BarClass.php deleted file mode 100755 index a388277..0000000 --- a/assets/php/vendor/symfony/routing/Tests/Fixtures/AnnotatedClasses/BarClass.php +++ /dev/null @@ -1,19 +0,0 @@ -<?php - -/* - * This file is part of the Symfony package. - * - * (c) Fabien Potencier <fabien@symfony.com> - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -namespace Symfony\Component\Routing\Tests\Fixtures\AnnotatedClasses; - -class BarClass -{ - public function routeAction($arg1, $arg2 = 'defaultValue2', $arg3 = 'defaultValue3') - { - } -} diff --git a/assets/php/vendor/symfony/routing/Tests/Fixtures/AnnotatedClasses/BazClass.php b/assets/php/vendor/symfony/routing/Tests/Fixtures/AnnotatedClasses/BazClass.php deleted file mode 100755 index 471968b..0000000 --- a/assets/php/vendor/symfony/routing/Tests/Fixtures/AnnotatedClasses/BazClass.php +++ /dev/null @@ -1,19 +0,0 @@ -<?php - -/* - * This file is part of the Symfony package. - * - * (c) Fabien Potencier <fabien@symfony.com> - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -namespace Symfony\Component\Routing\Tests\Fixtures\AnnotatedClasses; - -class BazClass -{ - public function __invoke() - { - } -} diff --git a/assets/php/vendor/symfony/routing/Tests/Fixtures/AnnotatedClasses/FooClass.php b/assets/php/vendor/symfony/routing/Tests/Fixtures/AnnotatedClasses/FooClass.php deleted file mode 100755 index 320dc35..0000000 --- a/assets/php/vendor/symfony/routing/Tests/Fixtures/AnnotatedClasses/FooClass.php +++ /dev/null @@ -1,16 +0,0 @@ -<?php - -/* - * This file is part of the Symfony package. - * - * (c) Fabien Potencier <fabien@symfony.com> - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -namespace Symfony\Component\Routing\Tests\Fixtures\AnnotatedClasses; - -class FooClass -{ -} diff --git a/assets/php/vendor/symfony/routing/Tests/Fixtures/AnnotatedClasses/FooTrait.php b/assets/php/vendor/symfony/routing/Tests/Fixtures/AnnotatedClasses/FooTrait.php deleted file mode 100755 index ee8f4b0..0000000 --- a/assets/php/vendor/symfony/routing/Tests/Fixtures/AnnotatedClasses/FooTrait.php +++ /dev/null @@ -1,13 +0,0 @@ -<?php - -namespace Symfony\Component\Routing\Tests\Fixtures\AnnotatedClasses; - -trait FooTrait -{ - public function doBar() - { - $baz = self::class; - if (true) { - } - } -} diff --git a/assets/php/vendor/symfony/routing/Tests/Fixtures/CustomCompiledRoute.php b/assets/php/vendor/symfony/routing/Tests/Fixtures/CustomCompiledRoute.php deleted file mode 100755 index 0f6e198..0000000 --- a/assets/php/vendor/symfony/routing/Tests/Fixtures/CustomCompiledRoute.php +++ /dev/null @@ -1,18 +0,0 @@ -<?php - -/* - * This file is part of the Symfony package. - * - * (c) Fabien Potencier <fabien@symfony.com> - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -namespace Symfony\Component\Routing\Tests\Fixtures; - -use Symfony\Component\Routing\CompiledRoute; - -class CustomCompiledRoute extends CompiledRoute -{ -} diff --git a/assets/php/vendor/symfony/routing/Tests/Fixtures/CustomRouteCompiler.php b/assets/php/vendor/symfony/routing/Tests/Fixtures/CustomRouteCompiler.php deleted file mode 100755 index c2e2afd..0000000 --- a/assets/php/vendor/symfony/routing/Tests/Fixtures/CustomRouteCompiler.php +++ /dev/null @@ -1,26 +0,0 @@ -<?php - -/* - * This file is part of the Symfony package. - * - * (c) Fabien Potencier <fabien@symfony.com> - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -namespace Symfony\Component\Routing\Tests\Fixtures; - -use Symfony\Component\Routing\Route; -use Symfony\Component\Routing\RouteCompiler; - -class CustomRouteCompiler extends RouteCompiler -{ - /** - * {@inheritdoc} - */ - public static function compile(Route $route) - { - return new CustomCompiledRoute('', '', array(), array()); - } -} diff --git a/assets/php/vendor/symfony/routing/Tests/Fixtures/CustomXmlFileLoader.php b/assets/php/vendor/symfony/routing/Tests/Fixtures/CustomXmlFileLoader.php deleted file mode 100755 index 9fd5754..0000000 --- a/assets/php/vendor/symfony/routing/Tests/Fixtures/CustomXmlFileLoader.php +++ /dev/null @@ -1,26 +0,0 @@ -<?php - -/* - * This file is part of the Symfony package. - * - * (c) Fabien Potencier <fabien@symfony.com> - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -namespace Symfony\Component\Routing\Tests\Fixtures; - -use Symfony\Component\Routing\Loader\XmlFileLoader; -use Symfony\Component\Config\Util\XmlUtils; - -/** - * XmlFileLoader with schema validation turned off. - */ -class CustomXmlFileLoader extends XmlFileLoader -{ - protected function loadFile($file) - { - return XmlUtils::loadFile($file, function () { return true; }); - } -} diff --git a/assets/php/vendor/symfony/routing/Tests/Fixtures/OtherAnnotatedClasses/AnonymousClassInTrait.php b/assets/php/vendor/symfony/routing/Tests/Fixtures/OtherAnnotatedClasses/AnonymousClassInTrait.php deleted file mode 100755 index de87895..0000000 --- a/assets/php/vendor/symfony/routing/Tests/Fixtures/OtherAnnotatedClasses/AnonymousClassInTrait.php +++ /dev/null @@ -1,24 +0,0 @@ -<?php - -/* - * This file is part of the Symfony package. - * - * (c) Fabien Potencier <fabien@symfony.com> - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -namespace Symfony\Component\Routing\Tests\Fixtures\OtherAnnotatedClasses; - -trait AnonymousClassInTrait -{ - public function test() - { - return new class() { - public function foo() - { - } - }; - } -} diff --git a/assets/php/vendor/symfony/routing/Tests/Fixtures/OtherAnnotatedClasses/NoStartTagClass.php b/assets/php/vendor/symfony/routing/Tests/Fixtures/OtherAnnotatedClasses/NoStartTagClass.php deleted file mode 100755 index 8900d34..0000000 --- a/assets/php/vendor/symfony/routing/Tests/Fixtures/OtherAnnotatedClasses/NoStartTagClass.php +++ /dev/null @@ -1,3 +0,0 @@ -class NoStartTagClass -{ -} diff --git a/assets/php/vendor/symfony/routing/Tests/Fixtures/OtherAnnotatedClasses/VariadicClass.php b/assets/php/vendor/symfony/routing/Tests/Fixtures/OtherAnnotatedClasses/VariadicClass.php deleted file mode 100755 index 729c9b4..0000000 --- a/assets/php/vendor/symfony/routing/Tests/Fixtures/OtherAnnotatedClasses/VariadicClass.php +++ /dev/null @@ -1,19 +0,0 @@ -<?php - -/* - * This file is part of the Symfony package. - * - * (c) Fabien Potencier <fabien@symfony.com> - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -namespace Symfony\Component\Routing\Tests\Fixtures\OtherAnnotatedClasses; - -class VariadicClass -{ - public function routeAction(...$params) - { - } -} diff --git a/assets/php/vendor/symfony/routing/Tests/Fixtures/RedirectableUrlMatcher.php b/assets/php/vendor/symfony/routing/Tests/Fixtures/RedirectableUrlMatcher.php deleted file mode 100755 index 15937bc..0000000 --- a/assets/php/vendor/symfony/routing/Tests/Fixtures/RedirectableUrlMatcher.php +++ /dev/null @@ -1,30 +0,0 @@ -<?php - -/* - * This file is part of the Symfony package. - * - * (c) Fabien Potencier <fabien@symfony.com> - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -namespace Symfony\Component\Routing\Tests\Fixtures; - -use Symfony\Component\Routing\Matcher\UrlMatcher; -use Symfony\Component\Routing\Matcher\RedirectableUrlMatcherInterface; - -/** - * @author Fabien Potencier <fabien@symfony.com> - */ -class RedirectableUrlMatcher extends UrlMatcher implements RedirectableUrlMatcherInterface -{ - public function redirect($path, $route, $scheme = null) - { - return array( - '_controller' => 'Some controller reference...', - 'path' => $path, - 'scheme' => $scheme, - ); - } -} diff --git a/assets/php/vendor/symfony/routing/Tests/Fixtures/annotated.php b/assets/php/vendor/symfony/routing/Tests/Fixtures/annotated.php deleted file mode 100755 index e69de29..0000000 --- a/assets/php/vendor/symfony/routing/Tests/Fixtures/annotated.php +++ /dev/null diff --git a/assets/php/vendor/symfony/routing/Tests/Fixtures/bad_format.yml b/assets/php/vendor/symfony/routing/Tests/Fixtures/bad_format.yml deleted file mode 100755 index 8ba50e2..0000000 --- a/assets/php/vendor/symfony/routing/Tests/Fixtures/bad_format.yml +++ /dev/null @@ -1,3 +0,0 @@ -blog_show: - path: /blog/{slug} - defaults: { _controller: "MyBundle:Blog:show" } diff --git a/assets/php/vendor/symfony/routing/Tests/Fixtures/bar.xml b/assets/php/vendor/symfony/routing/Tests/Fixtures/bar.xml deleted file mode 100755 index e69de29..0000000 --- a/assets/php/vendor/symfony/routing/Tests/Fixtures/bar.xml +++ /dev/null diff --git a/assets/php/vendor/symfony/routing/Tests/Fixtures/controller/import__controller.xml b/assets/php/vendor/symfony/routing/Tests/Fixtures/controller/import__controller.xml deleted file mode 100755 index bbe727d..0000000 --- a/assets/php/vendor/symfony/routing/Tests/Fixtures/controller/import__controller.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" ?> -<routes xmlns="http://symfony.com/schema/routing" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://symfony.com/schema/routing - http://symfony.com/schema/routing/routing-1.0.xsd"> - - <import resource="routing.xml"> - <default key="_controller">FrameworkBundle:Template:template</default> - </import> -</routes> diff --git a/assets/php/vendor/symfony/routing/Tests/Fixtures/controller/import__controller.yml b/assets/php/vendor/symfony/routing/Tests/Fixtures/controller/import__controller.yml deleted file mode 100755 index 4240b74..0000000 --- a/assets/php/vendor/symfony/routing/Tests/Fixtures/controller/import__controller.yml +++ /dev/null @@ -1,4 +0,0 @@ -_static: - resource: routing.yml - defaults: - _controller: FrameworkBundle:Template:template diff --git a/assets/php/vendor/symfony/routing/Tests/Fixtures/controller/import_controller.xml b/assets/php/vendor/symfony/routing/Tests/Fixtures/controller/import_controller.xml deleted file mode 100755 index 378b9ca..0000000 --- a/assets/php/vendor/symfony/routing/Tests/Fixtures/controller/import_controller.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" ?> -<routes xmlns="http://symfony.com/schema/routing" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://symfony.com/schema/routing - http://symfony.com/schema/routing/routing-1.0.xsd"> - - <import resource="routing.xml" controller="FrameworkBundle:Template:template" /> -</routes> diff --git a/assets/php/vendor/symfony/routing/Tests/Fixtures/controller/import_controller.yml b/assets/php/vendor/symfony/routing/Tests/Fixtures/controller/import_controller.yml deleted file mode 100755 index 1a71c62..0000000 --- a/assets/php/vendor/symfony/routing/Tests/Fixtures/controller/import_controller.yml +++ /dev/null @@ -1,3 +0,0 @@ -_static: - resource: routing.yml - controller: FrameworkBundle:Template:template diff --git a/assets/php/vendor/symfony/routing/Tests/Fixtures/controller/import_override_defaults.xml b/assets/php/vendor/symfony/routing/Tests/Fixtures/controller/import_override_defaults.xml deleted file mode 100755 index e3c755a..0000000 --- a/assets/php/vendor/symfony/routing/Tests/Fixtures/controller/import_override_defaults.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" ?> -<routes xmlns="http://symfony.com/schema/routing" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://symfony.com/schema/routing - http://symfony.com/schema/routing/routing-1.0.xsd"> - - <import resource="routing.xml" controller="FrameworkBundle:Template:template"> - <default key="_controller">AppBundle:Blog:index</default> - </import> -</routes> diff --git a/assets/php/vendor/symfony/routing/Tests/Fixtures/controller/import_override_defaults.yml b/assets/php/vendor/symfony/routing/Tests/Fixtures/controller/import_override_defaults.yml deleted file mode 100755 index db1ab3c..0000000 --- a/assets/php/vendor/symfony/routing/Tests/Fixtures/controller/import_override_defaults.yml +++ /dev/null @@ -1,5 +0,0 @@ -_static: - resource: routing.yml - controller: FrameworkBundle:Template:template - defaults: - _controller: AppBundle:Homepage:show diff --git a/assets/php/vendor/symfony/routing/Tests/Fixtures/controller/override_defaults.xml b/assets/php/vendor/symfony/routing/Tests/Fixtures/controller/override_defaults.xml deleted file mode 100755 index f47c57b..0000000 --- a/assets/php/vendor/symfony/routing/Tests/Fixtures/controller/override_defaults.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" ?> -<routes xmlns="http://symfony.com/schema/routing" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://symfony.com/schema/routing - http://symfony.com/schema/routing/routing-1.0.xsd"> - - <route id="app_blog" path="/blog" controller="AppBundle:Homepage:show"> - <default key="_controller">AppBundle:Blog:index</default> - </route> -</routes> diff --git a/assets/php/vendor/symfony/routing/Tests/Fixtures/controller/override_defaults.yml b/assets/php/vendor/symfony/routing/Tests/Fixtures/controller/override_defaults.yml deleted file mode 100755 index 00a2c0e..0000000 --- a/assets/php/vendor/symfony/routing/Tests/Fixtures/controller/override_defaults.yml +++ /dev/null @@ -1,5 +0,0 @@ -app_blog: - path: /blog - controller: AppBundle:Homepage:show - defaults: - _controller: AppBundle:Blog:index diff --git a/assets/php/vendor/symfony/routing/Tests/Fixtures/controller/routing.xml b/assets/php/vendor/symfony/routing/Tests/Fixtures/controller/routing.xml deleted file mode 100755 index 6420138..0000000 --- a/assets/php/vendor/symfony/routing/Tests/Fixtures/controller/routing.xml +++ /dev/null @@ -1,14 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" ?> -<routes xmlns="http://symfony.com/schema/routing" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://symfony.com/schema/routing - http://symfony.com/schema/routing/routing-1.0.xsd"> - - <route id="app_homepage" path="/" controller="AppBundle:Homepage:show" /> - - <route id="app_blog" path="/blog"> - <default key="_controller">AppBundle:Blog:list</default> - </route> - - <route id="app_logout" path="/logout" /> -</routes> diff --git a/assets/php/vendor/symfony/routing/Tests/Fixtures/controller/routing.yml b/assets/php/vendor/symfony/routing/Tests/Fixtures/controller/routing.yml deleted file mode 100755 index cb71ec3..0000000 --- a/assets/php/vendor/symfony/routing/Tests/Fixtures/controller/routing.yml +++ /dev/null @@ -1,11 +0,0 @@ -app_homepage: - path: / - controller: AppBundle:Homepage:show - -app_blog: - path: /blog - defaults: - _controller: AppBundle:Blog:list - -app_logout: - path: /logout diff --git a/assets/php/vendor/symfony/routing/Tests/Fixtures/directory/recurse/routes1.yml b/assets/php/vendor/symfony/routing/Tests/Fixtures/directory/recurse/routes1.yml deleted file mode 100755 index d078836..0000000 --- a/assets/php/vendor/symfony/routing/Tests/Fixtures/directory/recurse/routes1.yml +++ /dev/null @@ -1,2 +0,0 @@ -route1: - path: /route/1 diff --git a/assets/php/vendor/symfony/routing/Tests/Fixtures/directory/recurse/routes2.yml b/assets/php/vendor/symfony/routing/Tests/Fixtures/directory/recurse/routes2.yml deleted file mode 100755 index 938fb24..0000000 --- a/assets/php/vendor/symfony/routing/Tests/Fixtures/directory/recurse/routes2.yml +++ /dev/null @@ -1,2 +0,0 @@ -route2: - path: /route/2 diff --git a/assets/php/vendor/symfony/routing/Tests/Fixtures/directory/routes3.yml b/assets/php/vendor/symfony/routing/Tests/Fixtures/directory/routes3.yml deleted file mode 100755 index 088cfb4..0000000 --- a/assets/php/vendor/symfony/routing/Tests/Fixtures/directory/routes3.yml +++ /dev/null @@ -1,2 +0,0 @@ -route3: - path: /route/3 diff --git a/assets/php/vendor/symfony/routing/Tests/Fixtures/directory_import/import.yml b/assets/php/vendor/symfony/routing/Tests/Fixtures/directory_import/import.yml deleted file mode 100755 index af829e5..0000000 --- a/assets/php/vendor/symfony/routing/Tests/Fixtures/directory_import/import.yml +++ /dev/null @@ -1,3 +0,0 @@ -_directory: - resource: "../directory" - type: directory diff --git a/assets/php/vendor/symfony/routing/Tests/Fixtures/dumper/url_matcher0.php b/assets/php/vendor/symfony/routing/Tests/Fixtures/dumper/url_matcher0.php deleted file mode 100755 index 9e9b910..0000000 --- a/assets/php/vendor/symfony/routing/Tests/Fixtures/dumper/url_matcher0.php +++ /dev/null @@ -1,37 +0,0 @@ -<?php - -use Symfony\Component\Routing\Exception\MethodNotAllowedException; -use Symfony\Component\Routing\Exception\ResourceNotFoundException; -use Symfony\Component\Routing\RequestContext; - -/** - * This class has been auto-generated - * by the Symfony Routing Component. - */ -class ProjectUrlMatcher extends Symfony\Component\Routing\Matcher\UrlMatcher -{ - public function __construct(RequestContext $context) - { - $this->context = $context; - } - - public function match($rawPathinfo) - { - $allow = array(); - $pathinfo = rawurldecode($rawPathinfo); - $trimmedPathinfo = rtrim($pathinfo, '/'); - $context = $this->context; - $request = $this->request ?: $this->createRequest($pathinfo); - $requestMethod = $canonicalMethod = $context->getMethod(); - - if ('HEAD' === $requestMethod) { - $canonicalMethod = 'GET'; - } - - if ('/' === $pathinfo && !$allow) { - throw new Symfony\Component\Routing\Exception\NoConfigurationException(); - } - - throw 0 < count($allow) ? new MethodNotAllowedException(array_unique($allow)) : new ResourceNotFoundException(); - } -} diff --git a/assets/php/vendor/symfony/routing/Tests/Fixtures/dumper/url_matcher1.php b/assets/php/vendor/symfony/routing/Tests/Fixtures/dumper/url_matcher1.php deleted file mode 100755 index 23a93c1..0000000 --- a/assets/php/vendor/symfony/routing/Tests/Fixtures/dumper/url_matcher1.php +++ /dev/null @@ -1,318 +0,0 @@ -<?php - -use Symfony\Component\Routing\Exception\MethodNotAllowedException; -use Symfony\Component\Routing\Exception\ResourceNotFoundException; -use Symfony\Component\Routing\RequestContext; - -/** - * This class has been auto-generated - * by the Symfony Routing Component. - */ -class ProjectUrlMatcher extends Symfony\Component\Routing\Matcher\UrlMatcher -{ - public function __construct(RequestContext $context) - { - $this->context = $context; - } - - public function match($rawPathinfo) - { - $allow = array(); - $pathinfo = rawurldecode($rawPathinfo); - $trimmedPathinfo = rtrim($pathinfo, '/'); - $context = $this->context; - $request = $this->request ?: $this->createRequest($pathinfo); - $requestMethod = $canonicalMethod = $context->getMethod(); - - if ('HEAD' === $requestMethod) { - $canonicalMethod = 'GET'; - } - - if (0 === strpos($pathinfo, '/foo')) { - // foo - if (preg_match('#^/foo/(?P<bar>baz|symfony)$#sD', $pathinfo, $matches)) { - return $this->mergeDefaults(array_replace($matches, array('_route' => 'foo')), array ( 'def' => 'test',)); - } - - // foofoo - if ('/foofoo' === $pathinfo) { - return array ( 'def' => 'test', '_route' => 'foofoo',); - } - - } - - elseif (0 === strpos($pathinfo, '/bar')) { - // bar - if (preg_match('#^/bar/(?P<foo>[^/]++)$#sD', $pathinfo, $matches)) { - $ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'bar')), array ()); - if (!in_array($canonicalMethod, array('GET', 'HEAD'))) { - $allow = array_merge($allow, array('GET', 'HEAD')); - goto not_bar; - } - - return $ret; - } - not_bar: - - // barhead - if (0 === strpos($pathinfo, '/barhead') && preg_match('#^/barhead/(?P<foo>[^/]++)$#sD', $pathinfo, $matches)) { - $ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'barhead')), array ()); - if (!in_array($canonicalMethod, array('GET'))) { - $allow = array_merge($allow, array('GET')); - goto not_barhead; - } - - return $ret; - } - not_barhead: - - } - - elseif (0 === strpos($pathinfo, '/test')) { - if (0 === strpos($pathinfo, '/test/baz')) { - // baz - if ('/test/baz' === $pathinfo) { - return array('_route' => 'baz'); - } - - // baz2 - if ('/test/baz.html' === $pathinfo) { - return array('_route' => 'baz2'); - } - - // baz3 - if ('/test/baz3/' === $pathinfo) { - return array('_route' => 'baz3'); - } - - } - - // baz4 - if (preg_match('#^/test/(?P<foo>[^/]++)/$#sD', $pathinfo, $matches)) { - return $this->mergeDefaults(array_replace($matches, array('_route' => 'baz4')), array ()); - } - - // baz5 - if (preg_match('#^/test/(?P<foo>[^/]++)/$#sD', $pathinfo, $matches)) { - $ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'baz5')), array ()); - if (!in_array($requestMethod, array('POST'))) { - $allow = array_merge($allow, array('POST')); - goto not_baz5; - } - - return $ret; - } - not_baz5: - - // baz.baz6 - if (preg_match('#^/test/(?P<foo>[^/]++)/$#sD', $pathinfo, $matches)) { - $ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'baz.baz6')), array ()); - if (!in_array($requestMethod, array('PUT'))) { - $allow = array_merge($allow, array('PUT')); - goto not_bazbaz6; - } - - return $ret; - } - not_bazbaz6: - - } - - // quoter - if (preg_match('#^/(?P<quoter>[\']+)$#sD', $pathinfo, $matches)) { - return $this->mergeDefaults(array_replace($matches, array('_route' => 'quoter')), array ()); - } - - // space - if ('/spa ce' === $pathinfo) { - return array('_route' => 'space'); - } - - if (0 === strpos($pathinfo, '/a')) { - if (0 === strpos($pathinfo, '/a/b\'b')) { - // foo1 - if (preg_match('#^/a/b\'b/(?P<foo>[^/]++)$#sD', $pathinfo, $matches)) { - return $this->mergeDefaults(array_replace($matches, array('_route' => 'foo1')), array ()); - } - - // bar1 - if (preg_match('#^/a/b\'b/(?P<bar>[^/]++)$#sD', $pathinfo, $matches)) { - return $this->mergeDefaults(array_replace($matches, array('_route' => 'bar1')), array ()); - } - - } - - // overridden - if (preg_match('#^/a/(?P<var>.*)$#sD', $pathinfo, $matches)) { - return $this->mergeDefaults(array_replace($matches, array('_route' => 'overridden')), array ()); - } - - if (0 === strpos($pathinfo, '/a/b\'b')) { - // foo2 - if (preg_match('#^/a/b\'b/(?P<foo1>[^/]++)$#sD', $pathinfo, $matches)) { - return $this->mergeDefaults(array_replace($matches, array('_route' => 'foo2')), array ()); - } - - // bar2 - if (preg_match('#^/a/b\'b/(?P<bar1>[^/]++)$#sD', $pathinfo, $matches)) { - return $this->mergeDefaults(array_replace($matches, array('_route' => 'bar2')), array ()); - } - - } - - } - - elseif (0 === strpos($pathinfo, '/multi')) { - // helloWorld - if (0 === strpos($pathinfo, '/multi/hello') && preg_match('#^/multi/hello(?:/(?P<who>[^/]++))?$#sD', $pathinfo, $matches)) { - return $this->mergeDefaults(array_replace($matches, array('_route' => 'helloWorld')), array ( 'who' => 'World!',)); - } - - // hey - if ('/multi/hey/' === $pathinfo) { - return array('_route' => 'hey'); - } - - // overridden2 - if ('/multi/new' === $pathinfo) { - return array('_route' => 'overridden2'); - } - - } - - // foo3 - if (preg_match('#^/(?P<_locale>[^/]++)/b/(?P<foo>[^/]++)$#sD', $pathinfo, $matches)) { - return $this->mergeDefaults(array_replace($matches, array('_route' => 'foo3')), array ()); - } - - // bar3 - if (preg_match('#^/(?P<_locale>[^/]++)/b/(?P<bar>[^/]++)$#sD', $pathinfo, $matches)) { - return $this->mergeDefaults(array_replace($matches, array('_route' => 'bar3')), array ()); - } - - if (0 === strpos($pathinfo, '/aba')) { - // ababa - if ('/ababa' === $pathinfo) { - return array('_route' => 'ababa'); - } - - // foo4 - if (preg_match('#^/aba/(?P<foo>[^/]++)$#sD', $pathinfo, $matches)) { - return $this->mergeDefaults(array_replace($matches, array('_route' => 'foo4')), array ()); - } - - } - - $host = $context->getHost(); - - if (preg_match('#^a\\.example\\.com$#sDi', $host, $hostMatches)) { - // route1 - if ('/route1' === $pathinfo) { - return array('_route' => 'route1'); - } - - // route2 - if ('/c2/route2' === $pathinfo) { - return array('_route' => 'route2'); - } - - } - - if (preg_match('#^b\\.example\\.com$#sDi', $host, $hostMatches)) { - // route3 - if ('/c2/route3' === $pathinfo) { - return array('_route' => 'route3'); - } - - } - - if (preg_match('#^a\\.example\\.com$#sDi', $host, $hostMatches)) { - // route4 - if ('/route4' === $pathinfo) { - return array('_route' => 'route4'); - } - - } - - if (preg_match('#^c\\.example\\.com$#sDi', $host, $hostMatches)) { - // route5 - if ('/route5' === $pathinfo) { - return array('_route' => 'route5'); - } - - } - - // route6 - if ('/route6' === $pathinfo) { - return array('_route' => 'route6'); - } - - if (preg_match('#^(?P<var1>[^\\.]++)\\.example\\.com$#sDi', $host, $hostMatches)) { - if (0 === strpos($pathinfo, '/route1')) { - // route11 - if ('/route11' === $pathinfo) { - return $this->mergeDefaults(array_replace($hostMatches, array('_route' => 'route11')), array ()); - } - - // route12 - if ('/route12' === $pathinfo) { - return $this->mergeDefaults(array_replace($hostMatches, array('_route' => 'route12')), array ( 'var1' => 'val',)); - } - - // route13 - if (0 === strpos($pathinfo, '/route13') && preg_match('#^/route13/(?P<name>[^/]++)$#sD', $pathinfo, $matches)) { - return $this->mergeDefaults(array_replace($hostMatches, $matches, array('_route' => 'route13')), array ()); - } - - // route14 - if (0 === strpos($pathinfo, '/route14') && preg_match('#^/route14/(?P<name>[^/]++)$#sD', $pathinfo, $matches)) { - return $this->mergeDefaults(array_replace($hostMatches, $matches, array('_route' => 'route14')), array ( 'var1' => 'val',)); - } - - } - - } - - if (preg_match('#^c\\.example\\.com$#sDi', $host, $hostMatches)) { - // route15 - if (0 === strpos($pathinfo, '/route15') && preg_match('#^/route15/(?P<name>[^/]++)$#sD', $pathinfo, $matches)) { - return $this->mergeDefaults(array_replace($matches, array('_route' => 'route15')), array ()); - } - - } - - // route16 - if (0 === strpos($pathinfo, '/route16') && preg_match('#^/route16/(?P<name>[^/]++)$#sD', $pathinfo, $matches)) { - return $this->mergeDefaults(array_replace($matches, array('_route' => 'route16')), array ( 'var1' => 'val',)); - } - - // route17 - if ('/route17' === $pathinfo) { - return array('_route' => 'route17'); - } - - // a - if ('/a/a...' === $pathinfo) { - return array('_route' => 'a'); - } - - if (0 === strpos($pathinfo, '/a/b')) { - // b - if (preg_match('#^/a/b/(?P<var>[^/]++)$#sD', $pathinfo, $matches)) { - return $this->mergeDefaults(array_replace($matches, array('_route' => 'b')), array ()); - } - - // c - if (0 === strpos($pathinfo, '/a/b/c') && preg_match('#^/a/b/c/(?P<var>[^/]++)$#sD', $pathinfo, $matches)) { - return $this->mergeDefaults(array_replace($matches, array('_route' => 'c')), array ()); - } - - } - - if ('/' === $pathinfo && !$allow) { - throw new Symfony\Component\Routing\Exception\NoConfigurationException(); - } - - throw 0 < count($allow) ? new MethodNotAllowedException(array_unique($allow)) : new ResourceNotFoundException(); - } -} diff --git a/assets/php/vendor/symfony/routing/Tests/Fixtures/dumper/url_matcher2.php b/assets/php/vendor/symfony/routing/Tests/Fixtures/dumper/url_matcher2.php deleted file mode 100755 index e430adb..0000000 --- a/assets/php/vendor/symfony/routing/Tests/Fixtures/dumper/url_matcher2.php +++ /dev/null @@ -1,380 +0,0 @@ -<?php - -use Symfony\Component\Routing\Exception\MethodNotAllowedException; -use Symfony\Component\Routing\Exception\ResourceNotFoundException; -use Symfony\Component\Routing\RequestContext; - -/** - * This class has been auto-generated - * by the Symfony Routing Component. - */ -class ProjectUrlMatcher extends Symfony\Component\Routing\Tests\Fixtures\RedirectableUrlMatcher -{ - public function __construct(RequestContext $context) - { - $this->context = $context; - } - - public function match($rawPathinfo) - { - $allow = array(); - $pathinfo = rawurldecode($rawPathinfo); - $trimmedPathinfo = rtrim($pathinfo, '/'); - $context = $this->context; - $request = $this->request ?: $this->createRequest($pathinfo); - $requestMethod = $canonicalMethod = $context->getMethod(); - - if ('HEAD' === $requestMethod) { - $canonicalMethod = 'GET'; - } - - if (0 === strpos($pathinfo, '/foo')) { - // foo - if (preg_match('#^/foo/(?P<bar>baz|symfony)$#sD', $pathinfo, $matches)) { - return $this->mergeDefaults(array_replace($matches, array('_route' => 'foo')), array ( 'def' => 'test',)); - } - - // foofoo - if ('/foofoo' === $pathinfo) { - return array ( 'def' => 'test', '_route' => 'foofoo',); - } - - } - - elseif (0 === strpos($pathinfo, '/bar')) { - // bar - if (preg_match('#^/bar/(?P<foo>[^/]++)$#sD', $pathinfo, $matches)) { - $ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'bar')), array ()); - if (!in_array($canonicalMethod, array('GET', 'HEAD'))) { - $allow = array_merge($allow, array('GET', 'HEAD')); - goto not_bar; - } - - return $ret; - } - not_bar: - - // barhead - if (0 === strpos($pathinfo, '/barhead') && preg_match('#^/barhead/(?P<foo>[^/]++)$#sD', $pathinfo, $matches)) { - $ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'barhead')), array ()); - if (!in_array($canonicalMethod, array('GET'))) { - $allow = array_merge($allow, array('GET')); - goto not_barhead; - } - - return $ret; - } - not_barhead: - - } - - elseif (0 === strpos($pathinfo, '/test')) { - if (0 === strpos($pathinfo, '/test/baz')) { - // baz - if ('/test/baz' === $pathinfo) { - return array('_route' => 'baz'); - } - - // baz2 - if ('/test/baz.html' === $pathinfo) { - return array('_route' => 'baz2'); - } - - // baz3 - if ('/test/baz3' === $trimmedPathinfo) { - $ret = array('_route' => 'baz3'); - if ('/' === substr($pathinfo, -1)) { - // no-op - } elseif ('GET' !== $canonicalMethod) { - goto not_baz3; - } else { - return array_replace($ret, $this->redirect($rawPathinfo.'/', 'baz3')); - } - - return $ret; - } - not_baz3: - - } - - // baz4 - if (preg_match('#^/test/(?P<foo>[^/]++)/?$#sD', $pathinfo, $matches)) { - $ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'baz4')), array ()); - if ('/' === substr($pathinfo, -1)) { - // no-op - } elseif ('GET' !== $canonicalMethod) { - goto not_baz4; - } else { - return array_replace($ret, $this->redirect($rawPathinfo.'/', 'baz4')); - } - - return $ret; - } - not_baz4: - - // baz5 - if (preg_match('#^/test/(?P<foo>[^/]++)/$#sD', $pathinfo, $matches)) { - $ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'baz5')), array ()); - if (!in_array($requestMethod, array('POST'))) { - $allow = array_merge($allow, array('POST')); - goto not_baz5; - } - - return $ret; - } - not_baz5: - - // baz.baz6 - if (preg_match('#^/test/(?P<foo>[^/]++)/$#sD', $pathinfo, $matches)) { - $ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'baz.baz6')), array ()); - if (!in_array($requestMethod, array('PUT'))) { - $allow = array_merge($allow, array('PUT')); - goto not_bazbaz6; - } - - return $ret; - } - not_bazbaz6: - - } - - // quoter - if (preg_match('#^/(?P<quoter>[\']+)$#sD', $pathinfo, $matches)) { - return $this->mergeDefaults(array_replace($matches, array('_route' => 'quoter')), array ()); - } - - // space - if ('/spa ce' === $pathinfo) { - return array('_route' => 'space'); - } - - if (0 === strpos($pathinfo, '/a')) { - if (0 === strpos($pathinfo, '/a/b\'b')) { - // foo1 - if (preg_match('#^/a/b\'b/(?P<foo>[^/]++)$#sD', $pathinfo, $matches)) { - return $this->mergeDefaults(array_replace($matches, array('_route' => 'foo1')), array ()); - } - - // bar1 - if (preg_match('#^/a/b\'b/(?P<bar>[^/]++)$#sD', $pathinfo, $matches)) { - return $this->mergeDefaults(array_replace($matches, array('_route' => 'bar1')), array ()); - } - - } - - // overridden - if (preg_match('#^/a/(?P<var>.*)$#sD', $pathinfo, $matches)) { - return $this->mergeDefaults(array_replace($matches, array('_route' => 'overridden')), array ()); - } - - if (0 === strpos($pathinfo, '/a/b\'b')) { - // foo2 - if (preg_match('#^/a/b\'b/(?P<foo1>[^/]++)$#sD', $pathinfo, $matches)) { - return $this->mergeDefaults(array_replace($matches, array('_route' => 'foo2')), array ()); - } - - // bar2 - if (preg_match('#^/a/b\'b/(?P<bar1>[^/]++)$#sD', $pathinfo, $matches)) { - return $this->mergeDefaults(array_replace($matches, array('_route' => 'bar2')), array ()); - } - - } - - } - - elseif (0 === strpos($pathinfo, '/multi')) { - // helloWorld - if (0 === strpos($pathinfo, '/multi/hello') && preg_match('#^/multi/hello(?:/(?P<who>[^/]++))?$#sD', $pathinfo, $matches)) { - return $this->mergeDefaults(array_replace($matches, array('_route' => 'helloWorld')), array ( 'who' => 'World!',)); - } - - // hey - if ('/multi/hey' === $trimmedPathinfo) { - $ret = array('_route' => 'hey'); - if ('/' === substr($pathinfo, -1)) { - // no-op - } elseif ('GET' !== $canonicalMethod) { - goto not_hey; - } else { - return array_replace($ret, $this->redirect($rawPathinfo.'/', 'hey')); - } - - return $ret; - } - not_hey: - - // overridden2 - if ('/multi/new' === $pathinfo) { - return array('_route' => 'overridden2'); - } - - } - - // foo3 - if (preg_match('#^/(?P<_locale>[^/]++)/b/(?P<foo>[^/]++)$#sD', $pathinfo, $matches)) { - return $this->mergeDefaults(array_replace($matches, array('_route' => 'foo3')), array ()); - } - - // bar3 - if (preg_match('#^/(?P<_locale>[^/]++)/b/(?P<bar>[^/]++)$#sD', $pathinfo, $matches)) { - return $this->mergeDefaults(array_replace($matches, array('_route' => 'bar3')), array ()); - } - - if (0 === strpos($pathinfo, '/aba')) { - // ababa - if ('/ababa' === $pathinfo) { - return array('_route' => 'ababa'); - } - - // foo4 - if (preg_match('#^/aba/(?P<foo>[^/]++)$#sD', $pathinfo, $matches)) { - return $this->mergeDefaults(array_replace($matches, array('_route' => 'foo4')), array ()); - } - - } - - $host = $context->getHost(); - - if (preg_match('#^a\\.example\\.com$#sDi', $host, $hostMatches)) { - // route1 - if ('/route1' === $pathinfo) { - return array('_route' => 'route1'); - } - - // route2 - if ('/c2/route2' === $pathinfo) { - return array('_route' => 'route2'); - } - - } - - if (preg_match('#^b\\.example\\.com$#sDi', $host, $hostMatches)) { - // route3 - if ('/c2/route3' === $pathinfo) { - return array('_route' => 'route3'); - } - - } - - if (preg_match('#^a\\.example\\.com$#sDi', $host, $hostMatches)) { - // route4 - if ('/route4' === $pathinfo) { - return array('_route' => 'route4'); - } - - } - - if (preg_match('#^c\\.example\\.com$#sDi', $host, $hostMatches)) { - // route5 - if ('/route5' === $pathinfo) { - return array('_route' => 'route5'); - } - - } - - // route6 - if ('/route6' === $pathinfo) { - return array('_route' => 'route6'); - } - - if (preg_match('#^(?P<var1>[^\\.]++)\\.example\\.com$#sDi', $host, $hostMatches)) { - if (0 === strpos($pathinfo, '/route1')) { - // route11 - if ('/route11' === $pathinfo) { - return $this->mergeDefaults(array_replace($hostMatches, array('_route' => 'route11')), array ()); - } - - // route12 - if ('/route12' === $pathinfo) { - return $this->mergeDefaults(array_replace($hostMatches, array('_route' => 'route12')), array ( 'var1' => 'val',)); - } - - // route13 - if (0 === strpos($pathinfo, '/route13') && preg_match('#^/route13/(?P<name>[^/]++)$#sD', $pathinfo, $matches)) { - return $this->mergeDefaults(array_replace($hostMatches, $matches, array('_route' => 'route13')), array ()); - } - - // route14 - if (0 === strpos($pathinfo, '/route14') && preg_match('#^/route14/(?P<name>[^/]++)$#sD', $pathinfo, $matches)) { - return $this->mergeDefaults(array_replace($hostMatches, $matches, array('_route' => 'route14')), array ( 'var1' => 'val',)); - } - - } - - } - - if (preg_match('#^c\\.example\\.com$#sDi', $host, $hostMatches)) { - // route15 - if (0 === strpos($pathinfo, '/route15') && preg_match('#^/route15/(?P<name>[^/]++)$#sD', $pathinfo, $matches)) { - return $this->mergeDefaults(array_replace($matches, array('_route' => 'route15')), array ()); - } - - } - - // route16 - if (0 === strpos($pathinfo, '/route16') && preg_match('#^/route16/(?P<name>[^/]++)$#sD', $pathinfo, $matches)) { - return $this->mergeDefaults(array_replace($matches, array('_route' => 'route16')), array ( 'var1' => 'val',)); - } - - // route17 - if ('/route17' === $pathinfo) { - return array('_route' => 'route17'); - } - - // a - if ('/a/a...' === $pathinfo) { - return array('_route' => 'a'); - } - - if (0 === strpos($pathinfo, '/a/b')) { - // b - if (preg_match('#^/a/b/(?P<var>[^/]++)$#sD', $pathinfo, $matches)) { - return $this->mergeDefaults(array_replace($matches, array('_route' => 'b')), array ()); - } - - // c - if (0 === strpos($pathinfo, '/a/b/c') && preg_match('#^/a/b/c/(?P<var>[^/]++)$#sD', $pathinfo, $matches)) { - return $this->mergeDefaults(array_replace($matches, array('_route' => 'c')), array ()); - } - - } - - // secure - if ('/secure' === $pathinfo) { - $ret = array('_route' => 'secure'); - $requiredSchemes = array ( 'https' => 0,); - if (!isset($requiredSchemes[$context->getScheme()])) { - if ('GET' !== $canonicalMethod) { - goto not_secure; - } - - return array_replace($ret, $this->redirect($rawPathinfo, 'secure', key($requiredSchemes))); - } - - return $ret; - } - not_secure: - - // nonsecure - if ('/nonsecure' === $pathinfo) { - $ret = array('_route' => 'nonsecure'); - $requiredSchemes = array ( 'http' => 0,); - if (!isset($requiredSchemes[$context->getScheme()])) { - if ('GET' !== $canonicalMethod) { - goto not_nonsecure; - } - - return array_replace($ret, $this->redirect($rawPathinfo, 'nonsecure', key($requiredSchemes))); - } - - return $ret; - } - not_nonsecure: - - if ('/' === $pathinfo && !$allow) { - throw new Symfony\Component\Routing\Exception\NoConfigurationException(); - } - - throw 0 < count($allow) ? new MethodNotAllowedException(array_unique($allow)) : new ResourceNotFoundException(); - } -} diff --git a/assets/php/vendor/symfony/routing/Tests/Fixtures/dumper/url_matcher3.php b/assets/php/vendor/symfony/routing/Tests/Fixtures/dumper/url_matcher3.php deleted file mode 100755 index 67c4667..0000000 --- a/assets/php/vendor/symfony/routing/Tests/Fixtures/dumper/url_matcher3.php +++ /dev/null @@ -1,55 +0,0 @@ -<?php - -use Symfony\Component\Routing\Exception\MethodNotAllowedException; -use Symfony\Component\Routing\Exception\ResourceNotFoundException; -use Symfony\Component\Routing\RequestContext; - -/** - * This class has been auto-generated - * by the Symfony Routing Component. - */ -class ProjectUrlMatcher extends Symfony\Component\Routing\Matcher\UrlMatcher -{ - public function __construct(RequestContext $context) - { - $this->context = $context; - } - - public function match($rawPathinfo) - { - $allow = array(); - $pathinfo = rawurldecode($rawPathinfo); - $trimmedPathinfo = rtrim($pathinfo, '/'); - $context = $this->context; - $request = $this->request ?: $this->createRequest($pathinfo); - $requestMethod = $canonicalMethod = $context->getMethod(); - - if ('HEAD' === $requestMethod) { - $canonicalMethod = 'GET'; - } - - if (0 === strpos($pathinfo, '/rootprefix')) { - // static - if ('/rootprefix/test' === $pathinfo) { - return array('_route' => 'static'); - } - - // dynamic - if (preg_match('#^/rootprefix/(?P<var>[^/]++)$#sD', $pathinfo, $matches)) { - return $this->mergeDefaults(array_replace($matches, array('_route' => 'dynamic')), array ()); - } - - } - - // with-condition - if ('/with-condition' === $pathinfo && ($context->getMethod() == "GET")) { - return array('_route' => 'with-condition'); - } - - if ('/' === $pathinfo && !$allow) { - throw new Symfony\Component\Routing\Exception\NoConfigurationException(); - } - - throw 0 < count($allow) ? new MethodNotAllowedException(array_unique($allow)) : new ResourceNotFoundException(); - } -} diff --git a/assets/php/vendor/symfony/routing/Tests/Fixtures/dumper/url_matcher4.php b/assets/php/vendor/symfony/routing/Tests/Fixtures/dumper/url_matcher4.php deleted file mode 100755 index ed07194..0000000 --- a/assets/php/vendor/symfony/routing/Tests/Fixtures/dumper/url_matcher4.php +++ /dev/null @@ -1,112 +0,0 @@ -<?php - -use Symfony\Component\Routing\Exception\MethodNotAllowedException; -use Symfony\Component\Routing\Exception\ResourceNotFoundException; -use Symfony\Component\Routing\RequestContext; - -/** - * This class has been auto-generated - * by the Symfony Routing Component. - */ -class ProjectUrlMatcher extends Symfony\Component\Routing\Matcher\UrlMatcher -{ - public function __construct(RequestContext $context) - { - $this->context = $context; - } - - public function match($rawPathinfo) - { - $allow = array(); - $pathinfo = rawurldecode($rawPathinfo); - $trimmedPathinfo = rtrim($pathinfo, '/'); - $context = $this->context; - $request = $this->request ?: $this->createRequest($pathinfo); - $requestMethod = $canonicalMethod = $context->getMethod(); - - if ('HEAD' === $requestMethod) { - $canonicalMethod = 'GET'; - } - - // just_head - if ('/just_head' === $pathinfo) { - $ret = array('_route' => 'just_head'); - if (!in_array($requestMethod, array('HEAD'))) { - $allow = array_merge($allow, array('HEAD')); - goto not_just_head; - } - - return $ret; - } - not_just_head: - - // head_and_get - if ('/head_and_get' === $pathinfo) { - $ret = array('_route' => 'head_and_get'); - if (!in_array($canonicalMethod, array('HEAD', 'GET'))) { - $allow = array_merge($allow, array('HEAD', 'GET')); - goto not_head_and_get; - } - - return $ret; - } - not_head_and_get: - - // get_and_head - if ('/get_and_head' === $pathinfo) { - $ret = array('_route' => 'get_and_head'); - if (!in_array($canonicalMethod, array('GET', 'HEAD'))) { - $allow = array_merge($allow, array('GET', 'HEAD')); - goto not_get_and_head; - } - - return $ret; - } - not_get_and_head: - - // post_and_head - if ('/post_and_head' === $pathinfo) { - $ret = array('_route' => 'post_and_head'); - if (!in_array($requestMethod, array('POST', 'HEAD'))) { - $allow = array_merge($allow, array('POST', 'HEAD')); - goto not_post_and_head; - } - - return $ret; - } - not_post_and_head: - - if (0 === strpos($pathinfo, '/put_and_post')) { - // put_and_post - if ('/put_and_post' === $pathinfo) { - $ret = array('_route' => 'put_and_post'); - if (!in_array($requestMethod, array('PUT', 'POST'))) { - $allow = array_merge($allow, array('PUT', 'POST')); - goto not_put_and_post; - } - - return $ret; - } - not_put_and_post: - - // put_and_get_and_head - if ('/put_and_post' === $pathinfo) { - $ret = array('_route' => 'put_and_get_and_head'); - if (!in_array($canonicalMethod, array('PUT', 'GET', 'HEAD'))) { - $allow = array_merge($allow, array('PUT', 'GET', 'HEAD')); - goto not_put_and_get_and_head; - } - - return $ret; - } - not_put_and_get_and_head: - - } - - if ('/' === $pathinfo && !$allow) { - throw new Symfony\Component\Routing\Exception\NoConfigurationException(); - } - - throw 0 < count($allow) ? new MethodNotAllowedException(array_unique($allow)) : new ResourceNotFoundException(); - } -} diff --git a/assets/php/vendor/symfony/routing/Tests/Fixtures/dumper/url_matcher5.php b/assets/php/vendor/symfony/routing/Tests/Fixtures/dumper/url_matcher5.php deleted file mode 100755 index 2b22513..0000000 --- a/assets/php/vendor/symfony/routing/Tests/Fixtures/dumper/url_matcher5.php +++ /dev/null @@ -1,209 +0,0 @@ -<?php - -use Symfony\Component\Routing\Exception\MethodNotAllowedException; -use Symfony\Component\Routing\Exception\ResourceNotFoundException; -use Symfony\Component\Routing\RequestContext; - -/** - * This class has been auto-generated - * by the Symfony Routing Component. - */ -class ProjectUrlMatcher extends Symfony\Component\Routing\Tests\Fixtures\RedirectableUrlMatcher -{ - public function __construct(RequestContext $context) - { - $this->context = $context; - } - - public function match($rawPathinfo) - { - $allow = array(); - $pathinfo = rawurldecode($rawPathinfo); - $trimmedPathinfo = rtrim($pathinfo, '/'); - $context = $this->context; - $request = $this->request ?: $this->createRequest($pathinfo); - $requestMethod = $canonicalMethod = $context->getMethod(); - - if ('HEAD' === $requestMethod) { - $canonicalMethod = 'GET'; - } - - if (0 === strpos($pathinfo, '/a')) { - // a_first - if ('/a/11' === $pathinfo) { - return array('_route' => 'a_first'); - } - - // a_second - if ('/a/22' === $pathinfo) { - return array('_route' => 'a_second'); - } - - // a_third - if ('/a/333' === $pathinfo) { - return array('_route' => 'a_third'); - } - - } - - // a_wildcard - if (preg_match('#^/(?P<param>[^/]++)$#sD', $pathinfo, $matches)) { - return $this->mergeDefaults(array_replace($matches, array('_route' => 'a_wildcard')), array ()); - } - - if (0 === strpos($pathinfo, '/a')) { - // a_fourth - if ('/a/44' === $trimmedPathinfo) { - $ret = array('_route' => 'a_fourth'); - if ('/' === substr($pathinfo, -1)) { - // no-op - } elseif ('GET' !== $canonicalMethod) { - goto not_a_fourth; - } else { - return array_replace($ret, $this->redirect($rawPathinfo.'/', 'a_fourth')); - } - - return $ret; - } - not_a_fourth: - - // a_fifth - if ('/a/55' === $trimmedPathinfo) { - $ret = array('_route' => 'a_fifth'); - if ('/' === substr($pathinfo, -1)) { - // no-op - } elseif ('GET' !== $canonicalMethod) { - goto not_a_fifth; - } else { - return array_replace($ret, $this->redirect($rawPathinfo.'/', 'a_fifth')); - } - - return $ret; - } - not_a_fifth: - - // a_sixth - if ('/a/66' === $trimmedPathinfo) { - $ret = array('_route' => 'a_sixth'); - if ('/' === substr($pathinfo, -1)) { - // no-op - } elseif ('GET' !== $canonicalMethod) { - goto not_a_sixth; - } else { - return array_replace($ret, $this->redirect($rawPathinfo.'/', 'a_sixth')); - } - - return $ret; - } - not_a_sixth: - - } - - // nested_wildcard - if (0 === strpos($pathinfo, '/nested') && preg_match('#^/nested/(?P<param>[^/]++)$#sD', $pathinfo, $matches)) { - return $this->mergeDefaults(array_replace($matches, array('_route' => 'nested_wildcard')), array ()); - } - - if (0 === strpos($pathinfo, '/nested/group')) { - // nested_a - if ('/nested/group/a' === $trimmedPathinfo) { - $ret = array('_route' => 'nested_a'); - if ('/' === substr($pathinfo, -1)) { - // no-op - } elseif ('GET' !== $canonicalMethod) { - goto not_nested_a; - } else { - return array_replace($ret, $this->redirect($rawPathinfo.'/', 'nested_a')); - } - - return $ret; - } - not_nested_a: - - // nested_b - if ('/nested/group/b' === $trimmedPathinfo) { - $ret = array('_route' => 'nested_b'); - if ('/' === substr($pathinfo, -1)) { - // no-op - } elseif ('GET' !== $canonicalMethod) { - goto not_nested_b; - } else { - return array_replace($ret, $this->redirect($rawPathinfo.'/', 'nested_b')); - } - - return $ret; - } - not_nested_b: - - // nested_c - if ('/nested/group/c' === $trimmedPathinfo) { - $ret = array('_route' => 'nested_c'); - if ('/' === substr($pathinfo, -1)) { - // no-op - } elseif ('GET' !== $canonicalMethod) { - goto not_nested_c; - } else { - return array_replace($ret, $this->redirect($rawPathinfo.'/', 'nested_c')); - } - - return $ret; - } - not_nested_c: - - } - - elseif (0 === strpos($pathinfo, '/slashed/group')) { - // slashed_a - if ('/slashed/group' === $trimmedPathinfo) { - $ret = array('_route' => 'slashed_a'); - if ('/' === substr($pathinfo, -1)) { - // no-op - } elseif ('GET' !== $canonicalMethod) { - goto not_slashed_a; - } else { - return array_replace($ret, $this->redirect($rawPathinfo.'/', 'slashed_a')); - } - - return $ret; - } - not_slashed_a: - - // slashed_b - if ('/slashed/group/b' === $trimmedPathinfo) { - $ret = array('_route' => 'slashed_b'); - if ('/' === substr($pathinfo, -1)) { - // no-op - } elseif ('GET' !== $canonicalMethod) { - goto not_slashed_b; - } else { - return array_replace($ret, $this->redirect($rawPathinfo.'/', 'slashed_b')); - } - - return $ret; - } - not_slashed_b: - - // slashed_c - if ('/slashed/group/c' === $trimmedPathinfo) { - $ret = array('_route' => 'slashed_c'); - if ('/' === substr($pathinfo, -1)) { - // no-op - } elseif ('GET' !== $canonicalMethod) { - goto not_slashed_c; - } else { - return array_replace($ret, $this->redirect($rawPathinfo.'/', 'slashed_c')); - } - - return $ret; - } - not_slashed_c: - - } - - if ('/' === $pathinfo && !$allow) { - throw new Symfony\Component\Routing\Exception\NoConfigurationException(); - } - - throw 0 < count($allow) ? new MethodNotAllowedException(array_unique($allow)) : new ResourceNotFoundException(); - } -} diff --git a/assets/php/vendor/symfony/routing/Tests/Fixtures/dumper/url_matcher6.php b/assets/php/vendor/symfony/routing/Tests/Fixtures/dumper/url_matcher6.php deleted file mode 100755 index 48ecdf8..0000000 --- a/assets/php/vendor/symfony/routing/Tests/Fixtures/dumper/url_matcher6.php +++ /dev/null @@ -1,213 +0,0 @@ -<?php - -use Symfony\Component\Routing\Exception\MethodNotAllowedException; -use Symfony\Component\Routing\Exception\ResourceNotFoundException; -use Symfony\Component\Routing\RequestContext; - -/** - * This class has been auto-generated - * by the Symfony Routing Component. - */ -class ProjectUrlMatcher extends Symfony\Component\Routing\Matcher\UrlMatcher -{ - public function __construct(RequestContext $context) - { - $this->context = $context; - } - - public function match($rawPathinfo) - { - $allow = array(); - $pathinfo = rawurldecode($rawPathinfo); - $trimmedPathinfo = rtrim($pathinfo, '/'); - $context = $this->context; - $request = $this->request ?: $this->createRequest($pathinfo); - $requestMethod = $canonicalMethod = $context->getMethod(); - - if ('HEAD' === $requestMethod) { - $canonicalMethod = 'GET'; - } - - if (0 === strpos($pathinfo, '/trailing/simple')) { - // simple_trailing_slash_no_methods - if ('/trailing/simple/no-methods/' === $pathinfo) { - return array('_route' => 'simple_trailing_slash_no_methods'); - } - - // simple_trailing_slash_GET_method - if ('/trailing/simple/get-method/' === $pathinfo) { - $ret = array('_route' => 'simple_trailing_slash_GET_method'); - if (!in_array($canonicalMethod, array('GET'))) { - $allow = array_merge($allow, array('GET')); - goto not_simple_trailing_slash_GET_method; - } - - return $ret; - } - not_simple_trailing_slash_GET_method: - - // simple_trailing_slash_HEAD_method - if ('/trailing/simple/head-method/' === $pathinfo) { - $ret = array('_route' => 'simple_trailing_slash_HEAD_method'); - if (!in_array($requestMethod, array('HEAD'))) { - $allow = array_merge($allow, array('HEAD')); - goto not_simple_trailing_slash_HEAD_method; - } - - return $ret; - } - not_simple_trailing_slash_HEAD_method: - - // simple_trailing_slash_POST_method - if ('/trailing/simple/post-method/' === $pathinfo) { - $ret = array('_route' => 'simple_trailing_slash_POST_method'); - if (!in_array($requestMethod, array('POST'))) { - $allow = array_merge($allow, array('POST')); - goto not_simple_trailing_slash_POST_method; - } - - return $ret; - } - not_simple_trailing_slash_POST_method: - - } - - elseif (0 === strpos($pathinfo, '/trailing/regex')) { - // regex_trailing_slash_no_methods - if (0 === strpos($pathinfo, '/trailing/regex/no-methods') && preg_match('#^/trailing/regex/no\\-methods/(?P<param>[^/]++)/$#sD', $pathinfo, $matches)) { - return $this->mergeDefaults(array_replace($matches, array('_route' => 'regex_trailing_slash_no_methods')), array ()); - } - - // regex_trailing_slash_GET_method - if (0 === strpos($pathinfo, '/trailing/regex/get-method') && preg_match('#^/trailing/regex/get\\-method/(?P<param>[^/]++)/$#sD', $pathinfo, $matches)) { - $ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'regex_trailing_slash_GET_method')), array ()); - if (!in_array($canonicalMethod, array('GET'))) { - $allow = array_merge($allow, array('GET')); - goto not_regex_trailing_slash_GET_method; - } - - return $ret; - } - not_regex_trailing_slash_GET_method: - - // regex_trailing_slash_HEAD_method - if (0 === strpos($pathinfo, '/trailing/regex/head-method') && preg_match('#^/trailing/regex/head\\-method/(?P<param>[^/]++)/$#sD', $pathinfo, $matches)) { - $ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'regex_trailing_slash_HEAD_method')), array ()); - if (!in_array($requestMethod, array('HEAD'))) { - $allow = array_merge($allow, array('HEAD')); - goto not_regex_trailing_slash_HEAD_method; - } - - return $ret; - } - not_regex_trailing_slash_HEAD_method: - - // regex_trailing_slash_POST_method - if (0 === strpos($pathinfo, '/trailing/regex/post-method') && preg_match('#^/trailing/regex/post\\-method/(?P<param>[^/]++)/$#sD', $pathinfo, $matches)) { - $ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'regex_trailing_slash_POST_method')), array ()); - if (!in_array($requestMethod, array('POST'))) { - $allow = array_merge($allow, array('POST')); - goto not_regex_trailing_slash_POST_method; - } - - return $ret; - } - not_regex_trailing_slash_POST_method: - - } - - elseif (0 === strpos($pathinfo, '/not-trailing/simple')) { - // simple_not_trailing_slash_no_methods - if ('/not-trailing/simple/no-methods' === $pathinfo) { - return array('_route' => 'simple_not_trailing_slash_no_methods'); - } - - // simple_not_trailing_slash_GET_method - if ('/not-trailing/simple/get-method' === $pathinfo) { - $ret = array('_route' => 'simple_not_trailing_slash_GET_method'); - if (!in_array($canonicalMethod, array('GET'))) { - $allow = array_merge($allow, array('GET')); - goto not_simple_not_trailing_slash_GET_method; - } - - return $ret; - } - not_simple_not_trailing_slash_GET_method: - - // simple_not_trailing_slash_HEAD_method - if ('/not-trailing/simple/head-method' === $pathinfo) { - $ret = array('_route' => 'simple_not_trailing_slash_HEAD_method'); - if (!in_array($requestMethod, array('HEAD'))) { - $allow = array_merge($allow, array('HEAD')); - goto not_simple_not_trailing_slash_HEAD_method; - } - - return $ret; - } - not_simple_not_trailing_slash_HEAD_method: - - // simple_not_trailing_slash_POST_method - if ('/not-trailing/simple/post-method' === $pathinfo) { - $ret = array('_route' => 'simple_not_trailing_slash_POST_method'); - if (!in_array($requestMethod, array('POST'))) { - $allow = array_merge($allow, array('POST')); - goto not_simple_not_trailing_slash_POST_method; - } - - return $ret; - } - not_simple_not_trailing_slash_POST_method: - - } - - elseif (0 === strpos($pathinfo, '/not-trailing/regex')) { - // regex_not_trailing_slash_no_methods - if (0 === strpos($pathinfo, '/not-trailing/regex/no-methods') && preg_match('#^/not\\-trailing/regex/no\\-methods/(?P<param>[^/]++)$#sD', $pathinfo, $matches)) { - return $this->mergeDefaults(array_replace($matches, array('_route' => 'regex_not_trailing_slash_no_methods')), array ()); - } - - // regex_not_trailing_slash_GET_method - if (0 === strpos($pathinfo, '/not-trailing/regex/get-method') && preg_match('#^/not\\-trailing/regex/get\\-method/(?P<param>[^/]++)$#sD', $pathinfo, $matches)) { - $ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'regex_not_trailing_slash_GET_method')), array ()); - if (!in_array($canonicalMethod, array('GET'))) { - $allow = array_merge($allow, array('GET')); - goto not_regex_not_trailing_slash_GET_method; - } - - return $ret; - } - not_regex_not_trailing_slash_GET_method: - - // regex_not_trailing_slash_HEAD_method - if (0 === strpos($pathinfo, '/not-trailing/regex/head-method') && preg_match('#^/not\\-trailing/regex/head\\-method/(?P<param>[^/]++)$#sD', $pathinfo, $matches)) { - $ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'regex_not_trailing_slash_HEAD_method')), array ()); - if (!in_array($requestMethod, array('HEAD'))) { - $allow = array_merge($allow, array('HEAD')); - goto not_regex_not_trailing_slash_HEAD_method; - } - - return $ret; - } - not_regex_not_trailing_slash_HEAD_method: - - // regex_not_trailing_slash_POST_method - if (0 === strpos($pathinfo, '/not-trailing/regex/post-method') && preg_match('#^/not\\-trailing/regex/post\\-method/(?P<param>[^/]++)$#sD', $pathinfo, $matches)) { - $ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'regex_not_trailing_slash_POST_method')), array ()); - if (!in_array($requestMethod, array('POST'))) { - $allow = array_merge($allow, array('POST')); - goto not_regex_not_trailing_slash_POST_method; - } - - return $ret; - } - not_regex_not_trailing_slash_POST_method: - - } - - if ('/' === $pathinfo && !$allow) { - throw new Symfony\Component\Routing\Exception\NoConfigurationException(); - } - - throw 0 < count($allow) ? new MethodNotAllowedException(array_unique($allow)) : new ResourceNotFoundException(); - } -} diff --git a/assets/php/vendor/symfony/routing/Tests/Fixtures/dumper/url_matcher7.php b/assets/php/vendor/symfony/routing/Tests/Fixtures/dumper/url_matcher7.php deleted file mode 100755 index 81d76ea..0000000 --- a/assets/php/vendor/symfony/routing/Tests/Fixtures/dumper/url_matcher7.php +++ /dev/null @@ -1,249 +0,0 @@ -<?php - -use Symfony\Component\Routing\Exception\MethodNotAllowedException; -use Symfony\Component\Routing\Exception\ResourceNotFoundException; -use Symfony\Component\Routing\RequestContext; - -/** - * This class has been auto-generated - * by the Symfony Routing Component. - */ -class ProjectUrlMatcher extends Symfony\Component\Routing\Tests\Fixtures\RedirectableUrlMatcher -{ - public function __construct(RequestContext $context) - { - $this->context = $context; - } - - public function match($rawPathinfo) - { - $allow = array(); - $pathinfo = rawurldecode($rawPathinfo); - $trimmedPathinfo = rtrim($pathinfo, '/'); - $context = $this->context; - $request = $this->request ?: $this->createRequest($pathinfo); - $requestMethod = $canonicalMethod = $context->getMethod(); - - if ('HEAD' === $requestMethod) { - $canonicalMethod = 'GET'; - } - - if (0 === strpos($pathinfo, '/trailing/simple')) { - // simple_trailing_slash_no_methods - if ('/trailing/simple/no-methods' === $trimmedPathinfo) { - $ret = array('_route' => 'simple_trailing_slash_no_methods'); - if ('/' === substr($pathinfo, -1)) { - // no-op - } elseif ('GET' !== $canonicalMethod) { - goto not_simple_trailing_slash_no_methods; - } else { - return array_replace($ret, $this->redirect($rawPathinfo.'/', 'simple_trailing_slash_no_methods')); - } - - return $ret; - } - not_simple_trailing_slash_no_methods: - - // simple_trailing_slash_GET_method - if ('/trailing/simple/get-method' === $trimmedPathinfo) { - $ret = array('_route' => 'simple_trailing_slash_GET_method'); - if ('/' === substr($pathinfo, -1)) { - // no-op - } elseif ('GET' !== $canonicalMethod) { - goto not_simple_trailing_slash_GET_method; - } else { - return array_replace($ret, $this->redirect($rawPathinfo.'/', 'simple_trailing_slash_GET_method')); - } - - if (!in_array($canonicalMethod, array('GET'))) { - $allow = array_merge($allow, array('GET')); - goto not_simple_trailing_slash_GET_method; - } - - return $ret; - } - not_simple_trailing_slash_GET_method: - - // simple_trailing_slash_HEAD_method - if ('/trailing/simple/head-method/' === $pathinfo) { - $ret = array('_route' => 'simple_trailing_slash_HEAD_method'); - if (!in_array($requestMethod, array('HEAD'))) { - $allow = array_merge($allow, array('HEAD')); - goto not_simple_trailing_slash_HEAD_method; - } - - return $ret; - } - not_simple_trailing_slash_HEAD_method: - - // simple_trailing_slash_POST_method - if ('/trailing/simple/post-method/' === $pathinfo) { - $ret = array('_route' => 'simple_trailing_slash_POST_method'); - if (!in_array($requestMethod, array('POST'))) { - $allow = array_merge($allow, array('POST')); - goto not_simple_trailing_slash_POST_method; - } - - return $ret; - } - not_simple_trailing_slash_POST_method: - - } - - elseif (0 === strpos($pathinfo, '/trailing/regex')) { - // regex_trailing_slash_no_methods - if (0 === strpos($pathinfo, '/trailing/regex/no-methods') && preg_match('#^/trailing/regex/no\\-methods/(?P<param>[^/]++)/?$#sD', $pathinfo, $matches)) { - $ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'regex_trailing_slash_no_methods')), array ()); - if ('/' === substr($pathinfo, -1)) { - // no-op - } elseif ('GET' !== $canonicalMethod) { - goto not_regex_trailing_slash_no_methods; - } else { - return array_replace($ret, $this->redirect($rawPathinfo.'/', 'regex_trailing_slash_no_methods')); - } - - return $ret; - } - not_regex_trailing_slash_no_methods: - - // regex_trailing_slash_GET_method - if (0 === strpos($pathinfo, '/trailing/regex/get-method') && preg_match('#^/trailing/regex/get\\-method/(?P<param>[^/]++)/?$#sD', $pathinfo, $matches)) { - $ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'regex_trailing_slash_GET_method')), array ()); - if ('/' === substr($pathinfo, -1)) { - // no-op - } elseif ('GET' !== $canonicalMethod) { - goto not_regex_trailing_slash_GET_method; - } else { - return array_replace($ret, $this->redirect($rawPathinfo.'/', 'regex_trailing_slash_GET_method')); - } - - if (!in_array($canonicalMethod, array('GET'))) { - $allow = array_merge($allow, array('GET')); - goto not_regex_trailing_slash_GET_method; - } - - return $ret; - } - not_regex_trailing_slash_GET_method: - - // regex_trailing_slash_HEAD_method - if (0 === strpos($pathinfo, '/trailing/regex/head-method') && preg_match('#^/trailing/regex/head\\-method/(?P<param>[^/]++)/$#sD', $pathinfo, $matches)) { - $ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'regex_trailing_slash_HEAD_method')), array ()); - if (!in_array($requestMethod, array('HEAD'))) { - $allow = array_merge($allow, array('HEAD')); - goto not_regex_trailing_slash_HEAD_method; - } - - return $ret; - } - not_regex_trailing_slash_HEAD_method: - - // regex_trailing_slash_POST_method - if (0 === strpos($pathinfo, '/trailing/regex/post-method') && preg_match('#^/trailing/regex/post\\-method/(?P<param>[^/]++)/$#sD', $pathinfo, $matches)) { - $ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'regex_trailing_slash_POST_method')), array ()); - if (!in_array($requestMethod, array('POST'))) { - $allow = array_merge($allow, array('POST')); - goto not_regex_trailing_slash_POST_method; - } - - return $ret; - } - not_regex_trailing_slash_POST_method: - - } - - elseif (0 === strpos($pathinfo, '/not-trailing/simple')) { - // simple_not_trailing_slash_no_methods - if ('/not-trailing/simple/no-methods' === $pathinfo) { - return array('_route' => 'simple_not_trailing_slash_no_methods'); - } - - // simple_not_trailing_slash_GET_method - if ('/not-trailing/simple/get-method' === $pathinfo) { - $ret = array('_route' => 'simple_not_trailing_slash_GET_method'); - if (!in_array($canonicalMethod, array('GET'))) { - $allow = array_merge($allow, array('GET')); - goto not_simple_not_trailing_slash_GET_method; - } - - return $ret; - } - not_simple_not_trailing_slash_GET_method: - - // simple_not_trailing_slash_HEAD_method - if ('/not-trailing/simple/head-method' === $pathinfo) { - $ret = array('_route' => 'simple_not_trailing_slash_HEAD_method'); - if (!in_array($requestMethod, array('HEAD'))) { - $allow = array_merge($allow, array('HEAD')); - goto not_simple_not_trailing_slash_HEAD_method; - } - - return $ret; - } - not_simple_not_trailing_slash_HEAD_method: - - // simple_not_trailing_slash_POST_method - if ('/not-trailing/simple/post-method' === $pathinfo) { - $ret = array('_route' => 'simple_not_trailing_slash_POST_method'); - if (!in_array($requestMethod, array('POST'))) { - $allow = array_merge($allow, array('POST')); - goto not_simple_not_trailing_slash_POST_method; - } - - return $ret; - } - not_simple_not_trailing_slash_POST_method: - - } - - elseif (0 === strpos($pathinfo, '/not-trailing/regex')) { - // regex_not_trailing_slash_no_methods - if (0 === strpos($pathinfo, '/not-trailing/regex/no-methods') && preg_match('#^/not\\-trailing/regex/no\\-methods/(?P<param>[^/]++)$#sD', $pathinfo, $matches)) { - return $this->mergeDefaults(array_replace($matches, array('_route' => 'regex_not_trailing_slash_no_methods')), array ()); - } - - // regex_not_trailing_slash_GET_method - if (0 === strpos($pathinfo, '/not-trailing/regex/get-method') && preg_match('#^/not\\-trailing/regex/get\\-method/(?P<param>[^/]++)$#sD', $pathinfo, $matches)) { - $ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'regex_not_trailing_slash_GET_method')), array ()); - if (!in_array($canonicalMethod, array('GET'))) { - $allow = array_merge($allow, array('GET')); - goto not_regex_not_trailing_slash_GET_method; - } - - return $ret; - } - not_regex_not_trailing_slash_GET_method: - - // regex_not_trailing_slash_HEAD_method - if (0 === strpos($pathinfo, '/not-trailing/regex/head-method') && preg_match('#^/not\\-trailing/regex/head\\-method/(?P<param>[^/]++)$#sD', $pathinfo, $matches)) { - $ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'regex_not_trailing_slash_HEAD_method')), array ()); - if (!in_array($requestMethod, array('HEAD'))) { - $allow = array_merge($allow, array('HEAD')); - goto not_regex_not_trailing_slash_HEAD_method; - } - - return $ret; - } - not_regex_not_trailing_slash_HEAD_method: - - // regex_not_trailing_slash_POST_method - if (0 === strpos($pathinfo, '/not-trailing/regex/post-method') && preg_match('#^/not\\-trailing/regex/post\\-method/(?P<param>[^/]++)$#sD', $pathinfo, $matches)) { - $ret = $this->mergeDefaults(array_replace($matches, array('_route' => 'regex_not_trailing_slash_POST_method')), array ()); - if (!in_array($requestMethod, array('POST'))) { - $allow = array_merge($allow, array('POST')); - goto not_regex_not_trailing_slash_POST_method; - } - - return $ret; - } - not_regex_not_trailing_slash_POST_method: - - } - - if ('/' === $pathinfo && !$allow) { - throw new Symfony\Component\Routing\Exception\NoConfigurationException(); - } - - throw 0 < count($allow) ? new MethodNotAllowedException(array_unique($allow)) : new ResourceNotFoundException(); - } -} diff --git a/assets/php/vendor/symfony/routing/Tests/Fixtures/empty.yml b/assets/php/vendor/symfony/routing/Tests/Fixtures/empty.yml deleted file mode 100755 index e69de29..0000000 --- a/assets/php/vendor/symfony/routing/Tests/Fixtures/empty.yml +++ /dev/null diff --git a/assets/php/vendor/symfony/routing/Tests/Fixtures/file_resource.yml b/assets/php/vendor/symfony/routing/Tests/Fixtures/file_resource.yml deleted file mode 100755 index e69de29..0000000 --- a/assets/php/vendor/symfony/routing/Tests/Fixtures/file_resource.yml +++ /dev/null diff --git a/assets/php/vendor/symfony/routing/Tests/Fixtures/foo.xml b/assets/php/vendor/symfony/routing/Tests/Fixtures/foo.xml deleted file mode 100755 index e69de29..0000000 --- a/assets/php/vendor/symfony/routing/Tests/Fixtures/foo.xml +++ /dev/null diff --git a/assets/php/vendor/symfony/routing/Tests/Fixtures/foo1.xml b/assets/php/vendor/symfony/routing/Tests/Fixtures/foo1.xml deleted file mode 100755 index e69de29..0000000 --- a/assets/php/vendor/symfony/routing/Tests/Fixtures/foo1.xml +++ /dev/null diff --git a/assets/php/vendor/symfony/routing/Tests/Fixtures/glob/bar.xml b/assets/php/vendor/symfony/routing/Tests/Fixtures/glob/bar.xml deleted file mode 100755 index 0d31eeb..0000000 --- a/assets/php/vendor/symfony/routing/Tests/Fixtures/glob/bar.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" ?> -<routes xmlns="http://symfony.com/schema/routing" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://symfony.com/schema/routing - http://symfony.com/schema/routing/routing-1.0.xsd"> - - <route id="bar_route" path="/bar" controller="AppBundle:Bar:view" /> -</routes> diff --git a/assets/php/vendor/symfony/routing/Tests/Fixtures/glob/bar.yml b/assets/php/vendor/symfony/routing/Tests/Fixtures/glob/bar.yml deleted file mode 100755 index ba3bc22..0000000 --- a/assets/php/vendor/symfony/routing/Tests/Fixtures/glob/bar.yml +++ /dev/null @@ -1,4 +0,0 @@ -bar_route: - path: /bar - defaults: - _controller: AppBundle:Bar:view diff --git a/assets/php/vendor/symfony/routing/Tests/Fixtures/glob/baz.xml b/assets/php/vendor/symfony/routing/Tests/Fixtures/glob/baz.xml deleted file mode 100755 index 3abba1a..0000000 --- a/assets/php/vendor/symfony/routing/Tests/Fixtures/glob/baz.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" ?> -<routes xmlns="http://symfony.com/schema/routing" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://symfony.com/schema/routing - http://symfony.com/schema/routing/routing-1.0.xsd"> - - <route id="baz_route" path="/baz" controller="AppBundle:Baz:view" /> -</routes> diff --git a/assets/php/vendor/symfony/routing/Tests/Fixtures/glob/baz.yml b/assets/php/vendor/symfony/routing/Tests/Fixtures/glob/baz.yml deleted file mode 100755 index f7d8c67..0000000 --- a/assets/php/vendor/symfony/routing/Tests/Fixtures/glob/baz.yml +++ /dev/null @@ -1,4 +0,0 @@ -baz_route: - path: /baz - defaults: - _controller: AppBundle:Baz:view diff --git a/assets/php/vendor/symfony/routing/Tests/Fixtures/glob/import_multiple.xml b/assets/php/vendor/symfony/routing/Tests/Fixtures/glob/import_multiple.xml deleted file mode 100755 index ca6b1b5..0000000 --- a/assets/php/vendor/symfony/routing/Tests/Fixtures/glob/import_multiple.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" ?> -<routes xmlns="http://symfony.com/schema/routing" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://symfony.com/schema/routing - http://symfony.com/schema/routing/routing-1.0.xsd"> - - <import resource="ba?.xml" /> -</routes> diff --git a/assets/php/vendor/symfony/routing/Tests/Fixtures/glob/import_multiple.yml b/assets/php/vendor/symfony/routing/Tests/Fixtures/glob/import_multiple.yml deleted file mode 100755 index d1ae585..0000000 --- a/assets/php/vendor/symfony/routing/Tests/Fixtures/glob/import_multiple.yml +++ /dev/null @@ -1,2 +0,0 @@ -_static: - resource: ba?.yml diff --git a/assets/php/vendor/symfony/routing/Tests/Fixtures/glob/import_single.xml b/assets/php/vendor/symfony/routing/Tests/Fixtures/glob/import_single.xml deleted file mode 100755 index 15f5698..0000000 --- a/assets/php/vendor/symfony/routing/Tests/Fixtures/glob/import_single.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" ?> -<routes xmlns="http://symfony.com/schema/routing" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://symfony.com/schema/routing - http://symfony.com/schema/routing/routing-1.0.xsd"> - - <import resource="b?r.xml" /> -</routes> diff --git a/assets/php/vendor/symfony/routing/Tests/Fixtures/glob/import_single.yml b/assets/php/vendor/symfony/routing/Tests/Fixtures/glob/import_single.yml deleted file mode 100755 index f56ddbd..0000000 --- a/assets/php/vendor/symfony/routing/Tests/Fixtures/glob/import_single.yml +++ /dev/null @@ -1,2 +0,0 @@ -_static: - resource: b?r.yml diff --git a/assets/php/vendor/symfony/routing/Tests/Fixtures/glob/php_dsl.php b/assets/php/vendor/symfony/routing/Tests/Fixtures/glob/php_dsl.php deleted file mode 100755 index 897fa11..0000000 --- a/assets/php/vendor/symfony/routing/Tests/Fixtures/glob/php_dsl.php +++ /dev/null @@ -1,7 +0,0 @@ -<?php - -namespace Symfony\Component\Routing\Loader\Configurator; - -return function (RoutingConfigurator $routes) { - return $routes->import('php_dsl_ba?.php'); -}; diff --git a/assets/php/vendor/symfony/routing/Tests/Fixtures/glob/php_dsl_bar.php b/assets/php/vendor/symfony/routing/Tests/Fixtures/glob/php_dsl_bar.php deleted file mode 100755 index e2b91b1..0000000 --- a/assets/php/vendor/symfony/routing/Tests/Fixtures/glob/php_dsl_bar.php +++ /dev/null @@ -1,12 +0,0 @@ -<?php - -namespace Symfony\Component\Routing\Loader\Configurator; - -return function (RoutingConfigurator $routes) { - $collection = $routes->collection(); - - $collection->add('bar_route', '/bar') - ->defaults(array('_controller' => 'AppBundle:Bar:view')); - - return $collection; -}; diff --git a/assets/php/vendor/symfony/routing/Tests/Fixtures/glob/php_dsl_baz.php b/assets/php/vendor/symfony/routing/Tests/Fixtures/glob/php_dsl_baz.php deleted file mode 100755 index ca8f188..0000000 --- a/assets/php/vendor/symfony/routing/Tests/Fixtures/glob/php_dsl_baz.php +++ /dev/null @@ -1,12 +0,0 @@ -<?php - -namespace Symfony\Component\Routing\Loader\Configurator; - -return function (RoutingConfigurator $routes) { - $collection = $routes->collection(); - - $collection->add('baz_route', '/baz') - ->defaults(array('_controller' => 'AppBundle:Baz:view')); - - return $collection; -}; diff --git a/assets/php/vendor/symfony/routing/Tests/Fixtures/incomplete.yml b/assets/php/vendor/symfony/routing/Tests/Fixtures/incomplete.yml deleted file mode 100755 index df64d32..0000000 --- a/assets/php/vendor/symfony/routing/Tests/Fixtures/incomplete.yml +++ /dev/null @@ -1,2 +0,0 @@ -blog_show: - defaults: { _controller: MyBlogBundle:Blog:show } diff --git a/assets/php/vendor/symfony/routing/Tests/Fixtures/list_defaults.xml b/assets/php/vendor/symfony/routing/Tests/Fixtures/list_defaults.xml deleted file mode 100755 index f93bf9c..0000000 --- a/assets/php/vendor/symfony/routing/Tests/Fixtures/list_defaults.xml +++ /dev/null @@ -1,20 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" ?> -<routes xmlns="http://symfony.com/schema/routing" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://symfony.com/schema/routing - http://symfony.com/schema/routing/routing-1.0.xsd"> - - <route id="blog" path="/blog"> - <default key="_controller"> - <string>AcmeBlogBundle:Blog:index</string> - </default> - <default key="values"> - <list> - <bool>true</bool> - <int>1</int> - <float>3.5</float> - <string>foo</string> - </list> - </default> - </route> -</routes> diff --git a/assets/php/vendor/symfony/routing/Tests/Fixtures/list_in_list_defaults.xml b/assets/php/vendor/symfony/routing/Tests/Fixtures/list_in_list_defaults.xml deleted file mode 100755 index 987086d..0000000 --- a/assets/php/vendor/symfony/routing/Tests/Fixtures/list_in_list_defaults.xml +++ /dev/null @@ -1,22 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" ?> -<routes xmlns="http://symfony.com/schema/routing" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://symfony.com/schema/routing - http://symfony.com/schema/routing/routing-1.0.xsd"> - - <route id="blog" path="/blog"> - <default key="_controller"> - <string>AcmeBlogBundle:Blog:index</string> - </default> - <default key="values"> - <list> - <list> - <bool>true</bool> - <int>1</int> - <float>3.5</float> - <string>foo</string> - </list> - </list> - </default> - </route> -</routes> diff --git a/assets/php/vendor/symfony/routing/Tests/Fixtures/list_in_map_defaults.xml b/assets/php/vendor/symfony/routing/Tests/Fixtures/list_in_map_defaults.xml deleted file mode 100755 index 32d393c..0000000 --- a/assets/php/vendor/symfony/routing/Tests/Fixtures/list_in_map_defaults.xml +++ /dev/null @@ -1,22 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" ?> -<routes xmlns="http://symfony.com/schema/routing" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://symfony.com/schema/routing - http://symfony.com/schema/routing/routing-1.0.xsd"> - - <route id="blog" path="/blog"> - <default key="_controller"> - <string>AcmeBlogBundle:Blog:index</string> - </default> - <default key="values"> - <map> - <list key="list"> - <bool>true</bool> - <int>1</int> - <float>3.5</float> - <string>foo</string> - </list> - </map> - </default> - </route> -</routes> diff --git a/assets/php/vendor/symfony/routing/Tests/Fixtures/list_null_values.xml b/assets/php/vendor/symfony/routing/Tests/Fixtures/list_null_values.xml deleted file mode 100755 index c70e03c..0000000 --- a/assets/php/vendor/symfony/routing/Tests/Fixtures/list_null_values.xml +++ /dev/null @@ -1,22 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" ?> -<routes xmlns="http://symfony.com/schema/routing" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://symfony.com/schema/routing - http://symfony.com/schema/routing/routing-1.0.xsd"> - - <route id="blog" path="/blog"> - <default key="_controller"> - <string>AcmeBlogBundle:Blog:index</string> - </default> - <default key="list"> - <list> - <bool xsi:nil="true" /> - <int xsi:nil="true" /> - <float xsi:nil="1" /> - <string xsi:nil="true" /> - <list xsi:nil="true" /> - <map xsi:nil="true" /> - </list> - </default> - </route> -</routes> diff --git a/assets/php/vendor/symfony/routing/Tests/Fixtures/map_defaults.xml b/assets/php/vendor/symfony/routing/Tests/Fixtures/map_defaults.xml deleted file mode 100755 index 47feb29..0000000 --- a/assets/php/vendor/symfony/routing/Tests/Fixtures/map_defaults.xml +++ /dev/null @@ -1,20 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" ?> -<routes xmlns="http://symfony.com/schema/routing" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://symfony.com/schema/routing - http://symfony.com/schema/routing/routing-1.0.xsd"> - - <route id="blog" path="/blog"> - <default key="_controller"> - <string>AcmeBlogBundle:Blog:index</string> - </default> - <default key="values"> - <map> - <bool key="public">true</bool> - <int key="page">1</int> - <float key="price">3.5</float> - <string key="title">foo</string> - </map> - </default> - </route> -</routes> diff --git a/assets/php/vendor/symfony/routing/Tests/Fixtures/map_in_list_defaults.xml b/assets/php/vendor/symfony/routing/Tests/Fixtures/map_in_list_defaults.xml deleted file mode 100755 index 6d77065..0000000 --- a/assets/php/vendor/symfony/routing/Tests/Fixtures/map_in_list_defaults.xml +++ /dev/null @@ -1,22 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" ?> -<routes xmlns="http://symfony.com/schema/routing" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://symfony.com/schema/routing - http://symfony.com/schema/routing/routing-1.0.xsd"> - - <route id="blog" path="/blog"> - <default key="_controller"> - <string>AcmeBlogBundle:Blog:index</string> - </default> - <default key="values"> - <list> - <map> - <bool key="public">true</bool> - <int key="page">1</int> - <float key="price">3.5</float> - <string key="title">foo</string> - </map> - </list> - </default> - </route> -</routes> diff --git a/assets/php/vendor/symfony/routing/Tests/Fixtures/map_in_map_defaults.xml b/assets/php/vendor/symfony/routing/Tests/Fixtures/map_in_map_defaults.xml deleted file mode 100755 index 2beee61..0000000 --- a/assets/php/vendor/symfony/routing/Tests/Fixtures/map_in_map_defaults.xml +++ /dev/null @@ -1,22 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" ?> -<routes xmlns="http://symfony.com/schema/routing" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://symfony.com/schema/routing - http://symfony.com/schema/routing/routing-1.0.xsd"> - - <route id="blog" path="/blog"> - <default key="_controller"> - <string>AcmeBlogBundle:Blog:index</string> - </default> - <default key="values"> - <map> - <map key="map"> - <bool key="public">true</bool> - <int key="page">1</int> - <float key="price">3.5</float> - <string key="title">foo</string> - </map> - </map> - </default> - </route> -</routes> diff --git a/assets/php/vendor/symfony/routing/Tests/Fixtures/map_null_values.xml b/assets/php/vendor/symfony/routing/Tests/Fixtures/map_null_values.xml deleted file mode 100755 index 8fd8954..0000000 --- a/assets/php/vendor/symfony/routing/Tests/Fixtures/map_null_values.xml +++ /dev/null @@ -1,22 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" ?> -<routes xmlns="http://symfony.com/schema/routing" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://symfony.com/schema/routing - http://symfony.com/schema/routing/routing-1.0.xsd"> - - <route id="blog" path="/blog"> - <default key="_controller"> - <string>AcmeBlogBundle:Blog:index</string> - </default> - <default key="map"> - <map> - <bool key="boolean" xsi:nil="true" /> - <int key="integer" xsi:nil="true" /> - <float key="float" xsi:nil="true" /> - <string key="string" xsi:nil="1" /> - <list key="list" xsi:nil="true" /> - <map key="map" xsi:nil="true" /> - </map> - </default> - </route> -</routes> diff --git a/assets/php/vendor/symfony/routing/Tests/Fixtures/missing_id.xml b/assets/php/vendor/symfony/routing/Tests/Fixtures/missing_id.xml deleted file mode 100755 index 4ea4115..0000000 --- a/assets/php/vendor/symfony/routing/Tests/Fixtures/missing_id.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" ?> - -<routes xmlns="http://symfony.com/schema/routing" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://symfony.com/schema/routing http://symfony.com/schema/routing/routing-1.0.xsd"> - - <route path="/test"></route> -</routes> diff --git a/assets/php/vendor/symfony/routing/Tests/Fixtures/missing_path.xml b/assets/php/vendor/symfony/routing/Tests/Fixtures/missing_path.xml deleted file mode 100755 index ef5bc08..0000000 --- a/assets/php/vendor/symfony/routing/Tests/Fixtures/missing_path.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" ?> - -<routes xmlns="http://symfony.com/schema/routing" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://symfony.com/schema/routing http://symfony.com/schema/routing/routing-1.0.xsd"> - - <route id="myroute"></route> -</routes> diff --git a/assets/php/vendor/symfony/routing/Tests/Fixtures/namespaceprefix.xml b/assets/php/vendor/symfony/routing/Tests/Fixtures/namespaceprefix.xml deleted file mode 100755 index e33955a..0000000 --- a/assets/php/vendor/symfony/routing/Tests/Fixtures/namespaceprefix.xml +++ /dev/null @@ -1,16 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" ?> - -<r:routes xmlns:r="http://symfony.com/schema/routing" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://symfony.com/schema/routing http://symfony.com/schema/routing/routing-1.0.xsd"> - - <r:route id="blog_show" path="/blog/{slug}" host="{_locale}.example.com"> - <r:default key="_controller">MyBundle:Blog:show</r:default> - <requirement xmlns="http://symfony.com/schema/routing" key="slug">\w+</requirement> - <r2:requirement xmlns:r2="http://symfony.com/schema/routing" key="_locale">en|fr|de</r2:requirement> - <r:option key="compiler_class">RouteCompiler</r:option> - <r:default key="page"> - <r3:int xmlns:r3="http://symfony.com/schema/routing">1</r3:int> - </r:default> - </r:route> -</r:routes> diff --git a/assets/php/vendor/symfony/routing/Tests/Fixtures/nonesense_resource_plus_path.yml b/assets/php/vendor/symfony/routing/Tests/Fixtures/nonesense_resource_plus_path.yml deleted file mode 100755 index a3e9473..0000000 --- a/assets/php/vendor/symfony/routing/Tests/Fixtures/nonesense_resource_plus_path.yml +++ /dev/null @@ -1,3 +0,0 @@ -blog_show: - resource: validpattern.yml - path: /test diff --git a/assets/php/vendor/symfony/routing/Tests/Fixtures/nonesense_type_without_resource.yml b/assets/php/vendor/symfony/routing/Tests/Fixtures/nonesense_type_without_resource.yml deleted file mode 100755 index 547cda3..0000000 --- a/assets/php/vendor/symfony/routing/Tests/Fixtures/nonesense_type_without_resource.yml +++ /dev/null @@ -1,3 +0,0 @@ -blog_show: - path: /blog/{slug} - type: custom diff --git a/assets/php/vendor/symfony/routing/Tests/Fixtures/nonvalid.xml b/assets/php/vendor/symfony/routing/Tests/Fixtures/nonvalid.xml deleted file mode 100755 index dc147d2..0000000 --- a/assets/php/vendor/symfony/routing/Tests/Fixtures/nonvalid.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" ?> - -<routes xmlns="http://symfony.com/schema/routing" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://symfony.com/schema/routing http://symfony.com/schema/routing/routing-1.0.xsd"> - - <route id="blog_show" path="/blog/{slug}"> - <default key="_controller">MyBundle:Blog:show</default> - <!-- </route> --> -</routes> diff --git a/assets/php/vendor/symfony/routing/Tests/Fixtures/nonvalid.yml b/assets/php/vendor/symfony/routing/Tests/Fixtures/nonvalid.yml deleted file mode 100755 index 257cc56..0000000 --- a/assets/php/vendor/symfony/routing/Tests/Fixtures/nonvalid.yml +++ /dev/null @@ -1 +0,0 @@ -foo diff --git a/assets/php/vendor/symfony/routing/Tests/Fixtures/nonvalid2.yml b/assets/php/vendor/symfony/routing/Tests/Fixtures/nonvalid2.yml deleted file mode 100755 index cfa9992..0000000 --- a/assets/php/vendor/symfony/routing/Tests/Fixtures/nonvalid2.yml +++ /dev/null @@ -1 +0,0 @@ -route: string diff --git a/assets/php/vendor/symfony/routing/Tests/Fixtures/nonvalidkeys.yml b/assets/php/vendor/symfony/routing/Tests/Fixtures/nonvalidkeys.yml deleted file mode 100755 index 015e270..0000000 --- a/assets/php/vendor/symfony/routing/Tests/Fixtures/nonvalidkeys.yml +++ /dev/null @@ -1,3 +0,0 @@ -someroute: - resource: path/to/some.yml - name_prefix: test_ diff --git a/assets/php/vendor/symfony/routing/Tests/Fixtures/nonvalidnode.xml b/assets/php/vendor/symfony/routing/Tests/Fixtures/nonvalidnode.xml deleted file mode 100755 index 863ef03..0000000 --- a/assets/php/vendor/symfony/routing/Tests/Fixtures/nonvalidnode.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" ?> - -<routes xmlns="http://symfony.com/schema/routing" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://symfony.com/schema/routing http://symfony.com/schema/routing/routing-1.0.xsd"> - - <foo>bar</foo> -</routes> diff --git a/assets/php/vendor/symfony/routing/Tests/Fixtures/nonvalidroute.xml b/assets/php/vendor/symfony/routing/Tests/Fixtures/nonvalidroute.xml deleted file mode 100755 index 908958c..0000000 --- a/assets/php/vendor/symfony/routing/Tests/Fixtures/nonvalidroute.xml +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" ?> - -<routes xmlns="http://symfony.com/schema/routing" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://symfony.com/schema/routing http://symfony.com/schema/routing/routing-1.0.xsd"> - - <route id="blog_show" path="/blog/{slug}"> - <default key="_controller">MyBundle:Blog:show</default> - <option key="compiler_class">RouteCompiler</option> - <foo key="bar">baz</foo> - </route> -</routes> diff --git a/assets/php/vendor/symfony/routing/Tests/Fixtures/null_values.xml b/assets/php/vendor/symfony/routing/Tests/Fixtures/null_values.xml deleted file mode 100755 index f9e2aa2..0000000 --- a/assets/php/vendor/symfony/routing/Tests/Fixtures/null_values.xml +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" ?> -<routes xmlns="http://symfony.com/schema/routing" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://symfony.com/schema/routing http://symfony.com/schema/routing/routing-1.0.xsd"> - - <route id="blog_show" path="/blog/{slug}"> - <default key="foo" xsi:nil="true" /> - <default key="bar" xsi:nil="1" /> - <default key="foobar" xsi:nil="false">foo</default> - <default key="baz" xsi:nil="0">bar</default> - </route> -</routes> diff --git a/assets/php/vendor/symfony/routing/Tests/Fixtures/php_dsl.php b/assets/php/vendor/symfony/routing/Tests/Fixtures/php_dsl.php deleted file mode 100755 index 0780c9f..0000000 --- a/assets/php/vendor/symfony/routing/Tests/Fixtures/php_dsl.php +++ /dev/null @@ -1,22 +0,0 @@ -<?php - -namespace Symfony\Component\Routing\Loader\Configurator; - -return function (RoutingConfigurator $routes) { - $routes - ->collection() - ->add('foo', '/foo') - ->condition('abc') - ->options(array('utf8' => true)) - ->add('buz', 'zub') - ->controller('foo:act'); - - $routes->import('php_dsl_sub.php') - ->prefix('/sub') - ->requirements(array('id' => '\d+')); - - $routes->add('ouf', '/ouf') - ->schemes(array('https')) - ->methods(array('GET')) - ->defaults(array('id' => 0)); -}; diff --git a/assets/php/vendor/symfony/routing/Tests/Fixtures/php_dsl_sub.php b/assets/php/vendor/symfony/routing/Tests/Fixtures/php_dsl_sub.php deleted file mode 100755 index 9eb444d..0000000 --- a/assets/php/vendor/symfony/routing/Tests/Fixtures/php_dsl_sub.php +++ /dev/null @@ -1,14 +0,0 @@ -<?php - -namespace Symfony\Component\Routing\Loader\Configurator; - -return function (RoutingConfigurator $routes) { - $add = $routes->collection('c_') - ->prefix('pub'); - - $add('bar', '/bar'); - - $add->collection('pub_') - ->host('host') - ->add('buz', 'buz'); -}; diff --git a/assets/php/vendor/symfony/routing/Tests/Fixtures/scalar_defaults.xml b/assets/php/vendor/symfony/routing/Tests/Fixtures/scalar_defaults.xml deleted file mode 100755 index ecfde28..0000000 --- a/assets/php/vendor/symfony/routing/Tests/Fixtures/scalar_defaults.xml +++ /dev/null @@ -1,33 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" ?> -<routes xmlns="http://symfony.com/schema/routing" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://symfony.com/schema/routing - http://symfony.com/schema/routing/routing-1.0.xsd"> - - <route id="blog" path="/blog"> - <default key="_controller"> - <string>AcmeBlogBundle:Blog:index</string> - </default> - <default key="slug" xsi:nil="true" /> - <default key="published"> - <bool>true</bool> - </default> - <default key="page"> - <int>1</int> - </default> - <default key="price"> - <float>3.5</float> - </default> - <default key="archived"> - <bool>false</bool> - </default> - <default key="free"> - <bool>1</bool> - </default> - <default key="locked"> - <bool>0</bool> - </default> - <default key="foo" xsi:nil="true" /> - <default key="bar" xsi:nil="1" /> - </route> -</routes> diff --git a/assets/php/vendor/symfony/routing/Tests/Fixtures/special_route_name.yml b/assets/php/vendor/symfony/routing/Tests/Fixtures/special_route_name.yml deleted file mode 100755 index 78be239..0000000 --- a/assets/php/vendor/symfony/routing/Tests/Fixtures/special_route_name.yml +++ /dev/null @@ -1,2 +0,0 @@ -"#$péß^a|": - path: "true" diff --git a/assets/php/vendor/symfony/routing/Tests/Fixtures/validpattern.php b/assets/php/vendor/symfony/routing/Tests/Fixtures/validpattern.php deleted file mode 100755 index edc16d8..0000000 --- a/assets/php/vendor/symfony/routing/Tests/Fixtures/validpattern.php +++ /dev/null @@ -1,18 +0,0 @@ -<?php - -use Symfony\Component\Routing\RouteCollection; -use Symfony\Component\Routing\Route; - -$collection = new RouteCollection(); -$collection->add('blog_show', new Route( - '/blog/{slug}', - array('_controller' => 'MyBlogBundle:Blog:show'), - array('locale' => '\w+'), - array('compiler_class' => 'RouteCompiler'), - '{locale}.example.com', - array('https'), - array('GET', 'POST', 'put', 'OpTiOnS'), - 'context.getMethod() == "GET"' -)); - -return $collection; diff --git a/assets/php/vendor/symfony/routing/Tests/Fixtures/validpattern.xml b/assets/php/vendor/symfony/routing/Tests/Fixtures/validpattern.xml deleted file mode 100755 index dbc72e4..0000000 --- a/assets/php/vendor/symfony/routing/Tests/Fixtures/validpattern.xml +++ /dev/null @@ -1,15 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" ?> - -<routes xmlns="http://symfony.com/schema/routing" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://symfony.com/schema/routing http://symfony.com/schema/routing/routing-1.0.xsd"> - - <route id="blog_show" path="/blog/{slug}" host="{locale}.example.com" methods="GET|POST put,OpTiOnS" schemes="hTTps"> - <default key="_controller">MyBundle:Blog:show</default> - <requirement key="locale">\w+</requirement> - <option key="compiler_class">RouteCompiler</option> - <condition>context.getMethod() == "GET"</condition> - </route> - - <route id="blog_show_inherited" path="/blog/{slug}" /> -</routes> diff --git a/assets/php/vendor/symfony/routing/Tests/Fixtures/validpattern.yml b/assets/php/vendor/symfony/routing/Tests/Fixtures/validpattern.yml deleted file mode 100755 index 565abaa..0000000 --- a/assets/php/vendor/symfony/routing/Tests/Fixtures/validpattern.yml +++ /dev/null @@ -1,13 +0,0 @@ -blog_show: - path: /blog/{slug} - defaults: { _controller: "MyBundle:Blog:show" } - host: "{locale}.example.com" - requirements: { 'locale': '\w+' } - methods: ['GET','POST','put','OpTiOnS'] - schemes: ['https'] - condition: 'context.getMethod() == "GET"' - options: - compiler_class: RouteCompiler - -blog_show_inherited: - path: /blog/{slug} diff --git a/assets/php/vendor/symfony/routing/Tests/Fixtures/validresource.php b/assets/php/vendor/symfony/routing/Tests/Fixtures/validresource.php deleted file mode 100755 index 482c80b..0000000 --- a/assets/php/vendor/symfony/routing/Tests/Fixtures/validresource.php +++ /dev/null @@ -1,18 +0,0 @@ -<?php - -/** @var $loader \Symfony\Component\Routing\Loader\PhpFileLoader */ -/** @var \Symfony\Component\Routing\RouteCollection $collection */ -$collection = $loader->import('validpattern.php'); -$collection->addDefaults(array( - 'foo' => 123, -)); -$collection->addRequirements(array( - 'foo' => '\d+', -)); -$collection->addOptions(array( - 'foo' => 'bar', -)); -$collection->setCondition('context.getMethod() == "POST"'); -$collection->addPrefix('/prefix'); - -return $collection; diff --git a/assets/php/vendor/symfony/routing/Tests/Fixtures/validresource.xml b/assets/php/vendor/symfony/routing/Tests/Fixtures/validresource.xml deleted file mode 100755 index b7a15dd..0000000 --- a/assets/php/vendor/symfony/routing/Tests/Fixtures/validresource.xml +++ /dev/null @@ -1,13 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" ?> - -<routes xmlns="http://symfony.com/schema/routing" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://symfony.com/schema/routing http://symfony.com/schema/routing/routing-1.0.xsd"> - - <import resource="validpattern.xml" prefix="/{foo}" host=""> - <default key="foo">123</default> - <requirement key="foo">\d+</requirement> - <option key="foo">bar</option> - <condition>context.getMethod() == "POST"</condition> - </import> -</routes> diff --git a/assets/php/vendor/symfony/routing/Tests/Fixtures/validresource.yml b/assets/php/vendor/symfony/routing/Tests/Fixtures/validresource.yml deleted file mode 100755 index faf2263..0000000 --- a/assets/php/vendor/symfony/routing/Tests/Fixtures/validresource.yml +++ /dev/null @@ -1,8 +0,0 @@ -_blog: - resource: validpattern.yml - prefix: /{foo} - defaults: { 'foo': '123' } - requirements: { 'foo': '\d+' } - options: { 'foo': 'bar' } - host: "" - condition: 'context.getMethod() == "POST"' diff --git a/assets/php/vendor/symfony/routing/Tests/Fixtures/with_define_path_variable.php b/assets/php/vendor/symfony/routing/Tests/Fixtures/with_define_path_variable.php deleted file mode 100755 index 5871420..0000000 --- a/assets/php/vendor/symfony/routing/Tests/Fixtures/with_define_path_variable.php +++ /dev/null @@ -1,5 +0,0 @@ -<?php - -$path = '/1/2/3'; - -return new \Symfony\Component\Routing\RouteCollection(); diff --git a/assets/php/vendor/symfony/routing/Tests/Fixtures/withdoctype.xml b/assets/php/vendor/symfony/routing/Tests/Fixtures/withdoctype.xml deleted file mode 100755 index f217d5b..0000000 --- a/assets/php/vendor/symfony/routing/Tests/Fixtures/withdoctype.xml +++ /dev/null @@ -1,3 +0,0 @@ -<?xml version="1.0"?> -<!DOCTYPE foo> -<foo></foo> |