8000 [Security] Changed has_user to is_granted for expression in upgrade 4.4 by linaori · Pull Request #34592 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[Security] Changed has_user to is_granted for expression in upgrade 4.4 #34592

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 888 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
888 commits
Select commit Hold shift + click to select a range
4442a3f
Merge branch '4.4'
nicolas-grekas Sep 19, 2019
5e8f047
Merge branch '4.4'
nicolas-grekas Sep 19, 2019
47f1934
Merge branch '4.4'
nicolas-grekas Sep 19, 2019
a447c4c
Merge branch '4.4'
nicolas-grekas Sep 19, 2019
3f911bb
Merge branch '4.4'
nicolas-grekas Sep 19, 2019
b320c44
Merge branch '4.4'
nicolas-grekas Sep 20, 2019
a0ff8c1
Merge branch '4.4'
nicolas-grekas Sep 20, 2019
b6fc90c
Merge branch '4.4'
nicolas-grekas Sep 20, 2019
6233cce
fix accessing service arguments
xabbuh Sep 20, 2019
aec06c3
bug #33648 [TwigBundle] fix accessing service arguments (xabbuh)
nicolas-grekas Sep 20, 2019
94f5aee
Merge branch '4.4'
nicolas-grekas Sep 20, 2019
57c0e3c
Merge branch '4.4'
nicolas-grekas Sep 20, 2019
4301d01
Merge branch '4.4'
nicolas-grekas Sep 20, 2019
798af3f
Merge branch '4.4'
nicolas-grekas Sep 20, 2019
daf6d92
Merge branch '4.4'
nicolas-grekas Sep 21, 2019
2d274b3
Merge branch '4.3' into 4.4
nicolas-grekas Sep 23, 2019
e23c728
Merge branch '4.4'
nicolas-grekas Sep 23, 2019
8084185
Merge branch '4.4'
nicolas-grekas Sep 23, 2019
242f244
Merge branch '4.4'
nicolas-grekas Sep 23, 2019
2d877b1
Merge branch '4.4'
nicolas-grekas Sep 24, 2019
906aad9
Merge branch '4.4'
nicolas-grekas Sep 24, 2019
2b6ce01
remove deprecated code paths
xabbuh Sep 25, 2019
ec2afb7
minor #33697 [Security] remove deprecated code paths (xabbuh)
fabpot Sep 25, 2019
4e0f034
remove tests for legacy behavior
xabbuh Sep 25, 2019
77e42d8
minor #33702 [Security] remove tests for legacy behavior (xabbuh)
xabbuh Sep 25, 2019
012e92a
[String] a new component for object-oriented strings management with …
nicolas-grekas Sep 11, 2019
82a0095
[String] add tests
hhamon Feb 8, 2017
dd8745a
[String] add more tests
gharlan Sep 18, 2019
5d154fb
feature #33553 [String] a new component for object-oriented strings m…
fabpot Sep 26, 2019
3a5fd48
Fix isGranted with object attribute
jvasseur Sep 26, 2019
c7fb8e4
bug #33721 [Security] Fix isGranted with object attribute (jvasseur)
fabpot Sep 26, 2019
8f1c4f1
Merge branch '4.4'
nicolas-grekas Sep 26, 2019
4a9926a
Merge branch '4.4'
nicolas-grekas Sep 27, 2019
7daf7df
Merge branch '4.4'
nicolas-grekas Sep 27, 2019
3356321
Merge branch '4.4'
nicolas-grekas Sep 27, 2019
5906962
[String] improve AbstractUnicodeString::ascii() fallback logic
nicolas-grekas Sep 28, 2019
10be999
Merge branch '4.4'
nicolas-grekas Sep 28, 2019
8649f43
minor #33746 [String] improve AbstractUnicodeString::ascii() fallback…
nicolas-grekas Sep 29, 2019
b15ae9c
Merge branch '4.4'
nicolas-grekas Sep 30, 2019
81ae635
drop support for retrieving container from non-booted kernels
xabbuh Sep 30, 2019
6623ec2
remove abbreviation support for hidden commands
xabbuh Sep 30, 2019
5e48c39
minor #33760 [HttpKernel] drop support for retrieving container from …
xabbuh Sep 30, 2019
c75098e
minor #33790 [Console] remove abbreviation support for hidden command…
chalasr Oct 1, 2019
80b4f81
[String] fix beforeLast/afterLast
gharlan Oct 1, 2019
564a657
bug #33798 [String] fix beforeLast/afterLast (gharlan)
nicolas-grekas Oct 2, 2019
001d0f1
Remove XmlEncoder::TYPE_CASE_ATTRIBUTES constant
pierredup Oct 1, 2019
46a23f8
[String] fix toAscii()
nicolas-grekas Oct 2, 2019
a176d1a
bug #33807 [String] fix toAscii() (nicolas-grekas)
nicolas-grekas Oct 2, 2019
00792fc
minor #33788 [Serializer] Remove XmlEncoder::TYPE_CASE_ATTRIBUTES con…
nicolas-grekas Oct 2, 2019
3ee9dbd
Merge branch '4.4'
nicolas-grekas Oct 2, 2019
a2330b7
[Workflow] Fixed default marking store value of Workflow
lyrixx Oct 2, 2019
7db04f1
Merge branch '4.4'
nicolas-grekas Oct 2, 2019
4a547c5
bug #33815 [Workflow] Fixed default marking store value of Workflow (…
nicolas-grekas Oct 2, 2019
056d8ce
[String] Introduce a locale-aware Slugger in the String component wit…
tgalopin Sep 27, 2019
1e4d873
feature #33768 [String] Introduce a locale-aware Slugger in the Strin…
nicolas-grekas Oct 2, 2019
95ebca5
Merge branch '4.4'
nicolas-grekas Oct 2, 2019
b3a3b0c
[Console] Throw a TypeError for non-int return values on calling Comm…
jschaedl Oct 2, 2019
ebda9d1
minor #33808 [Console] Throw a TypeError for non-int return value cal…
nicolas-grekas Oct 2, 2019
d1ed968
[WebProfilerBundle] Fix TemplateManager test
fancyweb Oct 3, 2019
35f319c
minor #33824 [WebProfilerBundle] Fix TemplateManager test (fancyweb)
nicolas-grekas Oct 3, 2019
215595b
[FrameworkBundle] encourage installing intl when String is available
nicolas-grekas Oct 3, 2019
d9ca86e
minor #33825 [FrameworkBundle] encourage installing intl when String …
nicolas-grekas Oct 4, 2019
63c105d
[String] renamed core classes to Byte/CodePoint/UnicodeString
nicolas-grekas Oct 2, 2019
011ddfc
Remove a test brought back with a merge
jakzal Oct 4, 2019
d2f8199
minor #33865 Remove a test brought back with a merge (jakzal)
nicolas-grekas Oct 4, 2019
7f97a3f
[Notifier] added the component
fabpot Aug 23, 2019
8375c6b
feature #33687 Notifier Component (fabpot)
nicolas-grekas Oct 5, 2019
25461b3
Skip the intl notice if run with phpunit
jakzal Oct 5, 2019
53f8627
minor #33868 Skip the intl notice if run with phpunit (jakzal)
nicolas-grekas Oct 7, 2019
e3e502e
Merge branch '4.4'
nicolas-grekas Oct 7, 2019
c9b8b04
Replace posix_isatty with cross-platform, always available stream_isatty
ostrolucky Oct 6, 2019
2dba6e7
minor #33816 [String] renamed core classes to Byte/CodePoint/UnicodeS…
nicolas-grekas Oct 7, 2019
f6d207c
minor #33878 [Console] Replace posix_isatty with cross-platform, alwa…
nicolas-grekas Oct 7, 2019
4e5c6ba
Merge branch '4.4'
nicolas-grekas Oct 7, 2019
9813031
Added missing return type.
derrabus Oct 7, 2019
7df0b6c
minor #33886 [FrameworkBundle] Added missing return type (derrabus)
nicolas-grekas Oct 7, 2019
1648c0e
[String] Renamed a method argument
javiereguiluz Oct 8, 2019
bb392bc
minor #33904 [String] Renamed a method argument (javiereguiluz)
nicolas-grekas Oct 8, 2019
714d629
[String] add $lastGlue argument to join() methods
nicolas-grekas Oct 8, 2019
1cbbddd
[String] Added test for replaceMatches
honarkhah Oct 9, 2019
68c6e72
Merge branch '4.4'
nicolas-grekas Oct 9, 2019
90ca602
minor #33914 [String] add $lastGlue argument to join() methods (nicol…
nicolas-grekas Oct 11, 2019
a306d99
Merge branch '4.4'
Tobion Oct 11, 2019
015b81a
[String] wrap(): test and fix
gharlan Oct 13, 2019
59c215c
[String] optimize equalsTo/startsWith/endsWith
gharlan Oct 13, 2019
ae7803d
Merge branch '4.4'
nicolas-grekas Oct 14, 2019
006c09a
Merge branch '4.4'
xabbuh Oct 14, 2019
b6d4690
minor #33971 [String] optimize equalsTo/startsWith/endsWith (gharlan)
nicolas-grekas Oct 14, 2019
9d9d095
bug #33970 [String] wrap(): test and fix (gharlan)
nicolas-grekas Oct 14, 2019
f8d2faa
[String] bytesAt() and codePointsAt()
gharlan Oct 9, 2019
5880c5c
bug #33940 [String] bytesAt() and codePointsAt() (gharlan)
nicolas-grekas Oct 14, 2019
3134b5b
minor #33932 [String] Added test for replaceMatches (honarkhah)
nicolas-grekas Oct 14, 2019
d518428
Merge branch '4.4'
nicolas-grekas Oct 15, 2019
a060575
Merge branch '4.4'
nicolas-grekas Oct 15, 2019
54499ef
Merge branch '4.4'
nicolas-grekas Oct 15, 2019
27a2d8a
[ErrorRenderer] conflict with symfony/debug
nicolas-grekas Oct 15, 2019
5540bc7
Add toString() method for String
simPod Oct 17, 2019
e28bc78
bug #34011 [String] Add AbstractString::toString() method (simPod)
nicolas-grekas Oct 18, 2019
99098f8
Merge branch '4.4'
nicolas-grekas Oct 18, 2019
14dda41
Merge branch '4.4'
fabpot Oct 20, 2019
af0f541
[String] Fix of title() method
alex-bacart Oct 21, 2019
df1bb4e
bug #34048 [String] Fix of title() method (alex-bacart)
nicolas-grekas Oct 21, 2019
077f7be
Merge branch '4.4'
nicolas-grekas Oct 22, 2019
ff6078e
fix merge
nicolas-grekas Oct 22, 2019
816996e
[TwigBundle] allow option "twig.exception_controller" to be null on S…
nicolas-grekas Oct 22, 2019
ae65c4d
bug #34062 [TwigBundle] allow option "twig.exception_controller" to b…
nicolas-grekas Oct 22, 2019
34f5655
Merge branch '4.4'
nicolas-grekas Oct 22, 2019
7677694
Merge branch '4.4'
nicolas-grekas Oct 22, 2019
6ca6262
Merge branch '4.4'
nicolas-grekas Oct 23, 2019
1f82ab6
[Notifier] Fix default value for phone number of admins
fabpot Oct 24, 2019
a465e5f
[Notifier] Defaults to NoNotifier when sending a notification without…
fabpot Oct 24, 2019
b30814d
bug #34104 [Notifier] Defaults to NoNotifier when sending a notificat…
fabpot Oct 24, 2019
cf49a26
bug #34103 [Notifier] Fix default value for phone number of admins (f…
fabpot Oct 24, 2019
4dd82d0
[Notifier] Disable notifications on failed messages by default
fabpot Oct 24, 2019
aaace8a
bug #34109 Notifier disable failed message listener by default (fabpot)
fabpot Oct 24, 2019
ae72381
Hot fix
fabpot Oct 24, 2019
ed0fc66
Merge branch '4.4'
Tobion Oct 25, 2019
6525b5e
Merge branch '4.4'
fabpot Oct 26, 2019
8767ff8
[Notifier] Set missing defaults
fabpot Oct 26, 2019
f82c3db
bug #34136 [Notifier] Set missing defaults (fabpot)
fabpot Oct 26, 2019
c384905
Merge branch '4.4'
chalasr Oct 27, 2019
6c3924c
Merge branch '4.4'
fabpot Oct 27, 2019
b6e203d
[Notifier] Add the possibility to add actions on Slack messages
fabpot Oct 27, 2019
4cc8208
feature #34141 Slack notifier actions (fabpot)
fabpot Oct 27, 2019
5a85540
Merge branch '4.4'
nicolas-grekas Oct 28, 2019
3483d9a
Merge branch '4.4'
nicolas-grekas Oct 28, 2019
b778c68
[Security] Fix merge
chalasr Oct 28, 2019
d36f0f3
Merge branch '4.3' into 4.4
chalasr Oct 29, 2019
9576bce
Merge branch '4.4'
chalasr Oct 29, 2019
3309da9
Merge branch '4.4'
chalasr Oct 29, 2019
89901e6
Merge branch '4.4'
nicolas-grekas Oct 29, 2019
5dc29c4
Merge branch '4.4'
fabpot Oct 30, 2019
c93bf69
Merge branch '4.4'
nicolas-grekas Oct 30, 2019
00c0bd4
Merge branch '4.4'
nicolas-grekas Oct 30, 2019
7e65dad
Merge branch '4.4'
nicolas-grekas Oct 30, 2019
4d868d4
[DomCrawler] fix merge
nicolas-grekas Oct 30, 2019
ba6dd85
Merge branch '4.4'
nicolas-grekas Oct 30, 2019
0ea2855
Merge branch '4.4'
Tobion Nov 1, 2019
127f5da
[Messenger] remove legacy code in SendersLocator
Tobion Nov 1, 2019
be8cb4e
fix exception messages
xabbuh Nov 1, 2019
daeb41a
Merge branch '4.4'
fabpot Nov 1, 2019
c2c3e70
fixing telegram token
chr-hertel Nov 1, 2019
64f4430
[Security] Add back ROLE_PREVIOUS_ADMIN to impersonated user
chalasr Nov 2, 2019
4d92e64
minor #34211 [Messenger] remove legacy code in SendersLocator (Tobion)
fabpot Nov 3, 2019
14da170
bug #34219 [Security] Add back ROLE_PREVIOUS_ADMIN to impersonated us…
fabpot Nov 3, 2019
5e358e3
Merge branch '4.4'
nicolas-grekas Nov 5, 2019
1cc66db
Merge branch '4.4'
nicolas-grekas Nov 5, 2019
4e70325
Merge branch '4.4'
nicolas-grekas Nov 6, 2019
9733bef
bug #34213 [Notifier][Telegram] Fixing Telegram token (chr-hertel)
xabbuh Nov 6, 2019
98b457a
Merge branch '4.4'
nicolas-grekas Nov 6, 2019
b5f1133
Merge branch '4.4'
nicolas-grekas Nov 6, 2019
0f2fca1
Merge branch '4.4'
nicolas-grekas Nov 6, 2019
d4ae374
Merge branch '4.4'
nicolas-grekas Nov 6, 2019
9dd6064
Merge branch '4.4'
nicolas-grekas Nov 6, 2019
bf27a83
minor #34212 [Form] fix exception messages (xabbuh)
yceruto Nov 6, 2019
ce35ca2
[VarDumper] Clean casters @final annotations
fancyweb Nov 6, 2019
7df469b
[WebProfilerBundle] Clean @internal annotations
fancyweb Nov 6, 2019
bf7fc2b
[ErrorHandler] Clean @final annotation from ErrorHandler
fancyweb Nov 6, 2019
54ffd46
[Debug] Remove it from master
fancyweb Nov 6, 2019
c90b53e
minor #34272 [Debug] Remove it from master (fancyweb)
yceruto Nov 6, 2019
ad61d6f
[SecurityBundle] Remove deprecated service and code
fancyweb Nov 6, 2019
48937fc
minor #34269 [ErrorHandler] Clean @final annotation from ErrorHandler…
yceruto Nov 7, 2019
ec924df
minor #34268 [WebProfilerBundle] Clean @internal annotations (fancyweb)
yceruto Nov 7, 2019
a8e10cf
[FrameworkBundle] Remove Lock deprecated services
fancyweb Nov 6, 2019
dac9df3
Merge branch '4.4'
nicolas-grekas Nov 7, 2019
3d8cca8
minor #34266 [VarDumper] Clean casters @final annotations (fancyweb)
nicolas-grekas Nov 7, 2019
1351208
minor #34270 [FrameworkBundle] Remove Lock deprecated services (fancy…
nicolas-grekas Nov 7, 2019
8e6cc01
minor #34271 [SecurityBundle] Remove deprecated service and code (fan…
nicolas-grekas Nov 7, 2019
e745654
[ErrorHandler] Remove Symfony ClassLoader support in an error enhancer
fancyweb Nov 7, 2019
0628892
minor #34284 [ErrorHandler] Remove Symfony ClassLoader support in an …
nicolas-grekas Nov 8, 2019
ffcfdb4
Remove \Throwable support deprecation layer
fancyweb Nov 5, 2019
4cc88b1
minor #34265 Remove \Throwable bubbling down support deprecation laye…
nicolas-grekas Nov 8, 2019
c4226e4
Merge branch '4.4'
nicolas-grekas Nov 8, 2019
38f86e6
[DI] fix merge
nicolas-grekas Nov 8, 2019
0cd837b
Merge branch '4.4'
nicolas-grekas Nov 8, 2019
69cd750
Merge branch '4.4'
nicolas-grekas Nov 8, 2019
c187fde
Merge branch '4.4'
nicolas-grekas Nov 8, 2019
e41e6b4
Clarified single attribute to isGranted() a bit more
wouterj Oct 22, 2019
2a1a266
Merge branch '4.4'
nicolas-grekas Nov 9, 2019
10000 14dcefb
Merge branch '4.4'
nicolas-grekas Nov 9, 2019
4de3773
Add parameter type declarations to contracts.
derrabus Sep 7, 2019
69d436b
Merge branch '4.4'
nicolas-grekas Nov 9, 2019
9aa7492
feature #33497 [Contracts] Add parameter type declarations to contrac…
fabpot Nov 9, 2019
81a177d
minor #34074 [5.0][Security] Minor clarification of the new isGranted…
fabpot Nov 11, 2019
23bc40b
more strict requirements of experimental components
xabbuh Nov 11, 2019
da437e2
Merge branch '4.4'
xabbuh Nov 11, 2019
eba2d8e
make ExceptionEvent handle all throwables
xabbuh Nov 11, 2019
b1b45a5
minor #34319 [Security] make ExceptionEvent handle all throwables (xa…
xabbuh Nov 11, 2019
3445e5c
Merge branch '4.4'
fabpot Nov 11, 2019
02d8216
Merge branch '4.4'
nicolas-grekas Nov 12, 2019
a337691
Merge branch '4.4'
nicolas-grekas Nov 12, 2019
8b8299e
Merge branch '4.4'
nicolas-grekas Nov 12, 2019
621f48c
Merge branch '4.4'
nicolas-grekas Nov 12, 2019
ddb80de
Merge branch '4.4'
nicolas-grekas Nov 12, 2019
61c7c11
Last cleanups before beta
nicolas-grekas Nov 12, 2019
ee07c70
bug #34327 Last cleanups before beta (nicolas-grekas)
nicolas-grekas Nov 12, 2019
3d5d087
Merge branch '4.4'
nicolas-grekas Nov 12, 2019
6417770
Merge branch '4.4'
nicolas-grekas Nov 12, 2019
417d2e1
minor #34316 more strict requirements of experimental components (xab…
nicolas-grekas Nov 12, 2019
8f89f62
Merge branch '4.4'
nicolas-grekas Nov 12, 2019
d5fa362
[FrameworkBundle] relax conflicts
nicolas-grekas Nov 12, 2019
4e2b5e0
Merge branch '4.4'
nicolas-grekas Nov 12, 2019
6917ec6
Merge branch '4.4'
nicolas-grekas Nov 12, 2019
af97c3d
updated CHANGELOG for 5.0.0-BETA1
fabpot Nov 12, 2019
7debf6d
updated VERSION for 5.0.0-BETA1
fabpot Nov 12, 2019
7d75541
Merge pull request #34339 from fabpot/release-5.0.0-BETA1
fabpot Nov 12, 2019
92748b6
bumped Symfony version to 5.0.0
fabpot Nov 12, 2019
3fcf543
[Serializer] Fix ProblemNormalizer signature mismatch
chalasr Nov 13, 2019
8ec9854
bug #34348 [Serializer] Fix ProblemNormalizer signature mismatch (cha…
nicolas-grekas Nov 13, 2019
f2daa53
Merge branch '4.4'
nicolas-grekas Nov 13, 2019
d7fc027
updated CHANGELOG for 5.0.0-BETA2
fabpot Nov 13, 2019
20933da
updated VERSION for 5.0.0-BETA2
fabpot Nov 13, 2019
c65b15d
Merge pull request #34355 from fabpot/release-5.0.0-BETA2
fabpot Nov 13, 2019
c3455b4
bumped Symfony version to 5.0.0
fabpot Nov 13, 2019
818e291
Merge branch '4.4'
nicolas-grekas Nov 14, 2019
df63cc5
Merge branch '4.4'
nicolas-grekas Nov 16, 2019
3d222c6
Merge branch '4.4'
nicolas-grekas Nov 17, 2019
b30ea0c
Merge branch '4.4'
nicolas-grekas Nov 17, 2019
c9cfc61
Merge branch '4.4'
nicolas-grekas Nov 17, 2019
6143def
Update CHANGELOG for 5.0.0-RC1
fabpot Nov 17, 2019
e4cc7cd
Update VERSION for 5.0.0-RC1
fabpot Nov 17, 2019
8a613a8
Merge pull request #34425 from fabpot/release-5.0.0-RC1
fabpot Nov 17, 2019
10aac86
Bump Symfony version to 5.0.0
fabpot Nov 17, 2019
e60a876
updated version to 5.1
fabpot Nov 17, 2019
44d79c4
Fix version in Kernel
fabpot Nov 17, 2019
0c1c4ed
Relax requirements for experimental components
nicolas-grekas Nov 17, 2019
eb4f5a8
Merge branch '4.4' into 5.0
nicolas-grekas Nov 17, 2019
a06a0d8
Merge branch '5.0'
nicolas-grekas Nov 17, 2019
d2649f2
minor #34427 Relax requirements for experimental components (nicolas-…
nicolas-grekas Nov 17, 2019
dede914
[HttpKernel] Drop deprecated ExceptionListener
Nov 17, 2019
73300a6
minor #34431 [HttpKernel] Drop deprecated ExceptionListener (chalasr)
nicolas-grekas Nov 18, 2019
15f7ea1
Merge branch '4.4' into 5.0
nicolas-grekas Nov 18, 2019
0e5db6a
[Routing] Fix ContainerLoader and ObjectLoaderTest
fancyweb Nov 18, 2019
6194c2a
Allow PHP ^7.2.5
nicolas-grekas Nov 18, 2019
123c84a
bug #34434 [Routing] Fix ContainerLoader and ObjectLoaderTest (fancyweb)
fabpot Nov 19, 2019
9624a44
minor #34443 Allow PHP ^7.2.5 (nicolas-grekas)
fabpot Nov 20, 2019
c41fa26
[DI] minor cleanup
nicolas-grekas Nov 18, 2019
0f8fe5d
Merge branch '4.4' into 5.0
nicolas-grekas Nov 21, 2019
1b4ab81
Merge branch '5.0'
nicolas-grekas Nov 21, 2019
7baa295
[Mailer] Add UPGRADE entries about Envelope and MessageEvent
chapa Nov 21, 2019
dab6732
minor #34475 [Mailer] Add UPGRADE entries about Envelope and MessageE…
fabpot Nov 22, 2019
169bb2f
[Workflow] Added a way to specify a message when blocking a transitio…
lyrixx Nov 24, 2019
8f86c33
Added context to exceptions thrown in apply method
koenreiniers Nov 19, 2019
692d0e7
feature #34457 Added context to exceptions thrown in apply method (ko…
fabpot Nov 24, 2019
adbc1df
feature #34573 [DX] [Workflow] Added a way to specify a message when …
fabpot Nov 24, 2019
7edfe4f
[PropertyInfo] Add support for typed properties (PHP 7.4)
dunglas Nov 23, 2019
3888312
feature #34557 [PropertyInfo] Add support for typed properties (PHP 7…
fabpot Nov 25, 2019
e641cbd
[Routing] Deprecate RouteCollectionBuilder
vudaltsov Nov 10, 2019
7719fc7
feature #32937 [Routing] Deprecate RouteCollectionBuilder (vudaltsov)
fabpot Nov 25, 2019
ed8d209
Changed has_user to is_granted for expression
linaori Nov 25, 2019
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
  •  
  •  
  •  
