PHP Classes

File: vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/LineLengthUnitTest.4.inc

Recommend this page to a friend!
  Classes of Adeleye Ayodeji   Download Installed Plugin   vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/LineLengthUnitTest.4.inc   Download  
File: vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/LineLengthUnitTest.4.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: 2 days ago
Size: 746 bytes
 

Contents

Class file image Download
phpcs:set Generic.Files.LineLength ignoreComments true phpcs:set Generic.Files.LineLength lineLimit 80 phpcs:set Generic.Files.LineLength absoluteLineLimit 120 <?php /* This line is fine. */ if($thisIsOk === true) {} /* This line is too long but will be ignored. This line is too long but will be ignored. */ if (($anotherReallyLongVarName === true) || (is_array($anotherReallyLongVarName) === false)) {} if (($anotherReallyLongVarName === true) {} // This comment makes the line too long, but should be ignored. if (($anotherReallyLongVarName === true) || (is_array($anotherReallyLongVarName) === false)) {} // Comment goes here. if (($anotherReallyLongVarName === true) {} // phpcs:ignore Standard.Category.Sniff.ErrorCode1 -- for reasons