The following methods and properties have been deprecated in PHPCS 3.5.0 and should be removed in PHPCS 4.0.0:
PHP_CodeSniffer\Files\File::hasCondition()PHP_CodeSniffer\Files\File::getCondition()PHP_CodeSniffer\Files\File::getClassProperties()PHP_CodeSniffer\Files\File::findExtendedClassName()PHP_CodeSniffer\Files\File::findImplementedInterfaceNames()PHP_CodeSniffer\Files\File::getMethodParameters()PHP_CodeSniffer\Files\File::getMethodProperties()PHP_CodeSniffer\Files\File::getMemberProperties()PHP_CodeSniffer\Files\File::isReference()PHP_CodeSniffer\Files\File::getDeclarationName()PHP_CodeSniffer\Util\Common::isCamelCaps()PHP_CodeSniffer\Util\Common::isUnderscoreName()PHP_CodeSniffer\Util\Common::suggestType()
PHP_CodeSniffer\Sniffs\AbstractVariableSniff::$phpReservedVarsPHP_CodeSniffer\Standards\Generic\Sniffs\NamingConventions\CamelCapsFunctionNameSniff::$magicMethodsPHP_CodeSniffer\Standards\Generic\Sniffs\NamingConventions\CamelCapsFunctionNameSniff::$methodsDoubleUnderscorePHP_CodeSniffer\Standards\Generic\Sniffs\NamingConventions\CamelCapsFunctionNameSniff::$magicFunctionsPHP_CodeSniffer\Standards\PEAR\Sniffs\NamingConventions\ValidFunctionNameSniff::$magicMethodsPHP_CodeSniffer\Standards\PEAR\Sniffs\NamingConventions\ValidFunctionNameSniff::$magicFunctionsPHP_CodeSniffer\Util\Common::$allowedTypes
- The "old property recreation" code in the class constructors of the
\PHP_CodeSniffer\Standards\Generic\Sniffs\NamingConventions\CamelCapsFunctionNameSniffand\PHP_CodeSniffer\Standards\PEAR\Sniffs\NamingConventions\ValidFunctionNameSniffclasses can also be removed. Internally, the classes already use the new properties in the utility class.