feature #14000 [SECURITY][ACL] fixed Base ACL exceptions on the RuntimeException (Neophy7e)
This PR was submitted for the 2.3 branch but it was merged into the 2.7 branch instead (closes #14000).
Discussion
----------
[SECURITY][ACL] fixed Base ACL exceptions on the RuntimeException
| Q | A
| ------------- | ---
| Bug fix? | yes
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | #13154
| License | MIT
| Doc PR | n/a
As said in the ticket issue #13154 "change to \RuntimeException, as this is a more detailed exception, giving users the opportunity to deal with the exceptions in a cleaner way (easier distinguish between runtime and logic exceptions for one)"
Commits
-------
9dcae6b
[SECURITY][ACL] fixed Base ACL exceptions on the RuntimeException
This commit is contained in:
commit
d1131dbf93
@ -16,6 +16,6 @@ namespace Symfony\Component\Security\Acl\Exception;
|
||||
*
|
||||
* @author Johannes M. Schmitt <schmittjoh@gmail.com>
|
||||
*/
|
||||
class Exception extends \Exception
|
||||
class Exception extends \RuntimeException
|
||||
{
|
||||
}
|
||||
|
Reference in New Issue
Block a user