File tree 12 files changed +16
-14
lines changed
Bundle/FrameworkBundle/Tests/Fixtures/Descriptor
12 files changed +16
-14
lines changed Original file line number Diff line number Diff line change 2
2
"path" : " \/ hello\/ {name}" ,
3
3
"pathRegex" : " #^\/ hello(?:\/ (?P<name>[a-z]+))?$#s" ,
4
4
"host" : " localhost" ,
5
- "hostRegex" : " #^localhost$#si " ,
5
+ "hostRegex" : " #^localhost$#s " ,
6
6
"scheme" : " http|https" ,
7
7
"method" : " GET|HEAD" ,
8
8
"class" : " Symfony\\ Component\\ Routing\\ Route" ,
Original file line number Diff line number Diff line change 1
1
- Path: /hello/{name}
2
2
- Path Regex: #^/hello(?:/(?P<name >[ a-z] +))?$#s
3
3
- Host: localhost
4
- - Host Regex: #^localhost$#si
4
+ - Host Regex: #^localhost$#s
5
5
- Scheme: http|https
6
6
- Method: GET|HEAD
7
7
- Class: Symfony\Component\Routing\Route
Original file line number Diff line number Diff line change 1
1
<comment>Path</comment> /hello/{name}
2
2
<comment>Path Regex</comment> #^/hello(?:/(?P<name>[a-z]+))?$#s
3
3
<comment>Host</comment> localhost
4
- <comment>Host Regex</comment> #^localhost$#si
4
+ <comment>Host Regex</comment> #^localhost$#s
5
5
<comment>Scheme</comment> http|https
6
6
<comment>Method</comment> GET|HEAD
7
7
<comment>Class</comment> Symfony\Component\Routing\Route
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
2
<route class =" Symfony\Component\Routing\Route" >
3
3
<path regex =" #^/hello(?:/(?P< name> [a-z]+))?$#s" >/hello/{name}</path >
4
- <host regex =" #^localhost$#si " >localhost</host >
4
+ <host regex =" #^localhost$#s " >localhost</host >
5
5
<scheme >http</scheme >
6
6
<scheme >https</scheme >
7
7
<method >GET</method >
Original file line number Diff line number Diff line change 2
2
"path" : " \/ name\/ add" ,
3
3
"pathRegex" : " #^\/ name\/ add$#s" ,
4
4
"host" : " localhost" ,
5
- "hostRegex" : " #^localhost$#si " ,
5
+ "hostRegex" : " #^localhost$#s " ,
6
6
"scheme" : " http|https" ,
7
7
"method" : " PUT|POST" ,
8
8
"class" : " Symfony\\ Component\\ Routing\\ Route" ,
Original file line number Diff line number Diff line change 1
1
- Path: /name/add
2
2
- Path Regex: #^/name/add$#s
3
3
- Host: localhost
4
- - Host Regex: #^localhost$#si
4
+ - Host Regex: #^localhost$#s
5
5
- Scheme: http|https
6
6
- Method: PUT|POST
7
7
- Class: Symfony\Component\Routing\Route
Original file line number Diff line number Diff line change 1
1
<comment>Path</comment> /name/add
2
2
<comment>Path Regex</comment> #^/name/add$#s
3
3
<comment>Host</comment> localhost
4
- <comment>Host Regex</comment> #^localhost$#si
4
+ <comment>Host Regex</comment> #^localhost$#s
5
5
<comment>Scheme</comment> http|https
6
6
<comment>Method</comment> PUT|POST
7
7
<comment>Class</comment> Symfony\Component\Routing\Route
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
2
<route class =" Symfony\Component\Routing\Route" >
3
3
<path regex =" #^/name/add$#s" >/name/add</path >
4
- <host regex =" #^localhost$#si " >localhost</host >
4
+ <host regex =" #^localhost$#s " >localhost</host >
5
5
<scheme >http</scheme >
6
6
<scheme >https</scheme >
7
7
<method >PUT</method >
Original file line number Diff line number Diff line change 3
3
"path" : " \/ hello\/ {name}" ,
4
4
"pathRegex" : " #^\/ hello(?:\/ (?P<name>[a-z]+))?$#s" ,
5
5
"host" : " localhost" ,
6
- "hostRegex" : " #^localhost$#si " ,
6
+ "hostRegex" : " #^localhost$#s " ,
7
7
"scheme" : " http|https" ,
8
8
"method" : " GET|HEAD" ,
9
9
"class" : " Symfony\\ Component\\ Routing\\ Route" ,
23
23
"path" : " \/ name\/ add" ,
24
24
"pathRegex" : " #^\/ name\/ add$#s" ,
25
25
"host" : " localhost" ,
26
- "hostRegex" : " #^localhost$#si " ,
26
+ "hostRegex" : " #^localhost$#s " ,
27
27
"scheme" : " http|https" ,
28
28
"method" : " PUT|POST" ,
29
29
"class" : " Symfony\\ Component\\ Routing\\ Route" ,
Original file line number Diff line number Diff line change 4
4
- Path: /hello/{name}
5
5
- Path Regex: #^/hello(?:/(?P<name >[ a-z] +))?$#s
6
6
- Host: localhost
7
- - Host Regex: #^localhost$#si
7
+ - Host Regex: #^localhost$#s
8
8
- Scheme: http|https
9
9
- Method: GET|HEAD
10
10
- Class: Symfony\Component\Routing\Route
@@ -24,7 +24,7 @@ route_2
24
24
- Path: /name/add
25
25
- Path Regex: #^/name/add$#s
26
26
- Host: localhost
27
- - Host Regex: #^localhost$#si
27
+ - Host Regex: #^localhost$#s
28
28
- Scheme: http|https
29
29
- Method: PUT|POST
30
30
- Class: Symfony\Component\Routing\Route
Original file line number Diff line number Diff line change 2
2
<routes >
3
3
<route name =" route_1" class =" Symfony\Component\Routing\Route" >
4
4
<path regex =" #^/hello(?:/(?P< name> [a-z]+))?$#s" >/hello/{name}</path >
5
- <host regex =" #^localhost$#si " >localhost</host >
5
+ <host regex =" #^localhost$#s " >localhost</host >
6
6
<scheme >http</scheme >
7
7
<scheme >https</scheme >
8
8
<method >GET</method >
21
21
</route >
22
22
<route name =" route_2" class =" Symfony\Component\Routing\Route" >
23
23
<path regex =" #^/name/add$#s" >/name/add</path >
24
- <host regex =" #^localhost$#si " >localhost</host >
24
+ <host regex =" #^localhost$#s " >localhost</host >
25
25
<scheme >http</scheme >
26
26
<scheme >https</scheme >
27
27
<method >PUT</method >
Original file line number Diff line number Diff line change @@ -167,6 +167,8 @@ public function addEnvironmentVariables(array $variables)
167
167
/**
168
168
* Sets the input of the process.
169
169
*
170
+ * Deprecation: As of Symfony 2.5, this method only accepts string values.
171
+ *
170
172
* @param string|null $input The input as a string
171
173
*
172
174
* @return ProcessBuilder
You can’t perform that action at this time.
0 commit comments