PHP Classes

File: vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/PHP/RequireStrictTypesStandard.xml

Recommend this page to a friend!
  Classes of Adeleye Ayodeji   Download Installed Plugin   vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/PHP/RequireStrictTypesStandard.xml   Download  
File: vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/PHP/RequireStrictTypesStandard.xml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Download Installed Plugin
Download a WordPress plugin as a ZIP archive
Author: By
Last change:
Date: Yesterday
Size: 1,016 bytes
 

Contents

Class file image Download
<documentation title="Require Strict Types"> <standard> <![CDATA[ The strict_types declaration must be present. ]]> </standard> <code_comparison> <code title="Valid: `strict_types` declaration is present."> <![CDATA[ declare(<em>strict_types=1</em>); declare(encoding='UTF-8', <em>strict_types=0</em>); ]]> </code> <code title="Invalid: Missing `strict_types` declaration."> <![CDATA[ declare(encoding='ISO-8859-1'<em></em>); ]]> </code> </code_comparison> <standard> <![CDATA[ The strict_types declaration must be enabled. ]]> </standard> <code_comparison> <code title="Valid: `strict_types` declaration is enabled."> <![CDATA[ declare(strict_types=<em>1</em>); ]]> </code> <code title="Invalid: `strict_types` declaration is disabled."> <![CDATA[ declare(strict_types=<em>0</em>); ]]> </code> </code_comparison> </documentation>