You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bug #866 Fixed the has_role() deprecation (javiereguiluz)
This PR was merged into the master branch.
Discussion
----------
Fixed the has_role() deprecation
This is a deprecation introduced by the upgrade to Symfony 4.2 in #865.
```
14x: Using the "has_role()" function in security expressions is deprecated since Symfony 4.2, use "is_granted()" instead.
2x in BlogControllerTest::testAdminNewPost from App\Tests\Controller\Admin
2x in BlogControllerTest::testAdminEditPost from App\Tests\Controller\Admin
2x in BlogControllerTest::testAdminDeletePost from App\Tests\Controller\Admin
2x in UserControllerTest::testAccessDeniedForAnonymousUsers from App\Tests\Controller
2x in UserControllerTest::testEditUser from App\Tests\Controller
2x in UserControllerTest::testChangePassword from App\Tests\Controller
1x in BlogControllerTest::testAdminBackendHomePage from App\Tests\Controller\Admin
1x in BlogControllerTest::testAdminShowPost from App\Tests\Controller\Admin
```
Commits
-------
51b5135 Fixed the has_role() deprecation
0 commit comments