Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
primogenial
/
languages
/
wp-content
/
themes
/
storefront
/
vendor
/
squizlabs
/
php_codesniffer
/
src
/
Standards
/
Generic
/
Docs
/
Files
:
OneInterfacePerFileStandard.xml
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<documentation title="One Interface Per File"> <standard> <![CDATA[ There should only be one interface defined in a file. ]]> </standard> <code_comparison> <code title="Valid: Only one interface in the file."> <![CDATA[ <?php <em>interface Foo</em> { } ]]> </code> <code title="Invalid: Multiple interfaces defined in one file."> <![CDATA[ <?php <em>interface Foo</em> { } <em>interface Bar</em> { } ]]> </code> </code_comparison> </documentation>