File tree Expand file tree Collapse file tree 7 files changed +26
-18
lines changed Expand file tree Collapse file tree 7 files changed +26
-18
lines changed Original file line number Diff line number Diff line change @@ -39,5 +39,5 @@ $ composer show --latest 'symfony-cmf/*'
39
39
If it's an error message or piece of code, use code block tags,
40
40
and make sure you provide the whole stack trace(s),
41
41
not just the first error message you can see.
42
- More details here: https://github.com/symfony-cmf/Routing/blob/master /CONTRIBUTING.md#issues
42
+ More details here: https://github.com/symfony-cmf/Routing/blob/3.x /CONTRIBUTING.md#issues
43
43
-->
Original file line number Diff line number Diff line change 1
1
| Q | A
2
2
| ------------- | ---
3
- | Branch? | "master" for new features / the branch of the current release for fixes
3
+ | Branch? | default branch for new features / the branch of the current release for fixes
4
4
| Bug fix? | yes/no
5
5
| New feature? | yes/no
6
6
| BC breaks? | yes/no
Original file line number Diff line number Diff line change 4
4
pull_request :
5
5
push :
6
6
branches :
7
- - " master"
8
7
- " [0-9]+.x"
9
8
- " [0-9]+.[0-9]+"
10
9
- " [0-9]+.[0-9]+.x"
15
14
runs-on : " ubuntu-20.04"
16
15
env :
17
16
SYMFONY_DEPRECATIONS_HELPER : weak
17
+ SYMFONY_REQUIRE : ${{ matrix.symfony-version }}
18
18
19
19
strategy :
20
20
fail-fast : false
@@ -27,11 +27,13 @@ jobs:
27
27
symfony-version : " 6"
28
28
29
29
- php-version : " 8.1"
30
- symfony-version : " 6"
30
+ - php-version : " 8.2"
31
+ - php-version : " 8.3"
32
+ symfony-version : " 7"
31
33
32
34
steps :
33
35
- name : " Checkout project"
34
- uses : " actions/checkout@v2 "
36
+ uses : " actions/checkout@v3 "
35
37
36
38
- name : " Install and configure PHP"
37
39
uses : " shivammathur/setup-php@v2"
@@ -40,12 +42,14 @@ jobs:
40
42
extensions : " pdo, pdo_sqlite"
41
43
tools : " composer:v2"
42
44
43
- - name : " Require Specific Symfony Version "
45
+ - name : " Flex "
44
46
if : " ${{ matrix.symfony-version }}"
45
- run : composer require --no-update symfony/flex && composer config extra.symfony.require ${{ matrix.symfony-version}}
47
+ run : |
48
+ composer global require --no-progress --no-scripts --no-plugins symfony/flex
49
+ composer global config --no-plugins allow-plugins.symfony/flex true
46
50
47
51
- name : " Install dependencies with Composer"
48
- uses : " ramsey/composer-install@v1 "
52
+ uses : " ramsey/composer-install@v2 "
49
53
with :
50
54
dependency-versions : " ${{ matrix.dependencies }}"
51
55
composer-options : " --prefer-dist"
Original file line number Diff line number Diff line change 1
1
Changelog
2
2
=========
3
3
4
+ 3.0.2
5
+ -----
6
+
7
+ * Allow installation with Symfony 7.
8
+
4
9
3.0.1
5
10
-----
6
11
Original file line number Diff line number Diff line change 16
16
],
17
17
"require" : {
18
18
"php" : " ^8.0" ,
19
- "symfony/routing" : " ^6.0" ,
20
- "symfony/http-kernel" : " ^6.0" ,
19
+ "symfony/routing" : " ^6.0 || ^7.0 " ,
20
+ "symfony/http-kernel" : " ^6.0 || ^7.0 " ,
21
21
"psr/log" : " ^1.0 || ^2.0 || ^3.0"
22
22
},
23
23
"require-dev" : {
24
- "doctrine/annotations" : " ^1.5" ,
25
- "symfony/phpunit-bridge" : " ^6.0" ,
26
- "symfony/dependency-injection" : " ^6.0" ,
27
- "symfony/config" : " ^6.0" ,
28
- "symfony/event-dispatcher" : " ^6.0"
24
+ "symfony/phpunit-bridge" : " ^7.0.3" ,
25
+ "symfony/dependency-injection" : " ^6.0 || ^7.0" ,
26
+ "symfony/config" : " ^6.0 || ^7.0" ,
27
+ "symfony/event-dispatcher" : " ^6.0 || ^7.0"
29
28
},
30
29
"suggest" : {
31
30
"symfony/event-dispatcher" : " DynamicRouter can optionally trigger an event at the start of matching. Minimal version ^6.0"
Original file line number Diff line number Diff line change @@ -279,11 +279,11 @@ public function setContext(RequestContext $context): void
279
279
$ this ->context = $ context ;
280
280
}
281
281
282
- public function warmUp (string $ cacheDir ): array
282
+ public function warmUp (string $ cacheDir, ? string $ buildDir = null ): array
283
283
{
284
284
foreach ($ this ->all () as $ router ) {
285
285
if ($ router instanceof WarmableInterface) {
286
- $ router ->warmUp ($ cacheDir );
286
+ $ router ->warmUp ($ cacheDir, $ buildDir );
287
287
}
288
288
}
289
289
Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ public function __construct(
73
73
/**
74
74
* {@inheritdoc}
75
75
*/
76
- public function getRouteCollection (): ? RouteCollection
76
+ public function getRouteCollection (): RouteCollection
77
77
{
78
78
if (!$ this ->routeCollection instanceof RouteCollection) {
79
79
$ this ->routeCollection = $ this ->provider
You can’t perform that action at this time.
0 commit comments