PHP Classes

File: vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Tests/Namespaces/UseDeclarationUnitTest.5.inc

Recommend this page to a friend!
  Classes of milenmk   Simple PHP Password Manager   vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Tests/Namespaces/UseDeclarationUnitTest.5.inc   Download  
File: vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Tests/Namespaces/UseDeclarationUnitTest.5.inc
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Simple PHP Password Manager
Application to store and retrieve user password
Author: By
Last change:
Date: 1 year ago
Size: 1,138 bytes
 

Contents

Class file image Download
<?php namespace MyProject; use Single\ClassA as A; use Grouped\Classes\{ClassB, ClassC as C}; use const Grouped\Constants\{D, E}; use Single\ClassF; use Grouped\Mixed\ { ClassG, const ConstH, function func_i, ClassJ as J }; use function Grouped\Functions\ { func_k }; // Some examples from the original RFC. use function foo\math\{ sin, cos, cosh }; use const foo\math\{ PI, E, GAMMA, GOLDEN_RATIO }; use foo\math\{ Math, const PI, function sin, function cos, function cosh }; use Grouped\TrailingComma\ { ClassL, const ConstM, function func_n, ClassO as O, }; use function foo\math\trailingcomma\no\whitespace\{sin,cos,cosh,}; use function foo\math\multipleonnewline\{ sin, cos, /* comment */ cosh }; // phpcs:disable Standard.Cat.Sniff -- for reasons. use Grouped\TrailingCommaWithCommentsAndAnnotations\ { // A comment. ClassP, /* Another comment. */ const ConstQ, // A trailing comment. function func_r, // phpcs:ignore Standard.Cat.Sniff -- for reasons. // phpcs:ignore Standard.Cat.Sniff -- for reasons. ClassS as S, // Some other comment. }; // phpcs:enable