PHP Classes

File: vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/PHP/EmbeddedPhpUnitTest.10.inc

Recommend this page to a friend!
  Classes of Adeleye Ayodeji   Download Installed Plugin   vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/PHP/EmbeddedPhpUnitTest.10.inc   Download  
File: vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/PHP/EmbeddedPhpUnitTest.10.inc
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: 1 month ago
Size: 515 bytes
 

Contents

Class file image Download
<?php // This test case file MUST always start with a long open PHP tag set (with this comment) to prevent // the tests running into the "first PHP open tag excepted" condition breaking the tests. // Tests related to that "first PHP open tag excepted" condition should go in separate files. ?> <!-- The below test safeguards that if there is just an unclosed PHP open tag at the end of a file, the sniff bows out as there is nothing to do, even when there are multiple new lines after the open tag. --> <?php