BlueSpice MediaWiki master
 All Classes Namespaces Files Functions Variables Groups Pages
MediaWiki\Sniffs\ExtraCharacters Namespace Reference

Classes

class  ParenthesesAroundKeywordSniff
 

Detailed Description

Sniff to warn when keywords are used as functions, such as: Pass: clone $obj Fail: clone( $obj ) Pass: require 'path/to/file.php'; Fail: require( 'path/to/file' );

Covers:

  • clone
  • require
  • require_once
  • include
  • include_once