File "ShortFormTypeKeywordsUnitTest.inc.fixed"
Full Path: /home/warrior1/public_html/languages/wp-content/themes/storefront/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Tests/Keywords/ShortFormTypeKeywordsUnitTest.inc.fixed
File size: 296 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
$bar = (bool) $foo;
$bar = (bool) $foo;
$bar = (Bool) $foo;
$bar = (bool) $foo;
$bar = (int) $foo;
$bar = (int) $foo;
$bar = (INT) $foo;
// Test recognition with whitespace within the cast.
$bar = ( bool ) $foo;
$bar = ( int ) $foo;
$bar = ( bool ) $foo;
$bar = ( int) $foo;