Skip to content

Commit 95c5798

Browse files
committed
Replace FILTER_VALIDATE_BOOLEAN by FILTER_VALIDATE_BOOL
1 parent 388fb7c commit 95c5798

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Command/AboutCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@ protected function execute(InputInterface $input, OutputInterface $output): int
8181
['Architecture', (\PHP_INT_SIZE * 8).' bits'],
8282
['Intl locale', class_exists(\Locale::class, false) && \Locale::getDefault() ? \Locale::getDefault() : 'n/a'],
8383
['Timezone', date_default_timezone_get().' (<comment>'.(new \DateTime())->format(\DateTime::W3C).'</>)'],
84-
['OPcache', \extension_loaded('Zend OPcache') && filter_var(\ini_get('opcache.enable'), \FILTER_VALIDATE_BOOLEAN) ? 'true' : 'false'],
85-
['APCu', \extension_loaded('apcu') && filter_var(\ini_get('apc.enabled'), \FILTER_VALIDATE_BOOLEAN) ? 'true' : 'false'],
84+
['OPcache', \extension_loaded('Zend OPcache') && filter_var(\ini_get('opcache.enable'), \FILTER_VALIDATE_BOOL) ? 'true' : 'false'],
85+
['APCu', \extension_loaded('apcu') && filter_var(\ini_get('apc.enabled'), \FILTER_VALIDATE_BOOL) ? 'true' : 'false'],
8686
['Xdebug', \extension_loaded('xdebug') ? 'true' : 'false'],
8787
];
8888

0 commit comments

Comments
 (0)