File "ShortFormTypeKeywordsUnitTest.inc"

Full Path: /home/warrior1/public_html/wp-content/themes/storefront/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Tests/Keywords/ShortFormTypeKeywordsUnitTest.inc
File size: 313 bytes
MIME-type: text/x-php
Charset: utf-8

<?php
$bar = (bool) $foo;
$bar = (boolean) $foo;
$bar = (Bool) $foo;
$bar = (BOOLEAN) $foo;
$bar = (int) $foo;
$bar = (integer) $foo;
$bar = (INT) $foo;

// Test recognition with whitespace within the cast.
$bar = (  bool  ) $foo;
$bar = ( int ) $foo;
$bar = (     boolean   	    ) $foo;
$bar = (  integer) $foo;