Skip to content

[2.5] Test components using their lowest possible deps #12998

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

Merged
merged 1,810 commits into from
Dec 16, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1810 commits
Select commit Hold shift + click to select a range
8e461af
[Validator] Constraint validators now use the 2.5 API. For incompatib…
webmozart Jul 24, 2014
7504448
[Validator] Added extensive test coverage for the constraint validato…
webmozart Jul 26, 2014
870a41a
[FrameworkBundle] Made ConstraintValidatorFactory aware of the legacy…
webmozart Jul 26, 2014
3bd6d80
[Validator] CS fixes
webmozart Jul 26, 2014
295e5bb
[Validator] Fixed failing tests
webmozart Jul 26, 2014
cd29962
minor #11463 [Validator] prevent unnecessary calls inside ExecutionCo…
webmozart Jul 28, 2014
8744826
Add point about ConsoleLogger to Console 2.5 changelog
JeroenDeDauw Jul 29, 2014
3ee327c
minor #11507 Add point about ConsoleLogger to Console 2.5 changelog (…
fabpot Jul 29, 2014
67a6b75
Issue #11489 Added some CA and ES translations
Jul 31, 2014
69e8100
minor #11533 Issue #11489 Added some CA and ES translations (mmoreram)
fabpot Aug 1, 2014
3bed1b7
Merge branch '2.3' into 2.4
webmozart Aug 4, 2014
ef6f5f5
[Validator] Fixed: Made it possible (again) to pass a class name to V…
webmozart Jul 28, 2014
2bf1b37
[Validator] Fixed ExpressionValidator when the validation root is not…
webmozart Jul 28, 2014
a361f10
[Validator] Added Swedish translations
Nyholm Aug 4, 2014
c43253e
bug #11498 [Validator] Made it possible (again) to pass a class name …
webmozart Aug 4, 2014
a6a7f5d
minor #11485 [Validator] Constraint validators now use the 2.5 API (w…
webmozart Aug 4, 2014
a4ec72e
minor #11561 [Validator] Added Swedish translations (Nyholm)
fabpot Aug 4, 2014
98c0621
Merge branch '2.4' into 2.5
webmozart Aug 5, 2014
6ac130e
[Form] Fixed FormValidator compatibility with the non-BC 2.5 Validati…
webmozart Aug 5, 2014
cd322c4
bug #11571 [Form] Fixed FormValidator compatibility with the non-BC 2…
fabpot Aug 6, 2014
6f56ea4
Merge branch '2.3' into 2.4
fabpot Aug 6, 2014
6f07919
Merge branch '2.4' into 2.5
fabpot Aug 6, 2014
b8f6995
updated CHANGELOG for 2.5.3
fabpot Aug 6, 2014
f077a23
updated VERSION for 2.5.3
fabpot Aug 6, 2014
0c13296
bumped Symfony version to 2.5.4
fabpot Aug 6, 2014
0653426
[SecurityBundle] Added UserPasswordValidator tests for the different …
webmozart Aug 6, 2014
fba2393
minor #11585 [SecurityBundle] Added UserPasswordValidator tests for t…
webmozart Aug 6, 2014
f45f1ab
[DoctrineBridge] Changed UniqueEntityValidator to use the 2.5 Validat…
webmozart Aug 6, 2014
e844ed0
[Validator] Removed legacy validator classes
webmozart Aug 6, 2014
8bedf86
bug #11582 [DoctrineBridge] Changed UniqueEntityValidator to use the …
webmozart Aug 7, 2014
6b8fe14
minor #11587 [Validator] Removed legacy validator classes (webmozart)
fabpot Aug 7, 2014
05c3314
Merge branch '2.3' into 2.4
fabpot Aug 8, 2014
5ca28c0
Merge branch '2.4' into 2.5
fabpot Aug 8, 2014
dcce035
add symfony/yaml suggestion to composer.json
xabbuh Aug 8, 2014
19f3b47
resolve parameters before the configs are processed
xabbuh Aug 9, 2014
2cf1205
minor #11623 add symfony/yaml suggestion to composer.json (xabbuh)
fabpot Aug 9, 2014
fe2f007
fix dependencies on HttpFoundation component
xabbuh Aug 11, 2014
7283483
bug #11625 [FrameworkBundle] resolve parameters before the configs ar…
fabpot Aug 11, 2014
b8c0a12
[Validator] Fix little typo in ExecutionContextInterface::buildViolat…
Aug 12, 2014
1ce0ad5
minor #11656 [Validator] Fix little typo in ExecutionContextInterface…
webmozart Aug 12, 2014
8c22211
bug #11637 fix dependencies on HttpFoundation component (xabbuh)
nicolas-grekas Aug 13, 2014
7f4f9ab
[DIC] Fixed: anonymous services are always private
lyrixx Aug 13, 2014
35994bf
bug #11666 [DIC] Fixed: anonymous services are always private (lyrixx)
nicolas-grekas Aug 14, 2014
054f1b5
Merge branch '2.3' into 2.4
webmozart Aug 14, 2014
845c33c
[Validator] Backported constraint validator tests from 2.5
webmozart Aug 5, 2014
16c94d2
minor #11647 [Validator] Backported constraint validator tests from 2…
webmozart Aug 14, 2014
0801a3a
Merge branch '2.4' into 2.5
webmozart Aug 14, 2014
a74b758
[FrameworkBundle] Fixed validator factory definition when the Validat…
webmozart Aug 6, 2014
ff74f4e
[Form] Fixed ValidatorExtension to work with the 2.5 Validation API
webmozart Aug 8, 2014
cf8b4e2
bug #11645 [Form] Fixed ValidatorExtension to work with the 2.5 Valid…
webmozart Aug 15, 2014
562ca3d
Merge branch '2.3' into 2.4
nicolas-grekas Aug 18, 2014
de871dc
Merge branch '2.4' into 2.5
nicolas-grekas Aug 18, 2014
bb9552f
bug #11584 [FrameworkBundle] Fixed validator factory definition when …
webmozart Aug 18, 2014
9c69d70
Merge branch '2.3' into 2.4
webmozart Aug 19, 2014
59cd05f
Merge branch '2.4' into 2.5
webmozart Aug 19, 2014
fb97786
[Validator] Fixed missing use statements
webmozart Aug 19, 2014
6dd5592
[Validator] fix return doc of ClassMetadata::getCascadingStrategy
Tobion Aug 19, 2014
1eec2d6
[Validator] remove duplicate interface implementations
Tobion Aug 19, 2014
a47a884
add test for #11604
xabbuh Aug 8, 2014
aa58bb8
minor #11706 [Validator] ClassMetadata doc fix (Tobion)
webmozart Aug 20, 2014
16e3637
Merge branch '2.3' into 2.4
fabpot Aug 26, 2014
c4615bf
Merge branch '2.4' into 2.5
fabpot Aug 26, 2014
aefb1ca
added useful reminder about form.vars.errors into UPGRADE-2.5 notes
Aug 8, 2014
b03530b
minor #11619 added useful reminder about form.vars.errors into UPGRAD…
fabpot Aug 26, 2014
5ad4d8a
Remove hard dependency of RequestContext in AssetsExtension
pgodel Aug 23, 2014
f1611ab
bug #11749 [TwigBundle] Remove hard dependency of RequestContext in A…
fabpot Aug 27, 2014
d2a634d
[Validator] Pass strict argument into the strict email validator
Aug 22, 2014
cf02d55
bug #11739 [Validator] Pass strict argument into the strict email val…
fabpot Aug 27, 2014
b764f6c
fix mustRun() in sigchild environments
xabbuh Aug 28, 2014
c6e9e06
fixed DateComparator if file does not exist
avi123 Aug 27, 2014
b74acdb
bug #11787 fixed DateComparator if file does not exist (avi123)
fabpot Aug 29, 2014
06de353
bug #11791 [Process] fix mustRun() in sigchild environments (xabbuh)
fabpot Aug 30, 2014
e91269b
fix typos
Tobion Aug 30, 2014
fb3be10
minor #11804 fix typos (Tobion)
fabpot Aug 31, 2014
e99dfdf
Merge branch '2.3' into 2.4
fabpot Aug 31, 2014
6ff62cc
Merge branch '2.4' into 2.5
fabpot Aug 31, 2014
94990a2
minor #11707 [Validator] Test that validateProperty() works if no con…
fabpot Aug 31, 2014
a676863
[Security] Add more tests for StringUtils::equals
dunglas Aug 31, 2014
8fdfb6f
minor #11808 [Security] Add more tests for StringUtils::equals (dunglas)
fabpot Sep 2, 2014
88f8b3f
Unexpexted ));"
dominikjaglo Sep 2, 2014
36b0e72
minor #11823 Unexpexted "));" (dominikjaglo)
fabpot Sep 2, 2014
8358ebb
Merge branch '2.3' into 2.4
fabpot Sep 3, 2014
f6e9248
[HttpKernel] simplified code
fabpot Sep 3, 2014
4ef1328
[HttpKernel] fixed some unit tests for 2.4 (signature now uses SHA256…
fabpot Sep 3, 2014
c1b1b10
Merge branch '2.4' into 2.5
fabpot Sep 3, 2014
1205e75
Revert "minor #11808 [Security] Add more tests for StringUtils::equal…
fabpot Sep 3, 2014
1ec88be
Merge branch '2.4' into 2.5
fabpot Sep 3, 2014
0c3200e
updated CHANGELOG for 2.4.9
fabpot Sep 3, 2014
6266883
updated VERSION for 2.4.9
fabpot Sep 3, 2014
56855cd
updated CHANGELOG for 2.5.4
fabpot Sep 3, 2014
3a369dd
updated VERSION for 2.5.4
fabpot Sep 3, 2014
8d6b59b
bumped Symfony version to 2.4.10
fabpot Sep 3, 2014
afb82e8
bumped Symfony version to 2.5.5
fabpot Sep 3, 2014
1be80c6
add missing exceptions to docblock
xabbuh Sep 3, 2014
888f0eb
minor #11842 [Process] add missing exceptions to docblock (xabbuh)
romainneutron Sep 5, 2014
709db6f
[Validator] The ratio of the ImageValidator is rounded to two decimal…
webmozart Sep 15, 2014
4a0adba
bug #11928 [Validator] The ratio of the ImageValidator is rounded to …
webmozart Sep 15, 2014
1be7acd
Merge branch '2.3' into 2.4
fabpot Sep 17, 2014
687703a
Merge branch '2.4' into 2.5
fabpot Sep 17, 2014
5238eba
Fixed merge conflict in .travis.yml introduced in 687703a75ed741464e1…
phansys Sep 18, 2014
679df19
minor #11946 [CI] Fixed merge conflict in .travis.yml (phansys)
fabpot Sep 18, 2014
3c11fa5
Unit test fixes
fejese Sep 18, 2014
29ccb30
minor #11952 Unit test fixes (fejese)
fabpot Sep 19, 2014
51fa3ef
[Debug] Restoring error handler before assertions
fejese Sep 19, 2014
957fbb2
[Tests] PHPUnit Optimizations
lyrixx Sep 20, 2014
5647e69
minor #11964 [Tests] PHPUnit Optimizations (lyrixx)
fabpot Sep 20, 2014
99e6d66
minor #11959 [Debug] Restoring error handler before assertions (fejese)
fabpot Sep 20, 2014
27e8c65
Merge branch '2.3' into 2.4
fabpot Sep 22, 2014
b91866f
Merge branch '2.4' into 2.5
fabpot Sep 22, 2014
24c7aef
added missing use statement
fabpot Sep 22, 2014
12711fd
added missing use statement
fabpot Sep 22, 2014
405d8f9
added missing use statements
fabpot Sep 22, 2014
8efff1b
Merge branch '2.3' into 2.4
fabpot Sep 22, 2014
4fa670b
Merge branch '2.4' into 2.5
fabpot Sep 22, 2014
ddf95c7
[HttpFoundation] Silent only JSON errors
GromNaN Jul 18, 2014
d952f90
Catch exceptions to restore the error handler
GromNaN Jul 18, 2014
ef91f71
Fix JsonSerializable namespace
GromNaN Jul 18, 2014
6d6a3af
Clear json_last_error
GromNaN Sep 15, 2014
6a435cd
bug #11418 [JsonResponse] Silent only JSON errors (GromNaN)
fabpot Sep 22, 2014
ed41da1
check for the Validator if forms are enabled
xabbuh Sep 3, 2014
33b30a8
bug #11839 [FrameworkBundle] check if the Validator component is pres…
fabpot Sep 22, 2014
924d06a
Merge branch '2.3' into 2.4
fabpot Sep 23, 2014
1c254a4
Merge branch '2.4' into 2.5
fabpot Sep 23, 2014
e85cb7f
added the possibility to return null from SimplePreAuthenticationList…
Jul 18, 2014
faa8e98
fixed bug
fabpot Sep 23, 2014
9333395
bug #12002 [Security] [Firewall] Bug fixed in SimplePreAuthentication…
fabpot Sep 24, 2014
1d48206
[Validator] Fixed LegacyValidator when only a constraint is validated
webmozart Sep 25, 2014
43b83cf
Merge branch '2.3' into 2.4
fabpot Sep 25, 2014
efb1237
Merge branch '2.3' into 2.4
fabpot Sep 25, 2014
c48ae25
Merge branch '2.4' into 2.5
webmozart Sep 25, 2014
44997d3
[Command] Set the process title as late as possible
lyrixx Sep 25, 2014
f94ba9a
bug #12032 [Command] Set the process title as late as possible (lyrixx)
fabpot Sep 25, 2014
2b2f0df
Fix expression language in the container when using the "container" v…
fabpot Sep 25, 2014
da4e85e
bug #12030 Fix expression language in the container when using the "c…
fabpot Sep 25, 2014
6b0c24a
[Validator] Added ConstraintValidator::buildViolation() helper for BC…
webmozart Sep 24, 2014
07b234e
bug #12031 [Validator] Fixed LegacyValidator when only a constraint i…
fabpot Sep 25, 2014
d7615e7
bug #12016 [Validator] Added ConstraintValidator::buildViolation() he…
fabpot Sep 25, 2014
e768f37
Merge branch '2.3' into 2.4
fabpot Sep 27, 2014
aa5179b
Merge branch '2.4' into 2.5
fabpot Sep 27, 2014
de780e8
Merge branch '2.3' into 2.4
fabpot Sep 27, 2014
5c3cea5
fixed some composer.json to make standalone component tests pass
fabpot Sep 27, 2014
09a3c4c
fixed standalone component tests depending on Validator and Form
fabpot Sep 27, 2014
158939e
[Validator] fixed component standalone tests
fabpot Sep 27, 2014
b6bbe8b
fixed standalone tests
fabpot Sep 28, 2014
3a1661b
fixed standalone tests
fabpot Sep 28, 2014
f5b38ec
[Debug] fixed class lookup when using PSR-0 with a target dir
fabpot Sep 28, 2014
cff4bbb
minor #12071 [Debug] fixed class lookup when using PSR-0 with a targe…
fabpot Sep 28, 2014
8d75b4b
Merge branch '2.4' into 2.5
fabpot Sep 28, 2014
a4217c3
fixed deps
fabpot Sep 28, 2014
33af155
updated CHANGELOG for 2.5.5
fabpot Sep 28, 2014
2aef97b
updated VERSION for 2.5.5
fabpot Sep 28, 2014
6e534f2
bumped Symfony version to 2.5.6
fabpot Sep 28, 2014
7ff903e
[Security][Http][Authentication] Make a test pass on HHVM
AlphaStream Sep 30, 2014
408c6aa
minor #12086 [Security][Http][Authentication] Make a test pass on HHV…
fabpot Oct 1, 2014
e6bcb1c
fixed CS
fabpot Oct 1, 2014
cfd1ecf
Merge branch '2.3' into 2.5
fabpot Oct 1, 2014
9d2120b
fix RegisterListenersPass test
xabbuh Oct 1, 2014
adbde8a
minor #12093 [EventDispatcher] fix RegisterListenersPass test (xabbuh)
fabpot Oct 2, 2014
baab4ed
clean handling of :: passed to find()
xabbuh Oct 3, 2014
39246de
bug #12128 [Console] clean handling of :: passed to find() (xabbuh)
fabpot Oct 5, 2014
643fdc8
Merge branch '2.3' into 2.5
fabpot Oct 5, 2014
eb3dd0f
[Framework][DX] Set the proper validator class according to the confi…
peterrehm Oct 6, 2014
d2c6c34
bug #12151 [Framework][DX] Set the proper validator class according t…
webmozart Oct 7, 2014
b4ed800
Merge branch '2.3' into 2.5
fabpot Oct 9, 2014
eb5f60c
Fixed UPGRADE-3.0.md markup
lyrixx Oct 12, 2014
a27de3d
minor #12215 Fixed UPGRADE-3.0.md markup (lyrixx)
fabpot Oct 13, 2014
2822fdb
[SecurityBundle] Add trust_resolver variable into expression
zulus Oct 14, 2014
27d717e
bug #12225 [SecurityBundle] Add trust_resolver variable into expressi…
fabpot Oct 14, 2014
5839832
[Form] Fixed usage of "name" variable in form_start block
webmozart Oct 22, 2014
b712ac1
[PropertyAccess] Simplified code
webmozart Oct 22, 2014
7c5321c
minor #12292 [PropertyAccess] Simplified code (webmozart)
fabpot Oct 23, 2014
7b43827
Merge branch '2.3' into 2.5
fabpot Oct 24, 2014
1367ebb
updated CHANGELOG for 2.5.6
fabpot Oct 24, 2014
1a1b1e5
updated VERSION for 2.5.6
fabpot Oct 24, 2014
0f4993b
bumped Symfony version to 2.5.7
fabpot Oct 24, 2014
b5b12a5
Merge branch '2.3' into 2.5
fabpot Oct 26, 2014
b56c2b4
bug #12291 [Form] Fixed usage of "name" variable in form_start block …
fabpot Oct 26, 2014
e638ccb
Remove aligned '=>' and '='
polc Oct 30, 2014
b2ddfa8
minor #12362 [2.5] Remove aligned '=>' and '=' (disquedur)
fabpot Oct 31, 2014
14c417a
Merge branch '2.3' into 2.5
fabpot Nov 3, 2014
2492dab
removed errors from git
HeinZawHtet Nov 3, 2014
318ad05
bug #12382 [Routing] removed errors from git (HeinZawHtet)
nicolas-grekas Nov 3, 2014
86e667b
[Routing] fix BC
nicolas-grekas Nov 3, 2014
acd515b
bug #12397 [Routing] fix BC (nicolas-grekas)
fabpot Nov 3, 2014
03aa491
Merge branch '2.3' into 2.5
fabpot Nov 3, 2014
1bba799
fixed test that randomly fails
fabpot Nov 3, 2014
ffe863c
[Routing] correctly initialize condition as string
Tobion Nov 3, 2014
809cf24
Fixed whitespace control for password form widget
peterrehm Nov 6, 2014
4faf360
minor #12422 Fixed whitespace control for password form widget (peter…
fabpot Nov 9, 2014
85b016f
minor #12403 [Routing] correctly initialize condition as string (Tobion)
fabpot Nov 9, 2014
f1d043a
[HttpKernel][2.6] Adding support for invokable controllers in the Req…
jameshalsall Nov 10, 2014
af4f959
bug #12443 [HttpKernel][2.6] Adding support for invokable controllers…
fabpot Nov 12, 2014
1a79859
[FrameworkBundle] Fix server run in case the router script does not e…
romainneutron Nov 15, 2014
679911c
Merge branch '2.3' into 2.5
fabpot Nov 16, 2014
1852f85
Add consistency with request type checking
blanchonvincent Nov 16, 2014
af73a47
minor #12492 [HttpKernel] Add consistency with request type checking …
fabpot Nov 16, 2014
90e7830
[Session] Fix parameter names in WriteCheckSessionHandler
znerol Nov 11, 2014
e041ff4
minor #12448 [Session] Fix parameter names in WriteCheckSessionHandle…
fabpot Nov 16, 2014
60f38de
bug #12489 [2.5][FrameworkBundle] Fix server run in case the router s…
fabpot Nov 16, 2014
891ebe5
Merge branch '2.3' into 2.5
fabpot Nov 20, 2014
34b5f71
updated CHANGELOG for 2.5.7
fabpot Nov 20, 2014
3e1f6a3
update CONTRIBUTORS for 2.5.7
fabpot Nov 20, 2014
dd4254f
updated VERSION for 2.5.7
fabpot Nov 20, 2014
9500411
bumped Symfony version to 2.5.8
fabpot Nov 20, 2014
94a04cb
[2.5] Remove possible call_user_func()
nicolas-grekas Nov 21, 2014
6e9642a
[Form][WebProfiler] Empty form names fix
kix Oct 27, 2014
d88c60d
bug #12267 [Form][WebProfiler] Empty form names fix (kix)
fabpot Nov 21, 2014
5284b59
Merge branch '2.3' into 2.5
fabpot Nov 21, 2014
2035fea
remove an unneeded check
xabbuh Nov 23, 2014
d2f846b
compare version using PHP_VERSION_ID
xabbuh Nov 23, 2014
155fa96
minor #12551 remove an unneeded check (xabbuh)
fabpot Nov 28, 2014
0dfa7d5
minor #12554 compare version using PHP_VERSION_ID (xabbuh)
fabpot Nov 28, 2014
402e183
Merge branch '2.3' into 2.5
fabpot Nov 28, 2014
844aa54
Remove dialog usage
blanchonvincent Nov 30, 2014
a0703cf
minor #12767 [Console] Remove dialog helper usage (blanchonvincent)
fabpot Nov 30, 2014
ab1e9f3
Merge branch '2.3' into 2.5
fabpot Dec 2, 2014
b8a37bd
fixed wrong merge
fabpot Dec 2, 2014
15948b8
updated CHANGELOG for 2.5.8
fabpot Dec 3, 2014
547f7b9
update CONTRIBUTORS for 2.5.8
fabpot Dec 3, 2014
00da570
updated VERSION for 2.5.8
fabpot Dec 3, 2014
51aa478
bumped Symfony version to 2.5.9
fabpot Dec 3, 2014
9aff1ec
Merge branch '2.3' into 2.5
fabpot Dec 4, 2014
0cbc2b0
Fixed #12845 adding a listener to an event that is currently being di…
Dec 4, 2014
ed4fb54
CS fixes
GrahamCampbell Dec 4, 2014
002595a
minor #12856 [2.5] CS Fixes And Removed Unused Imports (GrahamCampbell)
fabpot Dec 5, 2014
86840df
[Console] fixes some typos and phpdoc.
Dec 7, 2014
6104fe0
minor #12884 [Console] fixes some typos and phpdoc. (hhamon)
fabpot Dec 8, 2014
111b194
Added information when an error occured during validation of an answe…
saro0h Dec 2, 2014
99369a2
bug #12806 [Console] Removed the use of $this->getHelperSet() as it i…
fabpot Dec 8, 2014
7bb6f44
Merge branch '2.3' into 2.5
fabpot Dec 8, 2014
e9ea4c1
fix phpdoc's alignment
keradus Dec 8, 2014
b72875d
minor #12905 fix phpdoc's alignment (keradus)
fabpot Dec 11, 2014
b9512b6
minor #12531 [2.5] Remove possible call_user_func() (nicolas-grekas)
fabpot Dec 11, 2014
7e573f4
Merge branch '2.3' into 2.5
fabpot Dec 11, 2014
d58ac9e
terminals are not interactive on Travis
xabbuh Dec 11, 2014
e3a4cdc
[DependencyInjection] Remove duplicate declaration in PhpDumper
schuylr Dec 11, 2014
c7ea781
minor #12953 [DependencyInjection] Remove duplicate $parameters decla…
fabpot Dec 12, 2014
b9f0dd1
minor #12951 [Console] terminals are not interactive on Travis (xabbuh)
fabpot Dec 12, 2014
e1e4cfc
bug #12848 [EventDispatcher] Fixed #12845 adding a listener to an eve…
fabpot Dec 12, 2014
db8a3ae
[Debug] Show only unique class candidates
hason Nov 11, 2014
2a46e31
minor #12453 [Debug] Show only unique class candidates (hason)
fabpot Dec 12, 2014
7248680
[Form] fixed a maxlength overring on a guessing
origaminal Nov 23, 2014
1cd4d48
bug #12548 [Form] fixed a maxlength overring on a guessing (origaminal)
fabpot Dec 12, 2014
76c3508
Merge branch '2.3' into 2.5
nicolas-grekas Dec 12, 2014
2874a42
Merge branch '2.3' into 2.5
fabpot Dec 13, 2014
6638535
fix ocramius/proxy-manager dependency version
xabbuh Dec 12, 2014
9b96373
Fix failing tests after merge
nicolas-grekas Dec 13, 2014
98c8ec1
minor #12967 Fix failing tests after merge (xabbuh, nicolas-grekas)
fabpot Dec 13, 2014
88d524e
Merge remote-tracking branch 'symfony/2.3' into lowest-25
nicolas-grekas Dec 15, 2014
b1b5cca
Test lowest versions of dependencies
nicolas-grekas Dec 15, 2014
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
401 changes: 401 additions & 0 deletions CHANGELOG-2.4.md

Large diffs are not rendered by default.

301 changes: 301 additions & 0 deletions CHANGELOG-2.5.md

Large diffs are not rendered by default.

17 changes: 13 additions & 4 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,20 @@
Contributing
------------

Symfony is an open source, community-driven project. If you'd like to contribute,
please read the [Contributing Code][1] part of the documentation. If you're submitting
a pull request, please follow the guidelines in the [Submitting a Patch][2] section
and use the [Pull Request Template][3].
Symfony2 is an open source, community-driven project.

If you'd like to contribute, please read the following documents:

* [Contributing Code][1]: The document index related to contributions;

* [Submitting a Patch][2]: Guidelines for submitting a pull request;

* [Pull Request Template][3]: Template header to use in your pull request
description;

* [Backwards Compatibility][4]: Backward compatibility rules.

[1]: http://symfony.com/doc/current/contributing/code/index.html
[2]: http://symfony.com/doc/current/contributing/code/patches.html#check-list
[3]: http://symfony.com/doc/current/contributing/code/patches.html#make-a-pull-request
[4]: http://symfony.com/doc/current/contributing/code/bc.html#working-on-symfony-code
2 changes: 1 addition & 1 deletion UPGRADE-2.2.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

#### Deprecations

* The `standalone` option is deprecated and will replaced with the `strategy` option in 2.3.
* The `standalone` option is deprecated and will be replaced with the `strategy` option in 2.3.
* The values `true`, `false`, `js` for the `standalone` option were deprecated and replaced respectively with the `esi`, `inline`, `hinclude` in 2.3.


Expand Down
9 changes: 9 additions & 0 deletions UPGRADE-2.4.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
UPGRADE FROM 2.3 to 2.4
=======================

Form
----

* The constructor parameter `$precision` in `IntegerToLocalizedStringTransformer`
is now ignored completely, because a precision does not make sense for
integers.
263 changes: 263 additions & 0 deletions UPGRADE-2.5.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,263 @@
UPGRADE FROM 2.4 to 2.5
=======================

Routing
-------

* Added a new optional parameter `$requiredSchemes` to `Symfony\Component\Routing\Generator\UrlGenerator::doGenerate()`

Form
----

* The method `FormInterface::getErrors()` now returns an instance of
`Symfony\Component\Form\FormErrorIterator` instead of an array. This object
is traversable, countable and supports array access. However, you can not
pass it to any of PHP's `array_*` functions anymore. You should use
`iterator_to_array()` in those cases where you did.

Before:

```
$errors = array_map($callback, $form->getErrors());
```

After:

```
$errors = array_map($callback, iterator_to_array($form->getErrors()));
```

* The method `FormInterface::getErrors()` now has two additional, optional
parameters. Make sure to add these parameters to the method signatures of
your implementations of that interface.

Before:

```
public function getErrors()
{
```

After:

```
public function getErrors($deep = false, $flatten = true)
{
```

Before:

```
{% if form.vars.errors %}
```

After:

```
{% if form.vars.errors|length %}
```

PropertyAccess
--------------

* The methods `isReadable()` and `isWritable()` were added to
`PropertyAccessorInterface`. If you implemented this interface in your own
code, you should add these two methods.

* The methods `getValue()` and `setValue()` now throw an
`NoSuchIndexException` instead of a `NoSuchPropertyException` when an index
is accessed on an object that does not implement `ArrayAccess`. If you catch
this exception in your code, you should adapt the catch statement:

Before:

```php
$object = new \stdClass();

try {
$propertyAccessor->getValue($object, '[index]');
$propertyAccessor->setValue($object, '[index]', 'New value');
} catch (NoSuchPropertyException $e) {
// ...
}
```

After:

```php
$object = new \stdClass();

try {
$propertyAccessor->getValue($object, '[index]');
$propertyAccessor->setValue($object, '[index]', 'New value');
} catch (NoSuchIndexException $e) {
// ...
}
```

A `NoSuchPropertyException` is still thrown when a non-existing property is
accessed on an object or an array.

Validator
---------

* EmailValidator has changed to allow `non-strict` and `strict` email validation

Before:

Email validation was done with php's `filter_var()`

After:

Default email validation is now done via a simple regex which may cause invalid emails (not RFC compilant) to be
valid. This is the default behaviour.

Strict email validation has to be explicitly activated in the configuration file by adding

```
framework:
//...
validation:
strict_email: true
//...

```

Also you have to add to your composer.json:

```
"egulias/email-validator": "~1.2"
```

* `ClassMetadata::getGroupSequence()` now returns `GroupSequence` instances
instead of an array. The sequence implements `\Traversable`, `\ArrayAccess`
and `\Countable`, so in most cases you should be fine. If you however use the
sequence with PHP's `array_*()` functions, you should cast it to an array
first using `iterator_to_array()`:

Before:

```
$sequence = $metadata->getGroupSequence();
$result = array_map($callback, $sequence);
```

After:

```
$sequence = iterator_to_array($metadata->getGroupSequence());
$result = array_map($callback, $sequence);
```

* The array type hint in `ClassMetadata::setGroupSequence()` was removed. If
you overwrite this method, make sure to remove the type hint as well. The
method should now accept `GroupSequence` instances just as well as arrays.

Before:

```
public function setGroupSequence(array $groups)
{
// ...
}
```

After:

```
public function setGroupSequence($groupSequence)
{
// ...
}
```

* The validation engine in `Symfony\Component\Validator\Validator` was replaced
by a new one in `Symfony\Component\Validator\Validator\RecursiveValidator`.
With that change, several classes were deprecated that will be removed in
Symfony 3.0. Also, the API of the validator was slightly changed. More
details about that can be found in UPGRADE-3.0.

You can choose the desired API via the new "api" entry in
app/config/config.yml:

```
framework:
validation:
enabled: true
api: auto
```

When running PHP 5.3.9 or higher, Symfony will then use an implementation
that supports both the old API and the new one:

```
framework:
validation:
enabled: true
api: 2.5-bc
```

When running PHP lower than 5.3.9, that compatibility layer is not supported.
On those versions, the old implementation will be used instead:

```
framework:
validation:
enabled: true
api: 2.4
```

If you develop a new application that doesn't rely on the old API, you can
also set the API to 2.5. In that case, the backwards compatibility layer
will not be activated:

```
framework:
validation:
enabled: true
api: 2.5
```

When using the validator outside of the Symfony full-stack framework, the
desired API can be selected using `setApiVersion()` on the validator builder:

```
// Previous implementation
$validator = Validation::createValidatorBuilder()
->setApiVersion(Validation::API_VERSION_2_4)
->getValidator();

// New implementation with backwards compatibility support
$validator = Validation::createValidatorBuilder()
->setApiVersion(Validation::API_VERSION_2_5_BC)
->getValidator();

// New implementation without backwards compatibility support
$validator = Validation::createValidatorBuilder()
->setApiVersion(Validation::API_VERSION_2_5)
->getValidator();
```


Yaml Component
--------------

* The way Yaml handles duplicate keys in an array was changed from `rewrite with the
last element` behavior to ignoring all the elements with the same key after the first one.

Example:

```
parentElement:
firstChild: foo
secondChild: 123
firstChild: bar
```

Before:

This would be parsed in an array like this: `["parentElement" => ["firstChild" => "bar", "secondChild" => 123]]`

After:

The first value is used: `["parentElement" => ["firstChild" => "foo", "secondChild" => 123]]`
6 changes: 5 additions & 1 deletion UPGRADE-3.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ UPGRADE FROM 2.x to 3.0
and all of its implementations were removed. Use the new interface
`Symfony\Component\Security\Csrf\CsrfTokenManagerInterface` instead.

* The options "`csrf_provider`" and "`intention`" were renamed to "`csrf_token_generator`"
* The options "`csrf_provider`" and "`intention`" were renamed to "`csrf_token_generator`"
and "`csrf_token_id`".

* The method `Form::getErrorsAsString()` was removed. Use `Form::getErrors()`
Expand All @@ -273,6 +273,10 @@ UPGRADE FROM 2.x to 3.0
echo $form->getErrors(true, false);
```

```php
echo $form->getErrors(true, false);
```

### FrameworkBundle

* The `getRequest` method of the base `Controller` class has been deprecated
Expand Down
10 changes: 8 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
"symfony/doctrine-bridge": "self.version",
"symfony/dom-crawler": "self.version",
"symfony/event-dispatcher": "self.version",
"symfony/expression-language": "self.version",
"symfony/filesystem": "self.version",
"symfony/finder": "self.version",
"symfony/form": "self.version",
Expand All @@ -48,6 +49,10 @@
"symfony/proxy-manager-bridge": "self.version",
"symfony/routing": "self.version",
"symfony/security": "self.version",
"symfony/security-acl": "self.version",
"symfony/security-core": "self.version",
"symfony/security-csrf": "self.version",
"symfony/security-http": "self.version",
"symfony/security-bundle": "self.version",
"symfony/serializer": "self.version",
"symfony/stopwatch": "self.version",
Expand All @@ -67,7 +72,8 @@
"monolog/monolog": "~1.3",
"propel/propel1": "~1.6",
"ircmaxell/password-compat": "~1.0",
"ocramius/proxy-manager": "~0.3.1"
"ocramius/proxy-manager": "~0.4|~1.0",
"egulias/email-validator": "~1.2"
},
"autoload": {
"psr-0": { "Symfony\\": "src/" },
Expand All @@ -80,7 +86,7 @@
"minimum-stability": "dev",
"extra": {
"branch-alias": {
"dev-master": "2.3-dev"
"dev-master": "2.5-dev"
}
}
}
2 changes: 2 additions & 0 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
<testsuite name="Symfony Test Suite">
<directory>./src/Symfony/Bridge/*/Tests/</directory>
<directory>./src/Symfony/Component/*/Tests/</directory>
<directory>./src/Symfony/Component/*/*/Tests/</directory>
<directory>./src/Symfony/Bundle/*/Tests/</directory>
</testsuite>
</testsuites>
Expand All @@ -33,6 +34,7 @@
<exclude>
<directory>./src/Symfony/Bridge/*/Tests</directory>
<directory>./src/Symfony/Component/*/Tests</directory>
<directory>./src/Symfony/Component/*/*/Tests</directory>
<directory>./src/Symfony/Bundle/*/Tests</directory>
<directory>./src/Symfony/Bundle/*/Resources</directory>
<directory>./src/Symfony/Component/*/Resources</directory>
Expand Down
Loading