Skip to content

Commit

Permalink
Merge pull request #54 from symfony-cmf/start-1.1
Browse files Browse the repository at this point in the history
starting version 1.1 with symfony 2.2 only
  • Loading branch information
dbu committed Apr 30, 2013
2 parents a98a795 + a4442ac commit bf35d48
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 218 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Expand Up @@ -5,7 +5,6 @@ php:
- 5.4

env:
- SYMFONY_VERSION=2.1.*
- SYMFONY_VERSION=2.2.*
- SYMFONY_VERSION=dev-master

Expand Down
70 changes: 0 additions & 70 deletions NestedMatcher/ConfigurableUrlMatcher.php

This file was deleted.

8 changes: 1 addition & 7 deletions ProviderBasedGenerator.php
Expand Up @@ -43,13 +43,7 @@ public function generate($name, $parameters = array(), $absolute = false)

// the Route has a cache of its own and is not recompiled as long as it does not get modified
$compiledRoute = $route->compile();

// handle symfony 2.1 and 2.2
// getHostTokens exists only since 2.2
$hostTokens = null;
if (method_exists($compiledRoute, 'getHostTokens')) {
$hostTokens = $compiledRoute->getHostTokens();
}
$hostTokens = $compiledRoute->getHostTokens();

return $this->doGenerate($compiledRoute->getVariables(), $route->getDefaults(), $route->getRequirements(), $compiledRoute->getTokens(), $parameters, $name, $absolute, $hostTokens);
}
Expand Down
137 changes: 0 additions & 137 deletions Tests/NestedMatcher/ConfigurableUrlMatcherTest.php

This file was deleted.

6 changes: 3 additions & 3 deletions composer.json
Expand Up @@ -14,8 +14,8 @@
"minimum-stability": "dev",
"require": {
"php": ">=5.3.2",
"symfony/routing": ">=2.1,<2.3-dev",
"symfony/http-kernel": ">=2.1,<2.3-dev"
"symfony/routing": ">=2.2,<2.3-dev",
"symfony/http-kernel": ">=2.2,<2.3-dev"
},
"suggest": {
"symfony/http-foundation": "ChainRouter/DynamicRouter have optional support for Request instances, several enhancers require a Request instances, >=2.1,<2.3-dev"
Expand All @@ -26,7 +26,7 @@
"target-dir": "Symfony/Cmf/Component/Routing",
"extra": {
"branch-alias": {
"dev-master": "1.0-dev"
"dev-master": "1.1-dev"
}
}
}

0 comments on commit bf35d48

Please sign in to comment.