10 changes: 5 additions & 5 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,18 @@ init:
- SET PATH=c:\php;%PATH%
- SET COMPOSER_NO_INTERACTION=1
- SET SYMFONY_DEPRECATIONS_HELPER=strict
- SET "SYMFONY_REQUIRE=>=4.2"
- SET "SYMFONY_REQUIRE=>=4.4"
- SET ANSICON=121x90 (121x90)
- SET SYMFONY_PHPUNIT_DISABLE_RESULT_CACHE=1
- REG ADD "HKEY_CURRENT_USER\Software\Microsoft\Command Processor" /v DelayedExpansion /t REG_DWORD /d 1 /f

install:
- mkdir c:\php && cd c:\php
- appveyor DownloadFile https://github.com/symfony/binary-utils/releases/download/v0.1/php-7.1.3-Win32-VC14-x86.zip
- 7z x php-7.1.3-Win32-VC14-x86.zip -y >nul
- appveyor DownloadFile https://github.com/symfony/binary-utils/releases/download/v0.1/php-7.2.5-Win32-VC15-x86.zip
- 7z x php-7.2.5-Win32-VC15-x86.zip -y >nul
- cd ext
- appveyor DownloadFile https://github.com/symfony/binary-utils/releases/download/v0.1/php_apcu-5.1.8-7.1-ts-vc14-x86.zip
- 7z x php_apcu-5.1.8-7.1-ts-vc14-x86.zip -y >nul
- appveyor DownloadFile https://github.com/symfony/binary-utils/releases/download/v0.1/php_apcu-5.1.17-7.2-ts-vc15-x86.zip
- 7z x php_apcu-5.1.17-7.2-ts-vc15-x86.zip -y >nul
- cd ..
- copy /Y php.ini-development php.ini-min
- echo memory_limit=-1 >> php.ini-min
Expand Down
10 changes: 0 additions & 10 deletions .github/patch-types.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,6 @@

