Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Serializer] Exclude non-initialized properties accessed with getters #38899

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 60 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
60 commits
Select commit Hold shift + click to select a range
2c81aaf
[CI] Silence errors when remove file/dir on test tearDown()
Nyholm Oct 14, 2020
b64fd67
[HttpFoundation] Fix Range Requests
BattleRattle Oct 11, 2020
4a0d273
Fix Reflection file name with eval()\'d code
maxime-aknin Oct 15, 2020
9b7ca12
[WebProfilerBundle] Hide debug toolbar in print view
jt2k Oct 16, 2020
817ba44
indexBy does not refer to attributes, but to column names
xabbuh Oct 16, 2020
efa9ca8
Added dutch translations for new invalid messages
wouterj Oct 18, 2020
b99c207
[Form] Sync translations
fabpot Oct 20, 2020
eaefd2a
[Filesystem] Check if failed unlink was caused by permission denied
Nyholm Oct 20, 2020
e1bfe92
[Validator] Add missing romanian translations
marmichalski Oct 22, 2020
9f0091c
add missing dutch translations
zghosts Oct 22, 2020
b13b246
[Serializer] fix decoding float XML attributes starting with 0
Oct 21, 2020
a909622
Remove branch-version (keep them for contracts only)
nicolas-grekas Oct 24, 2020
63813dd
[Security] Add missing polish translations
marmichalski Oct 25, 2020
803c0ab
[Form] Add missing polish translations
marmichalski Oct 25, 2020
9ad3c75
[Security] Synchronized translations with 5.x.
derrabus Oct 25, 2020
56d9bd3
[Form] Added missing German translations.
derrabus Oct 25, 2020
964ed1f
[Security] Added missing German translations.
derrabus Oct 25, 2020
d539576
Update Security Frensh Translations
zairigimad Oct 25, 2020
83323eb
Added missing `security.fi.xlf` translation file
tarlepp Oct 25, 2020
edb2ceb
Update Security Arabic Translations
zairigimad Oct 25, 2020
7fa9a56
Update Arabic Form Translations
zairigimad Oct 25, 2020
9b88b33
Closes #38747: Add italian translations.
Aerendir Oct 25, 2020
0b55cdf
[Validator] Missing Bulgarian translations #38730
kbosilkov Oct 25, 2020
92ef227
[Form] Missing Bulgarian translations
kbosilkov Oct 25, 2020
5aa9011
[Security] Missing Bulgarian translations #38730
kbosilkov Oct 25, 2020
78e15ec
[Security] Add missing czech translations
Holicz Oct 25, 2020
e4a4fc3
[Form] Add missing czech translations
Holicz Oct 25, 2020
e72bee8
[Validator] Add missing czech translations
Holicz Oct 25, 2020
9ab4b74
Add missing vietnamese translations
jschaedl Oct 25, 2020
37ff1ba
[Security] Add missing Latvian translations
andrewmy Oct 25, 2020
90fef25
[Form] Add missing Latvian translations
andrewmy Oct 25, 2020
5f0f4ea
[Validator] Add missing Latvian translations
andrewmy Oct 25, 2020
e62cb4e
[Form] [Security] Add missing pt_BR translations
adielcristo Oct 25, 2020
94ad887
Added missing translations for Russian
mamontovdmitriy Oct 25, 2020
4c965fa
[Security] Added missing Spanish translations.
TavoNiievez Oct 25, 2020
99c0849
Fix #38765 Added missing swedish translations for Form, Security and …
erickr Oct 25, 2020
9ff0bb6
Update French Translations for Validator Component
zairigimad Oct 25, 2020
33ad1d6
sync id translation
IndraGunawan Oct 26, 2020
86b5c27
[Validator] Added missing Spanish translations.
TavoNiievez Oct 25, 2020
7d9549b
Add missing translations for Japanese.
Ippey Oct 26, 2020
a598212
Disable platform checks
nicolas-grekas Oct 26, 2020
19576e3
[travis] Fix location of composer home
nicolas-grekas Oct 26, 2020
29f502b
[Form, Security, Validator] Add missing Persian translations (fa_IR)
a-shafaat Oct 26, 2020
14c3093
[Security] Add missing Slovak translations.
Oct 26, 2020
4fde140
[Validator] Add missing Slovak translations.
Oct 26, 2020
27a0160
38737 add missing dutch translation
JohJohan Oct 25, 2020
b1f0de6
[Form] Added missing Spanish translations.
TavoNiievez Oct 25, 2020
b374718
[Form] Add missing translations for Ukrainian (uk)
Comrade42 Oct 26, 2020
e485a5b
[Form, Security, Validator] Add missing Turkish translations (tr)
ahmed-bhs Oct 26, 2020
c62bad4
[Translation] added missing Albanian translations
abame Oct 26, 2020
d7886b3
[Security] Add missing translations for Ukrainian (uk)
Comrade42 Oct 26, 2020
d0ce2cf
[Validator] Add missing translations for Ukrainian (uk)
Comrade42 Oct 26, 2020
88efb8b
[Form] Fix wrong translations for Ukrainian (uk)
Comrade42 Oct 26, 2020
a524423
Fix transient tests
jderusse Oct 25, 2020
a5a85fa
[Form] Some minor teaks for Swedish
Nyholm Oct 27, 2020
e89b5bb
Fix CI for 3.4
nicolas-grekas Oct 27, 2020
330db7f
Missing translations for Chinese (zh_CN) #38732
fd6130 Oct 27, 2020
3a3a2b7
Missing translations for Chinese (zh_TW) #38733
fd6130 Oct 27, 2020
924bbb3
Update CONTRIBUTORS for 3.4.46
fabpot Oct 28, 2020
e3501c0
Exclude non-initialized properties accessed with getters
BoShurik Oct 30, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 3 additions & 6 deletions .github/build-packages.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

