Skip to content

Commit 11aff9a

Browse files
committed
Merge branch '3.3' into 3.4
* 3.3: [Intl] Update ICU data to 60.1 [YAML] Allow to parse custom tags when linting yaml files [HttpKernel][Debug] Remove noise from stack frames of deprecations [Validator] Fix Costa Rica IBAN format [Bridge/ProxyManager] Remove direct reference to value holder property [Validator] Add Belarus IBAN format [FrameworkBundle] Specifically inject the debug dispatcher in the collector [WebserverBundle] fixed the bug that caused that the webserver would … update the pull request template [Stopwatch] minor fix
2 parents c549e3c + e720124 commit 11aff9a

File tree

833 files changed

+16097
-7347
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

833 files changed

+16097
-7347
lines changed

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
| Q | A
22
| ------------- | ---
3-
| Branch? | 3.4 or master / 2.7, 2.8 or 3.3 <!-- see comment below -->
3+
| Branch? | master / 2.7, 2.8, 3.3, or 3.4 <!-- see comment below -->
44
| Bug fix? | yes/no
55
| New feature? | yes/no <!-- don't forget to update src/**/CHANGELOG.md files -->
66
| BC breaks? | yes/no
@@ -13,8 +13,7 @@
1313
<!--
1414
- Bug fixes must be submitted against the lowest branch where they apply
1515
(lowest branches are regularly merged to upper ones so they get the fixes too).
16-
- Features and deprecations must be submitted against the 3.4,
17-
legacy code removals go to the master branch.
16+
- Features and deprecations must be submitted against the master branch.
1817
- Please fill in this template according to the PR you're about to submit.
1918
- Replace this comment by a description of what your PR is solving.
2019
-->

src/Symfony/Bridge/ProxyManager/LazyProxy/PhpDumper/ProxyDumper.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,11 @@ public function getProxyFactoryCode(Definition $definition, $id, $factoryCode =
9494
*/
9595
public function getProxyCode(Definition $definition)
9696
{
97-
return $this->classGenerator->generate($this->generateProxyClass($definition));
97+
return preg_replace(
98+
'/(\$this->initializer[0-9a-f]++) && \1->__invoke\(\$this->(valueHolder[0-9a-f]++), (.*?), \1\);/',
99+
'$1 && ($1->__invoke(\$$2, $3, $1) || 1) && $this->$2 = \$$2;',
100+
$this->classGenerator->generate($this->generateProxyClass($definition))
101+
);
98102
}
99103

100104
/**

src/Symfony/Bundle/FrameworkBundle/Resources/config/collectors.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828
<service id="data_collector.events" class="Symfony\Component\HttpKernel\DataCollector\EventDataCollector">
2929
<tag name="data_collector" template="@WebProfiler/Collector/events.html.twig" id="events" priority="290" />
30-
<argument type="service" id="event_dispatcher" on-invalid="ignore" />
30+
<argument type="service" id="debug.event_dispatcher" on-invalid="ignore" />
3131
</service>
3232

3333
<service id="data_collector.logger" class="Symfony\Component\HttpKernel\DataCollector\LoggerDataCollector">

src/Symfony/Component/Debug/ErrorHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -718,7 +718,7 @@ private function cleanTrace($backtrace, $type, $file, $line, $throw)
718718
}
719719
if (!($throw || $this->scopedErrors & $type)) {
720720
for ($i = 0; isset($lightTrace[$i]); ++$i) {
721-
unset($lightTrace[$i]['args']);
721+
unset($lightTrace[$i]['args'], $lightTrace[$i]['object']);
722722
}
723723
}
724724

src/Symfony/Component/HttpKernel/EventListener/DebugHandlersListener.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ public function configure(Event $event = null)
8686
$handler->screamAt($levels);
8787
}
8888
if ($this->scope) {
89-
$handler->scopeAt($this->levels);
89+
$handler->scopeAt($levels & ~E_USER_DEPRECATED & ~E_DEPRECATED);
9090
} else {
9191
$handler->scopeAt(0, true);
9292
}

src/Symfony/Component/Intl/Intl.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ public static function getIcuDataVersion()
234234
*/
235235
public static function getIcuStubVersion()
236236
{
237-
return '58.2';
237+
return '60.1';
238238
}
239239

240240
/**

src/Symfony/Component/Intl/Resources/bin/icu.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,4 @@
1515
57 = http://source.icu-project.org/repos/icu/icu/tags/release-57-1/source
1616
58 = http://source.icu-project.org/repos/icu/tags/release-58-2/icu4c/source
1717
59 = http://source.icu-project.org/repos/icu/tags/release-59-1/icu4c/source
18+
60 = http://source.icu-project.org/repos/icu/tags/release-60-1/icu4c/source

src/Symfony/Component/Intl/Resources/data/currencies/af.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"Version": "2.1.32.59",
2+
"Version": "2.1.37.5",
33
"Names": {
44
"AED": [
55
"AED",
@@ -121,6 +121,10 @@
121121
"CLP",
122122
"Chileense peso"
123123
],
124+
"CNH": [
125+
"CNH",
126+
"Chinese joean"
127+
],
124128
"CNY": [
125129
"CN¥",
126130
"Sjinese joean renminbi"

src/Symfony/Component/Intl/Resources/data/currencies/ak.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"Version": "2.1.31.33",
2+
"Version": "2.1.37.1",
33
"Names": {
44
"AED": [
55
"AED",

src/Symfony/Component/Intl/Resources/data/currencies/am.json

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
2-
"Version": "2.1.32.59",
2+
"Version": "2.1.37.5",
33
"Names": {
44
"AED": [
55
"AED",
6-
"የተባበሩት የአረብ ኤምረትስ ዲርሀም"
6+
"የተባበሩት የአረብ ኤምሬትስ ድርሀም"
77
],
88
"AFN": [
99
"AFN",
@@ -121,6 +121,10 @@
121121
"CLP",
122122
"የቺሊ ፔሶ"
123123
],
124+
"CNH": [
125+
"የቻይና ዩዋን",
126+
"የቻይና ዩዋን (የውጭ ምንዛሪ)"
127+
],
124128
"CNY": [
125129
"CN¥",
126130
"የቻይና የን"
@@ -235,15 +239,15 @@
235239
],
236240
"HRK": [
237241
"HRK",
238-
"የክሮሽያ ኩና"
242+
"HRK"
239243
],
240244
"HTG": [
241245
"HTG",
242246
"የሃያቲ ጓርዴ"
243247
],
244248
"HUF": [
245249
"HUF",
246-
"የሁንጋሪ ፎሪንት"
250+
"የሃንጋሪያን ፎሪንት"
247251
],
248252
"IDR": [
249253
"IDR",
@@ -531,7 +535,7 @@
531535
],
532536
"STD": [
533537
"STD",
534-
"የሳኦ ቶመ እና ፕሪንሲፐ ዶብራ"
538+
"የሳኦ ቶሜ እና ፕሪንሲፔ ዶብራ"
535539
],
536540
"SYP": [
537541
"SYP",

0 commit comments

Comments
 (0)