summaryrefslogtreecommitdiffstats
path: root/Core/Tests/Exception/CustomUserMessageAuthenticationExceptionTest.php
diff options
context:
space:
mode:
authorFabien Potencier <fabien.potencier@gmail.com>2015-09-27 11:19:34 +0200
committerFabien Potencier <fabien.potencier@gmail.com>2015-09-27 11:19:34 +0200
commit373843320ff0590eefdbff5653d758e04dcd4ddd (patch)
tree8be044e5e6e1ff66bfcc2793782895e3b238472e /Core/Tests/Exception/CustomUserMessageAuthenticationExceptionTest.php
parent137ba28714a50c9300d463037af4ed7769a09077 (diff)
parentaf905c55f14b63ef797cb23bb19dcdb5b0e2a3f0 (diff)
downloadsymfony-security-373843320ff0590eefdbff5653d758e04dcd4ddd.zip
symfony-security-373843320ff0590eefdbff5653d758e04dcd4ddd.tar.gz
symfony-security-373843320ff0590eefdbff5653d758e04dcd4ddd.tar.bz2
bug #15921 Abstract voter tweaks (weaverryan)
This PR was merged into the 2.8 branch. Discussion ---------- Abstract voter tweaks | Q | A | ------------- | --- | Bug fix? | yes (a little) | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | n/a | License | MIT | Doc PR | n/a Based on suggestions from stof in #15870, this simplifies the BC and deprecation throwing code. This also adds a BadMethodCallException in case the user doesn't override `isGranted` *or* `voteOnAttribute`, because that's just plain wrong (as is calling `isGranted()` on the parent class directly, since that was formerly abstract). Commits ------- c03f5c2 Massively simplifying the BC and deprecated-throwing code thanks to suggestions by stof in #15870
Diffstat (limited to 'Core/Tests/Exception/CustomUserMessageAuthenticationExceptionTest.php')
0 files changed, 0 insertions, 0 deletions