if (3 > $_SERVER['argc']) {
echo "Usage: branch dir1 dir2 ... dirN\n";
echo "Usage: branch version dir1 dir2 ... dirN\n";
exit(1);
}
chdir(dirname(__DIR__));
Expand All @@ -14,6 +14,7 @@
$dirs = $_SERVER['argv'];
array_shift($dirs);
$mergeBase = trim(shell_exec(sprintf('git merge-base "%s" HEAD', array_shift($dirs))));
$version = array_shift($dirs);

$packages = array();
$flags = JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE;
Expand Down Expand Up @@ -50,11 +51,7 @@
passthru("cd $dir && git init && git add . && git commit -q -m - && git archive -o package.tar HEAD && rm .git/ -Rf");
}

if (!isset($package->extra->{'branch-version'})) {
echo "Missing \"branch-version\" in composer.json's \"extra\".\n";
exit(1);
}
$package->version = $package->extra->{'branch-version'}.'.x-dev';
$package->version = (isset($package->extra->{'branch-version'}) ? $package->extra->{'branch-version'} : $version).'.x-dev';
$package->dist['type'] = 'tar';
$package->dist['url'] = 'file://'.str_replace(DIRECTORY_SEPARATOR, '/', dirname(__DIR__))."/$dir/package.tar";

Expand Down
1 change: 1 addition & 0 deletions .github/composer-config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"config": {
"platform-check": false,
"preferred-install": {
"symfony/form": "source",
"symfony/http-kernel": "source",
Expand Down
7 changes: 4 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,7 @@ before_install:
[ -d /usr/lib/openldap ] && ln -s /usr/lib/openldap /tmp/slapd-modules || ln -s /usr/lib/ldap /tmp/slapd-modules
fi
slapd -f src/Symfony/Component/Ldap/Tests/Fixtures/conf/slapd.conf -h ldap://localhost:3389 &
[ -d ~/.composer ] || mkdir ~/.composer
cp .github/composer-config.json ~/.composer/config.json
cp .github/composer-config.json "$(composer config home)/config.json"
export PHPUNIT=$(readlink -f ./phpunit)
export PHPUNIT_X="$PHPUNIT --exclude-group tty,benchmark,intl-data"
export COMPOSER_UP='composer update --no-progress --no-suggest --ansi'
Expand Down Expand Up @@ -267,7 +266,9 @@ install:
else
export SYMFONY_REQUIRE=">=$SYMFONY_VERSION"
fi
composer global require --no-progress --no-scripts --no-plugins symfony/flex
if [[ ! $TRAVIS_PHP_VERSION = 5.* ]]; then
composer global require --no-progress --no-scripts --no-plugins symfony/flex
fi

- |
# Legacy tests are skipped when deps=high and when the current branch version has not the same major version number as the next one
Expand Down
Loading