We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 7 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 18 | 14 | public function __construct($name = 'isAuthenticated') |
|
| 19 | { |
||
| 20 | 14 | parent::__construct( |
|
| 21 | 14 | $name, |
|
| 22 | 1 | function () { |
|
| 23 | 1 | return '$container->get(\'security.authorization_checker\')->isGranted(\'IS_AUTHENTICATED_REMEMBERED\') || $container->get(\'security.authorization_checker\')->isGranted(\'IS_AUTHENTICATED_FULLY\')'; |
|
| 24 | } |
||
| 25 | 14 | ); |
|
| 26 | 14 | } |
|
| 27 | } |
||
| 28 |