require __DIR__.'/../.phpunit/phpunit-8.3-0/vendor/autoload.php';

file_put_contents(__DIR__.'/../vendor/autoload.php', preg_replace('/^return (Composer.*);/m', <<<'EOTXT'
$loader = \1;
$loader->addClassMap(['Symfony\Component\Debug\Exception\FlattenException' => \dirname(__DIR__).'/src/Symfony/Component/Debug/Exception/FlattenException.php']);

return $loader;

EOTXT
, file_get_contents(__DIR__.'/../vendor/autoload.php')));

$loader = require __DIR__.'/../vendor/autoload.php';

Symfony\Component\ErrorHandler\DebugClassLoader::enable();
Expand All @@ -26,7 +17,6 @@
case false !== strpos($file, '/src/Symfony/Bridge/PhpUnit/'):
case false !== strpos($file, '/src/Symfony/Bundle/FrameworkBundle/Tests/Fixtures/Validation/Article.php'):
case false !== strpos($file, '/src/Symfony/Component/Config/Tests/Fixtures/BadParent.php'):
case false !== strpos($file, '/src/Symfony/Component/Debug/Tests/Fixtures/'):
case false !== strpos($file, '/src/Symfony/Component/DependencyInjection/Tests/Compiler/OptionalServiceClass.php'):
case false !== strpos($file, '/src/Symfony/Component/DependencyInjection/Tests/Fixtures/ParentNotExists.php'):
case false !== strpos($file, '/src/Symfony/Component/DependencyInjection/Tests/Fixtures/Prototype/BadClasses/MissingParent.php'):
Expand Down
1 change: 0 additions & 1 deletion .php_cs.dist
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ return PhpCsFixer\Config::create()
// test template
->notPath('Symfony/Bundle/FrameworkBundle/Tests/Templating/Helper/Resources/Custom/_name_entry_label.html.php')
// explicit trigger_error tests
->notPath('Symfony/Component/Debug/Tests/DebugClassLoaderTest.php')
->notPath('Symfony/Component/ErrorHandler/Tests/DebugClassLoaderTest.php')
)
;
11 changes: 5 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,16 @@ addons:

env:
global:
- MIN_PHP=7.1.3
- MIN_PHP=7.2.5
- SYMFONY_PROCESS_PHP_TEST_BINARY=~/.phpenv/shims/php
- MESSENGER_AMQP_DSN=amqp://localhost/%2f/messages
- MESSENGER_REDIS_DSN=redis://127.0.0.1:7006/messages
- SYMFONY_PHPUNIT_DISABLE_RESULT_CACHE=1

matrix:
include:
- php: 7.1
env: php_extra="7.2 7.4snapshot"
- php: 7.2
env: php_extra="7.4snapshot"
- php: 7.3
env: deps=high
- php: 7.4snapshot
Expand Down Expand Up @@ -207,7 +207,6 @@ install:

if [[ ! $deps ]]; then
php .github/build-packages.php HEAD^ src/Symfony/Bridge/PhpUnit src/Symfony/Contracts
composer remove --dev --no-update paragonie/sodium_compat
else
export SYMFONY_DEPRECATIONS_HELPER=weak &&
cp composer.json composer.json.orig &&
Expand Down Expand Up @@ -242,7 +241,7 @@ install:
- |
# Install symfony/flex
if [[ $deps = low ]]; then
export SYMFONY_REQUIRE='>=2.3'
export SYMFONY_REQUIRE='>=3.4'
else
export SYMFONY_REQUIRE=">=$SYMFONY_VERSION"
fi
Expand Down Expand Up @@ -274,7 +273,7 @@ install:
(cd src/Symfony/Component/HttpFoundation; mv composer.bak composer.json)
COMPONENTS=$(git diff --name-only src/ | grep composer.json || true)

if [[ $COMPONENTS && $LEGACY && $TRAVIS_PULL_REQUEST != false ]]; then
if [[ $COMPONENTS && $LEGACY && $TRAVIS_BRANCH != master && $TRAVIS_PULL_REQUEST != false ]]; then
export FLIP='🙃'
SYMFONY_VERSION=$(echo $SYMFONY_VERSION | awk '{print $1 - 1}')
echo -e "\\n\\e[33;1mChecking out Symfony $SYMFONY_VERSION and running tests with patched components as deps\\e[0m"
Expand Down
Loading
0