sdc-build-wp 3.7.2 → 4.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2341) hide show
  1. package/.phpcs.xml +59 -0
  2. package/composer.json +19 -0
  3. package/composer.lock +413 -0
  4. package/index.js +23 -0
  5. package/lib/php.js +64 -0
  6. package/package.json +1 -1
  7. package/vendor/autoload.php +25 -0
  8. package/vendor/bin/phpcbf +119 -0
  9. package/vendor/bin/phpcs +119 -0
  10. package/vendor/composer/ClassLoader.php +579 -0
  11. package/vendor/composer/InstalledVersions.php +378 -0
  12. package/vendor/composer/LICENSE +21 -0
  13. package/vendor/composer/autoload_classmap.php +47 -0
  14. package/vendor/composer/autoload_namespaces.php +9 -0
  15. package/vendor/composer/autoload_psr4.php +10 -0
  16. package/vendor/composer/autoload_real.php +36 -0
  17. package/vendor/composer/autoload_static.php +73 -0
  18. package/vendor/composer/installed.json +421 -0
  19. package/vendor/composer/installed.php +68 -0
  20. package/vendor/dealerdirect/phpcodesniffer-composer-installer/LICENSE.md +22 -0
  21. package/vendor/dealerdirect/phpcodesniffer-composer-installer/README.md +285 -0
  22. package/vendor/dealerdirect/phpcodesniffer-composer-installer/composer.json +71 -0
  23. package/vendor/dealerdirect/phpcodesniffer-composer-installer/src/Plugin.php +637 -0
  24. package/vendor/phpcsstandards/phpcsextra/CHANGELOG.md +590 -0
  25. package/vendor/phpcsstandards/phpcsextra/LICENSE +165 -0
  26. package/vendor/phpcsstandards/phpcsextra/Modernize/Docs/FunctionCalls/DirnameStandard.xml +40 -0
  27. package/vendor/phpcsstandards/phpcsextra/Modernize/Sniffs/FunctionCalls/DirnameSniff.php +382 -0
  28. package/vendor/phpcsstandards/phpcsextra/Modernize/ruleset.xml +5 -0
  29. package/vendor/phpcsstandards/phpcsextra/NormalizedArrays/Docs/Arrays/ArrayBraceSpacingStandard.xml +94 -0
  30. package/vendor/phpcsstandards/phpcsextra/NormalizedArrays/Docs/Arrays/CommaAfterLastStandard.xml +43 -0
  31. package/vendor/phpcsstandards/phpcsextra/NormalizedArrays/Sniffs/Arrays/ArrayBraceSpacingSniff.php +305 -0
  32. package/vendor/phpcsstandards/phpcsextra/NormalizedArrays/Sniffs/Arrays/CommaAfterLastSniff.php +226 -0
  33. package/vendor/phpcsstandards/phpcsextra/NormalizedArrays/ruleset.xml +5 -0
  34. package/vendor/phpcsstandards/phpcsextra/README.md +573 -0
  35. package/vendor/phpcsstandards/phpcsextra/Universal/Docs/Arrays/DisallowShortArraySyntaxStandard.xml +27 -0
  36. package/vendor/phpcsstandards/phpcsextra/Universal/Docs/Arrays/DuplicateArrayKeyStandard.xml +44 -0
  37. package/vendor/phpcsstandards/phpcsextra/Universal/Docs/Arrays/MixedArrayKeyTypesStandard.xml +40 -0
  38. package/vendor/phpcsstandards/phpcsextra/Universal/Docs/Arrays/MixedKeyedUnkeyedArrayStandard.xml +31 -0
  39. package/vendor/phpcsstandards/phpcsextra/Universal/Docs/Classes/DisallowAnonClassParenthesesStandard.xml +24 -0
  40. package/vendor/phpcsstandards/phpcsextra/Universal/Docs/Classes/DisallowFinalClassStandard.xml +25 -0
  41. package/vendor/phpcsstandards/phpcsextra/Universal/Docs/Classes/ModifierKeywordOrderStandard.xml +27 -0
  42. package/vendor/phpcsstandards/phpcsextra/Universal/Docs/Classes/RequireAnonClassParenthesesStandard.xml +23 -0
  43. package/vendor/phpcsstandards/phpcsextra/Universal/Docs/Classes/RequireFinalClassStandard.xml +25 -0
  44. package/vendor/phpcsstandards/phpcsextra/Universal/Docs/CodeAnalysis/ConstructorDestructorReturnStandard.xml +64 -0
  45. package/vendor/phpcsstandards/phpcsextra/Universal/Docs/CodeAnalysis/ForeachUniqueAssignmentStandard.xml +26 -0
  46. package/vendor/phpcsstandards/phpcsextra/Universal/Docs/CodeAnalysis/NoDoubleNegativeStandard.xml +27 -0
  47. package/vendor/phpcsstandards/phpcsextra/Universal/Docs/CodeAnalysis/NoEchoSprintfStandard.xml +25 -0
  48. package/vendor/phpcsstandards/phpcsextra/Universal/Docs/CodeAnalysis/StaticInFinalClassStandard.xml +43 -0
  49. package/vendor/phpcsstandards/phpcsextra/Universal/Docs/Constants/LowercaseClassResolutionKeywordStandard.xml +23 -0
  50. package/vendor/phpcsstandards/phpcsextra/Universal/Docs/Constants/ModifierKeywordOrderStandard.xml +30 -0
  51. package/vendor/phpcsstandards/phpcsextra/Universal/Docs/Constants/UppercaseMagicConstantsStandard.xml +25 -0
  52. package/vendor/phpcsstandards/phpcsextra/Universal/Docs/ControlStructures/DisallowAlternativeSyntaxStandard.xml +35 -0
  53. package/vendor/phpcsstandards/phpcsextra/Universal/Docs/ControlStructures/DisallowLonelyIfStandard.xml +49 -0
  54. package/vendor/phpcsstandards/phpcsextra/Universal/Docs/ControlStructures/IfElseDeclarationStandard.xml +37 -0
  55. package/vendor/phpcsstandards/phpcsextra/Universal/Docs/Files/SeparateFunctionsFromOOStandard.xml +45 -0
  56. package/vendor/phpcsstandards/phpcsextra/Universal/Docs/FunctionDeclarations/NoLongClosuresStandard.xml +42 -0
  57. package/vendor/phpcsstandards/phpcsextra/Universal/Docs/FunctionDeclarations/RequireFinalMethodsInTraitsStandard.xml +33 -0
  58. package/vendor/phpcsstandards/phpcsextra/Universal/Docs/Lists/DisallowLongListSyntaxStandard.xml +23 -0
  59. package/vendor/phpcsstandards/phpcsextra/Universal/Docs/Lists/DisallowShortListSyntaxStandard.xml +23 -0
  60. package/vendor/phpcsstandards/phpcsextra/Universal/Docs/Namespaces/DisallowCurlyBraceSyntaxStandard.xml +27 -0
  61. package/vendor/phpcsstandards/phpcsextra/Universal/Docs/Namespaces/DisallowDeclarationWithoutNameStandard.xml +25 -0
  62. package/vendor/phpcsstandards/phpcsextra/Universal/Docs/Namespaces/EnforceCurlyBraceSyntaxStandard.xml +27 -0
  63. package/vendor/phpcsstandards/phpcsextra/Universal/Docs/Namespaces/OneDeclarationPerFileStandard.xml +27 -0
  64. package/vendor/phpcsstandards/phpcsextra/Universal/Docs/NamingConventions/NoReservedKeywordParameterNamesStandard.xml +23 -0
  65. package/vendor/phpcsstandards/phpcsextra/Universal/Docs/OOStructures/AlphabeticExtendsImplementsStandard.xml +27 -0
  66. package/vendor/phpcsstandards/phpcsextra/Universal/Docs/Operators/ConcatPositionStandard.xml +31 -0
  67. package/vendor/phpcsstandards/phpcsextra/Universal/Docs/Operators/DisallowLogicalAndOrStandard.xml +30 -0
  68. package/vendor/phpcsstandards/phpcsextra/Universal/Docs/Operators/DisallowShortTernaryStandard.xml +26 -0
  69. package/vendor/phpcsstandards/phpcsextra/Universal/Docs/Operators/DisallowStandalonePostIncrementDecrementStandard.xml +44 -0
  70. package/vendor/phpcsstandards/phpcsextra/Universal/Docs/Operators/StrictComparisonsStandard.xml +29 -0
  71. package/vendor/phpcsstandards/phpcsextra/Universal/Docs/Operators/TypeSeparatorSpacingStandard.xml +33 -0
  72. package/vendor/phpcsstandards/phpcsextra/Universal/Docs/PHP/LowercasePHPTagStandard.xml +25 -0
  73. package/vendor/phpcsstandards/phpcsextra/Universal/Docs/PHP/OneStatementInShortEchoTagStandard.xml +41 -0
  74. package/vendor/phpcsstandards/phpcsextra/Universal/Docs/UseStatements/DisallowMixedGroupUseStandard.xml +39 -0
  75. package/vendor/phpcsstandards/phpcsextra/Universal/Docs/UseStatements/DisallowUseClassStandard.xml +25 -0
  76. package/vendor/phpcsstandards/phpcsextra/Universal/Docs/UseStatements/DisallowUseConstStandard.xml +25 -0
  77. package/vendor/phpcsstandards/phpcsextra/Universal/Docs/UseStatements/DisallowUseFunctionStandard.xml +25 -0
  78. package/vendor/phpcsstandards/phpcsextra/Universal/Docs/UseStatements/KeywordSpacingStandard.xml +29 -0
  79. package/vendor/phpcsstandards/phpcsextra/Universal/Docs/UseStatements/LowercaseFunctionConstStandard.xml +25 -0
  80. package/vendor/phpcsstandards/phpcsextra/Universal/Docs/UseStatements/NoLeadingBackslashStandard.xml +23 -0
  81. package/vendor/phpcsstandards/phpcsextra/Universal/Docs/UseStatements/NoUselessAliasesStandard.xml +30 -0
  82. package/vendor/phpcsstandards/phpcsextra/Universal/Docs/WhiteSpace/AnonClassKeywordSpacingStandard.xml +31 -0
  83. package/vendor/phpcsstandards/phpcsextra/Universal/Docs/WhiteSpace/CommaSpacingStandard.xml +94 -0
  84. package/vendor/phpcsstandards/phpcsextra/Universal/Docs/WhiteSpace/DisallowInlineTabsStandard.xml +25 -0
  85. package/vendor/phpcsstandards/phpcsextra/Universal/Docs/WhiteSpace/PrecisionAlignmentStandard.xml +29 -0
  86. package/vendor/phpcsstandards/phpcsextra/Universal/Helpers/DummyTokenizer.php +60 -0
  87. package/vendor/phpcsstandards/phpcsextra/Universal/Sniffs/Arrays/DisallowShortArraySyntaxSniff.php +89 -0
  88. package/vendor/phpcsstandards/phpcsextra/Universal/Sniffs/Arrays/DuplicateArrayKeySniff.php +297 -0
  89. package/vendor/phpcsstandards/phpcsextra/Universal/Sniffs/Arrays/MixedArrayKeyTypesSniff.php +174 -0
  90. package/vendor/phpcsstandards/phpcsextra/Universal/Sniffs/Arrays/MixedKeyedUnkeyedArraySniff.php +134 -0
  91. package/vendor/phpcsstandards/phpcsextra/Universal/Sniffs/Classes/DisallowAnonClassParenthesesSniff.php +112 -0
  92. package/vendor/phpcsstandards/phpcsextra/Universal/Sniffs/Classes/DisallowFinalClassSniff.php +116 -0
  93. package/vendor/phpcsstandards/phpcsextra/Universal/Sniffs/Classes/ModifierKeywordOrderSniff.php +188 -0
  94. package/vendor/phpcsstandards/phpcsextra/Universal/Sniffs/Classes/RequireAnonClassParenthesesSniff.php +81 -0
  95. package/vendor/phpcsstandards/phpcsextra/Universal/Sniffs/Classes/RequireFinalClassSniff.php +102 -0
  96. package/vendor/phpcsstandards/phpcsextra/Universal/Sniffs/CodeAnalysis/ConstructorDestructorReturnSniff.php +211 -0
  97. package/vendor/phpcsstandards/phpcsextra/Universal/Sniffs/CodeAnalysis/ForeachUniqueAssignmentSniff.php +153 -0
  98. package/vendor/phpcsstandards/phpcsextra/Universal/Sniffs/CodeAnalysis/NoDoubleNegativeSniff.php +269 -0
  99. package/vendor/phpcsstandards/phpcsextra/Universal/Sniffs/CodeAnalysis/NoEchoSprintfSniff.php +131 -0
  100. package/vendor/phpcsstandards/phpcsextra/Universal/Sniffs/CodeAnalysis/StaticInFinalClassSniff.php +216 -0
  101. package/vendor/phpcsstandards/phpcsextra/Universal/Sniffs/Constants/LowercaseClassResolutionKeywordSniff.php +106 -0
  102. package/vendor/phpcsstandards/phpcsextra/Universal/Sniffs/Constants/ModifierKeywordOrderSniff.php +199 -0
  103. package/vendor/phpcsstandards/phpcsextra/Universal/Sniffs/Constants/UppercaseMagicConstantsSniff.php +89 -0
  104. package/vendor/phpcsstandards/phpcsextra/Universal/Sniffs/ControlStructures/DisallowAlternativeSyntaxSniff.php +216 -0
  105. package/vendor/phpcsstandards/phpcsextra/Universal/Sniffs/ControlStructures/DisallowLonelyIfSniff.php +348 -0
  106. package/vendor/phpcsstandards/phpcsextra/Universal/Sniffs/ControlStructures/IfElseDeclarationSniff.php +164 -0
  107. package/vendor/phpcsstandards/phpcsextra/Universal/Sniffs/Files/SeparateFunctionsFromOOSniff.php +190 -0
  108. package/vendor/phpcsstandards/phpcsextra/Universal/Sniffs/FunctionDeclarations/NoLongClosuresSniff.php +233 -0
  109. package/vendor/phpcsstandards/phpcsextra/Universal/Sniffs/FunctionDeclarations/RequireFinalMethodsInTraitsSniff.php +120 -0
  110. package/vendor/phpcsstandards/phpcsextra/Universal/Sniffs/Lists/DisallowLongListSyntaxSniff.php +71 -0
  111. package/vendor/phpcsstandards/phpcsextra/Universal/Sniffs/Lists/DisallowShortListSyntaxSniff.php +86 -0
  112. package/vendor/phpcsstandards/phpcsextra/Universal/Sniffs/Namespaces/DisallowCurlyBraceSyntaxSniff.php +81 -0
  113. package/vendor/phpcsstandards/phpcsextra/Universal/Sniffs/Namespaces/DisallowDeclarationWithoutNameSniff.php +80 -0
  114. package/vendor/phpcsstandards/phpcsextra/Universal/Sniffs/Namespaces/EnforceCurlyBraceSyntaxSniff.php +81 -0
  115. package/vendor/phpcsstandards/phpcsextra/Universal/Sniffs/Namespaces/OneDeclarationPerFileSniff.php +96 -0
  116. package/vendor/phpcsstandards/phpcsextra/Universal/Sniffs/NamingConventions/NoReservedKeywordParameterNamesSniff.php +190 -0
  117. package/vendor/phpcsstandards/phpcsextra/Universal/Sniffs/OOStructures/AlphabeticExtendsImplementsSniff.php +275 -0
  118. package/vendor/phpcsstandards/phpcsextra/Universal/Sniffs/Operators/ConcatPositionSniff.php +204 -0
  119. package/vendor/phpcsstandards/phpcsextra/Universal/Sniffs/Operators/DisallowLogicalAndOrSniff.php +112 -0
  120. package/vendor/phpcsstandards/phpcsextra/Universal/Sniffs/Operators/DisallowShortTernarySniff.php +76 -0
  121. package/vendor/phpcsstandards/phpcsextra/Universal/Sniffs/Operators/DisallowStandalonePostIncrementDecrementSniff.php +197 -0
  122. package/vendor/phpcsstandards/phpcsextra/Universal/Sniffs/Operators/StrictComparisonsSniff.php +116 -0
  123. package/vendor/phpcsstandards/phpcsextra/Universal/Sniffs/Operators/TypeSeparatorSpacingSniff.php +85 -0
  124. package/vendor/phpcsstandards/phpcsextra/Universal/Sniffs/PHP/LowercasePHPTagSniff.php +87 -0
  125. package/vendor/phpcsstandards/phpcsextra/Universal/Sniffs/PHP/OneStatementInShortEchoTagSniff.php +101 -0
  126. package/vendor/phpcsstandards/phpcsextra/Universal/Sniffs/UseStatements/DisallowMixedGroupUseSniff.php +248 -0
  127. package/vendor/phpcsstandards/phpcsextra/Universal/Sniffs/UseStatements/DisallowUseClassSniff.php +211 -0
  128. package/vendor/phpcsstandards/phpcsextra/Universal/Sniffs/UseStatements/DisallowUseConstSniff.php +211 -0
  129. package/vendor/phpcsstandards/phpcsextra/Universal/Sniffs/UseStatements/DisallowUseFunctionSniff.php +211 -0
  130. package/vendor/phpcsstandards/phpcsextra/Universal/Sniffs/UseStatements/KeywordSpacingSniff.php +207 -0
  131. package/vendor/phpcsstandards/phpcsextra/Universal/Sniffs/UseStatements/LowercaseFunctionConstSniff.php +156 -0
  132. package/vendor/phpcsstandards/phpcsextra/Universal/Sniffs/UseStatements/NoLeadingBackslashSniff.php +170 -0
  133. package/vendor/phpcsstandards/phpcsextra/Universal/Sniffs/UseStatements/NoUselessAliasesSniff.php +155 -0
  134. package/vendor/phpcsstandards/phpcsextra/Universal/Sniffs/WhiteSpace/AnonClassKeywordSpacingSniff.php +79 -0
  135. package/vendor/phpcsstandards/phpcsextra/Universal/Sniffs/WhiteSpace/CommaSpacingSniff.php +408 -0
  136. package/vendor/phpcsstandards/phpcsextra/Universal/Sniffs/WhiteSpace/DisallowInlineTabsSniff.php +173 -0
  137. package/vendor/phpcsstandards/phpcsextra/Universal/Sniffs/WhiteSpace/PrecisionAlignmentSniff.php +445 -0
  138. package/vendor/phpcsstandards/phpcsextra/Universal/ruleset.xml +5 -0
  139. package/vendor/phpcsstandards/phpcsextra/composer.json +69 -0
  140. package/vendor/phpcsstandards/phpcsutils/.phpdoc.xml.dist +36 -0
  141. package/vendor/phpcsstandards/phpcsutils/CHANGELOG.md +1106 -0
  142. package/vendor/phpcsstandards/phpcsutils/LICENSE +165 -0
  143. package/vendor/phpcsstandards/phpcsutils/PHPCSUtils/AbstractSniffs/AbstractArrayDeclarationSniff.php +551 -0
  144. package/vendor/phpcsstandards/phpcsutils/PHPCSUtils/BackCompat/BCFile.php +781 -0
  145. package/vendor/phpcsstandards/phpcsutils/PHPCSUtils/BackCompat/BCTokens.php +123 -0
  146. package/vendor/phpcsstandards/phpcsutils/PHPCSUtils/BackCompat/Helper.php +202 -0
  147. package/vendor/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/InvalidTokenArray.php +44 -0
  148. package/vendor/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/TestFileNotFound.php +47 -0
  149. package/vendor/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/TestMarkerNotFound.php +43 -0
  150. package/vendor/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/TestTargetNotFound.php +50 -0
  151. package/vendor/phpcsstandards/phpcsutils/PHPCSUtils/Fixers/SpacesFixer.php +246 -0
  152. package/vendor/phpcsstandards/phpcsutils/PHPCSUtils/Internal/Cache.php +218 -0
  153. package/vendor/phpcsstandards/phpcsutils/PHPCSUtils/Internal/IsShortArrayOrList.php +687 -0
  154. package/vendor/phpcsstandards/phpcsutils/PHPCSUtils/Internal/IsShortArrayOrListWithCache.php +269 -0
  155. package/vendor/phpcsstandards/phpcsutils/PHPCSUtils/Internal/NoFileCache.php +164 -0
  156. package/vendor/phpcsstandards/phpcsutils/PHPCSUtils/Internal/StableCollections.php +75 -0
  157. package/vendor/phpcsstandards/phpcsutils/PHPCSUtils/TestUtils/UtilityMethodTestCase.php +459 -0
  158. package/vendor/phpcsstandards/phpcsutils/PHPCSUtils/Tokens/Collections.php +837 -0
  159. package/vendor/phpcsstandards/phpcsutils/PHPCSUtils/Tokens/TokenHelper.php +55 -0
  160. package/vendor/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Arrays.php +227 -0
  161. package/vendor/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Conditions.php +156 -0
  162. package/vendor/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Context.php +232 -0
  163. package/vendor/phpcsstandards/phpcsutils/PHPCSUtils/Utils/ControlStructures.php +276 -0
  164. package/vendor/phpcsstandards/phpcsutils/PHPCSUtils/Utils/FunctionDeclarations.php +828 -0
  165. package/vendor/phpcsstandards/phpcsutils/PHPCSUtils/Utils/GetTokensAsString.php +262 -0
  166. package/vendor/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Lists.php +359 -0
  167. package/vendor/phpcsstandards/phpcsutils/PHPCSUtils/Utils/MessageHelper.php +145 -0
  168. package/vendor/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Namespaces.php +389 -0
  169. package/vendor/phpcsstandards/phpcsutils/PHPCSUtils/Utils/NamingConventions.php +116 -0
  170. package/vendor/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Numbers.php +322 -0
  171. package/vendor/phpcsstandards/phpcsutils/PHPCSUtils/Utils/ObjectDeclarations.php +359 -0
  172. package/vendor/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Operators.php +252 -0
  173. package/vendor/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Orthography.php +120 -0
  174. package/vendor/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Parentheses.php +419 -0
  175. package/vendor/phpcsstandards/phpcsutils/PHPCSUtils/Utils/PassedParameters.php +510 -0
  176. package/vendor/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Scopes.php +143 -0
  177. package/vendor/phpcsstandards/phpcsutils/PHPCSUtils/Utils/TextStrings.php +331 -0
  178. package/vendor/phpcsstandards/phpcsutils/PHPCSUtils/Utils/UseStatements.php +432 -0
  179. package/vendor/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Variables.php +333 -0
  180. package/vendor/phpcsstandards/phpcsutils/PHPCSUtils/ruleset.xml +4 -0
  181. package/vendor/phpcsstandards/phpcsutils/README.md +297 -0
  182. package/vendor/phpcsstandards/phpcsutils/composer.json +92 -0
  183. package/vendor/phpcsstandards/phpcsutils/phpcsutils-autoload.php +68 -0
  184. package/vendor/squizlabs/php_codesniffer/CHANGELOG.md +7596 -0
  185. package/vendor/squizlabs/php_codesniffer/CodeSniffer.conf +5 -0
  186. package/vendor/squizlabs/php_codesniffer/CodeSniffer.conf.dist +9 -0
  187. package/vendor/squizlabs/php_codesniffer/README.md +153 -0
  188. package/vendor/squizlabs/php_codesniffer/autoload.php +345 -0
  189. package/vendor/squizlabs/php_codesniffer/bin/phpcbf +15 -0
  190. package/vendor/squizlabs/php_codesniffer/bin/phpcbf.bat +10 -0
  191. package/vendor/squizlabs/php_codesniffer/bin/phpcs +15 -0
  192. package/vendor/squizlabs/php_codesniffer/bin/phpcs.bat +10 -0
  193. package/vendor/squizlabs/php_codesniffer/composer.json +90 -0
  194. package/vendor/squizlabs/php_codesniffer/licence.txt +24 -0
  195. package/vendor/squizlabs/php_codesniffer/phpcs.xsd +136 -0
  196. package/vendor/squizlabs/php_codesniffer/src/Config.php +1661 -0
  197. package/vendor/squizlabs/php_codesniffer/src/Exceptions/DeepExitException.php +20 -0
  198. package/vendor/squizlabs/php_codesniffer/src/Exceptions/RuntimeException.php +17 -0
  199. package/vendor/squizlabs/php_codesniffer/src/Exceptions/TokenizerException.php +17 -0
  200. package/vendor/squizlabs/php_codesniffer/src/Files/DummyFile.php +82 -0
  201. package/vendor/squizlabs/php_codesniffer/src/Files/File.php +2954 -0
  202. package/vendor/squizlabs/php_codesniffer/src/Files/FileList.php +261 -0
  203. package/vendor/squizlabs/php_codesniffer/src/Files/LocalFile.php +219 -0
  204. package/vendor/squizlabs/php_codesniffer/src/Filters/ExactMatch.php +156 -0
  205. package/vendor/squizlabs/php_codesniffer/src/Filters/Filter.php +288 -0
  206. package/vendor/squizlabs/php_codesniffer/src/Filters/GitModified.php +124 -0
  207. package/vendor/squizlabs/php_codesniffer/src/Filters/GitStaged.php +126 -0
  208. package/vendor/squizlabs/php_codesniffer/src/Fixer.php +846 -0
  209. package/vendor/squizlabs/php_codesniffer/src/Generators/Generator.php +128 -0
  210. package/vendor/squizlabs/php_codesniffer/src/Generators/HTML.php +316 -0
  211. package/vendor/squizlabs/php_codesniffer/src/Generators/Markdown.php +195 -0
  212. package/vendor/squizlabs/php_codesniffer/src/Generators/Text.php +259 -0
  213. package/vendor/squizlabs/php_codesniffer/src/Reporter.php +445 -0
  214. package/vendor/squizlabs/php_codesniffer/src/Reports/Cbf.php +254 -0
  215. package/vendor/squizlabs/php_codesniffer/src/Reports/Checkstyle.php +111 -0
  216. package/vendor/squizlabs/php_codesniffer/src/Reports/Code.php +365 -0
  217. package/vendor/squizlabs/php_codesniffer/src/Reports/Csv.php +92 -0
  218. package/vendor/squizlabs/php_codesniffer/src/Reports/Diff.php +131 -0
  219. package/vendor/squizlabs/php_codesniffer/src/Reports/Emacs.php +91 -0
  220. package/vendor/squizlabs/php_codesniffer/src/Reports/Full.php +260 -0
  221. package/vendor/squizlabs/php_codesniffer/src/Reports/Gitblame.php +91 -0
  222. package/vendor/squizlabs/php_codesniffer/src/Reports/Hgblame.php +110 -0
  223. package/vendor/squizlabs/php_codesniffer/src/Reports/Info.php +173 -0
  224. package/vendor/squizlabs/php_codesniffer/src/Reports/Json.php +107 -0
  225. package/vendor/squizlabs/php_codesniffer/src/Reports/Junit.php +133 -0
  226. package/vendor/squizlabs/php_codesniffer/src/Reports/Notifysend.php +243 -0
  227. package/vendor/squizlabs/php_codesniffer/src/Reports/Performance.php +161 -0
  228. package/vendor/squizlabs/php_codesniffer/src/Reports/Report.php +87 -0
  229. package/vendor/squizlabs/php_codesniffer/src/Reports/Source.php +337 -0
  230. package/vendor/squizlabs/php_codesniffer/src/Reports/Summary.php +184 -0
  231. package/vendor/squizlabs/php_codesniffer/src/Reports/Svnblame.php +73 -0
  232. package/vendor/squizlabs/php_codesniffer/src/Reports/VersionControl.php +377 -0
  233. package/vendor/squizlabs/php_codesniffer/src/Reports/Xml.php +128 -0
  234. package/vendor/squizlabs/php_codesniffer/src/Ruleset.php +1623 -0
  235. package/vendor/squizlabs/php_codesniffer/src/Runner.php +992 -0
  236. package/vendor/squizlabs/php_codesniffer/src/Sniffs/AbstractArraySniff.php +172 -0
  237. package/vendor/squizlabs/php_codesniffer/src/Sniffs/AbstractPatternSniff.php +941 -0
  238. package/vendor/squizlabs/php_codesniffer/src/Sniffs/AbstractScopeSniff.php +189 -0
  239. package/vendor/squizlabs/php_codesniffer/src/Sniffs/AbstractVariableSniff.php +230 -0
  240. package/vendor/squizlabs/php_codesniffer/src/Sniffs/DeprecatedSniff.php +63 -0
  241. package/vendor/squizlabs/php_codesniffer/src/Sniffs/Sniff.php +80 -0
  242. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/Arrays/ArrayIndentStandard.xml +107 -0
  243. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/Arrays/DisallowLongArraySyntaxStandard.xml +23 -0
  244. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/Arrays/DisallowShortArraySyntaxStandard.xml +23 -0
  245. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/Classes/DuplicateClassNameStandard.xml +27 -0
  246. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/Classes/OpeningBraceSameLineStandard.xml +36 -0
  247. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/CodeAnalysis/AssignmentInConditionStandard.xml +23 -0
  248. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/CodeAnalysis/EmptyPHPStatementStandard.xml +44 -0
  249. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/CodeAnalysis/EmptyStatementStandard.xml +23 -0
  250. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/CodeAnalysis/ForLoopShouldBeWhileLoopStandard.xml +23 -0
  251. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/CodeAnalysis/ForLoopWithTestFunctionCallStandard.xml +24 -0
  252. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/CodeAnalysis/JumbledIncrementerStandard.xml +25 -0
  253. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/CodeAnalysis/RequireExplicitBooleanOperatorPrecedenceStandard.xml +44 -0
  254. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/CodeAnalysis/UnconditionalIfStatementStandard.xml +39 -0
  255. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/CodeAnalysis/UnnecessaryFinalModifierStandard.xml +29 -0
  256. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/CodeAnalysis/UnusedFunctionParameterStandard.xml +25 -0
  257. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/CodeAnalysis/UselessOverridingMethodStandard.xml +32 -0
  258. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/Commenting/DocCommentStandard.xml +269 -0
  259. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/Commenting/FixmeStandard.xml +25 -0
  260. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/Commenting/TodoStandard.xml +25 -0
  261. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/ControlStructures/DisallowYodaConditionsStandard.xml +23 -0
  262. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/ControlStructures/InlineControlStructureStandard.xml +22 -0
  263. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/Debug/CSSLintStandard.xml +19 -0
  264. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/Debug/ClosureLinterStandard.xml +19 -0
  265. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/Debug/JSHintStandard.xml +19 -0
  266. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/Files/ByteOrderMarkStandard.xml +7 -0
  267. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/Files/EndFileNewlineStandard.xml +7 -0
  268. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/Files/EndFileNoNewlineStandard.xml +7 -0
  269. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/Files/ExecutableFileStandard.xml +7 -0
  270. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/Files/InlineHTMLStandard.xml +24 -0
  271. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/Files/LineEndingsStandard.xml +7 -0
  272. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/Files/LineLengthStandard.xml +7 -0
  273. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/Files/LowercasedFilenameStandard.xml +7 -0
  274. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/Files/OneClassPerFileStandard.xml +29 -0
  275. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/Files/OneInterfacePerFileStandard.xml +29 -0
  276. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/Files/OneObjectStructurePerFileStandard.xml +29 -0
  277. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/Files/OneTraitPerFileStandard.xml +29 -0
  278. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/Formatting/DisallowMultipleStatementsStandard.xml +20 -0
  279. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/Formatting/MultipleStatementAlignmentStandard.xml +56 -0
  280. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/Formatting/NoSpaceAfterCastStandard.xml +19 -0
  281. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/Formatting/SpaceAfterCastStandard.xml +19 -0
  282. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/Formatting/SpaceAfterNotStandard.xml +22 -0
  283. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/Formatting/SpaceBeforeCastStandard.xml +21 -0
  284. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/Functions/CallTimePassByReferenceStandard.xml +31 -0
  285. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/Functions/FunctionCallArgumentSpacingStandard.xml +39 -0
  286. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/Functions/OpeningFunctionBraceBsdAllmanStandard.xml +24 -0
  287. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/Functions/OpeningFunctionBraceKernighanRitchieStandard.xml +24 -0
  288. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/Metrics/CyclomaticComplexityStandard.xml +7 -0
  289. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/Metrics/NestingLevelStandard.xml +7 -0
  290. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/NamingConventions/AbstractClassNamePrefixStandard.xml +23 -0
  291. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/NamingConventions/CamelCapsFunctionNameStandard.xml +23 -0
  292. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/NamingConventions/ConstructorNameStandard.xml +29 -0
  293. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/NamingConventions/InterfaceNameSuffixStandard.xml +23 -0
  294. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/NamingConventions/TraitNameSuffixStandard.xml +23 -0
  295. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/NamingConventions/UpperCaseConstantNameStandard.xml +29 -0
  296. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/PHP/BacktickOperatorStandard.xml +7 -0
  297. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/PHP/CharacterBeforePHPOpeningTagStandard.xml +22 -0
  298. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/PHP/ClosingPHPTagStandard.xml +22 -0
  299. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/PHP/DeprecatedFunctionsStandard.xml +19 -0
  300. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/PHP/DisallowAlternativePHPTagsStandard.xml +7 -0
  301. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/PHP/DisallowRequestSuperglobalStandard.xml +7 -0
  302. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/PHP/DisallowShortOpenTagStandard.xml +7 -0
  303. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/PHP/DiscourageGotoStandard.xml +7 -0
  304. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/PHP/ForbiddenFunctionsStandard.xml +19 -0
  305. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/PHP/LowerCaseConstantStandard.xml +23 -0
  306. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/PHP/LowerCaseKeywordStandard.xml +19 -0
  307. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/PHP/LowerCaseTypeStandard.xml +38 -0
  308. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/PHP/NoSilencedErrorsStandard.xml +23 -0
  309. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/PHP/RequireStrictTypesStandard.xml +38 -0
  310. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/PHP/SAPIUsageStandard.xml +23 -0
  311. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/PHP/SyntaxStandard.xml +21 -0
  312. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/PHP/UpperCaseConstantStandard.xml +23 -0
  313. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/Strings/UnnecessaryHeredocStandard.xml +39 -0
  314. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/Strings/UnnecessaryStringConcatStandard.xml +19 -0
  315. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/VersionControl/SubversionPropertiesStandard.xml +7 -0
  316. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/WhiteSpace/ArbitraryParenthesesSpacingStandard.xml +23 -0
  317. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/WhiteSpace/DisallowSpaceIndentStandard.xml +7 -0
  318. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/WhiteSpace/DisallowTabIndentStandard.xml +7 -0
  319. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/WhiteSpace/HereNowdocIdentifierSpacingStandard.xml +23 -0
  320. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/WhiteSpace/IncrementDecrementSpacingStandard.xml +26 -0
  321. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/WhiteSpace/LanguageConstructSpacingStandard.xml +44 -0
  322. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/WhiteSpace/ScopeIndentStandard.xml +23 -0
  323. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/WhiteSpace/SpreadOperatorSpacingAfterStandard.xml +34 -0
  324. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/Arrays/ArrayIndentSniff.php +193 -0
  325. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/Arrays/DisallowLongArraySyntaxSniff.php +72 -0
  326. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/Arrays/DisallowShortArraySyntaxSniff.php +61 -0
  327. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/Classes/DuplicateClassNameSniff.php +126 -0
  328. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/Classes/OpeningBraceSameLineSniff.php +124 -0
  329. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/CodeAnalysis/AssignmentInConditionSniff.php +171 -0
  330. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/CodeAnalysis/EmptyPHPStatementSniff.php +183 -0
  331. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/CodeAnalysis/EmptyStatementSniff.php +97 -0
  332. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/CodeAnalysis/ForLoopShouldBeWhileLoopSniff.php +91 -0
  333. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/CodeAnalysis/ForLoopWithTestFunctionCallSniff.php +101 -0
  334. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/CodeAnalysis/JumbledIncrementerSniff.php +134 -0
  335. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/CodeAnalysis/RequireExplicitBooleanOperatorPrecedenceSniff.php +112 -0
  336. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/CodeAnalysis/UnconditionalIfStatementSniff.php +93 -0
  337. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/CodeAnalysis/UnnecessaryFinalModifierSniff.php +88 -0
  338. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/CodeAnalysis/UnusedFunctionParameterSniff.php +307 -0
  339. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/CodeAnalysis/UselessOverridingMethodSniff.php +184 -0
  340. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/Commenting/DocCommentSniff.php +357 -0
  341. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/Commenting/FixmeSniff.php +78 -0
  342. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/Commenting/TodoSniff.php +77 -0
  343. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/ControlStructures/DisallowYodaConditionsSniff.php +185 -0
  344. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/ControlStructures/InlineControlStructureSniff.php +365 -0
  345. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/Debug/CSSLintSniff.php +98 -0
  346. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/Debug/ClosureLinterSniff.php +119 -0
  347. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/Debug/ESLintSniff.php +115 -0
  348. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/Debug/JSHintSniff.php +97 -0
  349. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/Files/ByteOrderMarkSniff.php +82 -0
  350. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/Files/EndFileNewlineSniff.php +84 -0
  351. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/Files/EndFileNoNewlineSniff.php +91 -0
  352. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/Files/ExecutableFileSniff.php +62 -0
  353. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/Files/InlineHTMLSniff.php +79 -0
  354. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/Files/LineEndingsSniff.php +148 -0
  355. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/Files/LineLengthSniff.php +201 -0
  356. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/Files/LowercasedFilenameSniff.php +70 -0
  357. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/Files/OneClassPerFileSniff.php +57 -0
  358. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/Files/OneInterfacePerFileSniff.php +57 -0
  359. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/Files/OneObjectStructurePerFileSniff.php +62 -0
  360. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/Files/OneTraitPerFileSniff.php +57 -0
  361. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/Formatting/DisallowMultipleStatementsSniff.php +105 -0
  362. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/Formatting/MultipleStatementAlignmentSniff.php +426 -0
  363. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/Formatting/NoSpaceAfterCastSniff.php +61 -0
  364. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/Formatting/SpaceAfterCastSniff.php +161 -0
  365. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/Formatting/SpaceAfterNotSniff.php +143 -0
  366. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/Formatting/SpaceBeforeCastSniff.php +73 -0
  367. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/Functions/CallTimePassByReferenceSniff.php +141 -0
  368. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/Functions/FunctionCallArgumentSpacingSniff.php +197 -0
  369. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/Functions/OpeningFunctionBraceBsdAllmanSniff.php +225 -0
  370. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/Functions/OpeningFunctionBraceKernighanRitchieSniff.php +177 -0
  371. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/Metrics/CyclomaticComplexitySniff.php +117 -0
  372. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/Metrics/NestingLevelSniff.php +100 -0
  373. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/NamingConventions/AbstractClassNamePrefixSniff.php +60 -0
  374. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/NamingConventions/CamelCapsFunctionNameSniff.php +222 -0
  375. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/NamingConventions/ConstructorNameSniff.php +178 -0
  376. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/NamingConventions/InterfaceNameSuffixSniff.php +55 -0
  377. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/NamingConventions/TraitNameSuffixSniff.php +55 -0
  378. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/NamingConventions/UpperCaseConstantNameSniff.php +151 -0
  379. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/PHP/BacktickOperatorSniff.php +48 -0
  380. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/PHP/CharacterBeforePHPOpeningTagSniff.php +86 -0
  381. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/PHP/ClosingPHPTagSniff.php +54 -0
  382. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/PHP/DeprecatedFunctionsSniff.php +75 -0
  383. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/PHP/DisallowAlternativePHPTagsSniff.php +253 -0
  384. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/PHP/DisallowRequestSuperglobalSniff.php +55 -0
  385. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/PHP/DisallowShortOpenTagSniff.php +168 -0
  386. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/PHP/DiscourageGotoSniff.php +50 -0
  387. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/PHP/ForbiddenFunctionsSniff.php +245 -0
  388. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/PHP/LowerCaseConstantSniff.php +244 -0
  389. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/PHP/LowerCaseKeywordSniff.php +82 -0
  390. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/PHP/LowerCaseTypeSniff.php +364 -0
  391. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/PHP/NoSilencedErrorsSniff.php +77 -0
  392. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/PHP/RequireStrictTypesSniff.php +108 -0
  393. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/PHP/SAPIUsageSniff.php +67 -0
  394. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/PHP/SyntaxSniff.php +75 -0
  395. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/PHP/UpperCaseConstantSniff.php +57 -0
  396. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/Strings/UnnecessaryHeredocSniff.php +97 -0
  397. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/Strings/UnnecessaryStringConcatSniff.php +129 -0
  398. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/VersionControl/GitMergeConflictSniff.php +228 -0
  399. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/VersionControl/SubversionPropertiesSniff.php +186 -0
  400. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/WhiteSpace/ArbitraryParenthesesSpacingSniff.php +239 -0
  401. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/WhiteSpace/DisallowSpaceIndentSniff.php +232 -0
  402. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/WhiteSpace/DisallowTabIndentSniff.php +201 -0
  403. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/WhiteSpace/HereNowdocIdentifierSpacingSniff.php +69 -0
  404. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/WhiteSpace/IncrementDecrementSpacingSniff.php +174 -0
  405. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/WhiteSpace/LanguageConstructSpacingSniff.php +161 -0
  406. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/WhiteSpace/ScopeIndentSniff.php +1591 -0
  407. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Sniffs/WhiteSpace/SpreadOperatorSpacingAfterSniff.php +159 -0
  408. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Arrays/ArrayIndentUnitTest.inc +154 -0
  409. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Arrays/ArrayIndentUnitTest.inc.fixed +155 -0
  410. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Arrays/ArrayIndentUnitTest.php +81 -0
  411. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Arrays/DisallowLongArraySyntaxUnitTest.1.inc +33 -0
  412. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Arrays/DisallowLongArraySyntaxUnitTest.1.inc.fixed +33 -0
  413. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Arrays/DisallowLongArraySyntaxUnitTest.2.inc +17 -0
  414. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Arrays/DisallowLongArraySyntaxUnitTest.2.inc.fixed +17 -0
  415. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Arrays/DisallowLongArraySyntaxUnitTest.3.inc +7 -0
  416. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Arrays/DisallowLongArraySyntaxUnitTest.php +75 -0
  417. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Arrays/DisallowShortArraySyntaxUnitTest.inc +12 -0
  418. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Arrays/DisallowShortArraySyntaxUnitTest.inc.fixed +12 -0
  419. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Arrays/DisallowShortArraySyntaxUnitTest.php +58 -0
  420. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Classes/DuplicateClassNameUnitTest.1.inc +14 -0
  421. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Classes/DuplicateClassNameUnitTest.10.inc +6 -0
  422. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Classes/DuplicateClassNameUnitTest.11.inc +13 -0
  423. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Classes/DuplicateClassNameUnitTest.2.inc +6 -0
  424. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Classes/DuplicateClassNameUnitTest.3.inc +10 -0
  425. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Classes/DuplicateClassNameUnitTest.4.inc +5 -0
  426. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Classes/DuplicateClassNameUnitTest.5.inc +8 -0
  427. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Classes/DuplicateClassNameUnitTest.6.inc +12 -0
  428. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Classes/DuplicateClassNameUnitTest.7.inc +13 -0
  429. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Classes/DuplicateClassNameUnitTest.8.inc +8 -0
  430. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Classes/DuplicateClassNameUnitTest.9.inc +5 -0
  431. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Classes/DuplicateClassNameUnitTest.97.inc +8 -0
  432. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Classes/DuplicateClassNameUnitTest.98.inc +8 -0
  433. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Classes/DuplicateClassNameUnitTest.99.inc +7 -0
  434. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Classes/DuplicateClassNameUnitTest.php +98 -0
  435. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Classes/OpeningBraceSameLineUnitTest.inc +100 -0
  436. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Classes/OpeningBraceSameLineUnitTest.inc.fixed +100 -0
  437. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Classes/OpeningBraceSameLineUnitTest.php +68 -0
  438. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/CodeAnalysis/AssignmentInConditionUnitTest.1.inc +95 -0
  439. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/CodeAnalysis/AssignmentInConditionUnitTest.2.inc +4 -0
  440. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/CodeAnalysis/AssignmentInConditionUnitTest.3.inc +4 -0
  441. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/CodeAnalysis/AssignmentInConditionUnitTest.4.inc +6 -0
  442. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/CodeAnalysis/AssignmentInConditionUnitTest.5.inc +6 -0
  443. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/CodeAnalysis/AssignmentInConditionUnitTest.6.inc +5 -0
  444. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/CodeAnalysis/AssignmentInConditionUnitTest.php +96 -0
  445. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/CodeAnalysis/EmptyPHPStatementUnitTest.1.inc +86 -0
  446. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/CodeAnalysis/EmptyPHPStatementUnitTest.1.inc.fixed +80 -0
  447. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/CodeAnalysis/EmptyPHPStatementUnitTest.2.inc +27 -0
  448. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/CodeAnalysis/EmptyPHPStatementUnitTest.2.inc.fixed +23 -0
  449. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/CodeAnalysis/EmptyPHPStatementUnitTest.php +110 -0
  450. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/CodeAnalysis/EmptyStatementUnitTest.inc +74 -0
  451. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/CodeAnalysis/EmptyStatementUnitTest.php +68 -0
  452. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/CodeAnalysis/ForLoopShouldBeWhileLoopUnitTest.1.inc +37 -0
  453. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/CodeAnalysis/ForLoopShouldBeWhileLoopUnitTest.2.inc +4 -0
  454. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/CodeAnalysis/ForLoopShouldBeWhileLoopUnitTest.3.inc +6 -0
  455. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/CodeAnalysis/ForLoopShouldBeWhileLoopUnitTest.php +64 -0
  456. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/CodeAnalysis/ForLoopWithTestFunctionCallUnitTest.1.inc +95 -0
  457. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/CodeAnalysis/ForLoopWithTestFunctionCallUnitTest.2.inc +5 -0
  458. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/CodeAnalysis/ForLoopWithTestFunctionCallUnitTest.3.inc +6 -0
  459. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/CodeAnalysis/ForLoopWithTestFunctionCallUnitTest.php +75 -0
  460. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/CodeAnalysis/JumbledIncrementerUnitTest.1.inc +89 -0
  461. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/CodeAnalysis/JumbledIncrementerUnitTest.2.inc +8 -0
  462. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/CodeAnalysis/JumbledIncrementerUnitTest.3.inc +6 -0
  463. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/CodeAnalysis/JumbledIncrementerUnitTest.4.inc +8 -0
  464. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/CodeAnalysis/JumbledIncrementerUnitTest.php +72 -0
  465. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/CodeAnalysis/RequireExplicitBooleanOperatorPrecedenceUnitTest.inc +131 -0
  466. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/CodeAnalysis/RequireExplicitBooleanOperatorPrecedenceUnitTest.php +91 -0
  467. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/CodeAnalysis/UnconditionalIfStatementUnitTest.1.inc +13 -0
  468. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/CodeAnalysis/UnconditionalIfStatementUnitTest.2.inc +4 -0
  469. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/CodeAnalysis/UnconditionalIfStatementUnitTest.php +65 -0
  470. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/CodeAnalysis/UnnecessaryFinalModifierUnitTest.1.inc +56 -0
  471. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/CodeAnalysis/UnnecessaryFinalModifierUnitTest.2.inc +5 -0
  472. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/CodeAnalysis/UnnecessaryFinalModifierUnitTest.php +69 -0
  473. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/CodeAnalysis/UnusedFunctionParameterUnitTest.1.inc +274 -0
  474. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/CodeAnalysis/UnusedFunctionParameterUnitTest.2.inc +5 -0
  475. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/CodeAnalysis/UnusedFunctionParameterUnitTest.3.inc +5 -0
  476. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/CodeAnalysis/UnusedFunctionParameterUnitTest.php +78 -0
  477. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/CodeAnalysis/UselessOverridingMethodUnitTest.1.inc +173 -0
  478. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/CodeAnalysis/UselessOverridingMethodUnitTest.2.inc +7 -0
  479. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/CodeAnalysis/UselessOverridingMethodUnitTest.3.inc +10 -0
  480. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/CodeAnalysis/UselessOverridingMethodUnitTest.4.inc +10 -0
  481. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/CodeAnalysis/UselessOverridingMethodUnitTest.5.inc +10 -0
  482. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/CodeAnalysis/UselessOverridingMethodUnitTest.6.inc +10 -0
  483. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/CodeAnalysis/UselessOverridingMethodUnitTest.php +72 -0
  484. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Commenting/DocCommentUnitTest.1.inc +270 -0
  485. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Commenting/DocCommentUnitTest.1.inc.fixed +275 -0
  486. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Commenting/DocCommentUnitTest.1.js +270 -0
  487. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Commenting/DocCommentUnitTest.1.js.fixed +275 -0
  488. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Commenting/DocCommentUnitTest.2.inc +6 -0
  489. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Commenting/DocCommentUnitTest.2.js +4 -0
  490. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Commenting/DocCommentUnitTest.php +127 -0
  491. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Commenting/FixmeUnitTest.inc +23 -0
  492. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Commenting/FixmeUnitTest.js +23 -0
  493. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Commenting/FixmeUnitTest.php +63 -0
  494. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Commenting/TodoUnitTest.inc +23 -0
  495. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Commenting/TodoUnitTest.js +23 -0
  496. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Commenting/TodoUnitTest.php +62 -0
  497. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/ControlStructures/DisallowYodaConditionsUnitTest.inc +187 -0
  498. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/ControlStructures/DisallowYodaConditionsUnitTest.php +95 -0
  499. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/ControlStructures/InlineControlStructureUnitTest.1.inc +278 -0
  500. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/ControlStructures/InlineControlStructureUnitTest.1.inc.fixed +316 -0
  501. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/ControlStructures/InlineControlStructureUnitTest.1.js +35 -0
  502. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/ControlStructures/InlineControlStructureUnitTest.1.js.fixed +44 -0
  503. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/ControlStructures/InlineControlStructureUnitTest.2.inc +8 -0
  504. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/ControlStructures/InlineControlStructureUnitTest.2.js +5 -0
  505. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/ControlStructures/InlineControlStructureUnitTest.3.inc +4 -0
  506. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/ControlStructures/InlineControlStructureUnitTest.3.js +5 -0
  507. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/ControlStructures/InlineControlStructureUnitTest.4.inc +5 -0
  508. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/ControlStructures/InlineControlStructureUnitTest.5.inc +4 -0
  509. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/ControlStructures/InlineControlStructureUnitTest.6.inc +6 -0
  510. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/ControlStructures/InlineControlStructureUnitTest.7.inc +16 -0
  511. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/ControlStructures/InlineControlStructureUnitTest.php +121 -0
  512. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Debug/CSSLintUnitTest.css +6 -0
  513. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Debug/CSSLintUnitTest.php +77 -0
  514. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Debug/ClosureLinterUnitTest.js +6 -0
  515. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Debug/ClosureLinterUnitTest.php +74 -0
  516. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Debug/ESLintUnitTest.js +1 -0
  517. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Debug/ESLintUnitTest.php +122 -0
  518. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Debug/JSHintUnitTest.js +3 -0
  519. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Debug/JSHintUnitTest.php +71 -0
  520. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/ByteOrderMarkUnitTest.1.inc +4 -0
  521. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/ByteOrderMarkUnitTest.2.inc +3 -0
  522. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/ByteOrderMarkUnitTest.3.inc +1 -0
  523. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/ByteOrderMarkUnitTest.4.inc +0 -0
  524. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/ByteOrderMarkUnitTest.5.inc +0 -0
  525. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/ByteOrderMarkUnitTest.php +63 -0
  526. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/EndFileNewlineUnitTest.1.css +3 -0
  527. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/EndFileNewlineUnitTest.1.inc +3 -0
  528. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/EndFileNewlineUnitTest.1.js +3 -0
  529. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/EndFileNewlineUnitTest.2.css +2 -0
  530. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/EndFileNewlineUnitTest.2.inc +2 -0
  531. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/EndFileNewlineUnitTest.2.js +2 -0
  532. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/EndFileNewlineUnitTest.3.css +2 -0
  533. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/EndFileNewlineUnitTest.3.css.fixed +2 -0
  534. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/EndFileNewlineUnitTest.3.inc +2 -0
  535. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/EndFileNewlineUnitTest.3.inc.fixed +2 -0
  536. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/EndFileNewlineUnitTest.3.js +2 -0
  537. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/EndFileNewlineUnitTest.3.js.fixed +2 -0
  538. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/EndFileNewlineUnitTest.4.inc +2 -0
  539. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/EndFileNewlineUnitTest.4.inc.fixed +2 -0
  540. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/EndFileNewlineUnitTest.5.inc +2 -0
  541. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/EndFileNewlineUnitTest.6.inc +1 -0
  542. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/EndFileNewlineUnitTest.6.inc.fixed +1 -0
  543. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/EndFileNewlineUnitTest.7.inc +1 -0
  544. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/EndFileNewlineUnitTest.7.inc.fixed +1 -0
  545. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/EndFileNewlineUnitTest.8.inc +1 -0
  546. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/EndFileNewlineUnitTest.php +68 -0
  547. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/EndFileNoNewlineUnitTest.1.css +3 -0
  548. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/EndFileNoNewlineUnitTest.1.css.fixed +2 -0
  549. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/EndFileNoNewlineUnitTest.1.inc +3 -0
  550. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/EndFileNoNewlineUnitTest.1.inc.fixed +2 -0
  551. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/EndFileNoNewlineUnitTest.1.js +3 -0
  552. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/EndFileNoNewlineUnitTest.1.js.fixed +2 -0
  553. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/EndFileNoNewlineUnitTest.10.inc +1 -0
  554. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/EndFileNoNewlineUnitTest.2.css +2 -0
  555. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/EndFileNoNewlineUnitTest.2.css.fixed +2 -0
  556. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/EndFileNoNewlineUnitTest.2.inc +3 -0
  557. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/EndFileNoNewlineUnitTest.2.inc.fixed +3 -0
  558. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/EndFileNoNewlineUnitTest.2.js +2 -0
  559. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/EndFileNoNewlineUnitTest.2.js.fixed +2 -0
  560. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/EndFileNoNewlineUnitTest.3.css +2 -0
  561. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/EndFileNoNewlineUnitTest.3.inc +2 -0
  562. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/EndFileNoNewlineUnitTest.3.js +2 -0
  563. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/EndFileNoNewlineUnitTest.4.inc +3 -0
  564. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/EndFileNoNewlineUnitTest.5.inc +2 -0
  565. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/EndFileNoNewlineUnitTest.6.inc +2 -0
  566. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/EndFileNoNewlineUnitTest.6.inc.fixed +2 -0
  567. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/EndFileNoNewlineUnitTest.7.inc +6 -0
  568. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/EndFileNoNewlineUnitTest.8.inc +1 -0
  569. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/EndFileNoNewlineUnitTest.8.inc.fixed +1 -0
  570. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/EndFileNoNewlineUnitTest.9.inc +1 -0
  571. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/EndFileNoNewlineUnitTest.9.inc.fixed +1 -0
  572. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/EndFileNoNewlineUnitTest.php +72 -0
  573. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/ExecutableFileUnitTest.1.inc +1 -0
  574. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/ExecutableFileUnitTest.2.inc +1 -0
  575. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/ExecutableFileUnitTest.3.inc +1 -0
  576. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/ExecutableFileUnitTest.4.inc +1 -0
  577. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/ExecutableFileUnitTest.php +76 -0
  578. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/InlineHTMLUnitTest.1.inc +3 -0
  579. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/InlineHTMLUnitTest.2.inc +3 -0
  580. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/InlineHTMLUnitTest.3.inc +6 -0
  581. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/InlineHTMLUnitTest.4.inc +3 -0
  582. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/InlineHTMLUnitTest.5.inc +3 -0
  583. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/InlineHTMLUnitTest.6.inc +2 -0
  584. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/InlineHTMLUnitTest.7.inc +2 -0
  585. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/InlineHTMLUnitTest.php +69 -0
  586. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/LineEndingsUnitTest.1.inc +18 -0
  587. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/LineEndingsUnitTest.1.inc.fixed +18 -0
  588. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/LineEndingsUnitTest.2.inc +5 -0
  589. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/LineEndingsUnitTest.2.inc.fixed +5 -0
  590. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/LineEndingsUnitTest.css +3 -0
  591. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/LineEndingsUnitTest.css.fixed +3 -0
  592. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/LineEndingsUnitTest.js +2 -0
  593. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/LineEndingsUnitTest.js.fixed +2 -0
  594. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/LineEndingsUnitTest.php +68 -0
  595. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/LineLengthUnitTest.1.inc +84 -0
  596. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/LineLengthUnitTest.2.inc +7 -0
  597. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/LineLengthUnitTest.3.inc +16 -0
  598. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/LineLengthUnitTest.4.inc +16 -0
  599. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/LineLengthUnitTest.php +114 -0
  600. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/LowercasedFilenameUnitTest.1.inc +7 -0
  601. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/LowercasedFilenameUnitTest.2.inc +7 -0
  602. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/LowercasedFilenameUnitTest.php +106 -0
  603. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/OneClassPerFileUnitTest.inc +13 -0
  604. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/OneClassPerFileUnitTest.php +56 -0
  605. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/OneInterfacePerFileUnitTest.inc +13 -0
  606. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/OneInterfacePerFileUnitTest.php +56 -0
  607. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/OneObjectStructurePerFileUnitTest.inc +26 -0
  608. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/OneObjectStructurePerFileUnitTest.php +59 -0
  609. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/OneTraitPerFileUnitTest.inc +17 -0
  610. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/OneTraitPerFileUnitTest.php +56 -0
  611. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/lowercased_filename_unit_test.inc +1 -0
  612. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Formatting/DisallowMultipleStatementsUnitTest.inc +20 -0
  613. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Formatting/DisallowMultipleStatementsUnitTest.inc.fixed +25 -0
  614. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Formatting/DisallowMultipleStatementsUnitTest.php +59 -0
  615. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Formatting/MultipleStatementAlignmentUnitTest.inc +504 -0
  616. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Formatting/MultipleStatementAlignmentUnitTest.inc.fixed +504 -0
  617. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Formatting/MultipleStatementAlignmentUnitTest.js +118 -0
  618. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Formatting/MultipleStatementAlignmentUnitTest.js.fixed +118 -0
  619. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Formatting/MultipleStatementAlignmentUnitTest.php +170 -0
  620. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Formatting/NoSpaceAfterCastUnitTest.inc +51 -0
  621. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Formatting/NoSpaceAfterCastUnitTest.inc.fixed +51 -0
  622. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Formatting/NoSpaceAfterCastUnitTest.php +77 -0
  623. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Formatting/SpaceAfterCastUnitTest.1.inc +100 -0
  624. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Formatting/SpaceAfterCastUnitTest.1.inc.fixed +97 -0
  625. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Formatting/SpaceAfterCastUnitTest.2.inc +3 -0
  626. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Formatting/SpaceAfterCastUnitTest.php +103 -0
  627. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Formatting/SpaceAfterNotUnitTest.1.inc +86 -0
  628. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Formatting/SpaceAfterNotUnitTest.1.inc.fixed +83 -0
  629. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Formatting/SpaceAfterNotUnitTest.2.inc +7 -0
  630. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Formatting/SpaceAfterNotUnitTest.js +5 -0
  631. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Formatting/SpaceAfterNotUnitTest.js.fixed +5 -0
  632. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Formatting/SpaceAfterNotUnitTest.php +96 -0
  633. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Formatting/SpaceBeforeCastUnitTest.inc +65 -0
  634. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Formatting/SpaceBeforeCastUnitTest.inc.fixed +65 -0
  635. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Formatting/SpaceBeforeCastUnitTest.php +83 -0
  636. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Functions/CallTimePassByReferenceUnitTest.1.inc +66 -0
  637. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Functions/CallTimePassByReferenceUnitTest.2.inc +7 -0
  638. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Functions/CallTimePassByReferenceUnitTest.3.inc +7 -0
  639. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Functions/CallTimePassByReferenceUnitTest.php +75 -0
  640. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Functions/FunctionCallArgumentSpacingUnitTest.1.inc +199 -0
  641. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Functions/FunctionCallArgumentSpacingUnitTest.1.inc.fixed +199 -0
  642. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Functions/FunctionCallArgumentSpacingUnitTest.2.inc +7 -0
  643. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Functions/FunctionCallArgumentSpacingUnitTest.php +96 -0
  644. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Functions/OpeningFunctionBraceBsdAllmanUnitTest.inc +270 -0
  645. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Functions/OpeningFunctionBraceBsdAllmanUnitTest.inc.fixed +287 -0
  646. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Functions/OpeningFunctionBraceBsdAllmanUnitTest.php +91 -0
  647. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Functions/OpeningFunctionBraceKernighanRitchieUnitTest.1.inc +232 -0
  648. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Functions/OpeningFunctionBraceKernighanRitchieUnitTest.1.inc.fixed +222 -0
  649. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Functions/OpeningFunctionBraceKernighanRitchieUnitTest.2.inc +19 -0
  650. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Functions/OpeningFunctionBraceKernighanRitchieUnitTest.2.inc.fixed +19 -0
  651. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Functions/OpeningFunctionBraceKernighanRitchieUnitTest.3.inc +7 -0
  652. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Functions/OpeningFunctionBraceKernighanRitchieUnitTest.php +116 -0
  653. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Metrics/CyclomaticComplexityUnitTest.1.inc +460 -0
  654. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Metrics/CyclomaticComplexityUnitTest.2.inc +7 -0
  655. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Metrics/CyclomaticComplexityUnitTest.3.inc +7 -0
  656. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Metrics/CyclomaticComplexityUnitTest.php +77 -0
  657. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Metrics/NestingLevelUnitTest.1.inc +108 -0
  658. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Metrics/NestingLevelUnitTest.2.inc +7 -0
  659. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Metrics/NestingLevelUnitTest.3.inc +7 -0
  660. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Metrics/NestingLevelUnitTest.php +70 -0
  661. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/NamingConventions/AbstractClassNamePrefixUnitTest.1.inc +45 -0
  662. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/NamingConventions/AbstractClassNamePrefixUnitTest.2.inc +7 -0
  663. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/NamingConventions/AbstractClassNamePrefixUnitTest.php +67 -0
  664. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/NamingConventions/CamelCapsFunctionNameUnitTest.1.inc +204 -0
  665. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/NamingConventions/CamelCapsFunctionNameUnitTest.2.inc +9 -0
  666. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/NamingConventions/CamelCapsFunctionNameUnitTest.3.inc +7 -0
  667. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/NamingConventions/CamelCapsFunctionNameUnitTest.php +105 -0
  668. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/NamingConventions/ConstructorNameUnitTest.inc +130 -0
  669. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/NamingConventions/ConstructorNameUnitTest.php +66 -0
  670. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/NamingConventions/InterfaceNameSuffixUnitTest.1.inc +13 -0
  671. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/NamingConventions/InterfaceNameSuffixUnitTest.2.inc +7 -0
  672. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/NamingConventions/InterfaceNameSuffixUnitTest.php +62 -0
  673. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/NamingConventions/TraitNameSuffixUnitTest.1.inc +11 -0
  674. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/NamingConventions/TraitNameSuffixUnitTest.2.inc +7 -0
  675. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/NamingConventions/TraitNameSuffixUnitTest.php +63 -0
  676. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/NamingConventions/UpperCaseConstantNameUnitTest.1.inc +91 -0
  677. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/NamingConventions/UpperCaseConstantNameUnitTest.2.inc +7 -0
  678. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/NamingConventions/UpperCaseConstantNameUnitTest.3.inc +7 -0
  679. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/NamingConventions/UpperCaseConstantNameUnitTest.4.inc +7 -0
  680. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/NamingConventions/UpperCaseConstantNameUnitTest.5.inc +9 -0
  681. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/NamingConventions/UpperCaseConstantNameUnitTest.php +74 -0
  682. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/PHP/BacktickOperatorUnitTest.inc +9 -0
  683. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/PHP/BacktickOperatorUnitTest.php +57 -0
  684. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/PHP/CharacterBeforePHPOpeningTagUnitTest.1.inc +9 -0
  685. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/PHP/CharacterBeforePHPOpeningTagUnitTest.2.inc +4 -0
  686. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/PHP/CharacterBeforePHPOpeningTagUnitTest.3.inc +3 -0
  687. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/PHP/CharacterBeforePHPOpeningTagUnitTest.php +61 -0
  688. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/PHP/ClosingPHPTagUnitTest.1.inc +10 -0
  689. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/PHP/ClosingPHPTagUnitTest.2.inc +5 -0
  690. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/PHP/ClosingPHPTagUnitTest.php +64 -0
  691. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/PHP/DeprecatedFunctionsUnitTest.inc +4 -0
  692. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/PHP/DeprecatedFunctionsUnitTest.php +63 -0
  693. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/PHP/DisallowAlternativePHPTagsUnitTest.1.inc +14 -0
  694. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/PHP/DisallowAlternativePHPTagsUnitTest.1.inc.fixed +14 -0
  695. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/PHP/DisallowAlternativePHPTagsUnitTest.2.inc +6 -0
  696. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/PHP/DisallowAlternativePHPTagsUnitTest.2.inc.fixed +6 -0
  697. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/PHP/DisallowAlternativePHPTagsUnitTest.3.inc +7 -0
  698. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/PHP/DisallowAlternativePHPTagsUnitTest.php +110 -0
  699. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/PHP/DisallowRequestSuperglobalUnitTest.inc +16 -0
  700. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/PHP/DisallowRequestSuperglobalUnitTest.php +56 -0
  701. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/PHP/DisallowShortOpenTagUnitTest.1.inc +11 -0
  702. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/PHP/DisallowShortOpenTagUnitTest.1.inc.fixed +11 -0
  703. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/PHP/DisallowShortOpenTagUnitTest.2.inc +8 -0
  704. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/PHP/DisallowShortOpenTagUnitTest.2.inc.fixed +8 -0
  705. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/PHP/DisallowShortOpenTagUnitTest.3.inc +20 -0
  706. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/PHP/DisallowShortOpenTagUnitTest.4.inc +6 -0
  707. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/PHP/DisallowShortOpenTagUnitTest.php +110 -0
  708. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/PHP/DiscourageGotoUnitTest.inc +18 -0
  709. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/PHP/DiscourageGotoUnitTest.php +58 -0
  710. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/PHP/ForbiddenFunctionsUnitTest.inc +60 -0
  711. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/PHP/ForbiddenFunctionsUnitTest.php +59 -0
  712. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/PHP/LowerCaseConstantUnitTest.1.inc +153 -0
  713. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/PHP/LowerCaseConstantUnitTest.1.inc.fixed +153 -0
  714. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/PHP/LowerCaseConstantUnitTest.2.inc +4 -0
  715. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/PHP/LowerCaseConstantUnitTest.js +14 -0
  716. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/PHP/LowerCaseConstantUnitTest.js.fixed +14 -0
  717. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/PHP/LowerCaseConstantUnitTest.php +105 -0
  718. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/PHP/LowerCaseKeywordUnitTest.inc +64 -0
  719. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/PHP/LowerCaseKeywordUnitTest.inc.fixed +64 -0
  720. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/PHP/LowerCaseKeywordUnitTest.php +78 -0
  721. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/PHP/LowerCaseTypeUnitTest.inc +145 -0
  722. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/PHP/LowerCaseTypeUnitTest.inc.fixed +145 -0
  723. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/PHP/LowerCaseTypeUnitTest.php +117 -0
  724. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/PHP/NoSilencedErrorsUnitTest.inc +16 -0
  725. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/PHP/NoSilencedErrorsUnitTest.php +57 -0
  726. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/PHP/RequireStrictTypesUnitTest.1.inc +8 -0
  727. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/PHP/RequireStrictTypesUnitTest.10.inc +5 -0
  728. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/PHP/RequireStrictTypesUnitTest.11.inc +5 -0
  729. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/PHP/RequireStrictTypesUnitTest.11.inc.fixed +5 -0
  730. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/PHP/RequireStrictTypesUnitTest.12.inc +5 -0
  731. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/PHP/RequireStrictTypesUnitTest.12.inc.fixed +5 -0
  732. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/PHP/RequireStrictTypesUnitTest.13.inc +3 -0
  733. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/PHP/RequireStrictTypesUnitTest.14.inc +5 -0
  734. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/PHP/RequireStrictTypesUnitTest.14.inc.fixed +5 -0
  735. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/PHP/RequireStrictTypesUnitTest.15.inc +5 -0
  736. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/PHP/RequireStrictTypesUnitTest.15.inc.fixed +5 -0
  737. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/PHP/RequireStrictTypesUnitTest.2.inc +2 -0
  738. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/PHP/RequireStrictTypesUnitTest.3.inc +5 -0
  739. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/PHP/RequireStrictTypesUnitTest.4.inc +10 -0
  740. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/PHP/RequireStrictTypesUnitTest.5.inc +6 -0
  741. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/PHP/RequireStrictTypesUnitTest.6.inc +4 -0
  742. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/PHP/RequireStrictTypesUnitTest.7.inc +4 -0
  743. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/PHP/RequireStrictTypesUnitTest.8.inc +5 -0
  744. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/PHP/RequireStrictTypesUnitTest.9.inc +5 -0
  745. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/PHP/RequireStrictTypesUnitTest.php +72 -0
  746. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/PHP/SAPIUsageUnitTest.inc +5 -0
  747. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/PHP/SAPIUsageUnitTest.php +53 -0
  748. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/PHP/SyntaxUnitTest.1.inc +4 -0
  749. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/PHP/SyntaxUnitTest.2.inc +3 -0
  750. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/PHP/SyntaxUnitTest.php +63 -0
  751. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/PHP/UpperCaseConstantUnitTest.inc +98 -0
  752. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/PHP/UpperCaseConstantUnitTest.inc.fixed +98 -0
  753. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/PHP/UpperCaseConstantUnitTest.php +75 -0
  754. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Strings/UnnecessaryHeredocUnitTest.1.inc +108 -0
  755. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Strings/UnnecessaryHeredocUnitTest.1.inc.fixed +108 -0
  756. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Strings/UnnecessaryHeredocUnitTest.2.inc +108 -0
  757. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Strings/UnnecessaryHeredocUnitTest.2.inc.fixed +108 -0
  758. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Strings/UnnecessaryHeredocUnitTest.3.inc +6 -0
  759. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Strings/UnnecessaryHeredocUnitTest.php +74 -0
  760. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Strings/UnnecessaryStringConcatUnitTest.1.inc +34 -0
  761. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Strings/UnnecessaryStringConcatUnitTest.2.inc +7 -0
  762. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Strings/UnnecessaryStringConcatUnitTest.js +15 -0
  763. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Strings/UnnecessaryStringConcatUnitTest.php +87 -0
  764. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/VersionControl/GitMergeConflictUnitTest.1.css +35 -0
  765. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/VersionControl/GitMergeConflictUnitTest.1.inc +61 -0
  766. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/VersionControl/GitMergeConflictUnitTest.2.css +32 -0
  767. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/VersionControl/GitMergeConflictUnitTest.2.inc +31 -0
  768. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/VersionControl/GitMergeConflictUnitTest.3.inc +43 -0
  769. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/VersionControl/GitMergeConflictUnitTest.4.inc +71 -0
  770. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/VersionControl/GitMergeConflictUnitTest.5.inc +34 -0
  771. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/VersionControl/GitMergeConflictUnitTest.6.inc +34 -0
  772. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/VersionControl/GitMergeConflictUnitTest.7.inc +19 -0
  773. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/VersionControl/GitMergeConflictUnitTest.js +33 -0
  774. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/VersionControl/GitMergeConflictUnitTest.php +175 -0
  775. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/VersionControl/SubversionPropertiesUnitTest.inc +3 -0
  776. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/VersionControl/SubversionPropertiesUnitTest.php +66 -0
  777. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/WhiteSpace/ArbitraryParenthesesSpacingUnitTest.1.inc +192 -0
  778. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/WhiteSpace/ArbitraryParenthesesSpacingUnitTest.1.inc.fixed +180 -0
  779. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/WhiteSpace/ArbitraryParenthesesSpacingUnitTest.2.inc +4 -0
  780. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/WhiteSpace/ArbitraryParenthesesSpacingUnitTest.php +106 -0
  781. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/WhiteSpace/DisallowSpaceIndentUnitTest.1.inc +125 -0
  782. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/WhiteSpace/DisallowSpaceIndentUnitTest.1.inc.fixed +125 -0
  783. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/WhiteSpace/DisallowSpaceIndentUnitTest.2.inc +125 -0
  784. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/WhiteSpace/DisallowSpaceIndentUnitTest.2.inc.fixed +125 -0
  785. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/WhiteSpace/DisallowSpaceIndentUnitTest.3.inc +19 -0
  786. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/WhiteSpace/DisallowSpaceIndentUnitTest.3.inc.fixed +19 -0
  787. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/WhiteSpace/DisallowSpaceIndentUnitTest.4.inc +13 -0
  788. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/WhiteSpace/DisallowSpaceIndentUnitTest.css +4 -0
  789. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/WhiteSpace/DisallowSpaceIndentUnitTest.css.fixed +4 -0
  790. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/WhiteSpace/DisallowSpaceIndentUnitTest.js +9 -0
  791. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/WhiteSpace/DisallowSpaceIndentUnitTest.js.fixed +9 -0
  792. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/WhiteSpace/DisallowSpaceIndentUnitTest.php +145 -0
  793. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/WhiteSpace/DisallowTabIndentUnitTest.1.inc +102 -0
  794. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/WhiteSpace/DisallowTabIndentUnitTest.1.inc.fixed +102 -0
  795. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/WhiteSpace/DisallowTabIndentUnitTest.2.inc +19 -0
  796. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/WhiteSpace/DisallowTabIndentUnitTest.2.inc.fixed +19 -0
  797. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/WhiteSpace/DisallowTabIndentUnitTest.3.inc +13 -0
  798. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/WhiteSpace/DisallowTabIndentUnitTest.css +5 -0
  799. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/WhiteSpace/DisallowTabIndentUnitTest.css.fixed +5 -0
  800. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/WhiteSpace/DisallowTabIndentUnitTest.js +9 -0
  801. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/WhiteSpace/DisallowTabIndentUnitTest.js.fixed +9 -0
  802. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/WhiteSpace/DisallowTabIndentUnitTest.php +153 -0
  803. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/WhiteSpace/HereNowdocIdentifierSpacingUnitTest.inc +25 -0
  804. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/WhiteSpace/HereNowdocIdentifierSpacingUnitTest.inc.fixed +25 -0
  805. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/WhiteSpace/HereNowdocIdentifierSpacingUnitTest.php +58 -0
  806. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/WhiteSpace/IncrementDecrementSpacingUnitTest.inc +43 -0
  807. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/WhiteSpace/IncrementDecrementSpacingUnitTest.inc.fixed +41 -0
  808. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/WhiteSpace/IncrementDecrementSpacingUnitTest.js +17 -0
  809. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/WhiteSpace/IncrementDecrementSpacingUnitTest.js.fixed +16 -0
  810. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/WhiteSpace/IncrementDecrementSpacingUnitTest.php +86 -0
  811. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/WhiteSpace/LanguageConstructSpacingUnitTest.1.inc +100 -0
  812. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/WhiteSpace/LanguageConstructSpacingUnitTest.1.inc.fixed +94 -0
  813. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/WhiteSpace/LanguageConstructSpacingUnitTest.2.inc +4 -0
  814. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/WhiteSpace/LanguageConstructSpacingUnitTest.php +101 -0
  815. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/WhiteSpace/ScopeIndentUnitTest.1.inc +1659 -0
  816. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/WhiteSpace/ScopeIndentUnitTest.1.inc.fixed +1659 -0
  817. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/WhiteSpace/ScopeIndentUnitTest.1.js +239 -0
  818. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/WhiteSpace/ScopeIndentUnitTest.1.js.fixed +239 -0
  819. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/WhiteSpace/ScopeIndentUnitTest.2.inc +1659 -0
  820. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/WhiteSpace/ScopeIndentUnitTest.2.inc.fixed +1659 -0
  821. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/WhiteSpace/ScopeIndentUnitTest.3.inc +34 -0
  822. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/WhiteSpace/ScopeIndentUnitTest.3.inc.fixed +34 -0
  823. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/WhiteSpace/ScopeIndentUnitTest.4.inc +6 -0
  824. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/WhiteSpace/ScopeIndentUnitTest.php +220 -0
  825. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/WhiteSpace/SpreadOperatorSpacingAfterUnitTest.1.inc +78 -0
  826. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/WhiteSpace/SpreadOperatorSpacingAfterUnitTest.1.inc.fixed +73 -0
  827. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/WhiteSpace/SpreadOperatorSpacingAfterUnitTest.2.inc +4 -0
  828. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/WhiteSpace/SpreadOperatorSpacingAfterUnitTest.php +72 -0
  829. package/vendor/squizlabs/php_codesniffer/src/Standards/Generic/ruleset.xml +4 -0
  830. package/vendor/squizlabs/php_codesniffer/src/Standards/MySource/Sniffs/CSS/BrowserSpecificStylesSniff.php +89 -0
  831. package/vendor/squizlabs/php_codesniffer/src/Standards/MySource/Sniffs/Channels/DisallowSelfActionsSniff.php +127 -0
  832. package/vendor/squizlabs/php_codesniffer/src/Standards/MySource/Sniffs/Channels/IncludeOwnSystemSniff.php +100 -0
  833. package/vendor/squizlabs/php_codesniffer/src/Standards/MySource/Sniffs/Channels/IncludeSystemSniff.php +316 -0
  834. package/vendor/squizlabs/php_codesniffer/src/Standards/MySource/Sniffs/Channels/UnusedSystemSniff.php +143 -0
  835. package/vendor/squizlabs/php_codesniffer/src/Standards/MySource/Sniffs/Commenting/FunctionCommentSniff.php +86 -0
  836. package/vendor/squizlabs/php_codesniffer/src/Standards/MySource/Sniffs/Debug/DebugCodeSniff.php +57 -0
  837. package/vendor/squizlabs/php_codesniffer/src/Standards/MySource/Sniffs/Debug/FirebugConsoleSniff.php +66 -0
  838. package/vendor/squizlabs/php_codesniffer/src/Standards/MySource/Sniffs/Objects/AssignThisSniff.php +83 -0
  839. package/vendor/squizlabs/php_codesniffer/src/Standards/MySource/Sniffs/Objects/CreateWidgetTypeCallbackSniff.php +220 -0
  840. package/vendor/squizlabs/php_codesniffer/src/Standards/MySource/Sniffs/Objects/DisallowNewWidgetSniff.php +61 -0
  841. package/vendor/squizlabs/php_codesniffer/src/Standards/MySource/Sniffs/PHP/AjaxNullComparisonSniff.php +105 -0
  842. package/vendor/squizlabs/php_codesniffer/src/Standards/MySource/Sniffs/PHP/EvalObjectFactorySniff.php +116 -0
  843. package/vendor/squizlabs/php_codesniffer/src/Standards/MySource/Sniffs/PHP/GetRequestDataSniff.php +108 -0
  844. package/vendor/squizlabs/php_codesniffer/src/Standards/MySource/Sniffs/PHP/ReturnFunctionValueSniff.php +65 -0
  845. package/vendor/squizlabs/php_codesniffer/src/Standards/MySource/Sniffs/Strings/JoinStringsSniff.php +78 -0
  846. package/vendor/squizlabs/php_codesniffer/src/Standards/MySource/Tests/CSS/BrowserSpecificStylesUnitTest.css +13 -0
  847. package/vendor/squizlabs/php_codesniffer/src/Standards/MySource/Tests/CSS/BrowserSpecificStylesUnitTest.php +53 -0
  848. package/vendor/squizlabs/php_codesniffer/src/Standards/MySource/Tests/Channels/DisallowSelfActionsUnitTest.inc +51 -0
  849. package/vendor/squizlabs/php_codesniffer/src/Standards/MySource/Tests/Channels/DisallowSelfActionsUnitTest.php +58 -0
  850. package/vendor/squizlabs/php_codesniffer/src/Standards/MySource/Tests/Channels/IncludeSystemUnitTest.inc +112 -0
  851. package/vendor/squizlabs/php_codesniffer/src/Standards/MySource/Tests/Channels/IncludeSystemUnitTest.php +65 -0
  852. package/vendor/squizlabs/php_codesniffer/src/Standards/MySource/Tests/Channels/UnusedSystemUnitTest.inc +67 -0
  853. package/vendor/squizlabs/php_codesniffer/src/Standards/MySource/Tests/Channels/UnusedSystemUnitTest.php +60 -0
  854. package/vendor/squizlabs/php_codesniffer/src/Standards/MySource/Tests/Commenting/FunctionCommentUnitTest.inc +101 -0
  855. package/vendor/squizlabs/php_codesniffer/src/Standards/MySource/Tests/Commenting/FunctionCommentUnitTest.php +59 -0
  856. package/vendor/squizlabs/php_codesniffer/src/Standards/MySource/Tests/Debug/DebugCodeUnitTest.inc +4 -0
  857. package/vendor/squizlabs/php_codesniffer/src/Standards/MySource/Tests/Debug/DebugCodeUnitTest.php +56 -0
  858. package/vendor/squizlabs/php_codesniffer/src/Standards/MySource/Tests/Debug/FirebugConsoleUnitTest.js +8 -0
  859. package/vendor/squizlabs/php_codesniffer/src/Standards/MySource/Tests/Debug/FirebugConsoleUnitTest.php +66 -0
  860. package/vendor/squizlabs/php_codesniffer/src/Standards/MySource/Tests/Objects/AssignThisUnitTest.js +20 -0
  861. package/vendor/squizlabs/php_codesniffer/src/Standards/MySource/Tests/Objects/AssignThisUnitTest.php +63 -0
  862. package/vendor/squizlabs/php_codesniffer/src/Standards/MySource/Tests/Objects/CreateWidgetTypeCallbackUnitTest.js +186 -0
  863. package/vendor/squizlabs/php_codesniffer/src/Standards/MySource/Tests/Objects/CreateWidgetTypeCallbackUnitTest.php +62 -0
  864. package/vendor/squizlabs/php_codesniffer/src/Standards/MySource/Tests/Objects/DisallowNewWidgetUnitTest.inc +6 -0
  865. package/vendor/squizlabs/php_codesniffer/src/Standards/MySource/Tests/Objects/DisallowNewWidgetUnitTest.php +53 -0
  866. package/vendor/squizlabs/php_codesniffer/src/Standards/MySource/Tests/PHP/AjaxNullComparisonUnitTest.inc +182 -0
  867. package/vendor/squizlabs/php_codesniffer/src/Standards/MySource/Tests/PHP/AjaxNullComparisonUnitTest.php +60 -0
  868. package/vendor/squizlabs/php_codesniffer/src/Standards/MySource/Tests/PHP/EvalObjectFactoryUnitTest.inc +26 -0
  869. package/vendor/squizlabs/php_codesniffer/src/Standards/MySource/Tests/PHP/EvalObjectFactoryUnitTest.php +57 -0
  870. package/vendor/squizlabs/php_codesniffer/src/Standards/MySource/Tests/PHP/GetRequestDataUnitTest.inc +30 -0
  871. package/vendor/squizlabs/php_codesniffer/src/Standards/MySource/Tests/PHP/GetRequestDataUnitTest.php +61 -0
  872. package/vendor/squizlabs/php_codesniffer/src/Standards/MySource/Tests/PHP/ReturnFunctionValueUnitTest.inc +9 -0
  873. package/vendor/squizlabs/php_codesniffer/src/Standards/MySource/Tests/PHP/ReturnFunctionValueUnitTest.php +57 -0
  874. package/vendor/squizlabs/php_codesniffer/src/Standards/MySource/Tests/Strings/JoinStringsUnitTest.js +18 -0
  875. package/vendor/squizlabs/php_codesniffer/src/Standards/MySource/Tests/Strings/JoinStringsUnitTest.php +67 -0
  876. package/vendor/squizlabs/php_codesniffer/src/Standards/MySource/ruleset.xml +18 -0
  877. package/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Docs/Classes/ClassDeclarationStandard.xml +22 -0
  878. package/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Docs/Commenting/ClassCommentStandard.xml +177 -0
  879. package/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Docs/Commenting/FileCommentStandard.xml +293 -0
  880. package/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Docs/Commenting/FunctionCommentStandard.xml +230 -0
  881. package/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Docs/Commenting/InlineCommentStandard.xml +19 -0
  882. package/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Docs/ControlStructures/ControlSignatureStandard.xml +36 -0
  883. package/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Docs/ControlStructures/MultiLineConditionStandard.xml +60 -0
  884. package/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Docs/Files/IncludingFileStandard.xml +24 -0
  885. package/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Docs/Files/LineLengthStandard.xml +7 -0
  886. package/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Docs/Formatting/MultiLineAssignmentStandard.xml +35 -0
  887. package/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Docs/Functions/FunctionCallSignatureStandard.xml +19 -0
  888. package/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Docs/Functions/FunctionDeclarationStandard.xml +41 -0
  889. package/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Docs/Functions/ValidDefaultValueStandard.xml +25 -0
  890. package/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Docs/NamingConventions/ValidClassNameStandard.xml +23 -0
  891. package/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Docs/NamingConventions/ValidFunctionNameStandard.xml +23 -0
  892. package/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Docs/NamingConventions/ValidVariableNameStandard.xml +29 -0
  893. package/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Docs/WhiteSpace/ObjectOperatorIndentStandard.xml +39 -0
  894. package/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Docs/WhiteSpace/ScopeClosingBraceStandard.xml +23 -0
  895. package/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Docs/WhiteSpace/ScopeIndentStandard.xml +29 -0
  896. package/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Sniffs/Classes/ClassDeclarationSniff.php +150 -0
  897. package/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Sniffs/Commenting/ClassCommentSniff.php +122 -0
  898. package/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Sniffs/Commenting/FileCommentSniff.php +583 -0
  899. package/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Sniffs/Commenting/FunctionCommentSniff.php +539 -0
  900. package/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Sniffs/Commenting/InlineCommentSniff.php +68 -0
  901. package/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Sniffs/ControlStructures/ControlSignatureSniff.php +48 -0
  902. package/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Sniffs/ControlStructures/MultiLineConditionSniff.php +283 -0
  903. package/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Sniffs/Files/IncludingFileSniff.php +136 -0
  904. package/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Sniffs/Formatting/MultiLineAssignmentSniff.php +106 -0
  905. package/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Sniffs/Functions/FunctionCallSignatureSniff.php +634 -0
  906. package/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Sniffs/Functions/FunctionDeclarationSniff.php +549 -0
  907. package/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Sniffs/Functions/ValidDefaultValueSniff.php +78 -0
  908. package/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Sniffs/NamingConventions/ValidClassNameSniff.php +98 -0
  909. package/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Sniffs/NamingConventions/ValidFunctionNameSniff.php +284 -0
  910. package/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Sniffs/NamingConventions/ValidVariableNameSniff.php +103 -0
  911. package/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Sniffs/WhiteSpace/ObjectOperatorIndentSniff.php +204 -0
  912. package/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Sniffs/WhiteSpace/ScopeClosingBraceSniff.php +182 -0
  913. package/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Sniffs/WhiteSpace/ScopeIndentSniff.php +24 -0
  914. package/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Tests/Classes/ClassDeclarationUnitTest.1.inc +114 -0
  915. package/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Tests/Classes/ClassDeclarationUnitTest.1.inc.fixed +125 -0
  916. package/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Tests/Classes/ClassDeclarationUnitTest.2.inc +11 -0
  917. package/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Tests/Classes/ClassDeclarationUnitTest.php +100 -0
  918. package/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Tests/Commenting/ClassCommentUnitTest.inc +163 -0
  919. package/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Tests/Commenting/ClassCommentUnitTest.php +78 -0
  920. package/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Tests/Commenting/FileCommentUnitTest.1.inc +53 -0
  921. package/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Tests/Commenting/FileCommentUnitTest.2.inc +9 -0
  922. package/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Tests/Commenting/FileCommentUnitTest.3.inc +8 -0
  923. package/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Tests/Commenting/FileCommentUnitTest.4.inc +7 -0
  924. package/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Tests/Commenting/FileCommentUnitTest.php +95 -0
  925. package/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Tests/Commenting/FunctionCommentUnitTest.inc +512 -0
  926. package/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Tests/Commenting/FunctionCommentUnitTest.inc.fixed +491 -0
  927. package/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Tests/Commenting/FunctionCommentUnitTest.php +103 -0
  928. package/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Tests/Commenting/InlineCommentUnitTest.inc +29 -0
  929. package/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Tests/Commenting/InlineCommentUnitTest.inc.fixed +29 -0
  930. package/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Tests/Commenting/InlineCommentUnitTest.php +60 -0
  931. package/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Tests/ControlStructures/ControlSignatureUnitTest.inc +165 -0
  932. package/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Tests/ControlStructures/ControlSignatureUnitTest.php +77 -0
  933. package/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Tests/ControlStructures/MultiLineConditionUnitTest.inc +251 -0
  934. package/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Tests/ControlStructures/MultiLineConditionUnitTest.inc.fixed +247 -0
  935. package/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Tests/ControlStructures/MultiLineConditionUnitTest.js +251 -0
  936. package/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Tests/ControlStructures/MultiLineConditionUnitTest.js.fixed +247 -0
  937. package/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Tests/ControlStructures/MultiLineConditionUnitTest.php +96 -0
  938. package/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Tests/Files/IncludingFileUnitTest.inc +99 -0
  939. package/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Tests/Files/IncludingFileUnitTest.inc.fixed +99 -0
  940. package/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Tests/Files/IncludingFileUnitTest.php +72 -0
  941. package/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Tests/Formatting/MultiLineAssignmentUnitTest.inc +22 -0
  942. package/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Tests/Formatting/MultiLineAssignmentUnitTest.php +57 -0
  943. package/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Tests/Functions/FunctionCallSignatureUnitTest.inc +576 -0
  944. package/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Tests/Functions/FunctionCallSignatureUnitTest.inc.fixed +591 -0
  945. package/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Tests/Functions/FunctionCallSignatureUnitTest.js +80 -0
  946. package/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Tests/Functions/FunctionCallSignatureUnitTest.js.fixed +84 -0
  947. package/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Tests/Functions/FunctionCallSignatureUnitTest.php +164 -0
  948. package/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Tests/Functions/FunctionDeclarationUnitTest.1.inc +490 -0
  949. package/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Tests/Functions/FunctionDeclarationUnitTest.1.inc.fixed +487 -0
  950. package/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Tests/Functions/FunctionDeclarationUnitTest.2.inc +7 -0
  951. package/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Tests/Functions/FunctionDeclarationUnitTest.js +59 -0
  952. package/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Tests/Functions/FunctionDeclarationUnitTest.js.fixed +60 -0
  953. package/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Tests/Functions/FunctionDeclarationUnitTest.php +149 -0
  954. package/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Tests/Functions/ValidDefaultValueUnitTest.1.inc +116 -0
  955. package/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Tests/Functions/ValidDefaultValueUnitTest.2.inc +7 -0
  956. package/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Tests/Functions/ValidDefaultValueUnitTest.php +73 -0
  957. package/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Tests/NamingConventions/ValidClassNameUnitTest.inc +90 -0
  958. package/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Tests/NamingConventions/ValidClassNameUnitTest.php +78 -0
  959. package/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Tests/NamingConventions/ValidFunctionNameUnitTest.inc +243 -0
  960. package/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Tests/NamingConventions/ValidFunctionNameUnitTest.php +154 -0
  961. package/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Tests/NamingConventions/ValidVariableNameUnitTest.inc +101 -0
  962. package/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Tests/NamingConventions/ValidVariableNameUnitTest.php +61 -0
  963. package/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Tests/WhiteSpace/ObjectOperatorIndentUnitTest.inc +142 -0
  964. package/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Tests/WhiteSpace/ObjectOperatorIndentUnitTest.inc.fixed +142 -0
  965. package/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Tests/WhiteSpace/ObjectOperatorIndentUnitTest.php +79 -0
  966. package/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Tests/WhiteSpace/ScopeClosingBraceUnitTest.inc +170 -0
  967. package/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Tests/WhiteSpace/ScopeClosingBraceUnitTest.inc.fixed +177 -0
  968. package/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Tests/WhiteSpace/ScopeClosingBraceUnitTest.php +73 -0
  969. package/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Tests/WhiteSpace/ScopeIndentUnitTest.inc +314 -0
  970. package/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Tests/WhiteSpace/ScopeIndentUnitTest.inc.fixed +314 -0
  971. package/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Tests/WhiteSpace/ScopeIndentUnitTest.php +71 -0
  972. package/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/ruleset.xml +41 -0
  973. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR1/Docs/Classes/ClassDeclarationStandard.xml +48 -0
  974. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR1/Docs/Files/SideEffectsStandard.xml +27 -0
  975. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR1/Docs/Methods/CamelCapsMethodNameStandard.xml +29 -0
  976. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR1/Sniffs/Classes/ClassDeclarationSniff.php +75 -0
  977. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR1/Sniffs/Files/SideEffectsSniff.php +303 -0
  978. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR1/Sniffs/Methods/CamelCapsMethodNameSniff.php +91 -0
  979. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR1/Tests/Classes/ClassDeclarationUnitTest.1.inc +3 -0
  980. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR1/Tests/Classes/ClassDeclarationUnitTest.2.inc +4 -0
  981. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR1/Tests/Classes/ClassDeclarationUnitTest.3.inc +3 -0
  982. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR1/Tests/Classes/ClassDeclarationUnitTest.php +62 -0
  983. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR1/Tests/Files/SideEffectsUnitTest.1.inc +87 -0
  984. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR1/Tests/Files/SideEffectsUnitTest.10.inc +8 -0
  985. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR1/Tests/Files/SideEffectsUnitTest.11.inc +11 -0
  986. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR1/Tests/Files/SideEffectsUnitTest.12.inc +8 -0
  987. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR1/Tests/Files/SideEffectsUnitTest.13.inc +2 -0
  988. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR1/Tests/Files/SideEffectsUnitTest.14.inc +2 -0
  989. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR1/Tests/Files/SideEffectsUnitTest.15.inc +2 -0
  990. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR1/Tests/Files/SideEffectsUnitTest.16.inc +2 -0
  991. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR1/Tests/Files/SideEffectsUnitTest.17.inc +8 -0
  992. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR1/Tests/Files/SideEffectsUnitTest.2.inc +24 -0
  993. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR1/Tests/Files/SideEffectsUnitTest.3.inc +6 -0
  994. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR1/Tests/Files/SideEffectsUnitTest.4.inc +10 -0
  995. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR1/Tests/Files/SideEffectsUnitTest.5.inc +2 -0
  996. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR1/Tests/Files/SideEffectsUnitTest.6.inc +9 -0
  997. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR1/Tests/Files/SideEffectsUnitTest.7.inc +8 -0
  998. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR1/Tests/Files/SideEffectsUnitTest.8.inc +8 -0
  999. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR1/Tests/Files/SideEffectsUnitTest.9.inc +8 -0
  1000. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR1/Tests/Files/SideEffectsUnitTest.php +85 -0
  1001. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR1/Tests/Methods/CamelCapsMethodNameUnitTest.inc +81 -0
  1002. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR1/Tests/Methods/CamelCapsMethodNameUnitTest.php +64 -0
  1003. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR1/ruleset.xml +47 -0
  1004. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Docs/Classes/ClassInstantiationStandard.xml +19 -0
  1005. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Docs/Classes/ClosingBraceStandard.xml +35 -0
  1006. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Docs/Classes/OpeningBraceSpaceStandard.xml +32 -0
  1007. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Docs/ControlStructures/BooleanOperatorPlacementStandard.xml +59 -0
  1008. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Docs/ControlStructures/ControlStructureSpacingStandard.xml +124 -0
  1009. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Docs/Files/ImportStatementStandard.xml +33 -0
  1010. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Docs/Files/OpenTagStandard.xml +40 -0
  1011. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Docs/Functions/NullableTypeDeclarationStandard.xml +45 -0
  1012. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Docs/Functions/ReturnTypeDeclarationStandard.xml +41 -0
  1013. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Docs/Keywords/ShortFormTypeKeywordsStandard.xml +19 -0
  1014. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Docs/Namespaces/CompoundNamespaceDepthStandard.xml +28 -0
  1015. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Docs/Operators/OperatorSpacingStandard.xml +27 -0
  1016. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Docs/Properties/ConstantVisibilityStandard.xml +27 -0
  1017. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Sniffs/Classes/AnonClassDeclarationSniff.php +246 -0
  1018. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Sniffs/Classes/ClassInstantiationSniff.php +112 -0
  1019. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Sniffs/Classes/ClosingBraceSniff.php +67 -0
  1020. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Sniffs/Classes/OpeningBraceSpaceSniff.php +80 -0
  1021. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Sniffs/ControlStructures/BooleanOperatorPlacementSniff.php +229 -0
  1022. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Sniffs/ControlStructures/ControlStructureSpacingSniff.php +219 -0
  1023. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Sniffs/Files/DeclareStatementSniff.php +262 -0
  1024. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Sniffs/Files/FileHeaderSniff.php +429 -0
  1025. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Sniffs/Files/ImportStatementSniff.php +77 -0
  1026. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Sniffs/Files/OpenTagSniff.php +76 -0
  1027. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Sniffs/Functions/NullableTypeDeclarationSniff.php +94 -0
  1028. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Sniffs/Functions/ReturnTypeDeclarationSniff.php +110 -0
  1029. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Sniffs/Keywords/ShortFormTypeKeywordsSniff.php +75 -0
  1030. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Sniffs/Namespaces/CompoundNamespaceDepthSniff.php +80 -0
  1031. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Sniffs/Operators/OperatorSpacingSniff.php +128 -0
  1032. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Sniffs/Properties/ConstantVisibilitySniff.php +64 -0
  1033. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Sniffs/Traits/UseDeclarationSniff.php +700 -0
  1034. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Tests/Classes/AnonClassDeclarationUnitTest.inc +96 -0
  1035. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Tests/Classes/AnonClassDeclarationUnitTest.inc.fixed +98 -0
  1036. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Tests/Classes/AnonClassDeclarationUnitTest.php +80 -0
  1037. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Tests/Classes/ClassInstantiationUnitTest.inc +51 -0
  1038. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Tests/Classes/ClassInstantiationUnitTest.inc.fixed +51 -0
  1039. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Tests/Classes/ClassInstantiationUnitTest.php +72 -0
  1040. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Tests/Classes/ClosingBraceUnitTest.inc +52 -0
  1041. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Tests/Classes/ClosingBraceUnitTest.php +60 -0
  1042. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Tests/Classes/OpeningBraceSpaceUnitTest.inc +57 -0
  1043. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Tests/Classes/OpeningBraceSpaceUnitTest.inc.fixed +48 -0
  1044. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Tests/Classes/OpeningBraceSpaceUnitTest.php +60 -0
  1045. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Tests/ControlStructures/BooleanOperatorPlacementUnitTest.inc +131 -0
  1046. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Tests/ControlStructures/BooleanOperatorPlacementUnitTest.inc.fixed +141 -0
  1047. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Tests/ControlStructures/BooleanOperatorPlacementUnitTest.php +64 -0
  1048. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Tests/ControlStructures/ControlStructureSpacingUnitTest.inc +133 -0
  1049. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Tests/ControlStructures/ControlStructureSpacingUnitTest.inc.fixed +131 -0
  1050. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Tests/ControlStructures/ControlStructureSpacingUnitTest.php +77 -0
  1051. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Tests/Files/DeclareStatementUnitTest.1.inc +50 -0
  1052. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Tests/Files/DeclareStatementUnitTest.1.inc.fixed +54 -0
  1053. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Tests/Files/DeclareStatementUnitTest.2.inc +3 -0
  1054. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Tests/Files/DeclareStatementUnitTest.php +84 -0
  1055. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Tests/Files/FileHeaderUnitTest.1.inc +29 -0
  1056. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Tests/Files/FileHeaderUnitTest.10.inc +4 -0
  1057. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Tests/Files/FileHeaderUnitTest.10.inc.fixed +5 -0
  1058. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Tests/Files/FileHeaderUnitTest.11.inc +21 -0
  1059. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Tests/Files/FileHeaderUnitTest.11.inc.fixed +22 -0
  1060. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Tests/Files/FileHeaderUnitTest.12.inc +17 -0
  1061. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Tests/Files/FileHeaderUnitTest.12.inc.fixed +18 -0
  1062. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Tests/Files/FileHeaderUnitTest.13.inc +24 -0
  1063. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Tests/Files/FileHeaderUnitTest.14.inc +7 -0
  1064. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Tests/Files/FileHeaderUnitTest.15.inc +5 -0
  1065. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Tests/Files/FileHeaderUnitTest.16.inc +13 -0
  1066. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Tests/Files/FileHeaderUnitTest.17.inc +13 -0
  1067. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Tests/Files/FileHeaderUnitTest.18.inc +16 -0
  1068. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Tests/Files/FileHeaderUnitTest.2.inc +33 -0
  1069. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Tests/Files/FileHeaderUnitTest.2.inc.fixed +29 -0
  1070. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Tests/Files/FileHeaderUnitTest.3.inc +27 -0
  1071. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Tests/Files/FileHeaderUnitTest.4.inc +15 -0
  1072. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Tests/Files/FileHeaderUnitTest.4.inc.fixed +19 -0
  1073. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Tests/Files/FileHeaderUnitTest.5.inc +18 -0
  1074. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Tests/Files/FileHeaderUnitTest.6.inc +13 -0
  1075. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Tests/Files/FileHeaderUnitTest.7.inc +2 -0
  1076. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Tests/Files/FileHeaderUnitTest.7.inc.fixed +3 -0
  1077. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Tests/Files/FileHeaderUnitTest.8.inc +5 -0
  1078. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Tests/Files/FileHeaderUnitTest.9.inc +7 -0
  1079. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Tests/Files/FileHeaderUnitTest.php +87 -0
  1080. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Tests/Files/ImportStatementUnitTest.inc +26 -0
  1081. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Tests/Files/ImportStatementUnitTest.inc.fixed +26 -0
  1082. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Tests/Files/ImportStatementUnitTest.php +57 -0
  1083. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Tests/Files/OpenTagUnitTest.1.inc +3 -0
  1084. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Tests/Files/OpenTagUnitTest.2.inc +1 -0
  1085. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Tests/Files/OpenTagUnitTest.2.inc.fixed +2 -0
  1086. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Tests/Files/OpenTagUnitTest.3.inc +3 -0
  1087. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Tests/Files/OpenTagUnitTest.4.inc +2 -0
  1088. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Tests/Files/OpenTagUnitTest.5.inc +1 -0
  1089. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Tests/Files/OpenTagUnitTest.php +60 -0
  1090. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Tests/Functions/NullableTypeDeclarationUnitTest.inc +95 -0
  1091. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Tests/Functions/NullableTypeDeclarationUnitTest.inc.fixed +92 -0
  1092. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Tests/Functions/NullableTypeDeclarationUnitTest.php +72 -0
  1093. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Tests/Functions/ReturnTypeDeclarationUnitTest.inc +66 -0
  1094. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Tests/Functions/ReturnTypeDeclarationUnitTest.inc.fixed +62 -0
  1095. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Tests/Functions/ReturnTypeDeclarationUnitTest.php +66 -0
  1096. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Tests/Keywords/ShortFormTypeKeywordsUnitTest.inc +14 -0
  1097. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Tests/Keywords/ShortFormTypeKeywordsUnitTest.inc.fixed +14 -0
  1098. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Tests/Keywords/ShortFormTypeKeywordsUnitTest.php +59 -0
  1099. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Tests/Namespaces/CompoundNamespaceDepthUnitTest.inc +31 -0
  1100. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Tests/Namespaces/CompoundNamespaceDepthUnitTest.php +57 -0
  1101. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Tests/Operators/OperatorSpacingUnitTest.1.inc +79 -0
  1102. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Tests/Operators/OperatorSpacingUnitTest.1.inc.fixed +79 -0
  1103. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Tests/Operators/OperatorSpacingUnitTest.2.inc +3 -0
  1104. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Tests/Operators/OperatorSpacingUnitTest.3.inc +6 -0
  1105. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Tests/Operators/OperatorSpacingUnitTest.php +81 -0
  1106. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Tests/Properties/ConstantVisibilityUnitTest.inc +22 -0
  1107. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Tests/Properties/ConstantVisibilityUnitTest.php +57 -0
  1108. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Tests/Traits/UseDeclarationUnitTest.inc +221 -0
  1109. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Tests/Traits/UseDeclarationUnitTest.inc.fixed +213 -0
  1110. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Tests/Traits/UseDeclarationUnitTest.php +76 -0
  1111. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR12/ruleset.xml +348 -0
  1112. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Docs/Classes/ClassDeclarationStandard.xml +23 -0
  1113. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Docs/Classes/PropertyDeclarationStandard.xml +81 -0
  1114. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Docs/ControlStructures/ControlStructureSpacingStandard.xml +23 -0
  1115. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Docs/ControlStructures/ElseIfDeclarationStandard.xml +27 -0
  1116. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Docs/ControlStructures/SwitchDeclarationStandard.xml +104 -0
  1117. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Docs/Files/ClosingTagStandard.xml +23 -0
  1118. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Docs/Files/EndFileNewlineStandard.xml +7 -0
  1119. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Docs/Methods/FunctionCallSignatureStandard.xml +107 -0
  1120. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Docs/Methods/FunctionClosingBraceStandard.xml +26 -0
  1121. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Docs/Methods/MethodDeclarationStandard.xml +51 -0
  1122. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Docs/Namespaces/NamespaceDeclarationStandard.xml +22 -0
  1123. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Docs/Namespaces/UseDeclarationStandard.xml +57 -0
  1124. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Sniffs/Classes/ClassDeclarationSniff.php +540 -0
  1125. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Sniffs/Classes/PropertyDeclarationSniff.php +226 -0
  1126. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Sniffs/ControlStructures/ControlStructureSpacingSniff.php +141 -0
  1127. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Sniffs/ControlStructures/ElseIfDeclarationSniff.php +72 -0
  1128. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Sniffs/ControlStructures/SwitchDeclarationSniff.php +396 -0
  1129. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Sniffs/Files/ClosingTagSniff.php +89 -0
  1130. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Sniffs/Files/EndFileNewlineSniff.php +107 -0
  1131. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Sniffs/Methods/FunctionCallSignatureSniff.php +79 -0
  1132. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Sniffs/Methods/FunctionClosingBraceSniff.php +91 -0
  1133. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Sniffs/Methods/MethodDeclarationSniff.php +162 -0
  1134. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Sniffs/Namespaces/NamespaceDeclarationSniff.php +100 -0
  1135. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Sniffs/Namespaces/UseDeclarationSniff.php +297 -0
  1136. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Tests/Classes/ClassDeclarationUnitTest.inc +346 -0
  1137. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Tests/Classes/ClassDeclarationUnitTest.inc.fixed +335 -0
  1138. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Tests/Classes/ClassDeclarationUnitTest.php +103 -0
  1139. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Tests/Classes/PropertyDeclarationUnitTest.inc +87 -0
  1140. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Tests/Classes/PropertyDeclarationUnitTest.inc.fixed +84 -0
  1141. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Tests/Classes/PropertyDeclarationUnitTest.php +84 -0
  1142. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Tests/ControlStructures/ControlStructureSpacingUnitTest.inc +81 -0
  1143. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Tests/ControlStructures/ControlStructureSpacingUnitTest.inc.fixed +80 -0
  1144. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Tests/ControlStructures/ControlStructureSpacingUnitTest.php +67 -0
  1145. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Tests/ControlStructures/ElseIfDeclarationUnitTest.inc +17 -0
  1146. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Tests/ControlStructures/ElseIfDeclarationUnitTest.inc.fixed +17 -0
  1147. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Tests/ControlStructures/ElseIfDeclarationUnitTest.php +56 -0
  1148. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Tests/ControlStructures/SwitchDeclarationUnitTest.inc +598 -0
  1149. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Tests/ControlStructures/SwitchDeclarationUnitTest.inc.fixed +593 -0
  1150. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Tests/ControlStructures/SwitchDeclarationUnitTest.php +86 -0
  1151. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Tests/Files/ClosingTagUnitTest.1.inc +12 -0
  1152. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Tests/Files/ClosingTagUnitTest.1.inc.fixed +12 -0
  1153. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Tests/Files/ClosingTagUnitTest.2.inc +3 -0
  1154. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Tests/Files/ClosingTagUnitTest.3.inc +7 -0
  1155. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Tests/Files/ClosingTagUnitTest.4.inc +1 -0
  1156. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Tests/Files/ClosingTagUnitTest.4.inc.fixed +1 -0
  1157. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Tests/Files/ClosingTagUnitTest.5.inc +1 -0
  1158. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Tests/Files/ClosingTagUnitTest.5.inc.fixed +1 -0
  1159. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Tests/Files/ClosingTagUnitTest.6.inc +5 -0
  1160. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Tests/Files/ClosingTagUnitTest.6.inc.fixed +5 -0
  1161. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Tests/Files/ClosingTagUnitTest.7.inc +5 -0
  1162. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Tests/Files/ClosingTagUnitTest.7.inc.fixed +5 -0
  1163. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Tests/Files/ClosingTagUnitTest.php +69 -0
  1164. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Tests/Files/EndFileNewlineUnitTest.1.inc +3 -0
  1165. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Tests/Files/EndFileNewlineUnitTest.1.inc.fixed +2 -0
  1166. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Tests/Files/EndFileNewlineUnitTest.10.inc +3 -0
  1167. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Tests/Files/EndFileNewlineUnitTest.10.inc.fixed +2 -0
  1168. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Tests/Files/EndFileNewlineUnitTest.11.inc +1 -0
  1169. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Tests/Files/EndFileNewlineUnitTest.11.inc.fixed +1 -0
  1170. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Tests/Files/EndFileNewlineUnitTest.12.inc +1 -0
  1171. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Tests/Files/EndFileNewlineUnitTest.12.inc.fixed +1 -0
  1172. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Tests/Files/EndFileNewlineUnitTest.13.inc +5 -0
  1173. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Tests/Files/EndFileNewlineUnitTest.13.inc.fixed +1 -0
  1174. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Tests/Files/EndFileNewlineUnitTest.14.inc +1 -0
  1175. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Tests/Files/EndFileNewlineUnitTest.2.inc +2 -0
  1176. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Tests/Files/EndFileNewlineUnitTest.3.inc +2 -0
  1177. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Tests/Files/EndFileNewlineUnitTest.3.inc.fixed +2 -0
  1178. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Tests/Files/EndFileNewlineUnitTest.4.inc +4 -0
  1179. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Tests/Files/EndFileNewlineUnitTest.5.inc +6 -0
  1180. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Tests/Files/EndFileNewlineUnitTest.6.inc +2 -0
  1181. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Tests/Files/EndFileNewlineUnitTest.6.inc.fixed +2 -0
  1182. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Tests/Files/EndFileNewlineUnitTest.7.inc +11 -0
  1183. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Tests/Files/EndFileNewlineUnitTest.7.inc.fixed +2 -0
  1184. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Tests/Files/EndFileNewlineUnitTest.8.inc +2 -0
  1185. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Tests/Files/EndFileNewlineUnitTest.9.inc +2 -0
  1186. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Tests/Files/EndFileNewlineUnitTest.9.inc.fixed +2 -0
  1187. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Tests/Files/EndFileNewlineUnitTest.php +71 -0
  1188. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Tests/Methods/FunctionCallSignatureUnitTest.inc +267 -0
  1189. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Tests/Methods/FunctionCallSignatureUnitTest.inc.fixed +283 -0
  1190. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Tests/Methods/FunctionCallSignatureUnitTest.php +99 -0
  1191. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Tests/Methods/FunctionClosingBraceUnitTest.inc +70 -0
  1192. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Tests/Methods/FunctionClosingBraceUnitTest.inc.fixed +61 -0
  1193. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Tests/Methods/FunctionClosingBraceUnitTest.php +60 -0
  1194. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Tests/Methods/MethodDeclarationUnitTest.inc +75 -0
  1195. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Tests/Methods/MethodDeclarationUnitTest.inc.fixed +75 -0
  1196. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Tests/Methods/MethodDeclarationUnitTest.php +76 -0
  1197. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Tests/Namespaces/NamespaceDeclarationUnitTest.inc +26 -0
  1198. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Tests/Namespaces/NamespaceDeclarationUnitTest.inc.fixed +28 -0
  1199. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Tests/Namespaces/NamespaceDeclarationUnitTest.php +58 -0
  1200. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Tests/Namespaces/UseDeclarationUnitTest.1.inc +40 -0
  1201. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Tests/Namespaces/UseDeclarationUnitTest.10.inc +8 -0
  1202. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Tests/Namespaces/UseDeclarationUnitTest.10.inc.fixed +9 -0
  1203. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Tests/Namespaces/UseDeclarationUnitTest.11.inc +2 -0
  1204. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Tests/Namespaces/UseDeclarationUnitTest.11.inc.fixed +4 -0
  1205. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Tests/Namespaces/UseDeclarationUnitTest.12.inc +9 -0
  1206. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Tests/Namespaces/UseDeclarationUnitTest.12.inc.fixed +11 -0
  1207. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Tests/Namespaces/UseDeclarationUnitTest.13.inc +10 -0
  1208. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Tests/Namespaces/UseDeclarationUnitTest.13.inc.fixed +11 -0
  1209. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Tests/Namespaces/UseDeclarationUnitTest.14.inc +8 -0
  1210. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Tests/Namespaces/UseDeclarationUnitTest.14.inc.fixed +9 -0
  1211. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Tests/Namespaces/UseDeclarationUnitTest.15.inc +10 -0
  1212. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Tests/Namespaces/UseDeclarationUnitTest.16.inc +11 -0
  1213. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Tests/Namespaces/UseDeclarationUnitTest.16.inc.fixed +9 -0
  1214. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Tests/Namespaces/UseDeclarationUnitTest.17.inc +3 -0
  1215. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Tests/Namespaces/UseDeclarationUnitTest.18.inc +4 -0
  1216. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Tests/Namespaces/UseDeclarationUnitTest.2.inc +21 -0
  1217. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Tests/Namespaces/UseDeclarationUnitTest.2.inc.fixed +27 -0
  1218. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Tests/Namespaces/UseDeclarationUnitTest.3.inc +16 -0
  1219. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Tests/Namespaces/UseDeclarationUnitTest.3.inc.fixed +16 -0
  1220. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Tests/Namespaces/UseDeclarationUnitTest.4.inc +4 -0
  1221. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Tests/Namespaces/UseDeclarationUnitTest.5.inc +47 -0
  1222. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Tests/Namespaces/UseDeclarationUnitTest.5.inc.fixed +56 -0
  1223. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Tests/Namespaces/UseDeclarationUnitTest.6.inc +1 -0
  1224. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Tests/Namespaces/UseDeclarationUnitTest.7.inc +1 -0
  1225. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Tests/Namespaces/UseDeclarationUnitTest.8.inc +8 -0
  1226. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Tests/Namespaces/UseDeclarationUnitTest.9.inc +8 -0
  1227. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Tests/Namespaces/UseDeclarationUnitTest.php +102 -0
  1228. package/vendor/squizlabs/php_codesniffer/src/Standards/PSR2/ruleset.xml +218 -0
  1229. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Docs/Arrays/ArrayBracketSpacingStandard.xml +19 -0
  1230. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Docs/Arrays/ArrayDeclarationStandard.xml +117 -0
  1231. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Docs/Classes/LowercaseClassKeywordsStandard.xml +23 -0
  1232. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Docs/Classes/SelfMemberReferenceStandard.xml +63 -0
  1233. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Docs/Commenting/DocCommentAlignmentStandard.xml +39 -0
  1234. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Docs/Commenting/FunctionCommentThrowTagStandard.xml +32 -0
  1235. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Docs/ControlStructures/ForEachLoopDeclarationStandard.xml +39 -0
  1236. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Docs/ControlStructures/ForLoopDeclarationStandard.xml +55 -0
  1237. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Docs/ControlStructures/LowercaseDeclarationStandard.xml +23 -0
  1238. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Docs/Functions/LowercaseFunctionKeywordsStandard.xml +25 -0
  1239. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Docs/PHP/HeredocStandard.xml +32 -0
  1240. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Docs/Scope/StaticThisUsageStandard.xml +31 -0
  1241. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Docs/Strings/EchoedStringsStandard.xml +19 -0
  1242. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Docs/WhiteSpace/CastSpacingStandard.xml +19 -0
  1243. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Docs/WhiteSpace/FunctionClosingBraceSpaceStandard.xml +73 -0
  1244. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Docs/WhiteSpace/FunctionOpeningBraceStandard.xml +41 -0
  1245. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Docs/WhiteSpace/LanguageConstructSpacingStandard.xml +19 -0
  1246. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Docs/WhiteSpace/MemberVarSpacingStandard.xml +91 -0
  1247. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Docs/WhiteSpace/ObjectOperatorSpacingStandard.xml +19 -0
  1248. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Docs/WhiteSpace/ScopeClosingBraceStandard.xml +59 -0
  1249. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Docs/WhiteSpace/ScopeKeywordSpacingStandard.xml +23 -0
  1250. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Docs/WhiteSpace/SemicolonSpacingStandard.xml +19 -0
  1251. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Docs/WhiteSpace/SuperfluousWhitespaceStandard.xml +98 -0
  1252. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/Arrays/ArrayBracketSpacingSniff.php +95 -0
  1253. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/Arrays/ArrayDeclarationSniff.php +962 -0
  1254. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/CSS/ClassDefinitionClosingBraceSpaceSniff.php +136 -0
  1255. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/CSS/ClassDefinitionNameSpacingSniff.php +113 -0
  1256. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/CSS/ClassDefinitionOpeningBraceSpaceSniff.php +178 -0
  1257. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/CSS/ColonSpacingSniff.php +109 -0
  1258. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/CSS/ColourDefinitionSniff.php +90 -0
  1259. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/CSS/DisallowMultipleStyleDefinitionsSniff.php +73 -0
  1260. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/CSS/DuplicateClassDefinitionSniff.php +118 -0
  1261. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/CSS/DuplicateStyleDefinitionSniff.php +90 -0
  1262. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/CSS/EmptyClassDefinitionSniff.php +63 -0
  1263. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/CSS/EmptyStyleDefinitionSniff.php +66 -0
  1264. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/CSS/ForbiddenStylesSniff.php +179 -0
  1265. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/CSS/IndentationSniff.php +152 -0
  1266. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/CSS/LowercaseStyleDefinitionSniff.php +99 -0
  1267. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/CSS/MissingColonSniff.php +93 -0
  1268. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/CSS/NamedColoursSniff.php +95 -0
  1269. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/CSS/OpacitySniff.php +103 -0
  1270. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/CSS/SemicolonSpacingSniff.php +105 -0
  1271. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/CSS/ShorthandSizeSniff.php +183 -0
  1272. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/Classes/ClassDeclarationSniff.php +207 -0
  1273. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/Classes/ClassFileNameSniff.php +70 -0
  1274. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/Classes/DuplicatePropertySniff.php +84 -0
  1275. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/Classes/LowercaseClassKeywordsSniff.php +73 -0
  1276. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/Classes/SelfMemberReferenceSniff.php +248 -0
  1277. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/Classes/ValidClassNameSniff.php +87 -0
  1278. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/Commenting/BlockCommentSniff.php +401 -0
  1279. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/Commenting/ClassCommentSniff.php +109 -0
  1280. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/Commenting/ClosingDeclarationCommentSniff.php +130 -0
  1281. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/Commenting/DocCommentAlignmentSniff.php +167 -0
  1282. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/Commenting/EmptyCatchCommentSniff.php +55 -0
  1283. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/Commenting/FileCommentSniff.php +228 -0
  1284. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/Commenting/FunctionCommentSniff.php +800 -0
  1285. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/Commenting/FunctionCommentThrowTagSniff.php +233 -0
  1286. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/Commenting/InlineCommentSniff.php +349 -0
  1287. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/Commenting/LongConditionClosingCommentSniff.php +218 -0
  1288. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/Commenting/PostStatementCommentSniff.php +129 -0
  1289. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/Commenting/VariableCommentSniff.php +201 -0
  1290. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/ControlStructures/ControlSignatureSniff.php +337 -0
  1291. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/ControlStructures/ElseIfDeclarationSniff.php +51 -0
  1292. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/ControlStructures/ForEachLoopDeclarationSniff.php +236 -0
  1293. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/ControlStructures/ForLoopDeclarationSniff.php +316 -0
  1294. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/ControlStructures/InlineIfDeclarationSniff.php +155 -0
  1295. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/ControlStructures/LowercaseDeclarationSniff.php +75 -0
  1296. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/ControlStructures/SwitchDeclarationSniff.php +304 -0
  1297. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/Debug/JSLintSniff.php +88 -0
  1298. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/Debug/JavaScriptLintSniff.php +91 -0
  1299. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/Files/FileExtensionSniff.php +68 -0
  1300. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/Formatting/OperatorBracketSniff.php +402 -0
  1301. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/Functions/FunctionDeclarationArgumentSpacingSniff.php +479 -0
  1302. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/Functions/FunctionDeclarationSniff.php +34 -0
  1303. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/Functions/FunctionDuplicateArgumentSniff.php +64 -0
  1304. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/Functions/GlobalFunctionSniff.php +61 -0
  1305. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/Functions/LowercaseFunctionKeywordsSniff.php +69 -0
  1306. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/Functions/MultiLineFunctionDeclarationSniff.php +262 -0
  1307. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/NamingConventions/ValidFunctionNameSniff.php +54 -0
  1308. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/NamingConventions/ValidVariableNameSniff.php +190 -0
  1309. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/Objects/DisallowObjectStringIndexSniff.php +87 -0
  1310. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/Objects/ObjectInstantiationSniff.php +85 -0
  1311. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/Objects/ObjectMemberCommaSniff.php +66 -0
  1312. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/Operators/ComparisonOperatorUsageSniff.php +235 -0
  1313. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/Operators/IncrementDecrementUsageSniff.php +231 -0
  1314. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/Operators/ValidLogicalOperatorsSniff.php +67 -0
  1315. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/PHP/CommentedOutCodeSniff.php +283 -0
  1316. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/PHP/DisallowBooleanStatementSniff.php +59 -0
  1317. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/PHP/DisallowComparisonAssignmentSniff.php +112 -0
  1318. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/PHP/DisallowInlineIfSniff.php +57 -0
  1319. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/PHP/DisallowMultipleAssignmentsSniff.php +196 -0
  1320. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/PHP/DisallowSizeFunctionsInLoopsSniff.php +116 -0
  1321. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/PHP/DiscouragedFunctionsSniff.php +38 -0
  1322. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/PHP/EmbeddedPhpSniff.php +516 -0
  1323. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/PHP/EvalSniff.php +48 -0
  1324. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/PHP/GlobalKeywordSniff.php +53 -0
  1325. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/PHP/HeredocSniff.php +51 -0
  1326. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/PHP/InnerFunctionsSniff.php +76 -0
  1327. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/PHP/LowercasePHPFunctionsSniff.php +167 -0
  1328. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/PHP/NonExecutableCodeSniff.php +303 -0
  1329. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/Scope/MemberVarScopeSniff.php +77 -0
  1330. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/Scope/MethodScopeSniff.php +83 -0
  1331. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/Scope/StaticThisUsageSniff.php +128 -0
  1332. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/Strings/ConcatenationSpacingSniff.php +164 -0
  1333. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/Strings/DoubleQuoteUsageSniff.php +144 -0
  1334. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/Strings/EchoedStringsSniff.php +88 -0
  1335. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/WhiteSpace/CastSpacingSniff.php +65 -0
  1336. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/WhiteSpace/ControlStructureSpacingSniff.php +359 -0
  1337. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/WhiteSpace/FunctionClosingBraceSpaceSniff.php +164 -0
  1338. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/WhiteSpace/FunctionOpeningBraceSpaceSniff.php +98 -0
  1339. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/WhiteSpace/FunctionSpacingSniff.php +372 -0
  1340. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/WhiteSpace/LanguageConstructSpacingSniff.php +91 -0
  1341. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/WhiteSpace/LogicalOperatorSpacingSniff.php +102 -0
  1342. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/WhiteSpace/MemberVarSpacingSniff.php +252 -0
  1343. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/WhiteSpace/ObjectOperatorSpacingSniff.php +167 -0
  1344. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/WhiteSpace/OperatorSpacingSniff.php +409 -0
  1345. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/WhiteSpace/PropertyLabelSpacingSniff.php +81 -0
  1346. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/WhiteSpace/ScopeClosingBraceSniff.php +114 -0
  1347. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/WhiteSpace/ScopeKeywordSpacingSniff.php +172 -0
  1348. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/WhiteSpace/SemicolonSpacingSniff.php +116 -0
  1349. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/WhiteSpace/SuperfluousWhitespaceSniff.php +265 -0
  1350. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Arrays/ArrayBracketSpacingUnitTest.inc +31 -0
  1351. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Arrays/ArrayBracketSpacingUnitTest.inc.fixed +31 -0
  1352. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Arrays/ArrayBracketSpacingUnitTest.php +62 -0
  1353. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Arrays/ArrayDeclarationUnitTest.1.inc +560 -0
  1354. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Arrays/ArrayDeclarationUnitTest.1.inc.fixed +598 -0
  1355. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Arrays/ArrayDeclarationUnitTest.2.inc +555 -0
  1356. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Arrays/ArrayDeclarationUnitTest.2.inc.fixed +591 -0
  1357. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Arrays/ArrayDeclarationUnitTest.3.inc +7 -0
  1358. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Arrays/ArrayDeclarationUnitTest.4.inc +8 -0
  1359. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Arrays/ArrayDeclarationUnitTest.4.inc.fixed +8 -0
  1360. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Arrays/ArrayDeclarationUnitTest.php +262 -0
  1361. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/CSS/ClassDefinitionClosingBraceSpaceUnitTest.css +81 -0
  1362. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/CSS/ClassDefinitionClosingBraceSpaceUnitTest.css.fixed +85 -0
  1363. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/CSS/ClassDefinitionClosingBraceSpaceUnitTest.php +65 -0
  1364. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/CSS/ClassDefinitionNameSpacingUnitTest.css +66 -0
  1365. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/CSS/ClassDefinitionNameSpacingUnitTest.php +56 -0
  1366. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/CSS/ClassDefinitionOpeningBraceSpaceUnitTest.css +108 -0
  1367. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/CSS/ClassDefinitionOpeningBraceSpaceUnitTest.css.fixed +106 -0
  1368. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/CSS/ClassDefinitionOpeningBraceSpaceUnitTest.php +69 -0
  1369. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/CSS/ColonSpacingUnitTest.css +42 -0
  1370. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/CSS/ColonSpacingUnitTest.css.fixed +40 -0
  1371. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/CSS/ColonSpacingUnitTest.php +65 -0
  1372. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/CSS/ColourDefinitionUnitTest.css +16 -0
  1373. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/CSS/ColourDefinitionUnitTest.css.fixed +16 -0
  1374. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/CSS/ColourDefinitionUnitTest.php +57 -0
  1375. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/CSS/DisallowMultipleStyleDefinitionsUnitTest.css +17 -0
  1376. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/CSS/DisallowMultipleStyleDefinitionsUnitTest.css.fixed +27 -0
  1377. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/CSS/DisallowMultipleStyleDefinitionsUnitTest.php +59 -0
  1378. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/CSS/DuplicateClassDefinitionUnitTest.css +103 -0
  1379. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/CSS/DuplicateClassDefinitionUnitTest.php +59 -0
  1380. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/CSS/DuplicateStyleDefinitionUnitTest.css +27 -0
  1381. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/CSS/DuplicateStyleDefinitionUnitTest.php +53 -0
  1382. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/CSS/EmptyClassDefinitionUnitTest.css +15 -0
  1383. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/CSS/EmptyClassDefinitionUnitTest.php +59 -0
  1384. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/CSS/EmptyStyleDefinitionUnitTest.css +11 -0
  1385. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/CSS/EmptyStyleDefinitionUnitTest.php +58 -0
  1386. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/CSS/ForbiddenStylesUnitTest.css +18 -0
  1387. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/CSS/ForbiddenStylesUnitTest.css.fixed +18 -0
  1388. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/CSS/ForbiddenStylesUnitTest.php +62 -0
  1389. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/CSS/IndentationUnitTest.1.css +79 -0
  1390. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/CSS/IndentationUnitTest.1.css.fixed +73 -0
  1391. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/CSS/IndentationUnitTest.2.css +3 -0
  1392. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/CSS/IndentationUnitTest.php +80 -0
  1393. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/CSS/LowercaseStyleDefinitionUnitTest.css +14 -0
  1394. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/CSS/LowercaseStyleDefinitionUnitTest.php +58 -0
  1395. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/CSS/MissingColonUnitTest.css +21 -0
  1396. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/CSS/MissingColonUnitTest.php +58 -0
  1397. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/CSS/NamedColoursUnitTest.css +25 -0
  1398. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/CSS/NamedColoursUnitTest.php +59 -0
  1399. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/CSS/OpacityUnitTest.css +35 -0
  1400. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/CSS/OpacityUnitTest.css.fixed +35 -0
  1401. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/CSS/OpacityUnitTest.php +65 -0
  1402. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/CSS/SemicolonSpacingUnitTest.css +61 -0
  1403. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/CSS/SemicolonSpacingUnitTest.css.fixed +58 -0
  1404. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/CSS/SemicolonSpacingUnitTest.php +63 -0
  1405. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/CSS/ShorthandSizeUnitTest.1.css +41 -0
  1406. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/CSS/ShorthandSizeUnitTest.1.css.fixed +37 -0
  1407. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/CSS/ShorthandSizeUnitTest.2.css +3 -0
  1408. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/CSS/ShorthandSizeUnitTest.php +72 -0
  1409. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Classes/ClassDeclarationUnitTest.inc +130 -0
  1410. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Classes/ClassDeclarationUnitTest.inc.fixed +140 -0
  1411. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Classes/ClassDeclarationUnitTest.php +91 -0
  1412. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Classes/ClassFileNameUnitTest.inc +45 -0
  1413. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Classes/ClassFileNameUnitTest.php +82 -0
  1414. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Classes/DuplicatePropertyUnitTest.js +45 -0
  1415. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Classes/DuplicatePropertyUnitTest.php +57 -0
  1416. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Classes/LowercaseClassKeywordsUnitTest.inc +16 -0
  1417. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Classes/LowercaseClassKeywordsUnitTest.inc.fixed +16 -0
  1418. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Classes/LowercaseClassKeywordsUnitTest.php +66 -0
  1419. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Classes/SelfMemberReferenceUnitTest.inc +199 -0
  1420. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Classes/SelfMemberReferenceUnitTest.inc.fixed +187 -0
  1421. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Classes/SelfMemberReferenceUnitTest.php +71 -0
  1422. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Classes/ValidClassNameUnitTest.inc +191 -0
  1423. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Classes/ValidClassNameUnitTest.php +80 -0
  1424. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Commenting/BlockCommentUnitTest.inc +309 -0
  1425. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Commenting/BlockCommentUnitTest.inc.fixed +311 -0
  1426. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Commenting/BlockCommentUnitTest.php +109 -0
  1427. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Commenting/ClassCommentUnitTest.inc +145 -0
  1428. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Commenting/ClassCommentUnitTest.php +66 -0
  1429. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Commenting/ClosingDeclarationCommentUnitTest.1.inc +124 -0
  1430. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Commenting/ClosingDeclarationCommentUnitTest.1.inc.fixed +117 -0
  1431. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Commenting/ClosingDeclarationCommentUnitTest.2.inc +7 -0
  1432. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Commenting/ClosingDeclarationCommentUnitTest.3.inc +7 -0
  1433. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Commenting/ClosingDeclarationCommentUnitTest.4.inc +8 -0
  1434. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Commenting/ClosingDeclarationCommentUnitTest.4.inc.fixed +8 -0
  1435. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Commenting/ClosingDeclarationCommentUnitTest.5.inc +11 -0
  1436. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Commenting/ClosingDeclarationCommentUnitTest.5.inc.fixed +11 -0
  1437. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Commenting/ClosingDeclarationCommentUnitTest.php +96 -0
  1438. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Commenting/DocCommentAlignmentUnitTest.inc +103 -0
  1439. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Commenting/DocCommentAlignmentUnitTest.inc.fixed +103 -0
  1440. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Commenting/DocCommentAlignmentUnitTest.js +76 -0
  1441. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Commenting/DocCommentAlignmentUnitTest.js.fixed +76 -0
  1442. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Commenting/DocCommentAlignmentUnitTest.php +81 -0
  1443. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Commenting/EmptyCatchCommentUnitTest.inc +55 -0
  1444. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Commenting/EmptyCatchCommentUnitTest.php +60 -0
  1445. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Commenting/FileCommentUnitTest.1.inc +43 -0
  1446. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Commenting/FileCommentUnitTest.1.inc.fixed +43 -0
  1447. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Commenting/FileCommentUnitTest.1.js +40 -0
  1448. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Commenting/FileCommentUnitTest.1.js.fixed +40 -0
  1449. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Commenting/FileCommentUnitTest.10.inc +12 -0
  1450. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Commenting/FileCommentUnitTest.2.inc +11 -0
  1451. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Commenting/FileCommentUnitTest.2.js +10 -0
  1452. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Commenting/FileCommentUnitTest.3.inc +9 -0
  1453. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Commenting/FileCommentUnitTest.4.inc +3 -0
  1454. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Commenting/FileCommentUnitTest.5.inc +4 -0
  1455. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Commenting/FileCommentUnitTest.6.inc +12 -0
  1456. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Commenting/FileCommentUnitTest.7.inc +12 -0
  1457. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Commenting/FileCommentUnitTest.8.inc +9 -0
  1458. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Commenting/FileCommentUnitTest.9.inc +12 -0
  1459. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Commenting/FileCommentUnitTest.php +82 -0
  1460. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Commenting/FunctionCommentThrowTagUnitTest.inc +511 -0
  1461. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Commenting/FunctionCommentThrowTagUnitTest.php +65 -0
  1462. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Commenting/FunctionCommentUnitTest.inc +1160 -0
  1463. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Commenting/FunctionCommentUnitTest.inc.fixed +1160 -0
  1464. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Commenting/FunctionCommentUnitTest.php +208 -0
  1465. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Commenting/InlineCommentUnitTest.inc +196 -0
  1466. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Commenting/InlineCommentUnitTest.inc.fixed +189 -0
  1467. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Commenting/InlineCommentUnitTest.js +129 -0
  1468. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Commenting/InlineCommentUnitTest.js.fixed +125 -0
  1469. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Commenting/InlineCommentUnitTest.php +96 -0
  1470. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Commenting/LongConditionClosingCommentUnitTest.inc +1033 -0
  1471. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Commenting/LongConditionClosingCommentUnitTest.inc.fixed +1033 -0
  1472. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Commenting/LongConditionClosingCommentUnitTest.js +444 -0
  1473. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Commenting/LongConditionClosingCommentUnitTest.js.fixed +444 -0
  1474. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Commenting/LongConditionClosingCommentUnitTest.php +107 -0
  1475. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Commenting/PostStatementCommentUnitTest.1.js +36 -0
  1476. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Commenting/PostStatementCommentUnitTest.1.js.fixed +39 -0
  1477. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Commenting/PostStatementCommentUnitTest.2.js +2 -0
  1478. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Commenting/PostStatementCommentUnitTest.inc +64 -0
  1479. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Commenting/PostStatementCommentUnitTest.inc.fixed +71 -0
  1480. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Commenting/PostStatementCommentUnitTest.php +80 -0
  1481. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Commenting/VariableCommentUnitTest.inc +456 -0
  1482. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Commenting/VariableCommentUnitTest.inc.fixed +456 -0
  1483. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Commenting/VariableCommentUnitTest.php +88 -0
  1484. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/ControlStructures/ControlSignatureUnitTest.1.inc +320 -0
  1485. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/ControlStructures/ControlSignatureUnitTest.1.inc.fixed +324 -0
  1486. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/ControlStructures/ControlSignatureUnitTest.2.inc +5 -0
  1487. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/ControlStructures/ControlSignatureUnitTest.js +135 -0
  1488. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/ControlStructures/ControlSignatureUnitTest.js.fixed +141 -0
  1489. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/ControlStructures/ControlSignatureUnitTest.php +115 -0
  1490. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/ControlStructures/ElseIfDeclarationUnitTest.inc +14 -0
  1491. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/ControlStructures/ElseIfDeclarationUnitTest.inc.fixed +14 -0
  1492. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/ControlStructures/ElseIfDeclarationUnitTest.php +56 -0
  1493. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/ControlStructures/ForEachLoopDeclarationUnitTest.inc +36 -0
  1494. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/ControlStructures/ForEachLoopDeclarationUnitTest.inc.fixed +36 -0
  1495. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/ControlStructures/ForEachLoopDeclarationUnitTest.php +61 -0
  1496. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/ControlStructures/ForLoopDeclarationUnitTest.1.inc +126 -0
  1497. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/ControlStructures/ForLoopDeclarationUnitTest.1.inc.fixed +92 -0
  1498. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/ControlStructures/ForLoopDeclarationUnitTest.1.js +122 -0
  1499. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/ControlStructures/ForLoopDeclarationUnitTest.1.js.fixed +88 -0
  1500. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/ControlStructures/ForLoopDeclarationUnitTest.2.inc +6 -0
  1501. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/ControlStructures/ForLoopDeclarationUnitTest.2.js +2 -0
  1502. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/ControlStructures/ForLoopDeclarationUnitTest.3.inc +6 -0
  1503. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/ControlStructures/ForLoopDeclarationUnitTest.php +138 -0
  1504. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/ControlStructures/InlineIfDeclarationUnitTest.inc +48 -0
  1505. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/ControlStructures/InlineIfDeclarationUnitTest.inc.fixed +48 -0
  1506. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/ControlStructures/InlineIfDeclarationUnitTest.php +80 -0
  1507. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/ControlStructures/LowercaseDeclarationUnitTest.inc +24 -0
  1508. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/ControlStructures/LowercaseDeclarationUnitTest.inc.fixed +24 -0
  1509. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/ControlStructures/LowercaseDeclarationUnitTest.php +66 -0
  1510. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/ControlStructures/SwitchDeclarationUnitTest.inc +333 -0
  1511. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/ControlStructures/SwitchDeclarationUnitTest.inc.fixed +342 -0
  1512. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/ControlStructures/SwitchDeclarationUnitTest.js +287 -0
  1513. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/ControlStructures/SwitchDeclarationUnitTest.php +157 -0
  1514. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Debug/JSLintUnitTest.js +2 -0
  1515. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Debug/JSLintUnitTest.php +74 -0
  1516. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Debug/JavaScriptLintUnitTest.js +2 -0
  1517. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Debug/JavaScriptLintUnitTest.php +71 -0
  1518. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Files/FileExtensionUnitTest.1.inc +3 -0
  1519. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Files/FileExtensionUnitTest.2.inc +3 -0
  1520. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Files/FileExtensionUnitTest.3.inc +3 -0
  1521. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Files/FileExtensionUnitTest.4.inc +3 -0
  1522. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Files/FileExtensionUnitTest.5.inc +3 -0
  1523. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Files/FileExtensionUnitTest.php +60 -0
  1524. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Formatting/OperatorBracketUnitTest.1.inc +203 -0
  1525. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Formatting/OperatorBracketUnitTest.1.inc.fixed +203 -0
  1526. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Formatting/OperatorBracketUnitTest.2.inc +7 -0
  1527. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Formatting/OperatorBracketUnitTest.3.inc +5 -0
  1528. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Formatting/OperatorBracketUnitTest.js +118 -0
  1529. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Formatting/OperatorBracketUnitTest.js.fixed +118 -0
  1530. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Formatting/OperatorBracketUnitTest.php +121 -0
  1531. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Functions/FunctionDeclarationArgumentSpacingUnitTest.1.inc +197 -0
  1532. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Functions/FunctionDeclarationArgumentSpacingUnitTest.1.inc.fixed +173 -0
  1533. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Functions/FunctionDeclarationArgumentSpacingUnitTest.2.inc +6 -0
  1534. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Functions/FunctionDeclarationArgumentSpacingUnitTest.3.inc +6 -0
  1535. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Functions/FunctionDeclarationArgumentSpacingUnitTest.4.inc +6 -0
  1536. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Functions/FunctionDeclarationArgumentSpacingUnitTest.5.inc +6 -0
  1537. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Functions/FunctionDeclarationArgumentSpacingUnitTest.6.inc +6 -0
  1538. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Functions/FunctionDeclarationArgumentSpacingUnitTest.php +116 -0
  1539. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Functions/FunctionDeclarationUnitTest.1.inc +75 -0
  1540. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Functions/FunctionDeclarationUnitTest.2.inc +5 -0
  1541. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Functions/FunctionDeclarationUnitTest.3.inc +5 -0
  1542. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Functions/FunctionDeclarationUnitTest.php +64 -0
  1543. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Functions/FunctionDuplicateArgumentUnitTest.inc +6 -0
  1544. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Functions/FunctionDuplicateArgumentUnitTest.php +57 -0
  1545. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Functions/GlobalFunctionUnitTest.inc +17 -0
  1546. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Functions/GlobalFunctionUnitTest.php +53 -0
  1547. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Functions/LowercaseFunctionKeywordsUnitTest.inc +28 -0
  1548. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Functions/LowercaseFunctionKeywordsUnitTest.inc.fixed +28 -0
  1549. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Functions/LowercaseFunctionKeywordsUnitTest.php +63 -0
  1550. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Functions/MultiLineFunctionDeclarationUnitTest.inc +356 -0
  1551. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Functions/MultiLineFunctionDeclarationUnitTest.inc.fixed +370 -0
  1552. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Functions/MultiLineFunctionDeclarationUnitTest.js +73 -0
  1553. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Functions/MultiLineFunctionDeclarationUnitTest.js.fixed +81 -0
  1554. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Functions/MultiLineFunctionDeclarationUnitTest.php +120 -0
  1555. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/NamingConventions/ValidFunctionNameUnitTest.inc +27 -0
  1556. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/NamingConventions/ValidFunctionNameUnitTest.php +64 -0
  1557. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/NamingConventions/ValidVariableNameUnitTest.inc +157 -0
  1558. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/NamingConventions/ValidVariableNameUnitTest.php +93 -0
  1559. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Objects/DisallowObjectStringIndexUnitTest.js +37 -0
  1560. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Objects/DisallowObjectStringIndexUnitTest.php +64 -0
  1561. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Objects/ObjectInstantiationUnitTest.inc +49 -0
  1562. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Objects/ObjectInstantiationUnitTest.php +58 -0
  1563. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Objects/ObjectMemberCommaUnitTest.js +47 -0
  1564. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Objects/ObjectMemberCommaUnitTest.js.fixed +47 -0
  1565. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Objects/ObjectMemberCommaUnitTest.php +58 -0
  1566. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Operators/ComparisonOperatorUsageUnitTest.inc +138 -0
  1567. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Operators/ComparisonOperatorUsageUnitTest.js +71 -0
  1568. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Operators/ComparisonOperatorUsageUnitTest.php +105 -0
  1569. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Operators/IncrementDecrementUsageUnitTest.inc +56 -0
  1570. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Operators/IncrementDecrementUsageUnitTest.php +73 -0
  1571. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Operators/ValidLogicalOperatorsUnitTest.inc +28 -0
  1572. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Operators/ValidLogicalOperatorsUnitTest.php +57 -0
  1573. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/PHP/CommentedOutCodeUnitTest.css +23 -0
  1574. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/PHP/CommentedOutCodeUnitTest.inc +158 -0
  1575. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/PHP/CommentedOutCodeUnitTest.php +80 -0
  1576. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/PHP/DisallowBooleanStatementUnitTest.inc +27 -0
  1577. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/PHP/DisallowBooleanStatementUnitTest.php +58 -0
  1578. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/PHP/DisallowComparisonAssignmentUnitTest.inc +83 -0
  1579. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/PHP/DisallowComparisonAssignmentUnitTest.php +64 -0
  1580. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/PHP/DisallowInlineIfUnitTest.inc +18 -0
  1581. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/PHP/DisallowInlineIfUnitTest.js +2 -0
  1582. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/PHP/DisallowInlineIfUnitTest.php +67 -0
  1583. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/PHP/DisallowMultipleAssignmentsUnitTest.1.inc +150 -0
  1584. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/PHP/DisallowMultipleAssignmentsUnitTest.2.inc +7 -0
  1585. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/PHP/DisallowMultipleAssignmentsUnitTest.php +71 -0
  1586. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/PHP/DisallowSizeFunctionsInLoopsUnitTest.inc +58 -0
  1587. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/PHP/DisallowSizeFunctionsInLoopsUnitTest.js +13 -0
  1588. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/PHP/DisallowSizeFunctionsInLoopsUnitTest.php +77 -0
  1589. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/PHP/DiscouragedFunctionsUnitTest.inc +7 -0
  1590. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/PHP/DiscouragedFunctionsUnitTest.php +57 -0
  1591. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/PHP/EmbeddedPhpUnitTest.1.inc +275 -0
  1592. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/PHP/EmbeddedPhpUnitTest.1.inc.fixed +287 -0
  1593. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/PHP/EmbeddedPhpUnitTest.10.inc +16 -0
  1594. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/PHP/EmbeddedPhpUnitTest.11.inc +14 -0
  1595. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/PHP/EmbeddedPhpUnitTest.12.inc +12 -0
  1596. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/PHP/EmbeddedPhpUnitTest.12.inc.fixed +10 -0
  1597. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/PHP/EmbeddedPhpUnitTest.13.inc +12 -0
  1598. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/PHP/EmbeddedPhpUnitTest.13.inc.fixed +10 -0
  1599. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/PHP/EmbeddedPhpUnitTest.14.inc +8 -0
  1600. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/PHP/EmbeddedPhpUnitTest.15.inc +9 -0
  1601. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/PHP/EmbeddedPhpUnitTest.16.inc +8 -0
  1602. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/PHP/EmbeddedPhpUnitTest.17.inc +8 -0
  1603. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/PHP/EmbeddedPhpUnitTest.18.inc +15 -0
  1604. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/PHP/EmbeddedPhpUnitTest.18.inc.fixed +13 -0
  1605. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/PHP/EmbeddedPhpUnitTest.19.inc +17 -0
  1606. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/PHP/EmbeddedPhpUnitTest.19.inc.fixed +15 -0
  1607. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/PHP/EmbeddedPhpUnitTest.2.inc +7 -0
  1608. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/PHP/EmbeddedPhpUnitTest.2.inc.fixed +7 -0
  1609. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/PHP/EmbeddedPhpUnitTest.20.inc +15 -0
  1610. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/PHP/EmbeddedPhpUnitTest.20.inc.fixed +16 -0
  1611. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/PHP/EmbeddedPhpUnitTest.21.inc +15 -0
  1612. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/PHP/EmbeddedPhpUnitTest.21.inc.fixed +16 -0
  1613. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/PHP/EmbeddedPhpUnitTest.22.inc +30 -0
  1614. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/PHP/EmbeddedPhpUnitTest.22.inc.fixed +31 -0
  1615. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/PHP/EmbeddedPhpUnitTest.23.inc +23 -0
  1616. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/PHP/EmbeddedPhpUnitTest.24.inc +25 -0
  1617. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/PHP/EmbeddedPhpUnitTest.24.inc.fixed +25 -0
  1618. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/PHP/EmbeddedPhpUnitTest.3.inc +123 -0
  1619. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/PHP/EmbeddedPhpUnitTest.3.inc.fixed +132 -0
  1620. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/PHP/EmbeddedPhpUnitTest.4.inc +7 -0
  1621. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/PHP/EmbeddedPhpUnitTest.4.inc.fixed +7 -0
  1622. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/PHP/EmbeddedPhpUnitTest.5.inc +48 -0
  1623. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/PHP/EmbeddedPhpUnitTest.5.inc.fixed +39 -0
  1624. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/PHP/EmbeddedPhpUnitTest.6.inc +8 -0
  1625. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/PHP/EmbeddedPhpUnitTest.7.inc +8 -0
  1626. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/PHP/EmbeddedPhpUnitTest.8.inc +10 -0
  1627. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/PHP/EmbeddedPhpUnitTest.9.inc +10 -0
  1628. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/PHP/EmbeddedPhpUnitTest.php +226 -0
  1629. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/PHP/EvalUnitTest.inc +5 -0
  1630. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/PHP/EvalUnitTest.php +56 -0
  1631. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/PHP/GlobalKeywordUnitTest.inc +13 -0
  1632. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/PHP/GlobalKeywordUnitTest.php +56 -0
  1633. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/PHP/HeredocUnitTest.1.inc +12 -0
  1634. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/PHP/HeredocUnitTest.2.inc +17 -0
  1635. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/PHP/HeredocUnitTest.php +64 -0
  1636. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/PHP/InnerFunctionsUnitTest.inc +87 -0
  1637. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/PHP/InnerFunctionsUnitTest.php +58 -0
  1638. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/PHP/LowercasePHPFunctionsUnitTest.inc +50 -0
  1639. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/PHP/LowercasePHPFunctionsUnitTest.inc.fixed +50 -0
  1640. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/PHP/LowercasePHPFunctionsUnitTest.php +60 -0
  1641. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/PHP/NonExecutableCodeUnitTest.1.inc +420 -0
  1642. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/PHP/NonExecutableCodeUnitTest.2.inc +73 -0
  1643. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/PHP/NonExecutableCodeUnitTest.3.inc +64 -0
  1644. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/PHP/NonExecutableCodeUnitTest.4.inc +6 -0
  1645. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/PHP/NonExecutableCodeUnitTest.php +124 -0
  1646. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Scope/MemberVarScopeUnitTest.inc +72 -0
  1647. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Scope/MemberVarScopeUnitTest.php +63 -0
  1648. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Scope/MethodScopeUnitTest.inc +57 -0
  1649. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Scope/MethodScopeUnitTest.php +58 -0
  1650. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Scope/StaticThisUsageUnitTest.inc +127 -0
  1651. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Scope/StaticThisUsageUnitTest.php +67 -0
  1652. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Strings/ConcatenationSpacingUnitTest.inc +49 -0
  1653. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Strings/ConcatenationSpacingUnitTest.inc.fixed +47 -0
  1654. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Strings/ConcatenationSpacingUnitTest.php +71 -0
  1655. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Strings/DoubleQuoteUsageUnitTest.inc +37 -0
  1656. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Strings/DoubleQuoteUsageUnitTest.inc.fixed +37 -0
  1657. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Strings/DoubleQuoteUsageUnitTest.php +67 -0
  1658. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Strings/EchoedStringsUnitTest.inc +13 -0
  1659. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Strings/EchoedStringsUnitTest.inc.fixed +13 -0
  1660. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Strings/EchoedStringsUnitTest.php +60 -0
  1661. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/CastSpacingUnitTest.inc +9 -0
  1662. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/CastSpacingUnitTest.inc.fixed +9 -0
  1663. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/CastSpacingUnitTest.php +59 -0
  1664. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/ControlStructureSpacingUnitTest.inc +269 -0
  1665. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/ControlStructureSpacingUnitTest.inc.fixed +261 -0
  1666. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/ControlStructureSpacingUnitTest.js +93 -0
  1667. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/ControlStructureSpacingUnitTest.js.fixed +93 -0
  1668. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/ControlStructureSpacingUnitTest.php +107 -0
  1669. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/FunctionClosingBraceSpaceUnitTest.inc +39 -0
  1670. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/FunctionClosingBraceSpaceUnitTest.inc.fixed +45 -0
  1671. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/FunctionClosingBraceSpaceUnitTest.js +132 -0
  1672. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/FunctionClosingBraceSpaceUnitTest.js.fixed +133 -0
  1673. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/FunctionClosingBraceSpaceUnitTest.php +80 -0
  1674. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/FunctionOpeningBraceSpaceUnitTest.inc +54 -0
  1675. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/FunctionOpeningBraceSpaceUnitTest.inc.fixed +49 -0
  1676. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/FunctionOpeningBraceSpaceUnitTest.js +115 -0
  1677. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/FunctionOpeningBraceSpaceUnitTest.js.fixed +109 -0
  1678. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/FunctionOpeningBraceSpaceUnitTest.php +73 -0
  1679. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/FunctionSpacingUnitTest.1.inc +595 -0
  1680. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/FunctionSpacingUnitTest.1.inc.fixed +687 -0
  1681. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/FunctionSpacingUnitTest.2.inc +5 -0
  1682. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/FunctionSpacingUnitTest.2.inc.fixed +7 -0
  1683. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/FunctionSpacingUnitTest.3.inc +10 -0
  1684. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/FunctionSpacingUnitTest.3.inc.fixed +7 -0
  1685. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/FunctionSpacingUnitTest.4.inc +7 -0
  1686. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/FunctionSpacingUnitTest.5.inc +8 -0
  1687. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/FunctionSpacingUnitTest.5.inc.fixed +10 -0
  1688. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/FunctionSpacingUnitTest.6.inc +13 -0
  1689. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/FunctionSpacingUnitTest.6.inc.fixed +10 -0
  1690. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/FunctionSpacingUnitTest.7.inc +10 -0
  1691. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/FunctionSpacingUnitTest.php +142 -0
  1692. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/LanguageConstructSpacingUnitTest.inc +43 -0
  1693. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/LanguageConstructSpacingUnitTest.inc.fixed +41 -0
  1694. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/LanguageConstructSpacingUnitTest.php +65 -0
  1695. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/LogicalOperatorSpacingUnitTest.inc +19 -0
  1696. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/LogicalOperatorSpacingUnitTest.inc.fixed +19 -0
  1697. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/LogicalOperatorSpacingUnitTest.js +19 -0
  1698. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/LogicalOperatorSpacingUnitTest.js.fixed +19 -0
  1699. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/LogicalOperatorSpacingUnitTest.php +59 -0
  1700. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/MemberVarSpacingUnitTest.inc +374 -0
  1701. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/MemberVarSpacingUnitTest.inc.fixed +359 -0
  1702. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/MemberVarSpacingUnitTest.php +90 -0
  1703. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/ObjectOperatorSpacingUnitTest.inc +52 -0
  1704. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/ObjectOperatorSpacingUnitTest.inc.fixed +48 -0
  1705. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/ObjectOperatorSpacingUnitTest.php +73 -0
  1706. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/OperatorSpacingUnitTest.1.inc +510 -0
  1707. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/OperatorSpacingUnitTest.1.inc.fixed +502 -0
  1708. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/OperatorSpacingUnitTest.2.inc +3 -0
  1709. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/OperatorSpacingUnitTest.3.inc +6 -0
  1710. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/OperatorSpacingUnitTest.js +104 -0
  1711. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/OperatorSpacingUnitTest.js.fixed +98 -0
  1712. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/OperatorSpacingUnitTest.php +180 -0
  1713. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/PropertyLabelSpacingUnitTest.js +40 -0
  1714. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/PropertyLabelSpacingUnitTest.js.fixed +39 -0
  1715. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/PropertyLabelSpacingUnitTest.php +60 -0
  1716. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/ScopeClosingBraceUnitTest.inc +134 -0
  1717. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/ScopeClosingBraceUnitTest.inc.fixed +138 -0
  1718. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/ScopeClosingBraceUnitTest.php +64 -0
  1719. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/ScopeKeywordSpacingUnitTest.1.inc +149 -0
  1720. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/ScopeKeywordSpacingUnitTest.1.inc.fixed +143 -0
  1721. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/ScopeKeywordSpacingUnitTest.2.inc +6 -0
  1722. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/ScopeKeywordSpacingUnitTest.3.inc +6 -0
  1723. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/ScopeKeywordSpacingUnitTest.3.inc.fixed +6 -0
  1724. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/ScopeKeywordSpacingUnitTest.php +88 -0
  1725. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/SemicolonSpacingUnitTest.inc +42 -0
  1726. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/SemicolonSpacingUnitTest.inc.fixed +41 -0
  1727. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/SemicolonSpacingUnitTest.js +25 -0
  1728. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/SemicolonSpacingUnitTest.js.fixed +25 -0
  1729. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/SemicolonSpacingUnitTest.php +87 -0
  1730. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/SuperfluousWhitespaceUnitTest.1.css +32 -0
  1731. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/SuperfluousWhitespaceUnitTest.1.css.fixed +30 -0
  1732. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/SuperfluousWhitespaceUnitTest.1.inc +74 -0
  1733. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/SuperfluousWhitespaceUnitTest.1.inc.fixed +68 -0
  1734. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/SuperfluousWhitespaceUnitTest.1.js +56 -0
  1735. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/SuperfluousWhitespaceUnitTest.1.js.fixed +50 -0
  1736. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/SuperfluousWhitespaceUnitTest.2.css +3 -0
  1737. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/SuperfluousWhitespaceUnitTest.2.css.fixed +3 -0
  1738. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/SuperfluousWhitespaceUnitTest.2.inc +9 -0
  1739. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/SuperfluousWhitespaceUnitTest.2.inc.fixed +7 -0
  1740. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/SuperfluousWhitespaceUnitTest.2.js +1 -0
  1741. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/SuperfluousWhitespaceUnitTest.2.js.fixed +1 -0
  1742. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/SuperfluousWhitespaceUnitTest.3.css +3 -0
  1743. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/SuperfluousWhitespaceUnitTest.3.css.fixed +3 -0
  1744. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/SuperfluousWhitespaceUnitTest.3.inc +14 -0
  1745. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/SuperfluousWhitespaceUnitTest.3.inc.fixed +5 -0
  1746. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/SuperfluousWhitespaceUnitTest.3.js +1 -0
  1747. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/SuperfluousWhitespaceUnitTest.3.js.fixed +1 -0
  1748. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/SuperfluousWhitespaceUnitTest.4.inc +4 -0
  1749. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/SuperfluousWhitespaceUnitTest.4.inc.fixed +4 -0
  1750. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/SuperfluousWhitespaceUnitTest.5.inc +5 -0
  1751. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/SuperfluousWhitespaceUnitTest.5.inc.fixed +4 -0
  1752. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/SuperfluousWhitespaceUnitTest.php +117 -0
  1753. package/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/ruleset.xml +138 -0
  1754. package/vendor/squizlabs/php_codesniffer/src/Standards/Zend/Docs/Debug/CodeAnalyzerStandard.xml +25 -0
  1755. package/vendor/squizlabs/php_codesniffer/src/Standards/Zend/Docs/Files/ClosingTagStandard.xml +22 -0
  1756. package/vendor/squizlabs/php_codesniffer/src/Standards/Zend/Docs/NamingConventions/ValidVariableNameStandard.xml +37 -0
  1757. package/vendor/squizlabs/php_codesniffer/src/Standards/Zend/Sniffs/Debug/CodeAnalyzerSniff.php +100 -0
  1758. package/vendor/squizlabs/php_codesniffer/src/Standards/Zend/Sniffs/Files/ClosingTagSniff.php +79 -0
  1759. package/vendor/squizlabs/php_codesniffer/src/Standards/Zend/Sniffs/NamingConventions/ValidVariableNameSniff.php +196 -0
  1760. package/vendor/squizlabs/php_codesniffer/src/Standards/Zend/Tests/Debug/CodeAnalyzerUnitTest.inc +6 -0
  1761. package/vendor/squizlabs/php_codesniffer/src/Standards/Zend/Tests/Debug/CodeAnalyzerUnitTest.php +71 -0
  1762. package/vendor/squizlabs/php_codesniffer/src/Standards/Zend/Tests/Files/ClosingTagUnitTest.1.inc +12 -0
  1763. package/vendor/squizlabs/php_codesniffer/src/Standards/Zend/Tests/Files/ClosingTagUnitTest.1.inc.fixed +12 -0
  1764. package/vendor/squizlabs/php_codesniffer/src/Standards/Zend/Tests/Files/ClosingTagUnitTest.2.inc +3 -0
  1765. package/vendor/squizlabs/php_codesniffer/src/Standards/Zend/Tests/Files/ClosingTagUnitTest.3.inc +1 -0
  1766. package/vendor/squizlabs/php_codesniffer/src/Standards/Zend/Tests/Files/ClosingTagUnitTest.3.inc.fixed +1 -0
  1767. package/vendor/squizlabs/php_codesniffer/src/Standards/Zend/Tests/Files/ClosingTagUnitTest.4.inc +1 -0
  1768. package/vendor/squizlabs/php_codesniffer/src/Standards/Zend/Tests/Files/ClosingTagUnitTest.4.inc.fixed +1 -0
  1769. package/vendor/squizlabs/php_codesniffer/src/Standards/Zend/Tests/Files/ClosingTagUnitTest.5.inc +1 -0
  1770. package/vendor/squizlabs/php_codesniffer/src/Standards/Zend/Tests/Files/ClosingTagUnitTest.5.inc.fixed +1 -0
  1771. package/vendor/squizlabs/php_codesniffer/src/Standards/Zend/Tests/Files/ClosingTagUnitTest.6.inc +3 -0
  1772. package/vendor/squizlabs/php_codesniffer/src/Standards/Zend/Tests/Files/ClosingTagUnitTest.6.inc.fixed +3 -0
  1773. package/vendor/squizlabs/php_codesniffer/src/Standards/Zend/Tests/Files/ClosingTagUnitTest.7.inc +1 -0
  1774. package/vendor/squizlabs/php_codesniffer/src/Standards/Zend/Tests/Files/ClosingTagUnitTest.7.inc.fixed +1 -0
  1775. package/vendor/squizlabs/php_codesniffer/src/Standards/Zend/Tests/Files/ClosingTagUnitTest.php +70 -0
  1776. package/vendor/squizlabs/php_codesniffer/src/Standards/Zend/Tests/NamingConventions/ValidVariableNameUnitTest.inc +131 -0
  1777. package/vendor/squizlabs/php_codesniffer/src/Standards/Zend/Tests/NamingConventions/ValidVariableNameUnitTest.php +102 -0
  1778. package/vendor/squizlabs/php_codesniffer/src/Standards/Zend/ruleset.xml +32 -0
  1779. package/vendor/squizlabs/php_codesniffer/src/Tokenizers/CSS.php +541 -0
  1780. package/vendor/squizlabs/php_codesniffer/src/Tokenizers/Comment.php +283 -0
  1781. package/vendor/squizlabs/php_codesniffer/src/Tokenizers/JS.php +1256 -0
  1782. package/vendor/squizlabs/php_codesniffer/src/Tokenizers/PHP.php +4005 -0
  1783. package/vendor/squizlabs/php_codesniffer/src/Tokenizers/Tokenizer.php +1738 -0
  1784. package/vendor/squizlabs/php_codesniffer/src/Util/Cache.php +355 -0
  1785. package/vendor/squizlabs/php_codesniffer/src/Util/Common.php +605 -0
  1786. package/vendor/squizlabs/php_codesniffer/src/Util/Help.php +625 -0
  1787. package/vendor/squizlabs/php_codesniffer/src/Util/Standards.php +340 -0
  1788. package/vendor/squizlabs/php_codesniffer/src/Util/Timing.php +133 -0
  1789. package/vendor/squizlabs/php_codesniffer/src/Util/Tokens.php +814 -0
  1790. package/vendor/squizlabs/php_codesniffer/tests/AllTests.php +58 -0
  1791. package/vendor/squizlabs/php_codesniffer/tests/ConfigDouble.php +212 -0
  1792. package/vendor/squizlabs/php_codesniffer/tests/Core/AbstractMethodUnitTest.php +223 -0
  1793. package/vendor/squizlabs/php_codesniffer/tests/Core/AllTests.php +63 -0
  1794. package/vendor/squizlabs/php_codesniffer/tests/Core/Autoloader/DetermineLoadedClassTest.php +126 -0
  1795. package/vendor/squizlabs/php_codesniffer/tests/Core/Autoloader/TestFiles/A.inc +3 -0
  1796. package/vendor/squizlabs/php_codesniffer/tests/Core/Autoloader/TestFiles/B.inc +4 -0
  1797. package/vendor/squizlabs/php_codesniffer/tests/Core/Autoloader/TestFiles/C.inc +4 -0
  1798. package/vendor/squizlabs/php_codesniffer/tests/Core/Autoloader/TestFiles/Sub/C.inc +5 -0
  1799. package/vendor/squizlabs/php_codesniffer/tests/Core/Config/GeneratorArgTest.php +79 -0
  1800. package/vendor/squizlabs/php_codesniffer/tests/Core/Config/ReportWidthTest.php +332 -0
  1801. package/vendor/squizlabs/php_codesniffer/tests/Core/Config/SniffsExcludeArgsTest.php +200 -0
  1802. package/vendor/squizlabs/php_codesniffer/tests/Core/ErrorSuppressionTest.php +1278 -0
  1803. package/vendor/squizlabs/php_codesniffer/tests/Core/File/FindEndOfStatementTest.inc +105 -0
  1804. package/vendor/squizlabs/php_codesniffer/tests/Core/File/FindEndOfStatementTest.php +457 -0
  1805. package/vendor/squizlabs/php_codesniffer/tests/Core/File/FindExtendedClassNameTest.inc +52 -0
  1806. package/vendor/squizlabs/php_codesniffer/tests/Core/File/FindExtendedClassNameTest.php +145 -0
  1807. package/vendor/squizlabs/php_codesniffer/tests/Core/File/FindImplementedInterfaceNamesTest.inc +47 -0
  1808. package/vendor/squizlabs/php_codesniffer/tests/Core/File/FindImplementedInterfaceNamesTest.php +162 -0
  1809. package/vendor/squizlabs/php_codesniffer/tests/Core/File/FindStartOfStatementTest.inc +200 -0
  1810. package/vendor/squizlabs/php_codesniffer/tests/Core/File/FindStartOfStatementTest.php +973 -0
  1811. package/vendor/squizlabs/php_codesniffer/tests/Core/File/GetClassPropertiesTest.inc +58 -0
  1812. package/vendor/squizlabs/php_codesniffer/tests/Core/File/GetClassPropertiesTest.php +192 -0
  1813. package/vendor/squizlabs/php_codesniffer/tests/Core/File/GetConditionTest.inc +91 -0
  1814. package/vendor/squizlabs/php_codesniffer/tests/Core/File/GetConditionTest.php +494 -0
  1815. package/vendor/squizlabs/php_codesniffer/tests/Core/File/GetDeclarationNameJSTest.js +23 -0
  1816. package/vendor/squizlabs/php_codesniffer/tests/Core/File/GetDeclarationNameJSTest.php +158 -0
  1817. package/vendor/squizlabs/php_codesniffer/tests/Core/File/GetDeclarationNameTest.inc +102 -0
  1818. package/vendor/squizlabs/php_codesniffer/tests/Core/File/GetDeclarationNameTest.php +225 -0
  1819. package/vendor/squizlabs/php_codesniffer/tests/Core/File/GetMemberPropertiesTest.inc +356 -0
  1820. package/vendor/squizlabs/php_codesniffer/tests/Core/File/GetMemberPropertiesTest.php +1191 -0
  1821. package/vendor/squizlabs/php_codesniffer/tests/Core/File/GetMethodParametersParseError1Test.inc +4 -0
  1822. package/vendor/squizlabs/php_codesniffer/tests/Core/File/GetMethodParametersParseError1Test.php +38 -0
  1823. package/vendor/squizlabs/php_codesniffer/tests/Core/File/GetMethodParametersParseError2Test.inc +4 -0
  1824. package/vendor/squizlabs/php_codesniffer/tests/Core/File/GetMethodParametersParseError2Test.php +38 -0
  1825. package/vendor/squizlabs/php_codesniffer/tests/Core/File/GetMethodParametersTest.inc +338 -0
  1826. package/vendor/squizlabs/php_codesniffer/tests/Core/File/GetMethodParametersTest.php +3182 -0
  1827. package/vendor/squizlabs/php_codesniffer/tests/Core/File/GetMethodPropertiesTest.inc +226 -0
  1828. package/vendor/squizlabs/php_codesniffer/tests/Core/File/GetMethodPropertiesTest.php +1562 -0
  1829. package/vendor/squizlabs/php_codesniffer/tests/Core/File/GetTokensAsStringTest.inc +25 -0
  1830. package/vendor/squizlabs/php_codesniffer/tests/Core/File/GetTokensAsStringTest.php +334 -0
  1831. package/vendor/squizlabs/php_codesniffer/tests/Core/File/IsReferenceTest.inc +216 -0
  1832. package/vendor/squizlabs/php_codesniffer/tests/Core/File/IsReferenceTest.php +396 -0
  1833. package/vendor/squizlabs/php_codesniffer/tests/Core/Filters/AbstractFilterTestCase.php +250 -0
  1834. package/vendor/squizlabs/php_codesniffer/tests/Core/Filters/Filter/AcceptTest.php +110 -0
  1835. package/vendor/squizlabs/php_codesniffer/tests/Core/Filters/Filter/AcceptTest.xml +16 -0
  1836. package/vendor/squizlabs/php_codesniffer/tests/Core/Filters/GitModifiedTest.php +268 -0
  1837. package/vendor/squizlabs/php_codesniffer/tests/Core/Filters/GitStagedTest.php +268 -0
  1838. package/vendor/squizlabs/php_codesniffer/tests/Core/Fixer/Fixtures/GenerateDiffTest-BlankLinesAtEnd.diff +10 -0
  1839. package/vendor/squizlabs/php_codesniffer/tests/Core/Fixer/Fixtures/GenerateDiffTest-BlankLinesAtEnd.inc +11 -0
  1840. package/vendor/squizlabs/php_codesniffer/tests/Core/Fixer/Fixtures/GenerateDiffTest-BlankLinesAtStart.diff +9 -0
  1841. package/vendor/squizlabs/php_codesniffer/tests/Core/Fixer/Fixtures/GenerateDiffTest-BlankLinesAtStart.inc +10 -0
  1842. package/vendor/squizlabs/php_codesniffer/tests/Core/Fixer/Fixtures/GenerateDiffTest-LineAdded.diff +8 -0
  1843. package/vendor/squizlabs/php_codesniffer/tests/Core/Fixer/Fixtures/GenerateDiffTest-LineAdded.inc +6 -0
  1844. package/vendor/squizlabs/php_codesniffer/tests/Core/Fixer/Fixtures/GenerateDiffTest-LineRemoved.diff +8 -0
  1845. package/vendor/squizlabs/php_codesniffer/tests/Core/Fixer/Fixtures/GenerateDiffTest-LineRemoved.inc +8 -0
  1846. package/vendor/squizlabs/php_codesniffer/tests/Core/Fixer/Fixtures/GenerateDiffTest-NoDiff.diff +0 -0
  1847. package/vendor/squizlabs/php_codesniffer/tests/Core/Fixer/Fixtures/GenerateDiffTest-NoDiff.inc +7 -0
  1848. package/vendor/squizlabs/php_codesniffer/tests/Core/Fixer/Fixtures/GenerateDiffTest-NoTrailingWhitespace.diff +9 -0
  1849. package/vendor/squizlabs/php_codesniffer/tests/Core/Fixer/Fixtures/GenerateDiffTest-NoTrailingWhitespace.inc +7 -0
  1850. package/vendor/squizlabs/php_codesniffer/tests/Core/Fixer/Fixtures/GenerateDiffTest-TabsToSpaces.diff +9 -0
  1851. package/vendor/squizlabs/php_codesniffer/tests/Core/Fixer/Fixtures/GenerateDiffTest-TabsToSpaces.inc +7 -0
  1852. package/vendor/squizlabs/php_codesniffer/tests/Core/Fixer/Fixtures/GenerateDiffTest-VarNameChanged.diff +12 -0
  1853. package/vendor/squizlabs/php_codesniffer/tests/Core/Fixer/Fixtures/GenerateDiffTest-VarNameChanged.inc +7 -0
  1854. package/vendor/squizlabs/php_codesniffer/tests/Core/Fixer/Fixtures/GenerateDiffTest-WhiteSpaceAtEnd.diff +8 -0
  1855. package/vendor/squizlabs/php_codesniffer/tests/Core/Fixer/Fixtures/GenerateDiffTest-WhiteSpaceAtEnd.inc +7 -0
  1856. package/vendor/squizlabs/php_codesniffer/tests/Core/Fixer/Fixtures/GenerateDiffTest-WhiteSpaceAtStart.diff +8 -0
  1857. package/vendor/squizlabs/php_codesniffer/tests/Core/Fixer/Fixtures/GenerateDiffTest-WhiteSpaceAtStart.inc +7 -0
  1858. package/vendor/squizlabs/php_codesniffer/tests/Core/Fixer/Fixtures/GenerateDiffTest-WindowsLineEndings.inc +7 -0
  1859. package/vendor/squizlabs/php_codesniffer/tests/Core/Fixer/Fixtures/GenerateDiffTest.inc +7 -0
  1860. package/vendor/squizlabs/php_codesniffer/tests/Core/Fixer/GenerateDiffTest.php +227 -0
  1861. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/AllValidDocsTest.xml +10 -0
  1862. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Expectations/ExpectedOutputCodeComparisonBlankLines.html +88 -0
  1863. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Expectations/ExpectedOutputCodeComparisonBlankLines.md +35 -0
  1864. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Expectations/ExpectedOutputCodeComparisonBlankLines.txt +18 -0
  1865. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Expectations/ExpectedOutputCodeComparisonBlockLength.html +98 -0
  1866. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Expectations/ExpectedOutputCodeComparisonBlockLength.md +47 -0
  1867. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Expectations/ExpectedOutputCodeComparisonBlockLength.txt +23 -0
  1868. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Expectations/ExpectedOutputCodeComparisonEncoding.html +88 -0
  1869. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Expectations/ExpectedOutputCodeComparisonEncoding.md +48 -0
  1870. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Expectations/ExpectedOutputCodeComparisonEncoding.txt +26 -0
  1871. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Expectations/ExpectedOutputCodeComparisonLineLength.html +89 -0
  1872. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Expectations/ExpectedOutputCodeComparisonLineLength.md +31 -0
  1873. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Expectations/ExpectedOutputCodeComparisonLineLength.txt +18 -0
  1874. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Expectations/ExpectedOutputCodeTitleLineWrapping.html +118 -0
  1875. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Expectations/ExpectedOutputCodeTitleLineWrapping.md +79 -0
  1876. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Expectations/ExpectedOutputCodeTitleLineWrapping.txt +33 -0
  1877. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Expectations/ExpectedOutputCodeTitleWhitespace.html +98 -0
  1878. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Expectations/ExpectedOutputCodeTitleWhitespace.md +44 -0
  1879. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Expectations/ExpectedOutputCodeTitleWhitespace.txt +20 -0
  1880. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Expectations/ExpectedOutputDocumentationTitleCase.html +78 -0
  1881. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Expectations/ExpectedOutputDocumentationTitleCase.md +7 -0
  1882. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Expectations/ExpectedOutputDocumentationTitleCase.txt +7 -0
  1883. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Expectations/ExpectedOutputDocumentationTitleLength.html +78 -0
  1884. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Expectations/ExpectedOutputDocumentationTitleLength.md +7 -0
  1885. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Expectations/ExpectedOutputDocumentationTitleLength.txt +7 -0
  1886. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Expectations/ExpectedOutputEmpty.txt +0 -0
  1887. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Expectations/ExpectedOutputOneDoc.html +78 -0
  1888. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Expectations/ExpectedOutputOneDoc.md +7 -0
  1889. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Expectations/ExpectedOutputOneDoc.txt +7 -0
  1890. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Expectations/ExpectedOutputStandardBlankLines.html +80 -0
  1891. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Expectations/ExpectedOutputStandardBlankLines.md +11 -0
  1892. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Expectations/ExpectedOutputStandardBlankLines.txt +11 -0
  1893. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Expectations/ExpectedOutputStandardEncoding.html +79 -0
  1894. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Expectations/ExpectedOutputStandardEncoding.md +8 -0
  1895. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Expectations/ExpectedOutputStandardEncoding.txt +9 -0
  1896. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Expectations/ExpectedOutputStandardIndent.html +81 -0
  1897. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Expectations/ExpectedOutputStandardIndent.md +10 -0
  1898. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Expectations/ExpectedOutputStandardIndent.txt +10 -0
  1899. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Expectations/ExpectedOutputStandardLineWrapping.html +80 -0
  1900. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Expectations/ExpectedOutputStandardLineWrapping.md +9 -0
  1901. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Expectations/ExpectedOutputStandardLineWrapping.txt +11 -0
  1902. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Expectations/ExpectedOutputStructureDocs.html +191 -0
  1903. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Expectations/ExpectedOutputStructureDocs.md +180 -0
  1904. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Expectations/ExpectedOutputStructureDocs.txt +111 -0
  1905. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Expectations/ExpectedOutputUnsupportedElementAtWrongLevel.html +77 -0
  1906. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Expectations/ExpectedOutputUnsupportedElementAtWrongLevel.md +6 -0
  1907. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Expectations/ExpectedOutputUnsupportedElementAtWrongLevel.txt +5 -0
  1908. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Expectations/ExpectedOutputUnsupportedOneElmAtWrongLevel.html +78 -0
  1909. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Expectations/ExpectedOutputUnsupportedOneElmAtWrongLevel.md +7 -0
  1910. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Expectations/ExpectedOutputUnsupportedOneElmAtWrongLevel.txt +7 -0
  1911. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Expectations/ExpectedOutputUnsupportedSuperfluousCodeElement.html +88 -0
  1912. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Expectations/ExpectedOutputUnsupportedSuperfluousCodeElement.md +25 -0
  1913. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Expectations/ExpectedOutputUnsupportedSuperfluousCodeElement.txt +13 -0
  1914. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Expectations/ExpectedOutputUnsupportedUnknownElement.html +77 -0
  1915. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Expectations/ExpectedOutputUnsupportedUnknownElement.md +6 -0
  1916. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Expectations/ExpectedOutputUnsupportedUnknownElement.txt +5 -0
  1917. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Fixtures/HTMLDouble.php +40 -0
  1918. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Fixtures/MarkdownDouble.php +36 -0
  1919. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Fixtures/MockGenerator.php +28 -0
  1920. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Fixtures/StandardWithDocs/Docs/Content/CodeComparisonBlankLinesStandard.xml +33 -0
  1921. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Fixtures/StandardWithDocs/Docs/Content/CodeComparisonBlockLengthStandard.xml +35 -0
  1922. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Fixtures/StandardWithDocs/Docs/Content/CodeComparisonEncodingStandard.xml +42 -0
  1923. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Fixtures/StandardWithDocs/Docs/Content/CodeComparisonLineLengthStandard.xml +25 -0
  1924. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Fixtures/StandardWithDocs/Docs/Content/CodeTitleLineWrappingStandard.xml +55 -0
  1925. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Fixtures/StandardWithDocs/Docs/Content/CodeTitleWhitespaceStandard.xml +32 -0
  1926. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Fixtures/StandardWithDocs/Docs/Content/DocumentationTitleCaseStandard.xml +7 -0
  1927. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Fixtures/StandardWithDocs/Docs/Content/DocumentationTitleLengthStandard.xml +7 -0
  1928. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Fixtures/StandardWithDocs/Docs/Content/StandardBlankLinesStandard.xml +13 -0
  1929. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Fixtures/StandardWithDocs/Docs/Content/StandardEncodingStandard.xml +8 -0
  1930. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Fixtures/StandardWithDocs/Docs/Content/StandardIndentStandard.xml +10 -0
  1931. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Fixtures/StandardWithDocs/Docs/Content/StandardLineWrappingStandard.xml +9 -0
  1932. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Fixtures/StandardWithDocs/Docs/Structure/NoContentStandard.xml +2 -0
  1933. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Fixtures/StandardWithDocs/Docs/Structure/NoDocumentationElementStandard.xml +2 -0
  1934. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Fixtures/StandardWithDocs/Docs/Structure/OneCodeComparisonNoStandardStandard.xml +14 -0
  1935. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Fixtures/StandardWithDocs/Docs/Structure/OneStandardBlockCodeComparisonStandard.xml +19 -0
  1936. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Fixtures/StandardWithDocs/Docs/Structure/OneStandardBlockNoCodeStandard.xml +7 -0
  1937. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Fixtures/StandardWithDocs/Docs/Structure/OneStandardBlockTwoCodeComparisonsStandard.xml +31 -0
  1938. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Fixtures/StandardWithDocs/Docs/Structure/TwoStandardBlocksNoCodeStandard.xml +12 -0
  1939. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Fixtures/StandardWithDocs/Docs/Structure/TwoStandardBlocksOneCodeComparisonStandard.xml +24 -0
  1940. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Fixtures/StandardWithDocs/Docs/Structure/TwoStandardBlocksThreeCodeComparisonsStandard.xml +48 -0
  1941. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Fixtures/StandardWithDocs/Docs/Unsupported/ElementAtWrongLevelStandard.xml +8 -0
  1942. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Fixtures/StandardWithDocs/Docs/Unsupported/OneElmAtWrongLevelStandard.xml +13 -0
  1943. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Fixtures/StandardWithDocs/Docs/Unsupported/SuperfluousCodeElementStandard.xml +24 -0
  1944. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Fixtures/StandardWithDocs/Docs/Unsupported/UnknownElementStandard.xml +7 -0
  1945. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Fixtures/StandardWithDocs/Sniffs/Content/CodeComparisonBlankLinesSniff.php +12 -0
  1946. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Fixtures/StandardWithDocs/Sniffs/Content/CodeComparisonBlockLengthSniff.php +12 -0
  1947. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Fixtures/StandardWithDocs/Sniffs/Content/CodeComparisonEncodingSniff.php +12 -0
  1948. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Fixtures/StandardWithDocs/Sniffs/Content/CodeComparisonLineLengthSniff.php +12 -0
  1949. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Fixtures/StandardWithDocs/Sniffs/Content/CodeTitleLineWrappingSniff.php +12 -0
  1950. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Fixtures/StandardWithDocs/Sniffs/Content/CodeTitleWhitespaceSniff.php +12 -0
  1951. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Fixtures/StandardWithDocs/Sniffs/Content/DocumentationTitleCaseSniff.php +12 -0
  1952. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Fixtures/StandardWithDocs/Sniffs/Content/DocumentationTitleLengthSniff.php +12 -0
  1953. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Fixtures/StandardWithDocs/Sniffs/Content/StandardBlankLinesSniff.php +12 -0
  1954. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Fixtures/StandardWithDocs/Sniffs/Content/StandardEncodingSniff.php +12 -0
  1955. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Fixtures/StandardWithDocs/Sniffs/Content/StandardIndentSniff.php +12 -0
  1956. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Fixtures/StandardWithDocs/Sniffs/Content/StandardLineWrappingSniff.php +12 -0
  1957. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Fixtures/StandardWithDocs/Sniffs/DummySniff.php +25 -0
  1958. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Fixtures/StandardWithDocs/Sniffs/Structure/DocumentationMissingSniff.php +12 -0
  1959. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Fixtures/StandardWithDocs/Sniffs/Structure/NoContentSniff.php +12 -0
  1960. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Fixtures/StandardWithDocs/Sniffs/Structure/NoDocumentationElementSniff.php +12 -0
  1961. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Fixtures/StandardWithDocs/Sniffs/Structure/OneCodeComparisonNoStandardSniff.php +12 -0
  1962. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Fixtures/StandardWithDocs/Sniffs/Structure/OneStandardBlockCodeComparisonSniff.php +12 -0
  1963. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Fixtures/StandardWithDocs/Sniffs/Structure/OneStandardBlockNoCodeSniff.php +12 -0
  1964. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Fixtures/StandardWithDocs/Sniffs/Structure/OneStandardBlockTwoCodeComparisonsSniff.php +12 -0
  1965. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Fixtures/StandardWithDocs/Sniffs/Structure/TwoStandardBlocksNoCodeSniff.php +12 -0
  1966. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Fixtures/StandardWithDocs/Sniffs/Structure/TwoStandardBlocksOneCodeComparisonSniff.php +12 -0
  1967. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Fixtures/StandardWithDocs/Sniffs/Structure/TwoStandardBlocksThreeCodeComparisonsSniff.php +12 -0
  1968. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Fixtures/StandardWithDocs/Sniffs/Unsupported/ElementAtWrongLevelSniff.php +12 -0
  1969. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Fixtures/StandardWithDocs/Sniffs/Unsupported/OneElmAtWrongLevelSniff.php +12 -0
  1970. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Fixtures/StandardWithDocs/Sniffs/Unsupported/SuperfluousCodeElementSniff.php +12 -0
  1971. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Fixtures/StandardWithDocs/Sniffs/Unsupported/UnknownElementSniff.php +12 -0
  1972. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/Fixtures/StandardWithDocs/ruleset.xml +4 -0
  1973. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/GeneratorTest.php +245 -0
  1974. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/HTMLTest.php +292 -0
  1975. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/MarkdownTest.php +290 -0
  1976. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/NoDocsTest.xml +8 -0
  1977. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/NoValidDocsTest.xml +8 -0
  1978. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/OneDocTest.xml +8 -0
  1979. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/StructureDocsTest.xml +10 -0
  1980. package/vendor/squizlabs/php_codesniffer/tests/Core/Generators/TextTest.php +197 -0
  1981. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/AbstractRulesetTestCase.php +115 -0
  1982. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/ConstructorNoSniffsTest.xml +6 -0
  1983. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/ConstructorTest.php +293 -0
  1984. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/ExpandSniffDirectoryTest.php +78 -0
  1985. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/ExpandSniffDirectoryTest.xml +8 -0
  1986. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/ExplainCustomRulesetTest.xml +10 -0
  1987. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/ExplainSingleSniffTest.xml +6 -0
  1988. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/ExplainTest.php +264 -0
  1989. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/Fixtures/DirectoryExpansion/.hiddenAbove/src/MyStandard/.hidden/HiddenDirShouldBeIgnoredSniff.php +15 -0
  1990. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/Fixtures/DirectoryExpansion/.hiddenAbove/src/MyStandard/AbstractSniff.php +12 -0
  1991. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/Fixtures/DirectoryExpansion/.hiddenAbove/src/MyStandard/DummySniff.php +25 -0
  1992. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/Fixtures/DirectoryExpansion/.hiddenAbove/src/MyStandard/Sniffs/.hidden/HiddenDirShouldBeIgnoredSniff.php +15 -0
  1993. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/Fixtures/DirectoryExpansion/.hiddenAbove/src/MyStandard/Sniffs/AbstractSniff.php +12 -0
  1994. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/Fixtures/DirectoryExpansion/.hiddenAbove/src/MyStandard/Sniffs/CategoryA/.HiddenFileSniff.php +12 -0
  1995. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/Fixtures/DirectoryExpansion/.hiddenAbove/src/MyStandard/Sniffs/CategoryA/.hidden/DoNotFindMeSniff.txt +0 -0
  1996. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/Fixtures/DirectoryExpansion/.hiddenAbove/src/MyStandard/Sniffs/CategoryA/.hidden/HiddenDirShouldBeIgnoredSniff.php +15 -0
  1997. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/Fixtures/DirectoryExpansion/.hiddenAbove/src/MyStandard/Sniffs/CategoryA/DoNotFindMeSniff.txt +12 -0
  1998. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/Fixtures/DirectoryExpansion/.hiddenAbove/src/MyStandard/Sniffs/CategoryA/FindMeSniff.php +12 -0
  1999. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/Fixtures/DirectoryExpansion/.hiddenAbove/src/MyStandard/Sniffs/CategoryA/IncorrectFileExtensionSniff.inc +12 -0
  2000. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/Fixtures/DirectoryExpansion/.hiddenAbove/src/MyStandard/Sniffs/CategoryA/MissingSniffSuffix.php +12 -0
  2001. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/Fixtures/DirectoryExpansion/.hiddenAbove/src/MyStandard/Sniffs/CategoryA/Subdir/IncorrectLevelShouldStillBeFoundSniff.php +12 -0
  2002. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/Fixtures/DirectoryExpansion/.hiddenAbove/src/MyStandard/Sniffs/CategoryB/AnotherAbstractSniff.php +12 -0
  2003. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/Fixtures/DirectoryExpansion/.hiddenAbove/src/MyStandard/Sniffs/CategoryB/FindMeSniff.php +12 -0
  2004. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/Fixtures/DirectoryExpansion/.hiddenAbove/src/MyStandard/Sniffs/CategoryB/IncorrectFileExtensionSniff.php3 +12 -0
  2005. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/Fixtures/DirectoryExpansion/.hiddenAbove/src/MyStandard/Sniffs/IncorrectLevelShouldStillBeFoundSniff.php +12 -0
  2006. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/Fixtures/DirectoryExpansion/.hiddenAbove/src/MyStandard/Utils/NotInSniffsDirSniff.php +12 -0
  2007. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/Fixtures/DirectoryExpansion/.hiddenAbove/src/MyStandard/Utils/SubDir/NotInSniffsDirSniff.php +12 -0
  2008. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/Fixtures/DirectoryExpansion/.hiddenAbove/src/MyStandard/ruleset.xml +4 -0
  2009. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/Fixtures/InvalidNoSniffsDir/Sniffs +0 -0
  2010. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/Fixtures/InvalidNoSniffsDir/ruleset.xml +4 -0
  2011. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/Fixtures/ProcessRulesetAutoloadLoadAlways.1.php +8 -0
  2012. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/Fixtures/ProcessRulesetAutoloadLoadAlways.2.php +8 -0
  2013. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/Fixtures/ProcessRulesetAutoloadLoadAlways.3.php +8 -0
  2014. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/Fixtures/ProcessRulesetAutoloadLoadAlways.4.php +8 -0
  2015. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/Fixtures/ProcessRulesetAutoloadLoadPhpcbfOnly.php +8 -0
  2016. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/Fixtures/ProcessRulesetAutoloadLoadPhpcsOnly.php +8 -0
  2017. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/Fixtures/PropertyTypeHandlingInline.inc +26 -0
  2018. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/Fixtures/TestStandard/Sniffs/Deprecated/WithLongReplacementSniff.php +41 -0
  2019. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/Fixtures/TestStandard/Sniffs/Deprecated/WithReplacementContainingLinuxNewlinesSniff.php +45 -0
  2020. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/Fixtures/TestStandard/Sniffs/Deprecated/WithReplacementContainingNewlinesSniff.php +45 -0
  2021. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/Fixtures/TestStandard/Sniffs/Deprecated/WithReplacementSniff.php +41 -0
  2022. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/Fixtures/TestStandard/Sniffs/Deprecated/WithoutReplacementSniff.php +41 -0
  2023. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/Fixtures/TestStandard/Sniffs/DeprecatedInvalid/EmptyDeprecationVersionSniff.php +41 -0
  2024. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/Fixtures/TestStandard/Sniffs/DeprecatedInvalid/EmptyRemovalVersionSniff.php +41 -0
  2025. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/Fixtures/TestStandard/Sniffs/DeprecatedInvalid/InvalidDeprecationMessageSniff.php +42 -0
  2026. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/Fixtures/TestStandard/Sniffs/DeprecatedInvalid/InvalidDeprecationVersionSniff.php +41 -0
  2027. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/Fixtures/TestStandard/Sniffs/DeprecatedInvalid/InvalidRemovalVersionSniff.php +41 -0
  2028. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/Fixtures/TestStandard/Sniffs/InvalidSniffs/RegisterNoArraySniff.php +25 -0
  2029. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/Fixtures/TestStandard/Sniffs/SetProperty/AllowedAsDeclaredSniff.php +28 -0
  2030. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/Fixtures/TestStandard/Sniffs/SetProperty/AllowedViaMagicMethodSniff.php +40 -0
  2031. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/Fixtures/TestStandard/Sniffs/SetProperty/AllowedViaStdClassSniff.php +26 -0
  2032. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/Fixtures/TestStandard/Sniffs/SetProperty/NotAllowedViaAttributeSniff.php +27 -0
  2033. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/Fixtures/TestStandard/Sniffs/SetProperty/PropertyTypeHandlingSniff.php +125 -0
  2034. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/Fixtures/TestStandard/Sniffs/ValidSniffs/RegisterEmptyArraySniff.php +25 -0
  2035. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/Fixtures/TestStandard/ruleset.xml +4 -0
  2036. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/GetIgnorePatternsTest.php +111 -0
  2037. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/GetIgnorePatternsTest.xml +19 -0
  2038. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/GetIncludePatternsTest.php +108 -0
  2039. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/GetIncludePatternsTest.xml +15 -0
  2040. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/PopulateTokenListenersRegisterNoArrayTest.xml +8 -0
  2041. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/PopulateTokenListenersTest.php +548 -0
  2042. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/PopulateTokenListenersTest.xml +45 -0
  2043. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/ProcessRuleInvalidTypeTest.php +43 -0
  2044. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/ProcessRuleInvalidTypeTest.xml +9 -0
  2045. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/ProcessRuleShouldProcessElementTest.php +660 -0
  2046. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/ProcessRuleShouldProcessElementTest.xml +100 -0
  2047. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/ProcessRulesetAutoExpandSniffsDirectoryTest.xml +10 -0
  2048. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/ProcessRulesetAutoloadFileNotFoundTest.xml +8 -0
  2049. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/ProcessRulesetAutoloadTest.php +164 -0
  2050. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/ProcessRulesetAutoloadTest.xml +37 -0
  2051. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/ProcessRulesetBrokenRulesetEmptyFileTest.xml +0 -0
  2052. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/ProcessRulesetBrokenRulesetMultiErrorTest.xml +10 -0
  2053. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/ProcessRulesetBrokenRulesetSingleErrorTest.xml +2 -0
  2054. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/ProcessRulesetBrokenRulesetTest.php +92 -0
  2055. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/ProcessRulesetExcludeSniffGroupTest.xml +11 -0
  2056. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/ProcessRulesetInvalidNoSniffsDirTest.xml +10 -0
  2057. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/ProcessRulesetMiscTest.xml +25 -0
  2058. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/ProcessRulesetShouldProcessElementTest.php +388 -0
  2059. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/ProcessRulesetShouldProcessElementTest.xml +54 -0
  2060. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/ProcessRulesetTest.php +264 -0
  2061. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/PropertyTypeHandlingInlineTest.xml +6 -0
  2062. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/PropertyTypeHandlingTest.php +234 -0
  2063. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/PropertyTypeHandlingTest.xml +44 -0
  2064. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/RegisterSniffsTest.php +293 -0
  2065. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/RuleInclusionAbsoluteLinuxTest.php +119 -0
  2066. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/RuleInclusionAbsoluteLinuxTest.xml +11 -0
  2067. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/RuleInclusionAbsoluteWindowsTest.php +116 -0
  2068. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/RuleInclusionAbsoluteWindowsTest.xml +11 -0
  2069. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/RuleInclusionTest-include.xml +10 -0
  2070. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/RuleInclusionTest.php +479 -0
  2071. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/RuleInclusionTest.xml +58 -0
  2072. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/SetPropertyAllowedAsDeclaredTest.xml +16 -0
  2073. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/SetPropertyAllowedViaMagicMethodTest.xml +16 -0
  2074. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/SetPropertyAllowedViaStdClassTest.xml +16 -0
  2075. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/SetPropertyAppliesPropertyToMultipleSniffsInCategoryTest.xml +9 -0
  2076. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/SetPropertyDoesNotThrowErrorOnInvalidPropertyWhenSetForCategoryTest.xml +9 -0
  2077. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/SetPropertyDoesNotThrowErrorOnInvalidPropertyWhenSetForStandardTest.xml +9 -0
  2078. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/SetPropertyNotAllowedViaAttributeTest.xml +10 -0
  2079. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/SetPropertyThrowsErrorOnInvalidPropertyTest.xml +9 -0
  2080. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/SetSniffPropertyTest.php +421 -0
  2081. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/ShowSniffDeprecationsEmptyDeprecationVersionTest.xml +8 -0
  2082. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/ShowSniffDeprecationsEmptyRemovalVersionTest.xml +8 -0
  2083. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/ShowSniffDeprecationsInvalidDeprecationMessageTest.xml +8 -0
  2084. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/ShowSniffDeprecationsInvalidDeprecationVersionTest.xml +8 -0
  2085. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/ShowSniffDeprecationsInvalidRemovalVersionTest.xml +8 -0
  2086. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/ShowSniffDeprecationsOrderTest.xml +10 -0
  2087. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/ShowSniffDeprecationsReportWidthTest.xml +8 -0
  2088. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/ShowSniffDeprecationsTest.php +540 -0
  2089. package/vendor/squizlabs/php_codesniffer/tests/Core/Ruleset/ShowSniffDeprecationsTest.xml +11 -0
  2090. package/vendor/squizlabs/php_codesniffer/tests/Core/Sniffs/AbstractArraySniffTest.inc +51 -0
  2091. package/vendor/squizlabs/php_codesniffer/tests/Core/Sniffs/AbstractArraySniffTest.php +297 -0
  2092. package/vendor/squizlabs/php_codesniffer/tests/Core/Sniffs/AbstractArraySniffTestable.php +65 -0
  2093. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/AbstractTokenizerTestCase.php +126 -0
  2094. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/Comment/CommentTestCase.php +117 -0
  2095. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/Comment/LiveCoding1Test.inc +6 -0
  2096. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/Comment/LiveCoding1Test.php +69 -0
  2097. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/Comment/LiveCoding2Test.inc +5 -0
  2098. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/Comment/LiveCoding2Test.php +68 -0
  2099. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/Comment/LiveCoding3Test.inc +4 -0
  2100. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/Comment/LiveCoding3Test.php +62 -0
  2101. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/Comment/LiveCoding4Test.inc +7 -0
  2102. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/Comment/LiveCoding4Test.php +76 -0
  2103. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/Comment/MultiLineDocBlockTest.inc +81 -0
  2104. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/Comment/MultiLineDocBlockTest.php +439 -0
  2105. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/Comment/PhpcsAnnotationsInDocBlockTest.inc +116 -0
  2106. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/Comment/PhpcsAnnotationsInDocBlockTest.php +637 -0
  2107. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/Comment/SingleLineDocBlockTest.inc +26 -0
  2108. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/Comment/SingleLineDocBlockTest.php +217 -0
  2109. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/PHP/AnonClassParenthesisOwnerTest.inc +29 -0
  2110. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/PHP/AnonClassParenthesisOwnerTest.php +158 -0
  2111. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/PHP/ArrayKeywordTest.inc +58 -0
  2112. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/PHP/ArrayKeywordTest.php +200 -0
  2113. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/PHP/AttributesTest.inc +90 -0
  2114. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/PHP/AttributesTest.php +704 -0
  2115. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/PHP/BackfillEnumTest.inc +91 -0
  2116. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/PHP/BackfillEnumTest.php +226 -0
  2117. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/PHP/BackfillExplicitOctalNotationTest.inc +31 -0
  2118. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/PHP/BackfillExplicitOctalNotationTest.php +120 -0
  2119. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/PHP/BackfillFnTokenParseErrorTest.inc +5 -0
  2120. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/PHP/BackfillFnTokenParseErrorTest.php +44 -0
  2121. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/PHP/BackfillFnTokenTest.inc +228 -0
  2122. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/PHP/BackfillFnTokenTest.php +967 -0
  2123. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/PHP/BackfillMatchTokenTest.inc +319 -0
  2124. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/PHP/BackfillMatchTokenTest.php +555 -0
  2125. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/PHP/BackfillNumericSeparatorTest.inc +94 -0
  2126. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/PHP/BackfillNumericSeparatorTest.php +402 -0
  2127. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/PHP/BackfillReadonlyTest.inc +156 -0
  2128. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/PHP/BackfillReadonlyTest.php +271 -0
  2129. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/PHP/BitwiseOrTest.inc +183 -0
  2130. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/PHP/BitwiseOrTest.php +160 -0
  2131. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/PHP/ContextSensitiveKeywordsTest.inc +244 -0
  2132. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/PHP/ContextSensitiveKeywordsTest.php +548 -0
  2133. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/PHP/DNFTypesParseError1Test.inc +17 -0
  2134. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/PHP/DNFTypesParseError1Test.php +69 -0
  2135. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/PHP/DNFTypesParseError2Test.inc +48 -0
  2136. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/PHP/DNFTypesParseError2Test.php +218 -0
  2137. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/PHP/DNFTypesTest.inc +264 -0
  2138. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/PHP/DNFTypesTest.php +533 -0
  2139. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/PHP/DefaultKeywordTest.inc +203 -0
  2140. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/PHP/DefaultKeywordTest.php +255 -0
  2141. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/PHP/DoubleArrowTest.inc +281 -0
  2142. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/PHP/DoubleArrowTest.php +237 -0
  2143. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/PHP/DoubleQuotedStringTest.inc +52 -0
  2144. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/PHP/DoubleQuotedStringTest.php +144 -0
  2145. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/PHP/EnumCaseTest.inc +95 -0
  2146. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/PHP/EnumCaseTest.php +150 -0
  2147. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/PHP/FinallyTest.inc +40 -0
  2148. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/PHP/FinallyTest.php +98 -0
  2149. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/PHP/GotoLabelTest.inc +56 -0
  2150. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/PHP/GotoLabelTest.php +176 -0
  2151. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/PHP/HeredocNowdocTest.inc +39 -0
  2152. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/PHP/HeredocNowdocTest.php +213 -0
  2153. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/PHP/HeredocParseErrorTest.inc +11 -0
  2154. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/PHP/HeredocParseErrorTest.php +41 -0
  2155. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/PHP/HeredocStringTest.inc +193 -0
  2156. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/PHP/HeredocStringTest.php +161 -0
  2157. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/PHP/NamedFunctionCallArgumentsTest.inc +407 -0
  2158. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/PHP/NamedFunctionCallArgumentsTest.php +974 -0
  2159. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/PHP/NullsafeObjectOperatorTest.inc +29 -0
  2160. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/PHP/NullsafeObjectOperatorTest.php +144 -0
  2161. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/PHP/OtherContextSensitiveKeywordsTest.inc +247 -0
  2162. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/PHP/OtherContextSensitiveKeywordsTest.php +721 -0
  2163. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/PHP/ResolveSimpleTokenTest.inc +51 -0
  2164. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/PHP/ResolveSimpleTokenTest.php +433 -0
  2165. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/PHP/ShortArrayTest.inc +111 -0
  2166. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/PHP/ShortArrayTest.php +141 -0
  2167. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/PHP/StableCommentWhitespaceTest.inc +139 -0
  2168. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/PHP/StableCommentWhitespaceTest.php +1064 -0
  2169. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/PHP/StableCommentWhitespaceWinTest.inc +63 -0
  2170. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/PHP/StableCommentWhitespaceWinTest.php +375 -0
  2171. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/PHP/TypeIntersectionTest.inc +161 -0
  2172. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/PHP/TypeIntersectionTest.php +157 -0
  2173. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/PHP/TypedConstantsTest.inc +156 -0
  2174. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/PHP/TypedConstantsTest.php +668 -0
  2175. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/PHP/UndoNamespacedNameSingleTokenTest.inc +147 -0
  2176. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/PHP/UndoNamespacedNameSingleTokenTest.php +1304 -0
  2177. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/PHP/YieldTest.inc +77 -0
  2178. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/PHP/YieldTest.php +448 -0
  2179. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/Tokenizer/CreateParenthesisNestingMapDNFTypesTest.inc +185 -0
  2180. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/Tokenizer/CreateParenthesisNestingMapDNFTypesTest.php +374 -0
  2181. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/Tokenizer/CreatePositionMapHeredocNowdocCloserTest.inc +43 -0
  2182. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/Tokenizer/CreatePositionMapHeredocNowdocCloserTest.php +117 -0
  2183. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/Tokenizer/CreatePositionMapHeredocNowdocOpenerTest.inc +31 -0
  2184. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/Tokenizer/CreatePositionMapHeredocNowdocOpenerTest.php +122 -0
  2185. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/Tokenizer/CreatePositionMapTabWidth0Test.php +107 -0
  2186. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/Tokenizer/CreatePositionMapYieldFromTest.inc +15 -0
  2187. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/Tokenizer/CreatePositionMapYieldFromTest.php +100 -0
  2188. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/Tokenizer/CreateTokenMapArrayParenthesesTest.inc +58 -0
  2189. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/Tokenizer/CreateTokenMapArrayParenthesesTest.php +212 -0
  2190. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/Tokenizer/RecurseScopeMapCaseKeywordConditionsTest.inc +132 -0
  2191. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/Tokenizer/RecurseScopeMapCaseKeywordConditionsTest.php +271 -0
  2192. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/Tokenizer/RecurseScopeMapDefaultKeywordConditionsTest.inc +203 -0
  2193. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/Tokenizer/RecurseScopeMapDefaultKeywordConditionsTest.php +347 -0
  2194. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/Tokenizer/RecurseScopeMapIfKeywordConditionsTest.inc +13 -0
  2195. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/Tokenizer/RecurseScopeMapIfKeywordConditionsTest.php +76 -0
  2196. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/Tokenizer/RecurseScopeMapSwitchTokenScopeTest.inc +33 -0
  2197. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/Tokenizer/RecurseScopeMapSwitchTokenScopeTest.php +130 -0
  2198. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/Tokenizer/RecurseScopeMapWithNamespaceOperatorTest.inc +19 -0
  2199. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/Tokenizer/RecurseScopeMapWithNamespaceOperatorTest.php +98 -0
  2200. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/Tokenizer/ReplaceTabsInTokenMiscTest.php +124 -0
  2201. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/Tokenizer/ReplaceTabsInTokenTabWidth1Test.php +111 -0
  2202. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/Tokenizer/ReplaceTabsInTokenTabWidth2Test.php +111 -0
  2203. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/Tokenizer/ReplaceTabsInTokenTabWidth4Test.php +111 -0
  2204. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/Tokenizer/ReplaceTabsInTokenTabWidth5Test.php +111 -0
  2205. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/Tokenizer/ReplaceTabsInTokenTest.inc +46 -0
  2206. package/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizers/Tokenizer/ReplaceTabsInTokenTestCase.php +274 -0
  2207. package/vendor/squizlabs/php_codesniffer/tests/Core/Util/Common/EscapeshellcmdTest.php +91 -0
  2208. package/vendor/squizlabs/php_codesniffer/tests/Core/Util/Common/GetSniffCodeTest.php +200 -0
  2209. package/vendor/squizlabs/php_codesniffer/tests/Core/Util/Common/IsCamelCapsTest.php +140 -0
  2210. package/vendor/squizlabs/php_codesniffer/tests/Core/Util/Common/PrepareForOutputTest.php +113 -0
  2211. package/vendor/squizlabs/php_codesniffer/tests/Core/Util/Common/StripColorsTest.php +96 -0
  2212. package/vendor/squizlabs/php_codesniffer/tests/Core/Util/Common/SuggestTypeTest.php +224 -0
  2213. package/vendor/squizlabs/php_codesniffer/tests/Core/Util/Help/HelpTest.php +769 -0
  2214. package/vendor/squizlabs/php_codesniffer/tests/Core/Util/Timing/GetHumanReadableDurationTest.php +114 -0
  2215. package/vendor/squizlabs/php_codesniffer/tests/Core/Util/Timing/TimingTest.php +123 -0
  2216. package/vendor/squizlabs/php_codesniffer/tests/Core/Util/Tokens/GetHighestWeightedTokenTest.php +162 -0
  2217. package/vendor/squizlabs/php_codesniffer/tests/Core/Util/Tokens/TokenNameTest.php +81 -0
  2218. package/vendor/squizlabs/php_codesniffer/tests/FileList.php +98 -0
  2219. package/vendor/squizlabs/php_codesniffer/tests/Standards/AbstractSniffUnitTest.php +468 -0
  2220. package/vendor/squizlabs/php_codesniffer/tests/Standards/AllSniffs.php +114 -0
  2221. package/vendor/squizlabs/php_codesniffer/tests/TestSuite.php +35 -0
  2222. package/vendor/squizlabs/php_codesniffer/tests/TestSuite7.php +35 -0
  2223. package/vendor/squizlabs/php_codesniffer/tests/bootstrap.php +99 -0
  2224. package/vendor/wp-coding-standards/wpcs/CHANGELOG.md +1654 -0
  2225. package/vendor/wp-coding-standards/wpcs/LICENSE +21 -0
  2226. package/vendor/wp-coding-standards/wpcs/README.md +261 -0
  2227. package/vendor/wp-coding-standards/wpcs/WordPress/AbstractArrayAssignmentRestrictionsSniff.php +261 -0
  2228. package/vendor/wp-coding-standards/wpcs/WordPress/AbstractClassRestrictionsSniff.php +257 -0
  2229. package/vendor/wp-coding-standards/wpcs/WordPress/AbstractFunctionParameterSniff.php +111 -0
  2230. package/vendor/wp-coding-standards/wpcs/WordPress/AbstractFunctionRestrictionsSniff.php +358 -0
  2231. package/vendor/wp-coding-standards/wpcs/WordPress/Docs/Arrays/ArrayIndentationStandard.xml +116 -0
  2232. package/vendor/wp-coding-standards/wpcs/WordPress/Docs/Arrays/ArrayKeySpacingRestrictionsStandard.xml +31 -0
  2233. package/vendor/wp-coding-standards/wpcs/WordPress/Docs/Arrays/MultipleStatementAlignmentStandard.xml +50 -0
  2234. package/vendor/wp-coding-standards/wpcs/WordPress/Docs/CodeAnalysis/EscapedNotTranslatedStandard.xml +24 -0
  2235. package/vendor/wp-coding-standards/wpcs/WordPress/Docs/DateTime/CurrentTimeTimestampStandard.xml +35 -0
  2236. package/vendor/wp-coding-standards/wpcs/WordPress/Docs/DateTime/RestrictedFunctionsStandard.xml +54 -0
  2237. package/vendor/wp-coding-standards/wpcs/WordPress/Docs/NamingConventions/PrefixAllGlobalsStandard.xml +119 -0
  2238. package/vendor/wp-coding-standards/wpcs/WordPress/Docs/NamingConventions/ValidHookNameStandard.xml +35 -0
  2239. package/vendor/wp-coding-standards/wpcs/WordPress/Docs/NamingConventions/ValidPostTypeSlugStandard.xml +121 -0
  2240. package/vendor/wp-coding-standards/wpcs/WordPress/Docs/PHP/IniSetStandard.xml +40 -0
  2241. package/vendor/wp-coding-standards/wpcs/WordPress/Docs/PHP/StrictInArrayStandard.xml +53 -0
  2242. package/vendor/wp-coding-standards/wpcs/WordPress/Docs/PHP/YodaConditionsStandard.xml +27 -0
  2243. package/vendor/wp-coding-standards/wpcs/WordPress/Docs/Security/SafeRedirectStandard.xml +23 -0
  2244. package/vendor/wp-coding-standards/wpcs/WordPress/Docs/WP/CapabilitiesStandard.xml +69 -0
  2245. package/vendor/wp-coding-standards/wpcs/WordPress/Docs/WP/CapitalPDangitStandard.xml +43 -0
  2246. package/vendor/wp-coding-standards/wpcs/WordPress/Docs/WP/ClassNameCaseStandard.xml +23 -0
  2247. package/vendor/wp-coding-standards/wpcs/WordPress/Docs/WP/CronIntervalStandard.xml +45 -0
  2248. package/vendor/wp-coding-standards/wpcs/WordPress/Docs/WP/DeprecatedClassesStandard.xml +23 -0
  2249. package/vendor/wp-coding-standards/wpcs/WordPress/Docs/WP/DeprecatedFunctionsStandard.xml +23 -0
  2250. package/vendor/wp-coding-standards/wpcs/WordPress/Docs/WP/DeprecatedParameterValuesStandard.xml +23 -0
  2251. package/vendor/wp-coding-standards/wpcs/WordPress/Docs/WP/DeprecatedParametersStandard.xml +40 -0
  2252. package/vendor/wp-coding-standards/wpcs/WordPress/Docs/WP/EnqueuedResourceParametersStandard.xml +92 -0
  2253. package/vendor/wp-coding-standards/wpcs/WordPress/Docs/WP/EnqueuedResourcesStandard.xml +57 -0
  2254. package/vendor/wp-coding-standards/wpcs/WordPress/Docs/WP/PostsPerPageStandard.xml +73 -0
  2255. package/vendor/wp-coding-standards/wpcs/WordPress/Docs/WhiteSpace/CastStructureSpacingStandard.xml +27 -0
  2256. package/vendor/wp-coding-standards/wpcs/WordPress/Docs/WhiteSpace/ControlStructureSpacingStandard.xml +150 -0
  2257. package/vendor/wp-coding-standards/wpcs/WordPress/Docs/WhiteSpace/ObjectOperatorSpacingStandard.xml +19 -0
  2258. package/vendor/wp-coding-standards/wpcs/WordPress/Docs/WhiteSpace/OperatorSpacingStandard.xml +61 -0
  2259. package/vendor/wp-coding-standards/wpcs/WordPress/Helpers/ArrayWalkingFunctionsHelper.php +108 -0
  2260. package/vendor/wp-coding-standards/wpcs/WordPress/Helpers/ConstantsHelper.php +135 -0
  2261. package/vendor/wp-coding-standards/wpcs/WordPress/Helpers/ContextHelper.php +394 -0
  2262. package/vendor/wp-coding-standards/wpcs/WordPress/Helpers/DeprecationHelper.php +84 -0
  2263. package/vendor/wp-coding-standards/wpcs/WordPress/Helpers/EscapingFunctionsTrait.php +256 -0
  2264. package/vendor/wp-coding-standards/wpcs/WordPress/Helpers/FormattingFunctionsHelper.php +60 -0
  2265. package/vendor/wp-coding-standards/wpcs/WordPress/Helpers/IsUnitTestTrait.php +238 -0
  2266. package/vendor/wp-coding-standards/wpcs/WordPress/Helpers/ListHelper.php +101 -0
  2267. package/vendor/wp-coding-standards/wpcs/WordPress/Helpers/MinimumWPVersionTrait.php +159 -0
  2268. package/vendor/wp-coding-standards/wpcs/WordPress/Helpers/PrintingFunctionsTrait.php +122 -0
  2269. package/vendor/wp-coding-standards/wpcs/WordPress/Helpers/RulesetPropertyHelper.php +73 -0
  2270. package/vendor/wp-coding-standards/wpcs/WordPress/Helpers/SanitizationHelperTrait.php +418 -0
  2271. package/vendor/wp-coding-standards/wpcs/WordPress/Helpers/SnakeCaseHelper.php +60 -0
  2272. package/vendor/wp-coding-standards/wpcs/WordPress/Helpers/UnslashingFunctionsHelper.php +59 -0
  2273. package/vendor/wp-coding-standards/wpcs/WordPress/Helpers/ValidationHelper.php +349 -0
  2274. package/vendor/wp-coding-standards/wpcs/WordPress/Helpers/VariableHelper.php +262 -0
  2275. package/vendor/wp-coding-standards/wpcs/WordPress/Helpers/WPDBTrait.php +115 -0
  2276. package/vendor/wp-coding-standards/wpcs/WordPress/Helpers/WPGlobalVariablesHelper.php +312 -0
  2277. package/vendor/wp-coding-standards/wpcs/WordPress/Helpers/WPHookHelper.php +113 -0
  2278. package/vendor/wp-coding-standards/wpcs/WordPress/Sniff.php +72 -0
  2279. package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/Arrays/ArrayDeclarationSpacingSniff.php +252 -0
  2280. package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/Arrays/ArrayIndentationSniff.php +550 -0
  2281. package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/Arrays/ArrayKeySpacingRestrictionsSniff.php +174 -0
  2282. package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/Arrays/MultipleStatementAlignmentSniff.php +583 -0
  2283. package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/CodeAnalysis/AssignmentInTernaryConditionSniff.php +173 -0
  2284. package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/CodeAnalysis/EscapedNotTranslatedSniff.php +89 -0
  2285. package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/DB/DirectDatabaseQuerySniff.php +301 -0
  2286. package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/DB/PreparedSQLPlaceholdersSniff.php +761 -0
  2287. package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/DB/PreparedSQLSniff.php +242 -0
  2288. package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/DB/RestrictedClassesSniff.php +57 -0
  2289. package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/DB/RestrictedFunctionsSniff.php +63 -0
  2290. package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/DB/SlowDBQuerySniff.php +58 -0
  2291. package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/DateTime/CurrentTimeTimestampSniff.php +168 -0
  2292. package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/DateTime/RestrictedFunctionsSniff.php +59 -0
  2293. package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/Files/FileNameSniff.php +313 -0
  2294. package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/NamingConventions/PrefixAllGlobalsSniff.php +1297 -0
  2295. package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/NamingConventions/ValidFunctionNameSniff.php +188 -0
  2296. package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/NamingConventions/ValidHookNameSniff.php +277 -0
  2297. package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/NamingConventions/ValidPostTypeSlugSniff.php +230 -0
  2298. package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/NamingConventions/ValidVariableNameSniff.php +289 -0
  2299. package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/PHP/DevelopmentFunctionsSniff.php +63 -0
  2300. package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/PHP/DiscouragedPHPFunctionsSniff.php +100 -0
  2301. package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/PHP/DontExtractSniff.php +52 -0
  2302. package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/PHP/IniSetSniff.php +193 -0
  2303. package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/PHP/NoSilencedErrorsSniff.php +245 -0
  2304. package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/PHP/POSIXFunctionsSniff.php +73 -0
  2305. package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/PHP/PregQuoteDelimiterSniff.php +70 -0
  2306. package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/PHP/RestrictedPHPFunctionsSniff.php +45 -0
  2307. package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/PHP/StrictInArraySniff.php +122 -0
  2308. package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/PHP/TypeCastsSniff.php +90 -0
  2309. package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/PHP/YodaConditionsSniff.php +124 -0
  2310. package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/Security/EscapeOutputSniff.php +903 -0
  2311. package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/Security/NonceVerificationSniff.php +422 -0
  2312. package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/Security/PluginMenuSlugSniff.php +126 -0
  2313. package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/Security/SafeRedirectSniff.php +45 -0
  2314. package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/Security/ValidatedSanitizedInputSniff.php +244 -0
  2315. package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/Utils/I18nTextDomainFixerSniff.php +862 -0
  2316. package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/WP/AlternativeFunctionsSniff.php +371 -0
  2317. package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/WP/CapabilitiesSniff.php +478 -0
  2318. package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/WP/CapitalPDangitSniff.php +315 -0
  2319. package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/WP/ClassNameCaseSniff.php +897 -0
  2320. package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/WP/CronIntervalSniff.php +321 -0
  2321. package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/WP/DeprecatedClassesSniff.php +152 -0
  2322. package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/WP/DeprecatedFunctionsSniff.php +1708 -0
  2323. package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/WP/DeprecatedParameterValuesSniff.php +291 -0
  2324. package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/WP/DeprecatedParametersSniff.php +509 -0
  2325. package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/WP/DiscouragedConstantsSniff.php +160 -0
  2326. package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/WP/DiscouragedFunctionsSniff.php +54 -0
  2327. package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/WP/EnqueuedResourceParametersSniff.php +241 -0
  2328. package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/WP/EnqueuedResourcesSniff.php +108 -0
  2329. package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/WP/GlobalVariablesOverrideSniff.php +436 -0
  2330. package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/WP/I18nSniff.php +977 -0
  2331. package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/WP/PostsPerPageSniff.php +102 -0
  2332. package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/WhiteSpace/CastStructureSpacingSniff.php +59 -0
  2333. package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/WhiteSpace/ControlStructureSpacingSniff.php +486 -0
  2334. package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/WhiteSpace/ObjectOperatorSpacingSniff.php +63 -0
  2335. package/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/WhiteSpace/OperatorSpacingSniff.php +60 -0
  2336. package/vendor/wp-coding-standards/wpcs/WordPress/ruleset.xml +13 -0
  2337. package/vendor/wp-coding-standards/wpcs/WordPress-Core/ruleset.xml +948 -0
  2338. package/vendor/wp-coding-standards/wpcs/WordPress-Docs/ruleset.xml +109 -0
  2339. package/vendor/wp-coding-standards/wpcs/WordPress-Extra/ruleset.xml +199 -0
  2340. package/vendor/wp-coding-standards/wpcs/composer.json +88 -0
  2341. package/vendor/wp-coding-standards/wpcs/phpcs.xml.dist.sample +153 -0
@@ -0,0 +1,4005 @@
1
+ <?php
2
+ /**
3
+ * Tokenizes PHP code.
4
+ *
5
+ * @author Greg Sherwood <gsherwood@squiz.net>
6
+ * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600)
7
+ * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
8
+ */
9
+
10
+ namespace PHP_CodeSniffer\Tokenizers;
11
+
12
+ use PHP_CodeSniffer\Util\Common;
13
+ use PHP_CodeSniffer\Util\Tokens;
14
+
15
+ class PHP extends Tokenizer
16
+ {
17
+
18
+ /**
19
+ * A list of tokens that are allowed to open a scope.
20
+ *
21
+ * This array also contains information about what kind of token the scope
22
+ * opener uses to open and close the scope, if the token strictly requires
23
+ * an opener, if the token can share a scope closer, and who it can be shared
24
+ * with. An example of a token that shares a scope closer is a CASE scope.
25
+ *
26
+ * @var array
27
+ */
28
+ public $scopeOpeners = [
29
+ T_IF => [
30
+ 'start' => [
31
+ T_OPEN_CURLY_BRACKET => T_OPEN_CURLY_BRACKET,
32
+ T_COLON => T_COLON,
33
+ ],
34
+ 'end' => [
35
+ T_CLOSE_CURLY_BRACKET => T_CLOSE_CURLY_BRACKET,
36
+ T_ENDIF => T_ENDIF,
37
+ T_ELSE => T_ELSE,
38
+ T_ELSEIF => T_ELSEIF,
39
+ ],
40
+ 'strict' => false,
41
+ 'shared' => false,
42
+ 'with' => [
43
+ T_ELSE => T_ELSE,
44
+ T_ELSEIF => T_ELSEIF,
45
+ ],
46
+ ],
47
+ T_TRY => [
48
+ 'start' => [T_OPEN_CURLY_BRACKET => T_OPEN_CURLY_BRACKET],
49
+ 'end' => [T_CLOSE_CURLY_BRACKET => T_CLOSE_CURLY_BRACKET],
50
+ 'strict' => true,
51
+ 'shared' => false,
52
+ 'with' => [],
53
+ ],
54
+ T_CATCH => [
55
+ 'start' => [T_OPEN_CURLY_BRACKET => T_OPEN_CURLY_BRACKET],
56
+ 'end' => [T_CLOSE_CURLY_BRACKET => T_CLOSE_CURLY_BRACKET],
57
+ 'strict' => true,
58
+ 'shared' => false,
59
+ 'with' => [],
60
+ ],
61
+ T_FINALLY => [
62
+ 'start' => [T_OPEN_CURLY_BRACKET => T_OPEN_CURLY_BRACKET],
63
+ 'end' => [T_CLOSE_CURLY_BRACKET => T_CLOSE_CURLY_BRACKET],
64
+ 'strict' => true,
65
+ 'shared' => false,
66
+ 'with' => [],
67
+ ],
68
+ T_ELSE => [
69
+ 'start' => [
70
+ T_OPEN_CURLY_BRACKET => T_OPEN_CURLY_BRACKET,
71
+ T_COLON => T_COLON,
72
+ ],
73
+ 'end' => [
74
+ T_CLOSE_CURLY_BRACKET => T_CLOSE_CURLY_BRACKET,
75
+ T_ENDIF => T_ENDIF,
76
+ ],
77
+ 'strict' => false,
78
+ 'shared' => false,
79
+ 'with' => [
80
+ T_IF => T_IF,
81
+ T_ELSEIF => T_ELSEIF,
82
+ ],
83
+ ],
84
+ T_ELSEIF => [
85
+ 'start' => [
86
+ T_OPEN_CURLY_BRACKET => T_OPEN_CURLY_BRACKET,
87
+ T_COLON => T_COLON,
88
+ ],
89
+ 'end' => [
90
+ T_CLOSE_CURLY_BRACKET => T_CLOSE_CURLY_BRACKET,
91
+ T_ENDIF => T_ENDIF,
92
+ T_ELSE => T_ELSE,
93
+ T_ELSEIF => T_ELSEIF,
94
+ ],
95
+ 'strict' => false,
96
+ 'shared' => false,
97
+ 'with' => [
98
+ T_IF => T_IF,
99
+ T_ELSE => T_ELSE,
100
+ ],
101
+ ],
102
+ T_FOR => [
103
+ 'start' => [
104
+ T_OPEN_CURLY_BRACKET => T_OPEN_CURLY_BRACKET,
105
+ T_COLON => T_COLON,
106
+ ],
107
+ 'end' => [
108
+ T_CLOSE_CURLY_BRACKET => T_CLOSE_CURLY_BRACKET,
109
+ T_ENDFOR => T_ENDFOR,
110
+ ],
111
+ 'strict' => false,
112
+ 'shared' => false,
113
+ 'with' => [],
114
+ ],
115
+ T_FOREACH => [
116
+ 'start' => [
117
+ T_OPEN_CURLY_BRACKET => T_OPEN_CURLY_BRACKET,
118
+ T_COLON => T_COLON,
119
+ ],
120
+ 'end' => [
121
+ T_CLOSE_CURLY_BRACKET => T_CLOSE_CURLY_BRACKET,
122
+ T_ENDFOREACH => T_ENDFOREACH,
123
+ ],
124
+ 'strict' => false,
125
+ 'shared' => false,
126
+ 'with' => [],
127
+ ],
128
+ T_INTERFACE => [
129
+ 'start' => [T_OPEN_CURLY_BRACKET => T_OPEN_CURLY_BRACKET],
130
+ 'end' => [T_CLOSE_CURLY_BRACKET => T_CLOSE_CURLY_BRACKET],
131
+ 'strict' => true,
132
+ 'shared' => false,
133
+ 'with' => [],
134
+ ],
135
+ T_FUNCTION => [
136
+ 'start' => [T_OPEN_CURLY_BRACKET => T_OPEN_CURLY_BRACKET],
137
+ 'end' => [T_CLOSE_CURLY_BRACKET => T_CLOSE_CURLY_BRACKET],
138
+ 'strict' => true,
139
+ 'shared' => false,
140
+ 'with' => [],
141
+ ],
142
+ T_CLASS => [
143
+ 'start' => [T_OPEN_CURLY_BRACKET => T_OPEN_CURLY_BRACKET],
144
+ 'end' => [T_CLOSE_CURLY_BRACKET => T_CLOSE_CURLY_BRACKET],
145
+ 'strict' => true,
146
+ 'shared' => false,
147
+ 'with' => [],
148
+ ],
149
+ T_TRAIT => [
150
+ 'start' => [T_OPEN_CURLY_BRACKET => T_OPEN_CURLY_BRACKET],
151
+ 'end' => [T_CLOSE_CURLY_BRACKET => T_CLOSE_CURLY_BRACKET],
152
+ 'strict' => true,
153
+ 'shared' => false,
154
+ 'with' => [],
155
+ ],
156
+ T_ENUM => [
157
+ 'start' => [T_OPEN_CURLY_BRACKET => T_OPEN_CURLY_BRACKET],
158
+ 'end' => [T_CLOSE_CURLY_BRACKET => T_CLOSE_CURLY_BRACKET],
159
+ 'strict' => true,
160
+ 'shared' => false,
161
+ 'with' => [],
162
+ ],
163
+ T_USE => [
164
+ 'start' => [T_OPEN_CURLY_BRACKET => T_OPEN_CURLY_BRACKET],
165
+ 'end' => [T_CLOSE_CURLY_BRACKET => T_CLOSE_CURLY_BRACKET],
166
+ 'strict' => false,
167
+ 'shared' => false,
168
+ 'with' => [],
169
+ ],
170
+ T_DECLARE => [
171
+ 'start' => [
172
+ T_OPEN_CURLY_BRACKET => T_OPEN_CURLY_BRACKET,
173
+ T_COLON => T_COLON,
174
+ ],
175
+ 'end' => [
176
+ T_CLOSE_CURLY_BRACKET => T_CLOSE_CURLY_BRACKET,
177
+ T_ENDDECLARE => T_ENDDECLARE,
178
+ ],
179
+ 'strict' => false,
180
+ 'shared' => false,
181
+ 'with' => [],
182
+ ],
183
+ T_NAMESPACE => [
184
+ 'start' => [T_OPEN_CURLY_BRACKET => T_OPEN_CURLY_BRACKET],
185
+ 'end' => [T_CLOSE_CURLY_BRACKET => T_CLOSE_CURLY_BRACKET],
186
+ 'strict' => false,
187
+ 'shared' => false,
188
+ 'with' => [],
189
+ ],
190
+ T_WHILE => [
191
+ 'start' => [
192
+ T_OPEN_CURLY_BRACKET => T_OPEN_CURLY_BRACKET,
193
+ T_COLON => T_COLON,
194
+ ],
195
+ 'end' => [
196
+ T_CLOSE_CURLY_BRACKET => T_CLOSE_CURLY_BRACKET,
197
+ T_ENDWHILE => T_ENDWHILE,
198
+ ],
199
+ 'strict' => false,
200
+ 'shared' => false,
201
+ 'with' => [],
202
+ ],
203
+ T_DO => [
204
+ 'start' => [T_OPEN_CURLY_BRACKET => T_OPEN_CURLY_BRACKET],
205
+ 'end' => [T_CLOSE_CURLY_BRACKET => T_CLOSE_CURLY_BRACKET],
206
+ 'strict' => true,
207
+ 'shared' => false,
208
+ 'with' => [],
209
+ ],
210
+ T_SWITCH => [
211
+ 'start' => [
212
+ T_OPEN_CURLY_BRACKET => T_OPEN_CURLY_BRACKET,
213
+ T_COLON => T_COLON,
214
+ ],
215
+ 'end' => [
216
+ T_CLOSE_CURLY_BRACKET => T_CLOSE_CURLY_BRACKET,
217
+ T_ENDSWITCH => T_ENDSWITCH,
218
+ ],
219
+ 'strict' => true,
220
+ 'shared' => false,
221
+ 'with' => [],
222
+ ],
223
+ T_CASE => [
224
+ 'start' => [
225
+ T_COLON => T_COLON,
226
+ T_SEMICOLON => T_SEMICOLON,
227
+ ],
228
+ 'end' => [
229
+ T_BREAK => T_BREAK,
230
+ T_RETURN => T_RETURN,
231
+ T_CONTINUE => T_CONTINUE,
232
+ T_THROW => T_THROW,
233
+ T_EXIT => T_EXIT,
234
+ ],
235
+ 'strict' => true,
236
+ 'shared' => true,
237
+ 'with' => [
238
+ T_DEFAULT => T_DEFAULT,
239
+ T_CASE => T_CASE,
240
+ T_SWITCH => T_SWITCH,
241
+ ],
242
+ ],
243
+ T_DEFAULT => [
244
+ 'start' => [
245
+ T_COLON => T_COLON,
246
+ T_SEMICOLON => T_SEMICOLON,
247
+ ],
248
+ 'end' => [
249
+ T_BREAK => T_BREAK,
250
+ T_RETURN => T_RETURN,
251
+ T_CONTINUE => T_CONTINUE,
252
+ T_THROW => T_THROW,
253
+ T_EXIT => T_EXIT,
254
+ ],
255
+ 'strict' => true,
256
+ 'shared' => true,
257
+ 'with' => [
258
+ T_CASE => T_CASE,
259
+ T_SWITCH => T_SWITCH,
260
+ ],
261
+ ],
262
+ T_MATCH => [
263
+ 'start' => [T_OPEN_CURLY_BRACKET => T_OPEN_CURLY_BRACKET],
264
+ 'end' => [T_CLOSE_CURLY_BRACKET => T_CLOSE_CURLY_BRACKET],
265
+ 'strict' => true,
266
+ 'shared' => false,
267
+ 'with' => [],
268
+ ],
269
+ T_START_HEREDOC => [
270
+ 'start' => [T_START_HEREDOC => T_START_HEREDOC],
271
+ 'end' => [T_END_HEREDOC => T_END_HEREDOC],
272
+ 'strict' => true,
273
+ 'shared' => false,
274
+ 'with' => [],
275
+ ],
276
+ T_START_NOWDOC => [
277
+ 'start' => [T_START_NOWDOC => T_START_NOWDOC],
278
+ 'end' => [T_END_NOWDOC => T_END_NOWDOC],
279
+ 'strict' => true,
280
+ 'shared' => false,
281
+ 'with' => [],
282
+ ],
283
+ ];
284
+
285
+ /**
286
+ * A list of tokens that end the scope.
287
+ *
288
+ * This array is just a unique collection of the end tokens
289
+ * from the scopeOpeners array. The data is duplicated here to
290
+ * save time during parsing of the file.
291
+ *
292
+ * @var array
293
+ */
294
+ public $endScopeTokens = [
295
+ T_CLOSE_CURLY_BRACKET => T_CLOSE_CURLY_BRACKET,
296
+ T_ENDIF => T_ENDIF,
297
+ T_ENDFOR => T_ENDFOR,
298
+ T_ENDFOREACH => T_ENDFOREACH,
299
+ T_ENDWHILE => T_ENDWHILE,
300
+ T_ENDSWITCH => T_ENDSWITCH,
301
+ T_ENDDECLARE => T_ENDDECLARE,
302
+ T_BREAK => T_BREAK,
303
+ T_END_HEREDOC => T_END_HEREDOC,
304
+ T_END_NOWDOC => T_END_NOWDOC,
305
+ ];
306
+
307
+ /**
308
+ * Known lengths of tokens.
309
+ *
310
+ * @var array<string|int, int>
311
+ */
312
+ public $knownLengths = [
313
+ T_ABSTRACT => 8,
314
+ T_AND_EQUAL => 2,
315
+ T_ARRAY => 5,
316
+ T_AS => 2,
317
+ T_BOOLEAN_AND => 2,
318
+ T_BOOLEAN_OR => 2,
319
+ T_BREAK => 5,
320
+ T_CALLABLE => 8,
321
+ T_CASE => 4,
322
+ T_CATCH => 5,
323
+ T_CLASS => 5,
324
+ T_CLASS_C => 9,
325
+ T_CLONE => 5,
326
+ T_CONCAT_EQUAL => 2,
327
+ T_CONST => 5,
328
+ T_CONTINUE => 8,
329
+ T_CURLY_OPEN => 2,
330
+ T_DEC => 2,
331
+ T_DECLARE => 7,
332
+ T_DEFAULT => 7,
333
+ T_DIR => 7,
334
+ T_DIV_EQUAL => 2,
335
+ T_DO => 2,
336
+ T_DOLLAR_OPEN_CURLY_BRACES => 2,
337
+ T_DOUBLE_ARROW => 2,
338
+ T_DOUBLE_COLON => 2,
339
+ T_ECHO => 4,
340
+ T_ELLIPSIS => 3,
341
+ T_ELSE => 4,
342
+ T_ELSEIF => 6,
343
+ T_EMPTY => 5,
344
+ T_ENDDECLARE => 10,
345
+ T_ENDFOR => 6,
346
+ T_ENDFOREACH => 10,
347
+ T_ENDIF => 5,
348
+ T_ENDSWITCH => 9,
349
+ T_ENDWHILE => 8,
350
+ T_ENUM => 4,
351
+ T_ENUM_CASE => 4,
352
+ T_EVAL => 4,
353
+ T_EXTENDS => 7,
354
+ T_FILE => 8,
355
+ T_FINAL => 5,
356
+ T_FINALLY => 7,
357
+ T_FN => 2,
358
+ T_FOR => 3,
359
+ T_FOREACH => 7,
360
+ T_FUNCTION => 8,
361
+ T_FUNC_C => 12,
362
+ T_GLOBAL => 6,
363
+ T_GOTO => 4,
364
+ T_HALT_COMPILER => 15,
365
+ T_IF => 2,
366
+ T_IMPLEMENTS => 10,
367
+ T_INC => 2,
368
+ T_INCLUDE => 7,
369
+ T_INCLUDE_ONCE => 12,
370
+ T_INSTANCEOF => 10,
371
+ T_INSTEADOF => 9,
372
+ T_INTERFACE => 9,
373
+ T_ISSET => 5,
374
+ T_IS_EQUAL => 2,
375
+ T_IS_GREATER_OR_EQUAL => 2,
376
+ T_IS_IDENTICAL => 3,
377
+ T_IS_NOT_EQUAL => 2,
378
+ T_IS_NOT_IDENTICAL => 3,
379
+ T_IS_SMALLER_OR_EQUAL => 2,
380
+ T_LINE => 8,
381
+ T_LIST => 4,
382
+ T_LOGICAL_AND => 3,
383
+ T_LOGICAL_OR => 2,
384
+ T_LOGICAL_XOR => 3,
385
+ T_MATCH => 5,
386
+ T_MATCH_ARROW => 2,
387
+ T_MATCH_DEFAULT => 7,
388
+ T_METHOD_C => 10,
389
+ T_MINUS_EQUAL => 2,
390
+ T_POW_EQUAL => 3,
391
+ T_MOD_EQUAL => 2,
392
+ T_MUL_EQUAL => 2,
393
+ T_NAMESPACE => 9,
394
+ T_NS_C => 13,
395
+ T_NS_SEPARATOR => 1,
396
+ T_NEW => 3,
397
+ T_NULLSAFE_OBJECT_OPERATOR => 3,
398
+ T_OBJECT_OPERATOR => 2,
399
+ T_OPEN_TAG_WITH_ECHO => 3,
400
+ T_OR_EQUAL => 2,
401
+ T_PLUS_EQUAL => 2,
402
+ T_PRINT => 5,
403
+ T_PRIVATE => 7,
404
+ T_PUBLIC => 6,
405
+ T_PROTECTED => 9,
406
+ T_READONLY => 8,
407
+ T_REQUIRE => 7,
408
+ T_REQUIRE_ONCE => 12,
409
+ T_RETURN => 6,
410
+ T_STATIC => 6,
411
+ T_SWITCH => 6,
412
+ T_THROW => 5,
413
+ T_TRAIT => 5,
414
+ T_TRAIT_C => 9,
415
+ T_TRY => 3,
416
+ T_UNSET => 5,
417
+ T_USE => 3,
418
+ T_VAR => 3,
419
+ T_WHILE => 5,
420
+ T_XOR_EQUAL => 2,
421
+ T_YIELD => 5,
422
+ T_OPEN_CURLY_BRACKET => 1,
423
+ T_CLOSE_CURLY_BRACKET => 1,
424
+ T_OPEN_SQUARE_BRACKET => 1,
425
+ T_CLOSE_SQUARE_BRACKET => 1,
426
+ T_OPEN_PARENTHESIS => 1,
427
+ T_CLOSE_PARENTHESIS => 1,
428
+ T_COLON => 1,
429
+ T_STRING_CONCAT => 1,
430
+ T_INLINE_THEN => 1,
431
+ T_INLINE_ELSE => 1,
432
+ T_NULLABLE => 1,
433
+ T_NULL => 4,
434
+ T_FALSE => 5,
435
+ T_TRUE => 4,
436
+ T_SEMICOLON => 1,
437
+ T_EQUAL => 1,
438
+ T_MULTIPLY => 1,
439
+ T_DIVIDE => 1,
440
+ T_PLUS => 1,
441
+ T_MINUS => 1,
442
+ T_MODULUS => 1,
443
+ T_POW => 2,
444
+ T_SPACESHIP => 3,
445
+ T_COALESCE => 2,
446
+ T_COALESCE_EQUAL => 3,
447
+ T_BITWISE_AND => 1,
448
+ T_BITWISE_OR => 1,
449
+ T_BITWISE_XOR => 1,
450
+ T_SL => 2,
451
+ T_SR => 2,
452
+ T_SL_EQUAL => 3,
453
+ T_SR_EQUAL => 3,
454
+ T_GREATER_THAN => 1,
455
+ T_LESS_THAN => 1,
456
+ T_BOOLEAN_NOT => 1,
457
+ T_SELF => 4,
458
+ T_PARENT => 6,
459
+ T_COMMA => 1,
460
+ T_THIS => 4,
461
+ T_CLOSURE => 8,
462
+ T_BACKTICK => 1,
463
+ T_OPEN_SHORT_ARRAY => 1,
464
+ T_CLOSE_SHORT_ARRAY => 1,
465
+ T_TYPE_UNION => 1,
466
+ T_TYPE_INTERSECTION => 1,
467
+ T_TYPE_OPEN_PARENTHESIS => 1,
468
+ T_TYPE_CLOSE_PARENTHESIS => 1,
469
+ ];
470
+
471
+ /**
472
+ * Contexts in which keywords should always be tokenized as T_STRING.
473
+ *
474
+ * @var array
475
+ */
476
+ protected $tstringContexts = [
477
+ T_OBJECT_OPERATOR => true,
478
+ T_NULLSAFE_OBJECT_OPERATOR => true,
479
+ T_FUNCTION => true,
480
+ T_CLASS => true,
481
+ T_INTERFACE => true,
482
+ T_TRAIT => true,
483
+ T_ENUM => true,
484
+ T_ENUM_CASE => true,
485
+ T_EXTENDS => true,
486
+ T_IMPLEMENTS => true,
487
+ T_ATTRIBUTE => true,
488
+ T_NEW => true,
489
+ T_CONST => true,
490
+ T_NS_SEPARATOR => true,
491
+ T_USE => true,
492
+ T_NAMESPACE => true,
493
+ T_PAAMAYIM_NEKUDOTAYIM => true,
494
+ ];
495
+
496
+ /**
497
+ * A cache of different token types, resolved into arrays.
498
+ *
499
+ * @var array
500
+ * @see standardiseToken()
501
+ */
502
+ private static $resolveTokenCache = [];
503
+
504
+
505
+ /**
506
+ * Creates an array of tokens when given some PHP code.
507
+ *
508
+ * Starts by using token_get_all() but does a lot of extra processing
509
+ * to insert information about the context of the token.
510
+ *
511
+ * @param string $string The string to tokenize.
512
+ *
513
+ * @return array
514
+ */
515
+ protected function tokenize($string)
516
+ {
517
+ if (PHP_CODESNIFFER_VERBOSITY > 1) {
518
+ echo "\t*** START PHP TOKENIZING ***".PHP_EOL;
519
+ $isWin = false;
520
+ if (stripos(PHP_OS, 'WIN') === 0) {
521
+ $isWin = true;
522
+ }
523
+ }
524
+
525
+ $tokens = @token_get_all($string);
526
+ $finalTokens = [];
527
+
528
+ $newStackPtr = 0;
529
+ $numTokens = count($tokens);
530
+ $lastNotEmptyToken = 0;
531
+
532
+ $insideInlineIf = [];
533
+ $insideUseGroup = false;
534
+ $insideConstDeclaration = false;
535
+
536
+ $commentTokenizer = new Comment();
537
+
538
+ for ($stackPtr = 0; $stackPtr < $numTokens; $stackPtr++) {
539
+ // Special case for tokens we have needed to blank out.
540
+ if ($tokens[$stackPtr] === null) {
541
+ continue;
542
+ }
543
+
544
+ $token = (array) $tokens[$stackPtr];
545
+ $tokenIsArray = isset($token[1]);
546
+
547
+ if (PHP_CODESNIFFER_VERBOSITY > 1) {
548
+ if ($tokenIsArray === true) {
549
+ $type = Tokens::tokenName($token[0]);
550
+ $content = Common::prepareForOutput($token[1]);
551
+ } else {
552
+ $newToken = self::resolveSimpleToken($token[0]);
553
+ $type = $newToken['type'];
554
+ $content = Common::prepareForOutput($token[0]);
555
+ }
556
+
557
+ echo "\tProcess token ";
558
+ if ($tokenIsArray === true) {
559
+ echo "[$stackPtr]";
560
+ } else {
561
+ echo " $stackPtr ";
562
+ }
563
+
564
+ echo ": $type => $content";
565
+ }//end if
566
+
567
+ if ($newStackPtr > 0
568
+ && isset(Tokens::$emptyTokens[$finalTokens[($newStackPtr - 1)]['code']]) === false
569
+ ) {
570
+ $lastNotEmptyToken = ($newStackPtr - 1);
571
+ }
572
+
573
+ /*
574
+ If we are using \r\n newline characters, the \r and \n are sometimes
575
+ split over two tokens. This normally occurs after comments. We need
576
+ to merge these two characters together so that our line endings are
577
+ consistent for all lines.
578
+ */
579
+
580
+ if ($tokenIsArray === true && substr($token[1], -1) === "\r") {
581
+ if (isset($tokens[($stackPtr + 1)]) === true
582
+ && is_array($tokens[($stackPtr + 1)]) === true
583
+ && $tokens[($stackPtr + 1)][1][0] === "\n"
584
+ ) {
585
+ $token[1] .= "\n";
586
+ if (PHP_CODESNIFFER_VERBOSITY > 1) {
587
+ if ($isWin === true) {
588
+ echo '\n';
589
+ } else {
590
+ echo "\033[30;1m\\n\033[0m";
591
+ }
592
+ }
593
+
594
+ if ($tokens[($stackPtr + 1)][1] === "\n") {
595
+ // This token's content has been merged into the previous,
596
+ // so we can skip it.
597
+ $tokens[($stackPtr + 1)] = '';
598
+ } else {
599
+ $tokens[($stackPtr + 1)][1] = substr($tokens[($stackPtr + 1)][1], 1);
600
+ }
601
+ }
602
+ }//end if
603
+
604
+ if (PHP_CODESNIFFER_VERBOSITY > 1) {
605
+ echo PHP_EOL;
606
+ }
607
+
608
+ /*
609
+ Before PHP 5.5, the yield keyword was tokenized as
610
+ T_STRING. So look for and change this token in
611
+ earlier versions.
612
+ */
613
+
614
+ if (PHP_VERSION_ID < 50500
615
+ && $tokenIsArray === true
616
+ && $token[0] === T_STRING
617
+ && strtolower($token[1]) === 'yield'
618
+ && isset($this->tstringContexts[$finalTokens[$lastNotEmptyToken]['code']]) === false
619
+ ) {
620
+ // Could still be a context sensitive keyword or "yield from" and potentially multi-line,
621
+ // so adjust the token stack in place.
622
+ $token[0] = T_YIELD;
623
+
624
+ if (PHP_CODESNIFFER_VERBOSITY > 1) {
625
+ echo "\t\t* token $stackPtr changed from T_STRING to T_YIELD".PHP_EOL;
626
+ }
627
+ }
628
+
629
+ /*
630
+ Tokenize context sensitive keyword as string when it should be string.
631
+ */
632
+
633
+ if ($tokenIsArray === true
634
+ && isset(Tokens::$contextSensitiveKeywords[$token[0]]) === true
635
+ && (isset($this->tstringContexts[$finalTokens[$lastNotEmptyToken]['code']]) === true
636
+ || $finalTokens[$lastNotEmptyToken]['content'] === '&'
637
+ || $insideConstDeclaration === true)
638
+ ) {
639
+ if (isset($this->tstringContexts[$finalTokens[$lastNotEmptyToken]['code']]) === true) {
640
+ $preserveKeyword = false;
641
+
642
+ // `new class`, and `new static` should be preserved.
643
+ if ($finalTokens[$lastNotEmptyToken]['code'] === T_NEW
644
+ && ($token[0] === T_CLASS
645
+ || $token[0] === T_STATIC)
646
+ ) {
647
+ $preserveKeyword = true;
648
+ }
649
+
650
+ // `new readonly class` should be preserved.
651
+ if ($finalTokens[$lastNotEmptyToken]['code'] === T_NEW
652
+ && strtolower($token[1]) === 'readonly'
653
+ ) {
654
+ for ($i = ($stackPtr + 1); $i < $numTokens; $i++) {
655
+ if (is_array($tokens[$i]) === false
656
+ || isset(Tokens::$emptyTokens[$tokens[$i][0]]) === false
657
+ ) {
658
+ break;
659
+ }
660
+ }
661
+
662
+ if (is_array($tokens[$i]) === true && $tokens[$i][0] === T_CLASS) {
663
+ $preserveKeyword = true;
664
+ }
665
+ }
666
+
667
+ // `new class extends` `new class implements` should be preserved
668
+ if (($token[0] === T_EXTENDS || $token[0] === T_IMPLEMENTS)
669
+ && $finalTokens[$lastNotEmptyToken]['code'] === T_CLASS
670
+ ) {
671
+ $preserveKeyword = true;
672
+ }
673
+
674
+ // `namespace\` should be preserved
675
+ if ($token[0] === T_NAMESPACE) {
676
+ for ($i = ($stackPtr + 1); $i < $numTokens; $i++) {
677
+ if (is_array($tokens[$i]) === false) {
678
+ break;
679
+ }
680
+
681
+ if (isset(Tokens::$emptyTokens[$tokens[$i][0]]) === true) {
682
+ continue;
683
+ }
684
+
685
+ if ($tokens[$i][0] === T_NS_SEPARATOR) {
686
+ $preserveKeyword = true;
687
+ }
688
+
689
+ break;
690
+ }
691
+ }
692
+ }//end if
693
+
694
+ // Types in typed constants should not be touched, but the constant name should be.
695
+ if ((isset($this->tstringContexts[$finalTokens[$lastNotEmptyToken]['code']]) === true
696
+ && $finalTokens[$lastNotEmptyToken]['code'] === T_CONST)
697
+ || $insideConstDeclaration === true
698
+ ) {
699
+ $preserveKeyword = true;
700
+
701
+ // Find the next non-empty token.
702
+ for ($i = ($stackPtr + 1); $i < $numTokens; $i++) {
703
+ if (is_array($tokens[$i]) === true
704
+ && isset(Tokens::$emptyTokens[$tokens[$i][0]]) === true
705
+ ) {
706
+ continue;
707
+ }
708
+
709
+ break;
710
+ }
711
+
712
+ if ($tokens[$i] === '=' || $tokens[$i] === ';') {
713
+ $preserveKeyword = false;
714
+ $insideConstDeclaration = false;
715
+ }
716
+ }//end if
717
+
718
+ if ($finalTokens[$lastNotEmptyToken]['content'] === '&') {
719
+ $preserveKeyword = true;
720
+
721
+ for ($i = ($lastNotEmptyToken - 1); $i >= 0; $i--) {
722
+ if (isset(Tokens::$emptyTokens[$finalTokens[$i]['code']]) === true) {
723
+ continue;
724
+ }
725
+
726
+ if ($finalTokens[$i]['code'] === T_FUNCTION) {
727
+ $preserveKeyword = false;
728
+ }
729
+
730
+ break;
731
+ }
732
+ }
733
+
734
+ if ($preserveKeyword === false) {
735
+ if (PHP_CODESNIFFER_VERBOSITY > 1) {
736
+ $type = Tokens::tokenName($token[0]);
737
+ echo "\t\t* token $stackPtr changed from $type to T_STRING".PHP_EOL;
738
+ }
739
+
740
+ $finalTokens[$newStackPtr] = [
741
+ 'code' => T_STRING,
742
+ 'type' => 'T_STRING',
743
+ 'content' => $token[1],
744
+ ];
745
+
746
+ $newStackPtr++;
747
+ continue;
748
+ }
749
+ }//end if
750
+
751
+ /*
752
+ Mark the start of a constant declaration to allow for handling keyword to T_STRING
753
+ convertion for constant names using reserved keywords.
754
+ */
755
+
756
+ if ($tokenIsArray === true && $token[0] === T_CONST) {
757
+ $insideConstDeclaration = true;
758
+ }
759
+
760
+ /*
761
+ Close an open "inside constant declaration" marker when no keyword conversion was needed.
762
+ */
763
+
764
+ if ($insideConstDeclaration === true
765
+ && $tokenIsArray === false
766
+ && ($token[0] === '=' || $token[0] === ';')
767
+ ) {
768
+ $insideConstDeclaration = false;
769
+ }
770
+
771
+ /*
772
+ Special case for `static` used as a function name, i.e. `static()`.
773
+
774
+ Note: this may incorrectly change the static keyword directly before a DNF property type.
775
+ If so, this will be caught and corrected for in the additional processing.
776
+ */
777
+
778
+ if ($tokenIsArray === true
779
+ && $token[0] === T_STATIC
780
+ && $finalTokens[$lastNotEmptyToken]['code'] !== T_NEW
781
+ ) {
782
+ for ($i = ($stackPtr + 1); $i < $numTokens; $i++) {
783
+ if (is_array($tokens[$i]) === true
784
+ && isset(Tokens::$emptyTokens[$tokens[$i][0]]) === true
785
+ ) {
786
+ continue;
787
+ }
788
+
789
+ if ($tokens[$i][0] === '(') {
790
+ $finalTokens[$newStackPtr] = [
791
+ 'code' => T_STRING,
792
+ 'type' => 'T_STRING',
793
+ 'content' => $token[1],
794
+ ];
795
+
796
+ $newStackPtr++;
797
+ continue 2;
798
+ }
799
+
800
+ break;
801
+ }
802
+ }//end if
803
+
804
+ /*
805
+ Parse doc blocks into something that can be easily iterated over.
806
+ */
807
+
808
+ if ($tokenIsArray === true
809
+ && ($token[0] === T_DOC_COMMENT
810
+ || ($token[0] === T_COMMENT && strpos($token[1], '/**') === 0 && $token[1] !== '/**/'))
811
+ ) {
812
+ $commentTokens = $commentTokenizer->tokenizeString($token[1], $this->eolChar, $newStackPtr);
813
+ foreach ($commentTokens as $commentToken) {
814
+ $finalTokens[$newStackPtr] = $commentToken;
815
+ $newStackPtr++;
816
+ }
817
+
818
+ continue;
819
+ }
820
+
821
+ /*
822
+ PHP 8 tokenizes a new line after a slash and hash comment to the next whitespace token.
823
+ */
824
+
825
+ if (PHP_VERSION_ID >= 80000
826
+ && $tokenIsArray === true
827
+ && ($token[0] === T_COMMENT && (strpos($token[1], '//') === 0 || strpos($token[1], '#') === 0))
828
+ && isset($tokens[($stackPtr + 1)]) === true
829
+ && is_array($tokens[($stackPtr + 1)]) === true
830
+ && $tokens[($stackPtr + 1)][0] === T_WHITESPACE
831
+ ) {
832
+ $nextToken = $tokens[($stackPtr + 1)];
833
+
834
+ // If the next token is a single new line, merge it into the comment token
835
+ // and set to it up to be skipped.
836
+ if ($nextToken[1] === "\n" || $nextToken[1] === "\r\n" || $nextToken[1] === "\n\r") {
837
+ $token[1] .= $nextToken[1];
838
+ $tokens[($stackPtr + 1)] = null;
839
+
840
+ if (PHP_CODESNIFFER_VERBOSITY > 1) {
841
+ echo "\t\t* merged newline after comment into comment token $stackPtr".PHP_EOL;
842
+ }
843
+ } else {
844
+ // This may be a whitespace token consisting of multiple new lines.
845
+ if (strpos($nextToken[1], "\r\n") === 0) {
846
+ $token[1] .= "\r\n";
847
+ $tokens[($stackPtr + 1)][1] = substr($nextToken[1], 2);
848
+ } else if (strpos($nextToken[1], "\n\r") === 0) {
849
+ $token[1] .= "\n\r";
850
+ $tokens[($stackPtr + 1)][1] = substr($nextToken[1], 2);
851
+ } else if (strpos($nextToken[1], "\n") === 0) {
852
+ $token[1] .= "\n";
853
+ $tokens[($stackPtr + 1)][1] = substr($nextToken[1], 1);
854
+ }
855
+
856
+ if (PHP_CODESNIFFER_VERBOSITY > 1) {
857
+ echo "\t\t* stripped first newline after comment and added it to comment token $stackPtr".PHP_EOL;
858
+ }
859
+ }//end if
860
+ }//end if
861
+
862
+ /*
863
+ For Explicit Octal Notation prior to PHP 8.1 we need to combine the
864
+ T_LNUMBER and T_STRING token values into a single token value, and
865
+ then ignore the T_STRING token.
866
+ */
867
+
868
+ if (PHP_VERSION_ID < 80100
869
+ && $tokenIsArray === true && $token[1] === '0'
870
+ && (isset($tokens[($stackPtr + 1)]) === true
871
+ && is_array($tokens[($stackPtr + 1)]) === true
872
+ && $tokens[($stackPtr + 1)][0] === T_STRING
873
+ && isset($tokens[($stackPtr + 1)][1][0], $tokens[($stackPtr + 1)][1][1]) === true
874
+ && strtolower($tokens[($stackPtr + 1)][1][0]) === 'o'
875
+ && $tokens[($stackPtr + 1)][1][1] !== '_')
876
+ && preg_match('`^(o[0-7]+(?:_[0-7]+)?)([0-9_]*)$`i', $tokens[($stackPtr + 1)][1], $matches) === 1
877
+ ) {
878
+ $finalTokens[$newStackPtr] = [
879
+ 'code' => T_LNUMBER,
880
+ 'type' => 'T_LNUMBER',
881
+ 'content' => $token[1] .= $matches[1],
882
+ ];
883
+ $newStackPtr++;
884
+
885
+ if (isset($matches[2]) === true && $matches[2] !== '') {
886
+ $type = 'T_LNUMBER';
887
+ if ($matches[2][0] === '_') {
888
+ $type = 'T_STRING';
889
+ }
890
+
891
+ $finalTokens[$newStackPtr] = [
892
+ 'code' => constant($type),
893
+ 'type' => $type,
894
+ 'content' => $matches[2],
895
+ ];
896
+ $newStackPtr++;
897
+ }
898
+
899
+ $stackPtr++;
900
+ continue;
901
+ }//end if
902
+
903
+ /*
904
+ PHP 8.1 introduced two dedicated tokens for the & character.
905
+ Retokenizing both of these to T_BITWISE_AND, which is the
906
+ token PHPCS already tokenized them as.
907
+ */
908
+
909
+ if ($tokenIsArray === true
910
+ && ($token[0] === T_AMPERSAND_FOLLOWED_BY_VAR_OR_VARARG
911
+ || $token[0] === T_AMPERSAND_NOT_FOLLOWED_BY_VAR_OR_VARARG)
912
+ ) {
913
+ $finalTokens[$newStackPtr] = [
914
+ 'code' => T_BITWISE_AND,
915
+ 'type' => 'T_BITWISE_AND',
916
+ 'content' => $token[1],
917
+ ];
918
+ $newStackPtr++;
919
+ continue;
920
+ }
921
+
922
+ /*
923
+ If this is a double quoted string, PHP will tokenize the whole
924
+ thing which causes problems with the scope map when braces are
925
+ within the string. So we need to merge the tokens together to
926
+ provide a single string.
927
+ */
928
+
929
+ if ($tokenIsArray === false && ($token[0] === '"' || $token[0] === 'b"')) {
930
+ // Binary casts need a special token.
931
+ if ($token[0] === 'b"') {
932
+ $finalTokens[$newStackPtr] = [
933
+ 'code' => T_BINARY_CAST,
934
+ 'type' => 'T_BINARY_CAST',
935
+ 'content' => 'b',
936
+ ];
937
+ $newStackPtr++;
938
+ }
939
+
940
+ $tokenContent = '"';
941
+ $nestedVars = [];
942
+ for ($i = ($stackPtr + 1); $i < $numTokens; $i++) {
943
+ $subToken = (array) $tokens[$i];
944
+ $subTokenIsArray = isset($subToken[1]);
945
+
946
+ if ($subTokenIsArray === true) {
947
+ $tokenContent .= $subToken[1];
948
+ if (($subToken[1] === '{'
949
+ || $subToken[1] === '${')
950
+ && $subToken[0] !== T_ENCAPSED_AND_WHITESPACE
951
+ ) {
952
+ $nestedVars[] = $i;
953
+ }
954
+ } else {
955
+ $tokenContent .= $subToken[0];
956
+ if ($subToken[0] === '}') {
957
+ array_pop($nestedVars);
958
+ }
959
+ }
960
+
961
+ if ($subTokenIsArray === false
962
+ && $subToken[0] === '"'
963
+ && empty($nestedVars) === true
964
+ ) {
965
+ // We found the other end of the double quoted string.
966
+ break;
967
+ }
968
+ }//end for
969
+
970
+ $stackPtr = $i;
971
+
972
+ // Convert each line within the double quoted string to a
973
+ // new token, so it conforms with other multiple line tokens.
974
+ $tokenLines = explode($this->eolChar, $tokenContent);
975
+ $numLines = count($tokenLines);
976
+ $newToken = [];
977
+
978
+ for ($j = 0; $j < $numLines; $j++) {
979
+ $newToken['content'] = $tokenLines[$j];
980
+ if ($j === ($numLines - 1)) {
981
+ if ($tokenLines[$j] === '') {
982
+ break;
983
+ }
984
+ } else {
985
+ $newToken['content'] .= $this->eolChar;
986
+ }
987
+
988
+ $newToken['code'] = T_DOUBLE_QUOTED_STRING;
989
+ $newToken['type'] = 'T_DOUBLE_QUOTED_STRING';
990
+ $finalTokens[$newStackPtr] = $newToken;
991
+ $newStackPtr++;
992
+ }
993
+
994
+ // Continue, as we're done with this token.
995
+ continue;
996
+ }//end if
997
+
998
+ /*
999
+ Detect binary casting and assign the casts their own token.
1000
+ */
1001
+
1002
+ if ($tokenIsArray === true
1003
+ && $token[0] === T_CONSTANT_ENCAPSED_STRING
1004
+ && (substr($token[1], 0, 2) === 'b"'
1005
+ || substr($token[1], 0, 2) === "b'")
1006
+ ) {
1007
+ $finalTokens[$newStackPtr] = [
1008
+ 'code' => T_BINARY_CAST,
1009
+ 'type' => 'T_BINARY_CAST',
1010
+ 'content' => 'b',
1011
+ ];
1012
+ $newStackPtr++;
1013
+ $token[1] = substr($token[1], 1);
1014
+ }
1015
+
1016
+ if ($tokenIsArray === true
1017
+ && $token[0] === T_STRING_CAST
1018
+ && preg_match('`^\(\s*binary\s*\)$`i', $token[1]) === 1
1019
+ ) {
1020
+ $finalTokens[$newStackPtr] = [
1021
+ 'code' => T_BINARY_CAST,
1022
+ 'type' => 'T_BINARY_CAST',
1023
+ 'content' => $token[1],
1024
+ ];
1025
+ $newStackPtr++;
1026
+ continue;
1027
+ }
1028
+
1029
+ /*
1030
+ If this is a heredoc, PHP will tokenize the whole
1031
+ thing which causes problems when heredocs don't
1032
+ contain real PHP code, which is almost never.
1033
+ We want to leave the start and end heredoc tokens
1034
+ alone though.
1035
+ */
1036
+
1037
+ if ($tokenIsArray === true && $token[0] === T_START_HEREDOC) {
1038
+ // Add the start heredoc token to the final array.
1039
+ $finalTokens[$newStackPtr] = self::standardiseToken($token);
1040
+
1041
+ // Check if this is actually a nowdoc and use a different token
1042
+ // to help the sniffs.
1043
+ $nowdoc = false;
1044
+ if (strpos($token[1], "'") !== false) {
1045
+ $finalTokens[$newStackPtr]['code'] = T_START_NOWDOC;
1046
+ $finalTokens[$newStackPtr]['type'] = 'T_START_NOWDOC';
1047
+ $nowdoc = true;
1048
+ }
1049
+
1050
+ $tokenContent = '';
1051
+ for ($i = ($stackPtr + 1); $i < $numTokens; $i++) {
1052
+ $subTokenIsArray = is_array($tokens[$i]);
1053
+ if ($subTokenIsArray === true
1054
+ && $tokens[$i][0] === T_END_HEREDOC
1055
+ ) {
1056
+ // We found the other end of the heredoc.
1057
+ break;
1058
+ }
1059
+
1060
+ if ($subTokenIsArray === true) {
1061
+ $tokenContent .= $tokens[$i][1];
1062
+ } else {
1063
+ $tokenContent .= $tokens[$i];
1064
+ }
1065
+ }
1066
+
1067
+ if ($i === $numTokens) {
1068
+ // We got to the end of the file and never
1069
+ // found the closing token, so this probably wasn't
1070
+ // a heredoc.
1071
+ if (PHP_CODESNIFFER_VERBOSITY > 1) {
1072
+ $type = $finalTokens[$newStackPtr]['type'];
1073
+ echo "\t\t* failed to find the end of the here/nowdoc".PHP_EOL;
1074
+ echo "\t\t* token $stackPtr changed from $type to T_STRING".PHP_EOL;
1075
+ }
1076
+
1077
+ $finalTokens[$newStackPtr]['code'] = T_STRING;
1078
+ $finalTokens[$newStackPtr]['type'] = 'T_STRING';
1079
+ $newStackPtr++;
1080
+ continue;
1081
+ }
1082
+
1083
+ $stackPtr = $i;
1084
+ $newStackPtr++;
1085
+
1086
+ // Convert each line within the heredoc to a
1087
+ // new token, so it conforms with other multiple line tokens.
1088
+ $tokenLines = explode($this->eolChar, $tokenContent);
1089
+ $numLines = count($tokenLines);
1090
+ $newToken = [];
1091
+
1092
+ for ($j = 0; $j < $numLines; $j++) {
1093
+ $newToken['content'] = $tokenLines[$j];
1094
+ if ($j === ($numLines - 1)) {
1095
+ if ($tokenLines[$j] === '') {
1096
+ break;
1097
+ }
1098
+ } else {
1099
+ $newToken['content'] .= $this->eolChar;
1100
+ }
1101
+
1102
+ if ($nowdoc === true) {
1103
+ $newToken['code'] = T_NOWDOC;
1104
+ $newToken['type'] = 'T_NOWDOC';
1105
+ } else {
1106
+ $newToken['code'] = T_HEREDOC;
1107
+ $newToken['type'] = 'T_HEREDOC';
1108
+ }
1109
+
1110
+ $finalTokens[$newStackPtr] = $newToken;
1111
+ $newStackPtr++;
1112
+ }//end for
1113
+
1114
+ // Add the end heredoc token to the final array.
1115
+ $finalTokens[$newStackPtr] = self::standardiseToken($tokens[$stackPtr]);
1116
+
1117
+ if ($nowdoc === true) {
1118
+ $finalTokens[$newStackPtr]['code'] = T_END_NOWDOC;
1119
+ $finalTokens[$newStackPtr]['type'] = 'T_END_NOWDOC';
1120
+ }
1121
+
1122
+ $newStackPtr++;
1123
+
1124
+ // Continue, as we're done with this token.
1125
+ continue;
1126
+ }//end if
1127
+
1128
+ /*
1129
+ Enum keyword for PHP < 8.1
1130
+ */
1131
+
1132
+ if ($tokenIsArray === true
1133
+ && $token[0] === T_STRING
1134
+ && strtolower($token[1]) === 'enum'
1135
+ ) {
1136
+ // Get the next non-empty token.
1137
+ for ($i = ($stackPtr + 1); $i < $numTokens; $i++) {
1138
+ if (is_array($tokens[$i]) === false
1139
+ || isset(Tokens::$emptyTokens[$tokens[$i][0]]) === false
1140
+ ) {
1141
+ break;
1142
+ }
1143
+ }
1144
+
1145
+ if (isset($tokens[$i]) === true
1146
+ && is_array($tokens[$i]) === true
1147
+ && $tokens[$i][0] === T_STRING
1148
+ ) {
1149
+ // Modify $tokens directly so we can use it later when converting enum "case".
1150
+ $tokens[$stackPtr][0] = T_ENUM;
1151
+
1152
+ $newToken = [];
1153
+ $newToken['code'] = T_ENUM;
1154
+ $newToken['type'] = 'T_ENUM';
1155
+ $newToken['content'] = $token[1];
1156
+ $finalTokens[$newStackPtr] = $newToken;
1157
+
1158
+ if (PHP_CODESNIFFER_VERBOSITY > 1) {
1159
+ echo "\t\t* token $stackPtr changed from T_STRING to T_ENUM".PHP_EOL;
1160
+ }
1161
+
1162
+ $newStackPtr++;
1163
+ continue;
1164
+ }
1165
+ }//end if
1166
+
1167
+ /*
1168
+ Convert enum "case" to T_ENUM_CASE
1169
+ */
1170
+
1171
+ if ($tokenIsArray === true
1172
+ && $token[0] === T_CASE
1173
+ && isset($this->tstringContexts[$finalTokens[$lastNotEmptyToken]['code']]) === false
1174
+ ) {
1175
+ $isEnumCase = false;
1176
+ $scope = 1;
1177
+
1178
+ for ($i = ($stackPtr - 1); $i > 0; $i--) {
1179
+ if ($tokens[$i] === '}') {
1180
+ $scope++;
1181
+ continue;
1182
+ }
1183
+
1184
+ if ($tokens[$i] === '{') {
1185
+ $scope--;
1186
+ continue;
1187
+ }
1188
+
1189
+ if (is_array($tokens[$i]) === false) {
1190
+ continue;
1191
+ }
1192
+
1193
+ if ($scope !== 0) {
1194
+ continue;
1195
+ }
1196
+
1197
+ if ($tokens[$i][0] === T_SWITCH) {
1198
+ break;
1199
+ }
1200
+
1201
+ if ($tokens[$i][0] === T_ENUM || $tokens[$i][0] === T_ENUM_CASE) {
1202
+ $isEnumCase = true;
1203
+ break;
1204
+ }
1205
+ }//end for
1206
+
1207
+ if ($isEnumCase === true) {
1208
+ // Modify $tokens directly so we can use it as optimisation for other enum "case".
1209
+ $tokens[$stackPtr][0] = T_ENUM_CASE;
1210
+
1211
+ $newToken = [];
1212
+ $newToken['code'] = T_ENUM_CASE;
1213
+ $newToken['type'] = 'T_ENUM_CASE';
1214
+ $newToken['content'] = $token[1];
1215
+ $finalTokens[$newStackPtr] = $newToken;
1216
+
1217
+ if (PHP_CODESNIFFER_VERBOSITY > 1) {
1218
+ echo "\t\t* token $stackPtr changed from T_CASE to T_ENUM_CASE".PHP_EOL;
1219
+ }
1220
+
1221
+ $newStackPtr++;
1222
+ continue;
1223
+ }
1224
+ }//end if
1225
+
1226
+ /*
1227
+ As of PHP 8.0 fully qualified, partially qualified and namespace relative
1228
+ identifier names are tokenized differently.
1229
+ This "undoes" the new tokenization so the tokenization will be the same in
1230
+ in PHP 5, 7 and 8.
1231
+ */
1232
+
1233
+ if (PHP_VERSION_ID >= 80000
1234
+ && $tokenIsArray === true
1235
+ && ($token[0] === T_NAME_QUALIFIED
1236
+ || $token[0] === T_NAME_FULLY_QUALIFIED
1237
+ || $token[0] === T_NAME_RELATIVE)
1238
+ ) {
1239
+ $name = $token[1];
1240
+
1241
+ if ($token[0] === T_NAME_FULLY_QUALIFIED) {
1242
+ $newToken = [];
1243
+ $newToken['code'] = T_NS_SEPARATOR;
1244
+ $newToken['type'] = 'T_NS_SEPARATOR';
1245
+ $newToken['content'] = '\\';
1246
+ $finalTokens[$newStackPtr] = $newToken;
1247
+ ++$newStackPtr;
1248
+
1249
+ $name = ltrim($name, '\\');
1250
+ }
1251
+
1252
+ if ($token[0] === T_NAME_RELATIVE) {
1253
+ $newToken = [];
1254
+ $newToken['code'] = T_NAMESPACE;
1255
+ $newToken['type'] = 'T_NAMESPACE';
1256
+ $newToken['content'] = substr($name, 0, 9);
1257
+ $finalTokens[$newStackPtr] = $newToken;
1258
+ ++$newStackPtr;
1259
+
1260
+ $newToken = [];
1261
+ $newToken['code'] = T_NS_SEPARATOR;
1262
+ $newToken['type'] = 'T_NS_SEPARATOR';
1263
+ $newToken['content'] = '\\';
1264
+ $finalTokens[$newStackPtr] = $newToken;
1265
+ ++$newStackPtr;
1266
+
1267
+ $name = substr($name, 10);
1268
+ }
1269
+
1270
+ $parts = explode('\\', $name);
1271
+ $partCount = count($parts);
1272
+ $lastPart = ($partCount - 1);
1273
+
1274
+ foreach ($parts as $i => $part) {
1275
+ $newToken = [];
1276
+ $newToken['code'] = T_STRING;
1277
+ $newToken['type'] = 'T_STRING';
1278
+ $newToken['content'] = $part;
1279
+ $finalTokens[$newStackPtr] = $newToken;
1280
+ ++$newStackPtr;
1281
+
1282
+ if ($i !== $lastPart) {
1283
+ $newToken = [];
1284
+ $newToken['code'] = T_NS_SEPARATOR;
1285
+ $newToken['type'] = 'T_NS_SEPARATOR';
1286
+ $newToken['content'] = '\\';
1287
+ $finalTokens[$newStackPtr] = $newToken;
1288
+ ++$newStackPtr;
1289
+ }
1290
+ }
1291
+
1292
+ if (PHP_CODESNIFFER_VERBOSITY > 1) {
1293
+ $type = Tokens::tokenName($token[0]);
1294
+ $content = Common::prepareForOutput($token[1]);
1295
+ echo "\t\t* token $stackPtr split into individual tokens; was: $type => $content".PHP_EOL;
1296
+ }
1297
+
1298
+ continue;
1299
+ }//end if
1300
+
1301
+ /*
1302
+ PHP 8.0 Attributes
1303
+ */
1304
+
1305
+ if (PHP_VERSION_ID < 80000
1306
+ && $token[0] === T_COMMENT
1307
+ && strpos($token[1], '#[') === 0
1308
+ ) {
1309
+ $subTokens = $this->parsePhpAttribute($tokens, $stackPtr);
1310
+ if ($subTokens !== null) {
1311
+ array_splice($tokens, $stackPtr, 1, $subTokens);
1312
+ $numTokens = count($tokens);
1313
+
1314
+ $tokenIsArray = true;
1315
+ $token = $tokens[$stackPtr];
1316
+ } else {
1317
+ $token[0] = T_ATTRIBUTE;
1318
+ }
1319
+ }
1320
+
1321
+ if ($tokenIsArray === true
1322
+ && $token[0] === T_ATTRIBUTE
1323
+ ) {
1324
+ // Go looking for the close bracket.
1325
+ $bracketCloser = $this->findCloser($tokens, ($stackPtr + 1), ['[', '#['], ']');
1326
+
1327
+ $newToken = [];
1328
+ $newToken['code'] = T_ATTRIBUTE;
1329
+ $newToken['type'] = 'T_ATTRIBUTE';
1330
+ $newToken['content'] = '#[';
1331
+ $finalTokens[$newStackPtr] = $newToken;
1332
+
1333
+ $tokens[$bracketCloser] = [];
1334
+ $tokens[$bracketCloser][0] = T_ATTRIBUTE_END;
1335
+ $tokens[$bracketCloser][1] = ']';
1336
+
1337
+ if (PHP_CODESNIFFER_VERBOSITY > 1) {
1338
+ echo "\t\t* token $bracketCloser changed from T_CLOSE_SQUARE_BRACKET to T_ATTRIBUTE_END".PHP_EOL;
1339
+ }
1340
+
1341
+ $newStackPtr++;
1342
+ continue;
1343
+ }//end if
1344
+
1345
+ /*
1346
+ Tokenize the parameter labels for PHP 8.0 named parameters as a special T_PARAM_NAME
1347
+ token and ensures that the colon after it is always T_COLON.
1348
+ */
1349
+
1350
+ if ($tokenIsArray === true
1351
+ && ($token[0] === T_STRING
1352
+ || preg_match('`^[a-zA-Z_\x80-\xff]`', $token[1]) === 1)
1353
+ ) {
1354
+ // Get the next non-empty token.
1355
+ for ($i = ($stackPtr + 1); $i < $numTokens; $i++) {
1356
+ if (is_array($tokens[$i]) === false
1357
+ || isset(Tokens::$emptyTokens[$tokens[$i][0]]) === false
1358
+ ) {
1359
+ break;
1360
+ }
1361
+ }
1362
+
1363
+ if (isset($tokens[$i]) === true
1364
+ && is_array($tokens[$i]) === false
1365
+ && $tokens[$i] === ':'
1366
+ ) {
1367
+ // Get the previous non-empty token.
1368
+ for ($j = ($stackPtr - 1); $j > 0; $j--) {
1369
+ if (is_array($tokens[$j]) === false
1370
+ || isset(Tokens::$emptyTokens[$tokens[$j][0]]) === false
1371
+ ) {
1372
+ break;
1373
+ }
1374
+ }
1375
+
1376
+ if (is_array($tokens[$j]) === false
1377
+ && ($tokens[$j] === '('
1378
+ || $tokens[$j] === ',')
1379
+ ) {
1380
+ $newToken = [];
1381
+ $newToken['code'] = T_PARAM_NAME;
1382
+ $newToken['type'] = 'T_PARAM_NAME';
1383
+ $newToken['content'] = $token[1];
1384
+ $finalTokens[$newStackPtr] = $newToken;
1385
+
1386
+ $newStackPtr++;
1387
+
1388
+ // Modify the original token stack so that future checks, like
1389
+ // determining T_COLON vs T_INLINE_ELSE can handle this correctly.
1390
+ $tokens[$stackPtr][0] = T_PARAM_NAME;
1391
+
1392
+ if (PHP_CODESNIFFER_VERBOSITY > 1) {
1393
+ $type = Tokens::tokenName($token[0]);
1394
+ echo "\t\t* token $stackPtr changed from $type to T_PARAM_NAME".PHP_EOL;
1395
+ }
1396
+
1397
+ continue;
1398
+ }
1399
+ }//end if
1400
+ }//end if
1401
+
1402
+ /*
1403
+ "readonly" keyword for PHP < 8.1
1404
+ */
1405
+
1406
+ if ($tokenIsArray === true
1407
+ && strtolower($token[1]) === 'readonly'
1408
+ && (isset($this->tstringContexts[$finalTokens[$lastNotEmptyToken]['code']]) === false
1409
+ || $finalTokens[$lastNotEmptyToken]['code'] === T_NEW)
1410
+ ) {
1411
+ // Get the next non-whitespace token.
1412
+ for ($i = ($stackPtr + 1); $i < $numTokens; $i++) {
1413
+ if (is_array($tokens[$i]) === false
1414
+ || isset(Tokens::$emptyTokens[$tokens[$i][0]]) === false
1415
+ ) {
1416
+ break;
1417
+ }
1418
+ }
1419
+
1420
+ $isReadonlyKeyword = false;
1421
+
1422
+ if (isset($tokens[$i]) === false
1423
+ || $tokens[$i] !== '('
1424
+ ) {
1425
+ $isReadonlyKeyword = true;
1426
+ } else if ($tokens[$i] === '(') {
1427
+ /*
1428
+ * Skip over tokens which can be used in type declarations.
1429
+ * At this point, the only token types which need to be taken into consideration
1430
+ * as potential type declarations are identifier names, T_ARRAY, T_CALLABLE and T_NS_SEPARATOR
1431
+ * and the union/intersection/dnf parentheses.
1432
+ */
1433
+
1434
+ $foundDNFParens = 1;
1435
+ $foundDNFPipe = 0;
1436
+
1437
+ for (++$i; $i < $numTokens; $i++) {
1438
+ if (is_array($tokens[$i]) === true) {
1439
+ $tokenType = $tokens[$i][0];
1440
+ } else {
1441
+ $tokenType = $tokens[$i];
1442
+ }
1443
+
1444
+ if (isset(Tokens::$emptyTokens[$tokenType]) === true) {
1445
+ continue;
1446
+ }
1447
+
1448
+ if ($tokenType === '|') {
1449
+ ++$foundDNFPipe;
1450
+ continue;
1451
+ }
1452
+
1453
+ if ($tokenType === ')') {
1454
+ ++$foundDNFParens;
1455
+ continue;
1456
+ }
1457
+
1458
+ if ($tokenType === '(') {
1459
+ ++$foundDNFParens;
1460
+ continue;
1461
+ }
1462
+
1463
+ if ($tokenType === T_STRING
1464
+ || $tokenType === T_NAME_FULLY_QUALIFIED
1465
+ || $tokenType === T_NAME_RELATIVE
1466
+ || $tokenType === T_NAME_QUALIFIED
1467
+ || $tokenType === T_ARRAY
1468
+ || $tokenType === T_NAMESPACE
1469
+ || $tokenType === T_NS_SEPARATOR
1470
+ || $tokenType === T_AMPERSAND_NOT_FOLLOWED_BY_VAR_OR_VARARG // PHP 8.0+.
1471
+ || $tokenType === '&' // PHP < 8.0.
1472
+ ) {
1473
+ continue;
1474
+ }
1475
+
1476
+ // Reached the next token after.
1477
+ if (($foundDNFParens % 2) === 0
1478
+ && $foundDNFPipe >= 1
1479
+ && ($tokenType === T_VARIABLE
1480
+ || $tokenType === T_AMPERSAND_FOLLOWED_BY_VAR_OR_VARARG)
1481
+ ) {
1482
+ $isReadonlyKeyword = true;
1483
+ }
1484
+
1485
+ break;
1486
+ }//end for
1487
+ }//end if
1488
+
1489
+ if ($isReadonlyKeyword === true) {
1490
+ $finalTokens[$newStackPtr] = [
1491
+ 'code' => T_READONLY,
1492
+ 'type' => 'T_READONLY',
1493
+ 'content' => $token[1],
1494
+ ];
1495
+ $newStackPtr++;
1496
+
1497
+ if (PHP_CODESNIFFER_VERBOSITY > 1 && $type !== T_READONLY) {
1498
+ echo "\t\t* token $stackPtr changed from $type to T_READONLY".PHP_EOL;
1499
+ }
1500
+ } else {
1501
+ $finalTokens[$newStackPtr] = [
1502
+ 'code' => T_STRING,
1503
+ 'type' => 'T_STRING',
1504
+ 'content' => $token[1],
1505
+ ];
1506
+ $newStackPtr++;
1507
+
1508
+ if (PHP_CODESNIFFER_VERBOSITY > 1 && $type !== T_STRING) {
1509
+ echo "\t\t* token $stackPtr changed from $type to T_STRING".PHP_EOL;
1510
+ }
1511
+ }//end if
1512
+
1513
+ continue;
1514
+ }//end if
1515
+
1516
+ /*
1517
+ Before PHP 7.0, "yield from" was tokenized as
1518
+ T_YIELD, T_WHITESPACE and T_STRING. So look for
1519
+ and change this token in earlier versions.
1520
+ */
1521
+
1522
+ if (PHP_VERSION_ID < 70000
1523
+ && $tokenIsArray === true
1524
+ && $token[0] === T_YIELD
1525
+ && isset($tokens[($stackPtr + 1)]) === true
1526
+ && isset($tokens[($stackPtr + 2)]) === true
1527
+ && $tokens[($stackPtr + 1)][0] === T_WHITESPACE
1528
+ && strpos($tokens[($stackPtr + 1)][1], $this->eolChar) === false
1529
+ && $tokens[($stackPtr + 2)][0] === T_STRING
1530
+ && strtolower($tokens[($stackPtr + 2)][1]) === 'from'
1531
+ ) {
1532
+ // Single-line "yield from" with only whitespace between.
1533
+ $finalTokens[$newStackPtr] = [
1534
+ 'code' => T_YIELD_FROM,
1535
+ 'type' => 'T_YIELD_FROM',
1536
+ 'content' => $token[1].$tokens[($stackPtr + 1)][1].$tokens[($stackPtr + 2)][1],
1537
+ ];
1538
+
1539
+ if (PHP_CODESNIFFER_VERBOSITY > 1) {
1540
+ for ($i = ($stackPtr + 1); $i <= ($stackPtr + 2); $i++) {
1541
+ $type = Tokens::tokenName($tokens[$i][0]);
1542
+ $content = Common::prepareForOutput($tokens[$i][1]);
1543
+ echo "\t\t* token $i merged into T_YIELD_FROM; was: $type => $content".PHP_EOL;
1544
+ }
1545
+ }
1546
+
1547
+ $newStackPtr++;
1548
+ $stackPtr += 2;
1549
+
1550
+ continue;
1551
+ } else if (PHP_VERSION_ID < 80300
1552
+ && $tokenIsArray === true
1553
+ && $token[0] === T_STRING
1554
+ && strtolower($token[1]) === 'from'
1555
+ && $finalTokens[$lastNotEmptyToken]['code'] === T_YIELD
1556
+ ) {
1557
+ /*
1558
+ Before PHP 8.3, if there was a comment between the "yield" and "from" keywords,
1559
+ it was tokenized as T_YIELD, T_WHITESPACE, T_COMMENT... and T_STRING.
1560
+ We want to keep the tokenization of the tokens between, but need to change the
1561
+ `T_YIELD` and `T_STRING` (from) keywords to `T_YIELD_FROM.
1562
+ */
1563
+
1564
+ $finalTokens[$lastNotEmptyToken]['code'] = T_YIELD_FROM;
1565
+ $finalTokens[$lastNotEmptyToken]['type'] = 'T_YIELD_FROM';
1566
+
1567
+ $finalTokens[$newStackPtr] = [
1568
+ 'code' => T_YIELD_FROM,
1569
+ 'type' => 'T_YIELD_FROM',
1570
+ 'content' => $token[1],
1571
+ ];
1572
+ $newStackPtr++;
1573
+
1574
+ if (PHP_CODESNIFFER_VERBOSITY > 1) {
1575
+ echo "\t\t* token $lastNotEmptyToken (new stack) changed into T_YIELD_FROM; was: T_YIELD".PHP_EOL;
1576
+ echo "\t\t* token $stackPtr changed into T_YIELD_FROM; was: T_STRING".PHP_EOL;
1577
+ }
1578
+
1579
+ continue;
1580
+ } else if (PHP_VERSION_ID >= 70000
1581
+ && $tokenIsArray === true
1582
+ && $token[0] === T_YIELD_FROM
1583
+ && strpos($token[1], $this->eolChar) !== false
1584
+ && preg_match('`^yield\s+from$`i', $token[1]) === 1
1585
+ ) {
1586
+ /*
1587
+ In PHP 7.0+, a multi-line "yield from" (without comment) tokenizes as a single
1588
+ T_YIELD_FROM token, but we want to split it and tokenize the whitespace
1589
+ separately for consistency.
1590
+ */
1591
+
1592
+ $finalTokens[$newStackPtr] = [
1593
+ 'code' => T_YIELD_FROM,
1594
+ 'type' => 'T_YIELD_FROM',
1595
+ 'content' => substr($token[1], 0, 5),
1596
+ ];
1597
+ $newStackPtr++;
1598
+
1599
+ $tokenLines = explode($this->eolChar, substr($token[1], 5, -4));
1600
+ $numLines = count($tokenLines);
1601
+ $newToken = [
1602
+ 'type' => 'T_WHITESPACE',
1603
+ 'code' => T_WHITESPACE,
1604
+ 'content' => '',
1605
+ ];
1606
+
1607
+ foreach ($tokenLines as $i => $line) {
1608
+ $newToken['content'] = $line;
1609
+ if ($i === ($numLines - 1)) {
1610
+ if ($line === '') {
1611
+ break;
1612
+ }
1613
+ } else {
1614
+ $newToken['content'] .= $this->eolChar;
1615
+ }
1616
+
1617
+ $finalTokens[$newStackPtr] = $newToken;
1618
+ $newStackPtr++;
1619
+ }
1620
+
1621
+ $finalTokens[$newStackPtr] = [
1622
+ 'code' => T_YIELD_FROM,
1623
+ 'type' => 'T_YIELD_FROM',
1624
+ 'content' => substr($token[1], -4),
1625
+ ];
1626
+ $newStackPtr++;
1627
+
1628
+ if (PHP_CODESNIFFER_VERBOSITY > 1) {
1629
+ echo "\t\t* token $stackPtr split into 'yield', one or more whitespace tokens and 'from'".PHP_EOL;
1630
+ }
1631
+
1632
+ continue;
1633
+ } else if (PHP_VERSION_ID >= 80300
1634
+ && $tokenIsArray === true
1635
+ && $token[0] === T_YIELD_FROM
1636
+ && preg_match('`^yield[ \t]+from$`i', $token[1]) !== 1
1637
+ && stripos($token[1], 'yield') === 0
1638
+ ) {
1639
+ /*
1640
+ Since PHP 8.3, "yield from" allows for comments and will
1641
+ swallow the comment in the `T_YIELD_FROM` token.
1642
+ We need to split this up to allow for sniffs handling comments.
1643
+ */
1644
+
1645
+ $finalTokens[$newStackPtr] = [
1646
+ 'code' => T_YIELD_FROM,
1647
+ 'type' => 'T_YIELD_FROM',
1648
+ 'content' => substr($token[1], 0, 5),
1649
+ ];
1650
+ $newStackPtr++;
1651
+
1652
+ $yieldFromSubtokens = @token_get_all("<?php\n".substr($token[1], 5, -4));
1653
+ // Remove the PHP open tag token.
1654
+ array_shift($yieldFromSubtokens);
1655
+ // Add the "from" keyword.
1656
+ $yieldFromSubtokens[] = [
1657
+ 0 => T_YIELD_FROM,
1658
+ 1 => substr($token[1], -4),
1659
+ ];
1660
+
1661
+ // Inject the new tokens into the token stack.
1662
+ array_splice($tokens, ($stackPtr + 1), 0, $yieldFromSubtokens);
1663
+ $numTokens = count($tokens);
1664
+
1665
+ if (PHP_CODESNIFFER_VERBOSITY > 1) {
1666
+ echo "\t\t* token $stackPtr split into parts (yield from with comment)".PHP_EOL;
1667
+ }
1668
+
1669
+ unset($yieldFromSubtokens);
1670
+ continue;
1671
+ }//end if
1672
+
1673
+ /*
1674
+ Before PHP 5.6, the ... operator was tokenized as three
1675
+ T_STRING_CONCAT tokens in a row. So look for and combine
1676
+ these tokens in earlier versions.
1677
+ */
1678
+
1679
+ if ($tokenIsArray === false
1680
+ && $token[0] === '.'
1681
+ && isset($tokens[($stackPtr + 1)]) === true
1682
+ && isset($tokens[($stackPtr + 2)]) === true
1683
+ && $tokens[($stackPtr + 1)] === '.'
1684
+ && $tokens[($stackPtr + 2)] === '.'
1685
+ ) {
1686
+ $newToken = [];
1687
+ $newToken['code'] = T_ELLIPSIS;
1688
+ $newToken['type'] = 'T_ELLIPSIS';
1689
+ $newToken['content'] = '...';
1690
+ $finalTokens[$newStackPtr] = $newToken;
1691
+
1692
+ $newStackPtr++;
1693
+ $stackPtr += 2;
1694
+ continue;
1695
+ }
1696
+
1697
+ /*
1698
+ Before PHP 5.6, the ** operator was tokenized as two
1699
+ T_MULTIPLY tokens in a row. So look for and combine
1700
+ these tokens in earlier versions.
1701
+ */
1702
+
1703
+ if ($tokenIsArray === false
1704
+ && $token[0] === '*'
1705
+ && isset($tokens[($stackPtr + 1)]) === true
1706
+ && $tokens[($stackPtr + 1)] === '*'
1707
+ ) {
1708
+ $newToken = [];
1709
+ $newToken['code'] = T_POW;
1710
+ $newToken['type'] = 'T_POW';
1711
+ $newToken['content'] = '**';
1712
+ $finalTokens[$newStackPtr] = $newToken;
1713
+
1714
+ $newStackPtr++;
1715
+ $stackPtr++;
1716
+ continue;
1717
+ }
1718
+
1719
+ /*
1720
+ Before PHP 5.6, the **= operator was tokenized as
1721
+ T_MULTIPLY followed by T_MUL_EQUAL. So look for and combine
1722
+ these tokens in earlier versions.
1723
+ */
1724
+
1725
+ if ($tokenIsArray === false
1726
+ && $token[0] === '*'
1727
+ && isset($tokens[($stackPtr + 1)]) === true
1728
+ && is_array($tokens[($stackPtr + 1)]) === true
1729
+ && $tokens[($stackPtr + 1)][1] === '*='
1730
+ ) {
1731
+ $newToken = [];
1732
+ $newToken['code'] = T_POW_EQUAL;
1733
+ $newToken['type'] = 'T_POW_EQUAL';
1734
+ $newToken['content'] = '**=';
1735
+ $finalTokens[$newStackPtr] = $newToken;
1736
+
1737
+ $newStackPtr++;
1738
+ $stackPtr++;
1739
+ continue;
1740
+ }
1741
+
1742
+ /*
1743
+ Before PHP 7, the ??= operator was tokenized as
1744
+ T_INLINE_THEN, T_INLINE_THEN, T_EQUAL.
1745
+ Between PHP 7.0 and 7.3, the ??= operator was tokenized as
1746
+ T_COALESCE, T_EQUAL.
1747
+ So look for and combine these tokens in earlier versions.
1748
+ */
1749
+
1750
+ if (($tokenIsArray === false
1751
+ && $token[0] === '?'
1752
+ && isset($tokens[($stackPtr + 1)]) === true
1753
+ && $tokens[($stackPtr + 1)][0] === '?'
1754
+ && isset($tokens[($stackPtr + 2)]) === true
1755
+ && $tokens[($stackPtr + 2)][0] === '=')
1756
+ || ($tokenIsArray === true
1757
+ && $token[0] === T_COALESCE
1758
+ && isset($tokens[($stackPtr + 1)]) === true
1759
+ && $tokens[($stackPtr + 1)][0] === '=')
1760
+ ) {
1761
+ $newToken = [];
1762
+ $newToken['code'] = T_COALESCE_EQUAL;
1763
+ $newToken['type'] = 'T_COALESCE_EQUAL';
1764
+ $newToken['content'] = '??=';
1765
+ $finalTokens[$newStackPtr] = $newToken;
1766
+
1767
+ $newStackPtr++;
1768
+ $stackPtr++;
1769
+
1770
+ if ($tokenIsArray === false) {
1771
+ // Pre PHP 7.
1772
+ $stackPtr++;
1773
+ }
1774
+
1775
+ continue;
1776
+ }
1777
+
1778
+ /*
1779
+ Before PHP 7, the ?? operator was tokenized as
1780
+ T_INLINE_THEN followed by T_INLINE_THEN.
1781
+ So look for and combine these tokens in earlier versions.
1782
+ */
1783
+
1784
+ if ($tokenIsArray === false
1785
+ && $token[0] === '?'
1786
+ && isset($tokens[($stackPtr + 1)]) === true
1787
+ && $tokens[($stackPtr + 1)][0] === '?'
1788
+ ) {
1789
+ $newToken = [];
1790
+ $newToken['code'] = T_COALESCE;
1791
+ $newToken['type'] = 'T_COALESCE';
1792
+ $newToken['content'] = '??';
1793
+ $finalTokens[$newStackPtr] = $newToken;
1794
+
1795
+ $newStackPtr++;
1796
+ $stackPtr++;
1797
+ continue;
1798
+ }
1799
+
1800
+ /*
1801
+ Before PHP 8, the ?-> operator was tokenized as
1802
+ T_INLINE_THEN followed by T_OBJECT_OPERATOR.
1803
+ So look for and combine these tokens in earlier versions.
1804
+ */
1805
+
1806
+ if ($tokenIsArray === false
1807
+ && $token[0] === '?'
1808
+ && isset($tokens[($stackPtr + 1)]) === true
1809
+ && is_array($tokens[($stackPtr + 1)]) === true
1810
+ && $tokens[($stackPtr + 1)][0] === T_OBJECT_OPERATOR
1811
+ ) {
1812
+ $newToken = [];
1813
+ $newToken['code'] = T_NULLSAFE_OBJECT_OPERATOR;
1814
+ $newToken['type'] = 'T_NULLSAFE_OBJECT_OPERATOR';
1815
+ $newToken['content'] = '?->';
1816
+ $finalTokens[$newStackPtr] = $newToken;
1817
+
1818
+ $newStackPtr++;
1819
+ $stackPtr++;
1820
+ continue;
1821
+ }
1822
+
1823
+ /*
1824
+ Before PHP 7.4, underscores inside T_LNUMBER and T_DNUMBER
1825
+ tokens split the token with a T_STRING. So look for
1826
+ and change these tokens in earlier versions.
1827
+ */
1828
+
1829
+ if (PHP_VERSION_ID < 70400
1830
+ && ($tokenIsArray === true
1831
+ && ($token[0] === T_LNUMBER
1832
+ || $token[0] === T_DNUMBER)
1833
+ && isset($tokens[($stackPtr + 1)]) === true
1834
+ && is_array($tokens[($stackPtr + 1)]) === true
1835
+ && $tokens[($stackPtr + 1)][0] === T_STRING
1836
+ && $tokens[($stackPtr + 1)][1][0] === '_')
1837
+ ) {
1838
+ $newContent = $token[1];
1839
+ $newType = $token[0];
1840
+ for ($i = ($stackPtr + 1); $i < $numTokens; $i++) {
1841
+ if (is_array($tokens[$i]) === false) {
1842
+ break;
1843
+ }
1844
+
1845
+ if ($tokens[$i][0] === T_LNUMBER
1846
+ || $tokens[$i][0] === T_DNUMBER
1847
+ ) {
1848
+ $newContent .= $tokens[$i][1];
1849
+ continue;
1850
+ }
1851
+
1852
+ if ($tokens[$i][0] === T_STRING
1853
+ && $tokens[$i][1][0] === '_'
1854
+ && ((strpos($newContent, '0x') === 0
1855
+ && preg_match('`^((?<!\.)_[0-9A-F][0-9A-F\.]*)+$`iD', $tokens[$i][1]) === 1)
1856
+ || (strpos($newContent, '0x') !== 0
1857
+ && substr($newContent, -1) !== '.'
1858
+ && substr(strtolower($newContent), -1) !== 'e'
1859
+ && preg_match('`^(?:(?<![\.e])_[0-9][0-9e\.]*)+$`iD', $tokens[$i][1]) === 1))
1860
+ ) {
1861
+ $newContent .= $tokens[$i][1];
1862
+
1863
+ // Support floats.
1864
+ if (substr(strtolower($tokens[$i][1]), -1) === 'e'
1865
+ && ($tokens[($i + 1)] === '-'
1866
+ || $tokens[($i + 1)] === '+')
1867
+ ) {
1868
+ $newContent .= $tokens[($i + 1)];
1869
+ $i++;
1870
+ }
1871
+
1872
+ continue;
1873
+ }//end if
1874
+
1875
+ break;
1876
+ }//end for
1877
+
1878
+ if ($newType === T_LNUMBER
1879
+ && ((stripos($newContent, '0x') === 0 && hexdec(str_replace('_', '', $newContent)) > PHP_INT_MAX)
1880
+ || (stripos($newContent, '0b') === 0 && bindec(str_replace('_', '', $newContent)) > PHP_INT_MAX)
1881
+ || (stripos($newContent, '0o') === 0 && octdec(str_replace('_', '', $newContent)) > PHP_INT_MAX)
1882
+ || (stripos($newContent, '0x') !== 0
1883
+ && (stripos($newContent, 'e') !== false || strpos($newContent, '.') !== false))
1884
+ || (strpos($newContent, '0') === 0 && stripos($newContent, '0x') !== 0
1885
+ && stripos($newContent, '0b') !== 0 && octdec(str_replace('_', '', $newContent)) > PHP_INT_MAX)
1886
+ || (strpos($newContent, '0') !== 0 && str_replace('_', '', $newContent) > PHP_INT_MAX))
1887
+ ) {
1888
+ $newType = T_DNUMBER;
1889
+ }
1890
+
1891
+ $newToken = [];
1892
+ $newToken['code'] = $newType;
1893
+ $newToken['type'] = Tokens::tokenName($newType);
1894
+ $newToken['content'] = $newContent;
1895
+ $finalTokens[$newStackPtr] = $newToken;
1896
+
1897
+ $newStackPtr++;
1898
+ $stackPtr = ($i - 1);
1899
+ continue;
1900
+ }//end if
1901
+
1902
+ /*
1903
+ Backfill the T_MATCH token for PHP versions < 8.0 and
1904
+ do initial correction for non-match expression T_MATCH tokens
1905
+ to T_STRING for PHP >= 8.0.
1906
+ A final check for non-match expression T_MATCH tokens is done
1907
+ in PHP::processAdditional().
1908
+ */
1909
+
1910
+ if ($tokenIsArray === true
1911
+ && (($token[0] === T_STRING
1912
+ && strtolower($token[1]) === 'match')
1913
+ || $token[0] === T_MATCH)
1914
+ ) {
1915
+ $isMatch = false;
1916
+ for ($x = ($stackPtr + 1); $x < $numTokens; $x++) {
1917
+ if (isset($tokens[$x][0], Tokens::$emptyTokens[$tokens[$x][0]]) === true) {
1918
+ continue;
1919
+ }
1920
+
1921
+ if ($tokens[$x] !== '(') {
1922
+ // This is not a match expression.
1923
+ break;
1924
+ }
1925
+
1926
+ if (isset($this->tstringContexts[$finalTokens[$lastNotEmptyToken]['code']]) === true) {
1927
+ // Also not a match expression.
1928
+ break;
1929
+ }
1930
+
1931
+ $isMatch = true;
1932
+ break;
1933
+ }//end for
1934
+
1935
+ if ($isMatch === true && $token[0] === T_STRING) {
1936
+ $newToken = [];
1937
+ $newToken['code'] = T_MATCH;
1938
+ $newToken['type'] = 'T_MATCH';
1939
+ $newToken['content'] = $token[1];
1940
+
1941
+ if (PHP_CODESNIFFER_VERBOSITY > 1) {
1942
+ echo "\t\t* token $stackPtr changed from T_STRING to T_MATCH".PHP_EOL;
1943
+ }
1944
+
1945
+ $finalTokens[$newStackPtr] = $newToken;
1946
+ $newStackPtr++;
1947
+ continue;
1948
+ } else if ($isMatch === false && $token[0] === T_MATCH) {
1949
+ // PHP 8.0, match keyword, but not a match expression.
1950
+ $newToken = [];
1951
+ $newToken['code'] = T_STRING;
1952
+ $newToken['type'] = 'T_STRING';
1953
+ $newToken['content'] = $token[1];
1954
+
1955
+ if (PHP_CODESNIFFER_VERBOSITY > 1) {
1956
+ echo "\t\t* token $stackPtr changed from T_MATCH to T_STRING".PHP_EOL;
1957
+ }
1958
+
1959
+ $finalTokens[$newStackPtr] = $newToken;
1960
+ $newStackPtr++;
1961
+ continue;
1962
+ }//end if
1963
+ }//end if
1964
+
1965
+ /*
1966
+ Retokenize the T_DEFAULT in match control structures as T_MATCH_DEFAULT
1967
+ to prevent scope being set and the scope for switch default statements
1968
+ breaking.
1969
+ */
1970
+
1971
+ if ($tokenIsArray === true
1972
+ && $token[0] === T_DEFAULT
1973
+ && isset($this->tstringContexts[$finalTokens[$lastNotEmptyToken]['code']]) === false
1974
+ ) {
1975
+ for ($x = ($stackPtr + 1); $x < $numTokens; $x++) {
1976
+ if ($tokens[$x] === ',') {
1977
+ // Skip over potential trailing comma (supported in PHP).
1978
+ continue;
1979
+ }
1980
+
1981
+ if (is_array($tokens[$x]) === false
1982
+ || isset(Tokens::$emptyTokens[$tokens[$x][0]]) === false
1983
+ ) {
1984
+ // Non-empty, non-comma content.
1985
+ break;
1986
+ }
1987
+ }
1988
+
1989
+ if (isset($tokens[$x]) === true
1990
+ && is_array($tokens[$x]) === true
1991
+ && $tokens[$x][0] === T_DOUBLE_ARROW
1992
+ ) {
1993
+ // Modify the original token stack for the double arrow so that
1994
+ // future checks can disregard the double arrow token more easily.
1995
+ // For match expression "case" statements, this is handled
1996
+ // in PHP::processAdditional().
1997
+ $tokens[$x][0] = T_MATCH_ARROW;
1998
+ if (PHP_CODESNIFFER_VERBOSITY > 1) {
1999
+ echo "\t\t* token $x changed from T_DOUBLE_ARROW to T_MATCH_ARROW".PHP_EOL;
2000
+ }
2001
+
2002
+ $newToken = [];
2003
+ $newToken['code'] = T_MATCH_DEFAULT;
2004
+ $newToken['type'] = 'T_MATCH_DEFAULT';
2005
+ $newToken['content'] = $token[1];
2006
+
2007
+ if (PHP_CODESNIFFER_VERBOSITY > 1) {
2008
+ echo "\t\t* token $stackPtr changed from T_DEFAULT to T_MATCH_DEFAULT".PHP_EOL;
2009
+ }
2010
+
2011
+ $finalTokens[$newStackPtr] = $newToken;
2012
+ $newStackPtr++;
2013
+ continue;
2014
+ }//end if
2015
+ }//end if
2016
+
2017
+ /*
2018
+ Convert ? to T_NULLABLE OR T_INLINE_THEN
2019
+ */
2020
+
2021
+ if ($tokenIsArray === false && $token[0] === '?') {
2022
+ $newToken = [];
2023
+ $newToken['content'] = '?';
2024
+
2025
+ // For typed constants, we only need to check the token before the ? to be sure.
2026
+ if ($finalTokens[$lastNotEmptyToken]['code'] === T_CONST) {
2027
+ $newToken['code'] = T_NULLABLE;
2028
+ $newToken['type'] = 'T_NULLABLE';
2029
+
2030
+ if (PHP_CODESNIFFER_VERBOSITY > 1) {
2031
+ echo "\t\t* token $stackPtr changed from ? to T_NULLABLE".PHP_EOL;
2032
+ }
2033
+
2034
+ $finalTokens[$newStackPtr] = $newToken;
2035
+ $newStackPtr++;
2036
+ continue;
2037
+ }
2038
+
2039
+ /*
2040
+ * Check if the next non-empty token is one of the tokens which can be used
2041
+ * in type declarations. If not, it's definitely a ternary.
2042
+ * At this point, the only token types which need to be taken into consideration
2043
+ * as potential type declarations are identifier names, T_ARRAY, T_CALLABLE and T_NS_SEPARATOR.
2044
+ */
2045
+
2046
+ $lastRelevantNonEmpty = null;
2047
+
2048
+ for ($i = ($stackPtr + 1); $i < $numTokens; $i++) {
2049
+ if (is_array($tokens[$i]) === true) {
2050
+ $tokenType = $tokens[$i][0];
2051
+ } else {
2052
+ $tokenType = $tokens[$i];
2053
+ }
2054
+
2055
+ if (isset(Tokens::$emptyTokens[$tokenType]) === true) {
2056
+ continue;
2057
+ }
2058
+
2059
+ if ($tokenType === T_STRING
2060
+ || $tokenType === T_NAME_FULLY_QUALIFIED
2061
+ || $tokenType === T_NAME_RELATIVE
2062
+ || $tokenType === T_NAME_QUALIFIED
2063
+ || $tokenType === T_ARRAY
2064
+ || $tokenType === T_NAMESPACE
2065
+ || $tokenType === T_NS_SEPARATOR
2066
+ ) {
2067
+ $lastRelevantNonEmpty = $tokenType;
2068
+ continue;
2069
+ }
2070
+
2071
+ if (($tokenType !== T_CALLABLE
2072
+ && isset($lastRelevantNonEmpty) === false)
2073
+ || ($lastRelevantNonEmpty === T_ARRAY
2074
+ && $tokenType === '(')
2075
+ || (($lastRelevantNonEmpty === T_STRING
2076
+ || $lastRelevantNonEmpty === T_NAME_FULLY_QUALIFIED
2077
+ || $lastRelevantNonEmpty === T_NAME_RELATIVE
2078
+ || $lastRelevantNonEmpty === T_NAME_QUALIFIED)
2079
+ && ($tokenType === T_DOUBLE_COLON
2080
+ || $tokenType === '('
2081
+ || $tokenType === ':'))
2082
+ ) {
2083
+ if (PHP_CODESNIFFER_VERBOSITY > 1) {
2084
+ echo "\t\t* token $stackPtr changed from ? to T_INLINE_THEN".PHP_EOL;
2085
+ }
2086
+
2087
+ $newToken['code'] = T_INLINE_THEN;
2088
+ $newToken['type'] = 'T_INLINE_THEN';
2089
+
2090
+ $insideInlineIf[] = $stackPtr;
2091
+
2092
+ $finalTokens[$newStackPtr] = $newToken;
2093
+ $newStackPtr++;
2094
+ continue 2;
2095
+ }
2096
+
2097
+ break;
2098
+ }//end for
2099
+
2100
+ /*
2101
+ * This can still be a nullable type or a ternary.
2102
+ * Do additional checking.
2103
+ */
2104
+
2105
+ $prevNonEmpty = null;
2106
+ $lastSeenNonEmpty = null;
2107
+
2108
+ for ($i = ($stackPtr - 1); $i >= 0; $i--) {
2109
+ if (is_array($tokens[$i]) === true) {
2110
+ $tokenType = $tokens[$i][0];
2111
+ } else {
2112
+ $tokenType = $tokens[$i];
2113
+ }
2114
+
2115
+ if ($tokenType === T_STATIC
2116
+ && ($lastSeenNonEmpty === T_DOUBLE_COLON
2117
+ || $lastSeenNonEmpty === '(')
2118
+ ) {
2119
+ $lastSeenNonEmpty = $tokenType;
2120
+ continue;
2121
+ }
2122
+
2123
+ if ($prevNonEmpty === null
2124
+ && isset(Tokens::$emptyTokens[$tokenType]) === false
2125
+ ) {
2126
+ // Found the previous non-empty token.
2127
+ if ($tokenType === ':' || $tokenType === ',' || $tokenType === T_ATTRIBUTE_END) {
2128
+ $newToken['code'] = T_NULLABLE;
2129
+ $newToken['type'] = 'T_NULLABLE';
2130
+
2131
+ if (PHP_CODESNIFFER_VERBOSITY > 1) {
2132
+ echo "\t\t* token $stackPtr changed from ? to T_NULLABLE".PHP_EOL;
2133
+ }
2134
+
2135
+ break;
2136
+ }
2137
+
2138
+ $prevNonEmpty = $tokenType;
2139
+ }
2140
+
2141
+ if ($tokenType === T_FUNCTION
2142
+ || $tokenType === T_FN
2143
+ || isset(Tokens::$methodPrefixes[$tokenType]) === true
2144
+ || $tokenType === T_VAR
2145
+ ) {
2146
+ if (PHP_CODESNIFFER_VERBOSITY > 1) {
2147
+ echo "\t\t* token $stackPtr changed from ? to T_NULLABLE".PHP_EOL;
2148
+ }
2149
+
2150
+ $newToken['code'] = T_NULLABLE;
2151
+ $newToken['type'] = 'T_NULLABLE';
2152
+ break;
2153
+ } else if (in_array($tokenType, [T_DOUBLE_ARROW, T_OPEN_TAG, T_OPEN_TAG_WITH_ECHO, '=', '{', ';'], true) === true) {
2154
+ if (PHP_CODESNIFFER_VERBOSITY > 1) {
2155
+ echo "\t\t* token $stackPtr changed from ? to T_INLINE_THEN".PHP_EOL;
2156
+ }
2157
+
2158
+ $newToken['code'] = T_INLINE_THEN;
2159
+ $newToken['type'] = 'T_INLINE_THEN';
2160
+
2161
+ $insideInlineIf[] = $stackPtr;
2162
+ break;
2163
+ }
2164
+
2165
+ if (isset(Tokens::$emptyTokens[$tokenType]) === false) {
2166
+ $lastSeenNonEmpty = $tokenType;
2167
+ }
2168
+ }//end for
2169
+
2170
+ $finalTokens[$newStackPtr] = $newToken;
2171
+ $newStackPtr++;
2172
+ continue;
2173
+ }//end if
2174
+
2175
+ /*
2176
+ Tokens after a double colon may look like scope openers,
2177
+ such as when writing code like Foo::NAMESPACE, but they are
2178
+ only ever variables or strings.
2179
+ */
2180
+
2181
+ if ($stackPtr > 1
2182
+ && (is_array($tokens[($stackPtr - 1)]) === true
2183
+ && $tokens[($stackPtr - 1)][0] === T_PAAMAYIM_NEKUDOTAYIM)
2184
+ && $tokenIsArray === true
2185
+ && $token[0] !== T_STRING
2186
+ && $token[0] !== T_VARIABLE
2187
+ && $token[0] !== T_DOLLAR
2188
+ && isset(Tokens::$emptyTokens[$token[0]]) === false
2189
+ ) {
2190
+ $newToken = [];
2191
+ $newToken['code'] = T_STRING;
2192
+ $newToken['type'] = 'T_STRING';
2193
+ $newToken['content'] = $token[1];
2194
+ $finalTokens[$newStackPtr] = $newToken;
2195
+
2196
+ $newStackPtr++;
2197
+ continue;
2198
+ }
2199
+
2200
+ /*
2201
+ Backfill the T_FN token for PHP versions < 7.4.
2202
+ */
2203
+
2204
+ if ($tokenIsArray === true
2205
+ && $token[0] === T_STRING
2206
+ && strtolower($token[1]) === 'fn'
2207
+ ) {
2208
+ // Modify the original token stack so that
2209
+ // future checks (like looking for T_NULLABLE) can
2210
+ // detect the T_FN token more easily.
2211
+ $tokens[$stackPtr][0] = T_FN;
2212
+ $token[0] = T_FN;
2213
+ if (PHP_CODESNIFFER_VERBOSITY > 1) {
2214
+ echo "\t\t* token $stackPtr changed from T_STRING to T_FN".PHP_EOL;
2215
+ }
2216
+ }
2217
+
2218
+ /*
2219
+ This is a special condition for T_ARRAY tokens used for
2220
+ function return types. We want to keep the parenthesis map clean,
2221
+ so let's tag these tokens as T_STRING.
2222
+ */
2223
+
2224
+ if ($tokenIsArray === true
2225
+ && ($token[0] === T_FUNCTION
2226
+ || $token[0] === T_FN)
2227
+ && $finalTokens[$lastNotEmptyToken]['code'] !== T_USE
2228
+ ) {
2229
+ // Go looking for the colon to start the return type hint.
2230
+ // Start by finding the closing parenthesis of the function.
2231
+ $parenthesisStack = [];
2232
+ $parenthesisCloser = false;
2233
+ for ($x = ($stackPtr + 1); $x < $numTokens; $x++) {
2234
+ if (is_array($tokens[$x]) === false && $tokens[$x] === '(') {
2235
+ $parenthesisStack[] = $x;
2236
+ } else if (is_array($tokens[$x]) === false && $tokens[$x] === ')') {
2237
+ array_pop($parenthesisStack);
2238
+ if (empty($parenthesisStack) === true) {
2239
+ $parenthesisCloser = $x;
2240
+ break;
2241
+ }
2242
+ }
2243
+ }
2244
+
2245
+ if ($parenthesisCloser !== false) {
2246
+ for ($x = ($parenthesisCloser + 1); $x < $numTokens; $x++) {
2247
+ if (is_array($tokens[$x]) === false
2248
+ || isset(Tokens::$emptyTokens[$tokens[$x][0]]) === false
2249
+ ) {
2250
+ // Non-empty content.
2251
+ if (is_array($tokens[$x]) === true && $tokens[$x][0] === T_USE) {
2252
+ // Found a use statements, so search ahead for the closing parenthesis.
2253
+ for ($x += 1; $x < $numTokens; $x++) {
2254
+ if (is_array($tokens[$x]) === false && $tokens[$x] === ')') {
2255
+ continue(2);
2256
+ }
2257
+ }
2258
+ }
2259
+
2260
+ break;
2261
+ }
2262
+ }
2263
+
2264
+ if (isset($tokens[$x]) === true
2265
+ && is_array($tokens[$x]) === false
2266
+ && $tokens[$x] === ':'
2267
+ ) {
2268
+ // Find the start of the return type.
2269
+ for ($x += 1; $x < $numTokens; $x++) {
2270
+ if (is_array($tokens[$x]) === true
2271
+ && isset(Tokens::$emptyTokens[$tokens[$x][0]]) === true
2272
+ ) {
2273
+ // Whitespace or comments before the return type.
2274
+ continue;
2275
+ }
2276
+
2277
+ if (is_array($tokens[$x]) === false && $tokens[$x] === '?') {
2278
+ // Found a nullable operator, so skip it.
2279
+ // But also convert the token to save the tokenizer
2280
+ // a bit of time later on.
2281
+ $tokens[$x] = [
2282
+ T_NULLABLE,
2283
+ '?',
2284
+ ];
2285
+
2286
+ if (PHP_CODESNIFFER_VERBOSITY > 1) {
2287
+ echo "\t\t* token $x changed from ? to T_NULLABLE".PHP_EOL;
2288
+ }
2289
+
2290
+ continue;
2291
+ }
2292
+
2293
+ break;
2294
+ }//end for
2295
+ }//end if
2296
+ }//end if
2297
+ }//end if
2298
+
2299
+ /*
2300
+ Before PHP 7, the <=> operator was tokenized as
2301
+ T_IS_SMALLER_OR_EQUAL followed by T_GREATER_THAN.
2302
+ So look for and combine these tokens in earlier versions.
2303
+ */
2304
+
2305
+ if ($tokenIsArray === true
2306
+ && $token[0] === T_IS_SMALLER_OR_EQUAL
2307
+ && isset($tokens[($stackPtr + 1)]) === true
2308
+ && $tokens[($stackPtr + 1)][0] === '>'
2309
+ ) {
2310
+ $newToken = [];
2311
+ $newToken['code'] = T_SPACESHIP;
2312
+ $newToken['type'] = 'T_SPACESHIP';
2313
+ $newToken['content'] = '<=>';
2314
+ $finalTokens[$newStackPtr] = $newToken;
2315
+
2316
+ $newStackPtr++;
2317
+ $stackPtr++;
2318
+ continue;
2319
+ }
2320
+
2321
+ /*
2322
+ PHP doesn't assign a token to goto labels, so we have to.
2323
+ These are just string tokens with a single colon after them. Double
2324
+ colons are already tokenized and so don't interfere with this check.
2325
+ But we do have to account for CASE statements, that look just like
2326
+ goto labels.
2327
+ */
2328
+
2329
+ if ($tokenIsArray === true
2330
+ && $token[0] === T_STRING
2331
+ && isset($tokens[($stackPtr + 1)]) === true
2332
+ && $tokens[($stackPtr + 1)] === ':'
2333
+ && (is_array($tokens[($stackPtr - 1)]) === false
2334
+ || $tokens[($stackPtr - 1)][0] !== T_PAAMAYIM_NEKUDOTAYIM)
2335
+ ) {
2336
+ $stopTokens = [
2337
+ T_CASE => true,
2338
+ T_SEMICOLON => true,
2339
+ T_OPEN_TAG => true,
2340
+ T_OPEN_CURLY_BRACKET => true,
2341
+ T_INLINE_THEN => true,
2342
+ T_ENUM => true,
2343
+ ];
2344
+
2345
+ for ($x = ($newStackPtr - 1); $x > 0; $x--) {
2346
+ if (isset($stopTokens[$finalTokens[$x]['code']]) === true) {
2347
+ break;
2348
+ }
2349
+ }
2350
+
2351
+ if ($finalTokens[$x]['code'] !== T_CASE
2352
+ && $finalTokens[$x]['code'] !== T_INLINE_THEN
2353
+ && $finalTokens[$x]['code'] !== T_ENUM
2354
+ ) {
2355
+ $finalTokens[$newStackPtr] = [
2356
+ 'content' => $token[1].':',
2357
+ 'code' => T_GOTO_LABEL,
2358
+ 'type' => 'T_GOTO_LABEL',
2359
+ ];
2360
+
2361
+ if (PHP_CODESNIFFER_VERBOSITY > 1) {
2362
+ echo "\t\t* token $stackPtr changed from T_STRING to T_GOTO_LABEL".PHP_EOL;
2363
+ echo "\t\t* skipping T_COLON token ".($stackPtr + 1).PHP_EOL;
2364
+ }
2365
+
2366
+ $newStackPtr++;
2367
+ $stackPtr++;
2368
+ continue;
2369
+ }
2370
+ }//end if
2371
+
2372
+ /*
2373
+ If this token has newlines in its content, split each line up
2374
+ and create a new token for each line. We do this so it's easier
2375
+ to ascertain where errors occur on a line.
2376
+ Note that $token[1] is the token's content.
2377
+ */
2378
+
2379
+ if ($tokenIsArray === true && strpos($token[1], $this->eolChar) !== false) {
2380
+ $tokenLines = explode($this->eolChar, $token[1]);
2381
+ $numLines = count($tokenLines);
2382
+ $newToken = [
2383
+ 'type' => Tokens::tokenName($token[0]),
2384
+ 'code' => $token[0],
2385
+ 'content' => '',
2386
+ ];
2387
+
2388
+ for ($i = 0; $i < $numLines; $i++) {
2389
+ $newToken['content'] = $tokenLines[$i];
2390
+ if ($i === ($numLines - 1)) {
2391
+ if ($tokenLines[$i] === '') {
2392
+ break;
2393
+ }
2394
+ } else {
2395
+ $newToken['content'] .= $this->eolChar;
2396
+ }
2397
+
2398
+ $finalTokens[$newStackPtr] = $newToken;
2399
+ $newStackPtr++;
2400
+ }
2401
+ } else {
2402
+ // Some T_STRING tokens should remain that way due to their context.
2403
+ if ($tokenIsArray === true && $token[0] === T_STRING) {
2404
+ $preserveTstring = false;
2405
+
2406
+ // True/false/parent/self/static in typed constants should be fixed to their own token,
2407
+ // but the constant name should not be.
2408
+ if ((isset($this->tstringContexts[$finalTokens[$lastNotEmptyToken]['code']]) === true
2409
+ && $finalTokens[$lastNotEmptyToken]['code'] === T_CONST)
2410
+ || $insideConstDeclaration === true
2411
+ ) {
2412
+ // Find the next non-empty token.
2413
+ for ($i = ($stackPtr + 1); $i < $numTokens; $i++) {
2414
+ if (is_array($tokens[$i]) === true
2415
+ && isset(Tokens::$emptyTokens[$tokens[$i][0]]) === true
2416
+ ) {
2417
+ continue;
2418
+ }
2419
+
2420
+ break;
2421
+ }
2422
+
2423
+ if ($tokens[$i] === '=') {
2424
+ $preserveTstring = true;
2425
+ $insideConstDeclaration = false;
2426
+ }
2427
+ } else if (isset($this->tstringContexts[$finalTokens[$lastNotEmptyToken]['code']]) === true
2428
+ && $finalTokens[$lastNotEmptyToken]['code'] !== T_CONST
2429
+ ) {
2430
+ $preserveTstring = true;
2431
+
2432
+ // Special case for syntax like: return new self/new parent
2433
+ // where self/parent should not be a string.
2434
+ $tokenContentLower = strtolower($token[1]);
2435
+ if ($finalTokens[$lastNotEmptyToken]['code'] === T_NEW
2436
+ && ($tokenContentLower === 'self' || $tokenContentLower === 'parent')
2437
+ ) {
2438
+ $preserveTstring = false;
2439
+ }
2440
+ } else if ($finalTokens[$lastNotEmptyToken]['content'] === '&') {
2441
+ // Function names for functions declared to return by reference.
2442
+ for ($i = ($lastNotEmptyToken - 1); $i >= 0; $i--) {
2443
+ if (isset(Tokens::$emptyTokens[$finalTokens[$i]['code']]) === true) {
2444
+ continue;
2445
+ }
2446
+
2447
+ if ($finalTokens[$i]['code'] === T_FUNCTION) {
2448
+ $preserveTstring = true;
2449
+ }
2450
+
2451
+ break;
2452
+ }
2453
+ } else {
2454
+ // Keywords with special PHPCS token when used as a function call.
2455
+ for ($i = ($stackPtr + 1); $i < $numTokens; $i++) {
2456
+ if (is_array($tokens[$i]) === true
2457
+ && isset(Tokens::$emptyTokens[$tokens[$i][0]]) === true
2458
+ ) {
2459
+ continue;
2460
+ }
2461
+
2462
+ if ($tokens[$i][0] === '(') {
2463
+ $preserveTstring = true;
2464
+ }
2465
+
2466
+ break;
2467
+ }
2468
+ }//end if
2469
+
2470
+ if ($preserveTstring === true) {
2471
+ $finalTokens[$newStackPtr] = [
2472
+ 'code' => T_STRING,
2473
+ 'type' => 'T_STRING',
2474
+ 'content' => $token[1],
2475
+ ];
2476
+
2477
+ $newStackPtr++;
2478
+ continue;
2479
+ }
2480
+ }//end if
2481
+
2482
+ $newToken = null;
2483
+ if ($tokenIsArray === false) {
2484
+ if (isset(self::$resolveTokenCache[$token[0]]) === true) {
2485
+ $newToken = self::$resolveTokenCache[$token[0]];
2486
+ }
2487
+ } else {
2488
+ $cacheKey = null;
2489
+ if ($token[0] === T_STRING) {
2490
+ $cacheKey = strtolower($token[1]);
2491
+ } else if ($token[0] !== T_CURLY_OPEN) {
2492
+ $cacheKey = $token[0];
2493
+ }
2494
+
2495
+ if ($cacheKey !== null && isset(self::$resolveTokenCache[$cacheKey]) === true) {
2496
+ $newToken = self::$resolveTokenCache[$cacheKey];
2497
+ $newToken['content'] = $token[1];
2498
+ }
2499
+ }
2500
+
2501
+ if ($newToken === null) {
2502
+ $newToken = self::standardiseToken($token);
2503
+ }
2504
+
2505
+ // Convert colons that are actually the ELSE component of an
2506
+ // inline IF statement.
2507
+ if (empty($insideInlineIf) === false && $newToken['code'] === T_COLON) {
2508
+ $isInlineIf = true;
2509
+
2510
+ // Make sure this isn't a named parameter label.
2511
+ // Get the previous non-empty token.
2512
+ for ($i = ($stackPtr - 1); $i > 0; $i--) {
2513
+ if (is_array($tokens[$i]) === false
2514
+ || isset(Tokens::$emptyTokens[$tokens[$i][0]]) === false
2515
+ ) {
2516
+ break;
2517
+ }
2518
+ }
2519
+
2520
+ if ($tokens[$i][0] === T_PARAM_NAME) {
2521
+ $isInlineIf = false;
2522
+ if (PHP_CODESNIFFER_VERBOSITY > 1) {
2523
+ echo "\t\t* token is parameter label, not T_INLINE_ELSE".PHP_EOL;
2524
+ }
2525
+ }
2526
+
2527
+ if ($isInlineIf === true) {
2528
+ // Make sure this isn't a return type separator.
2529
+ for ($i = ($stackPtr - 1); $i > 0; $i--) {
2530
+ if (is_array($tokens[$i]) === false
2531
+ || ($tokens[$i][0] !== T_DOC_COMMENT
2532
+ && $tokens[$i][0] !== T_COMMENT
2533
+ && $tokens[$i][0] !== T_WHITESPACE)
2534
+ ) {
2535
+ break;
2536
+ }
2537
+ }
2538
+
2539
+ if ($tokens[$i] === ')') {
2540
+ $parenCount = 1;
2541
+ for ($i--; $i > 0; $i--) {
2542
+ if ($tokens[$i] === '(') {
2543
+ $parenCount--;
2544
+ if ($parenCount === 0) {
2545
+ break;
2546
+ }
2547
+ } else if ($tokens[$i] === ')') {
2548
+ $parenCount++;
2549
+ }
2550
+ }
2551
+
2552
+ // We've found the open parenthesis, so if the previous
2553
+ // non-empty token is FUNCTION or USE, this is a return type.
2554
+ // Note that we need to skip T_STRING tokens here as these
2555
+ // can be function names.
2556
+ for ($i--; $i > 0; $i--) {
2557
+ if (is_array($tokens[$i]) === false
2558
+ || ($tokens[$i][0] !== T_DOC_COMMENT
2559
+ && $tokens[$i][0] !== T_COMMENT
2560
+ && $tokens[$i][0] !== T_WHITESPACE
2561
+ && $tokens[$i][0] !== T_STRING)
2562
+ ) {
2563
+ break;
2564
+ }
2565
+ }
2566
+
2567
+ if ($tokens[$i][0] === T_FUNCTION || $tokens[$i][0] === T_FN || $tokens[$i][0] === T_USE) {
2568
+ $isInlineIf = false;
2569
+ if (PHP_CODESNIFFER_VERBOSITY > 1) {
2570
+ echo "\t\t* token is return type, not T_INLINE_ELSE".PHP_EOL;
2571
+ }
2572
+ }
2573
+ }//end if
2574
+ }//end if
2575
+
2576
+ // Check to see if this is a CASE or DEFAULT opener.
2577
+ if ($isInlineIf === true) {
2578
+ $inlineIfToken = $insideInlineIf[(count($insideInlineIf) - 1)];
2579
+ for ($i = $stackPtr; $i > $inlineIfToken; $i--) {
2580
+ if (is_array($tokens[$i]) === true
2581
+ && ($tokens[$i][0] === T_CASE
2582
+ || $tokens[$i][0] === T_DEFAULT)
2583
+ ) {
2584
+ $isInlineIf = false;
2585
+ if (PHP_CODESNIFFER_VERBOSITY > 1) {
2586
+ echo "\t\t* token is T_CASE or T_DEFAULT opener, not T_INLINE_ELSE".PHP_EOL;
2587
+ }
2588
+
2589
+ break;
2590
+ }
2591
+
2592
+ if (is_array($tokens[$i]) === false
2593
+ && ($tokens[$i] === ';'
2594
+ || $tokens[$i] === '{'
2595
+ || $tokens[$i] === '}')
2596
+ ) {
2597
+ break;
2598
+ }
2599
+ }//end for
2600
+ }//end if
2601
+
2602
+ if ($isInlineIf === true) {
2603
+ array_pop($insideInlineIf);
2604
+ $newToken['code'] = T_INLINE_ELSE;
2605
+ $newToken['type'] = 'T_INLINE_ELSE';
2606
+
2607
+ if (PHP_CODESNIFFER_VERBOSITY > 1) {
2608
+ echo "\t\t* token changed from T_COLON to T_INLINE_ELSE".PHP_EOL;
2609
+ }
2610
+ }
2611
+ }//end if
2612
+
2613
+ // This is a special condition for T_ARRAY tokens used for anything else
2614
+ // but array declarations, like type hinting function arguments as
2615
+ // being arrays.
2616
+ // We want to keep the parenthesis map clean, so let's tag these tokens as
2617
+ // T_STRING.
2618
+ if ($newToken['code'] === T_ARRAY) {
2619
+ for ($i = ($stackPtr + 1); $i < $numTokens; $i++) {
2620
+ if (is_array($tokens[$i]) === false
2621
+ || isset(Tokens::$emptyTokens[$tokens[$i][0]]) === false
2622
+ ) {
2623
+ // Non-empty content.
2624
+ break;
2625
+ }
2626
+ }
2627
+
2628
+ if ($i !== $numTokens && $tokens[$i] !== '(') {
2629
+ $newToken['code'] = T_STRING;
2630
+ $newToken['type'] = 'T_STRING';
2631
+ }
2632
+ }
2633
+
2634
+ // This is a special case when checking PHP 5.5+ code in PHP < 5.5
2635
+ // where "finally" should be T_FINALLY instead of T_STRING.
2636
+ if ($newToken['code'] === T_STRING
2637
+ && strtolower($newToken['content']) === 'finally'
2638
+ && $finalTokens[$lastNotEmptyToken]['code'] === T_CLOSE_CURLY_BRACKET
2639
+ ) {
2640
+ $newToken['code'] = T_FINALLY;
2641
+ $newToken['type'] = 'T_FINALLY';
2642
+ }
2643
+
2644
+ // This is a special case for PHP 5.6 use function and use const
2645
+ // where "function" and "const" should be T_STRING instead of T_FUNCTION
2646
+ // and T_CONST.
2647
+ if (($newToken['code'] === T_FUNCTION
2648
+ || $newToken['code'] === T_CONST)
2649
+ && ($finalTokens[$lastNotEmptyToken]['code'] === T_USE || $insideUseGroup === true)
2650
+ ) {
2651
+ $newToken['code'] = T_STRING;
2652
+ $newToken['type'] = 'T_STRING';
2653
+ }
2654
+
2655
+ // This is a special case for use groups in PHP 7+ where leaving
2656
+ // the curly braces as their normal tokens would confuse
2657
+ // the scope map and sniffs.
2658
+ if ($newToken['code'] === T_OPEN_CURLY_BRACKET
2659
+ && $finalTokens[$lastNotEmptyToken]['code'] === T_NS_SEPARATOR
2660
+ ) {
2661
+ $newToken['code'] = T_OPEN_USE_GROUP;
2662
+ $newToken['type'] = 'T_OPEN_USE_GROUP';
2663
+ $insideUseGroup = true;
2664
+ }
2665
+
2666
+ if ($insideUseGroup === true && $newToken['code'] === T_CLOSE_CURLY_BRACKET) {
2667
+ $newToken['code'] = T_CLOSE_USE_GROUP;
2668
+ $newToken['type'] = 'T_CLOSE_USE_GROUP';
2669
+ $insideUseGroup = false;
2670
+ }
2671
+
2672
+ $finalTokens[$newStackPtr] = $newToken;
2673
+ $newStackPtr++;
2674
+ }//end if
2675
+ }//end for
2676
+
2677
+ if (PHP_CODESNIFFER_VERBOSITY > 1) {
2678
+ echo "\t*** END PHP TOKENIZING ***".PHP_EOL;
2679
+ }
2680
+
2681
+ return $finalTokens;
2682
+
2683
+ }//end tokenize()
2684
+
2685
+
2686
+ /**
2687
+ * Performs additional processing after main tokenizing.
2688
+ *
2689
+ * This additional processing checks for CASE statements that are using curly
2690
+ * braces for scope openers and closers. It also turns some T_FUNCTION tokens
2691
+ * into T_CLOSURE when they are not standard function definitions. It also
2692
+ * detects short array syntax and converts those square brackets into new tokens.
2693
+ * It also corrects some usage of the static and class keywords. It also
2694
+ * assigns tokens to function return types.
2695
+ *
2696
+ * @return void
2697
+ */
2698
+ protected function processAdditional()
2699
+ {
2700
+ if (PHP_CODESNIFFER_VERBOSITY > 1) {
2701
+ echo "\t*** START ADDITIONAL PHP PROCESSING ***".PHP_EOL;
2702
+ }
2703
+
2704
+ $this->createAttributesNestingMap();
2705
+
2706
+ $numTokens = count($this->tokens);
2707
+ $lastSeenTypeToken = $numTokens;
2708
+
2709
+ for ($i = ($numTokens - 1); $i >= 0; $i--) {
2710
+ // Check for any unset scope conditions due to alternate IF/ENDIF syntax.
2711
+ if (isset($this->tokens[$i]['scope_opener']) === true
2712
+ && isset($this->tokens[$i]['scope_condition']) === false
2713
+ ) {
2714
+ $this->tokens[$i]['scope_condition'] = $this->tokens[$this->tokens[$i]['scope_opener']]['scope_condition'];
2715
+ }
2716
+
2717
+ if ($this->tokens[$i]['code'] === T_FUNCTION) {
2718
+ /*
2719
+ Detect functions that are actually closures and
2720
+ assign them a different token.
2721
+ */
2722
+
2723
+ if (isset($this->tokens[$i]['scope_opener']) === true) {
2724
+ for ($x = ($i + 1); $x < $numTokens; $x++) {
2725
+ if (isset(Tokens::$emptyTokens[$this->tokens[$x]['code']]) === false
2726
+ && $this->tokens[$x]['code'] !== T_BITWISE_AND
2727
+ ) {
2728
+ break;
2729
+ }
2730
+ }
2731
+
2732
+ if ($this->tokens[$x]['code'] === T_OPEN_PARENTHESIS) {
2733
+ $this->tokens[$i]['code'] = T_CLOSURE;
2734
+ $this->tokens[$i]['type'] = 'T_CLOSURE';
2735
+ if (PHP_CODESNIFFER_VERBOSITY > 1) {
2736
+ $line = $this->tokens[$i]['line'];
2737
+ echo "\t* token $i on line $line changed from T_FUNCTION to T_CLOSURE".PHP_EOL;
2738
+ }
2739
+
2740
+ for ($x = ($this->tokens[$i]['scope_opener'] + 1); $x < $this->tokens[$i]['scope_closer']; $x++) {
2741
+ if (isset($this->tokens[$x]['conditions'][$i]) === false) {
2742
+ continue;
2743
+ }
2744
+
2745
+ $this->tokens[$x]['conditions'][$i] = T_CLOSURE;
2746
+ if (PHP_CODESNIFFER_VERBOSITY > 1) {
2747
+ $type = $this->tokens[$x]['type'];
2748
+ echo "\t\t* cleaned $x ($type) *".PHP_EOL;
2749
+ }
2750
+ }
2751
+ }
2752
+ }//end if
2753
+
2754
+ continue;
2755
+ } else if ($this->tokens[$i]['code'] === T_CLASS && isset($this->tokens[$i]['scope_opener']) === true) {
2756
+ /*
2757
+ Detect anonymous classes and assign them a different token.
2758
+ */
2759
+
2760
+ for ($x = ($i + 1); $x < $numTokens; $x++) {
2761
+ if (isset(Tokens::$emptyTokens[$this->tokens[$x]['code']]) === false) {
2762
+ break;
2763
+ }
2764
+ }
2765
+
2766
+ if ($this->tokens[$x]['code'] === T_OPEN_PARENTHESIS
2767
+ || $this->tokens[$x]['code'] === T_OPEN_CURLY_BRACKET
2768
+ || $this->tokens[$x]['code'] === T_EXTENDS
2769
+ || $this->tokens[$x]['code'] === T_IMPLEMENTS
2770
+ ) {
2771
+ $this->tokens[$i]['code'] = T_ANON_CLASS;
2772
+ $this->tokens[$i]['type'] = 'T_ANON_CLASS';
2773
+ if (PHP_CODESNIFFER_VERBOSITY > 1) {
2774
+ $line = $this->tokens[$i]['line'];
2775
+ echo "\t* token $i on line $line changed from T_CLASS to T_ANON_CLASS".PHP_EOL;
2776
+ }
2777
+
2778
+ if ($this->tokens[$x]['code'] === T_OPEN_PARENTHESIS
2779
+ && isset($this->tokens[$x]['parenthesis_closer']) === true
2780
+ ) {
2781
+ $closer = $this->tokens[$x]['parenthesis_closer'];
2782
+
2783
+ $this->tokens[$i]['parenthesis_opener'] = $x;
2784
+ $this->tokens[$i]['parenthesis_closer'] = $closer;
2785
+ $this->tokens[$i]['parenthesis_owner'] = $i;
2786
+ $this->tokens[$x]['parenthesis_owner'] = $i;
2787
+ $this->tokens[$closer]['parenthesis_owner'] = $i;
2788
+
2789
+ if (PHP_CODESNIFFER_VERBOSITY > 1) {
2790
+ $line = $this->tokens[$i]['line'];
2791
+ echo "\t\t* added parenthesis keys to T_ANON_CLASS token $i on line $line".PHP_EOL;
2792
+ }
2793
+ }
2794
+
2795
+ for ($x = ($this->tokens[$i]['scope_opener'] + 1); $x < $this->tokens[$i]['scope_closer']; $x++) {
2796
+ if (isset($this->tokens[$x]['conditions'][$i]) === false) {
2797
+ continue;
2798
+ }
2799
+
2800
+ $this->tokens[$x]['conditions'][$i] = T_ANON_CLASS;
2801
+ if (PHP_CODESNIFFER_VERBOSITY > 1) {
2802
+ $type = $this->tokens[$x]['type'];
2803
+ echo "\t\t* cleaned $x ($type) *".PHP_EOL;
2804
+ }
2805
+ }
2806
+ }//end if
2807
+
2808
+ continue;
2809
+ } else if ($this->tokens[$i]['code'] === T_FN && isset($this->tokens[($i + 1)]) === true) {
2810
+ // Possible arrow function.
2811
+ for ($x = ($i + 1); $x < $numTokens; $x++) {
2812
+ if (isset(Tokens::$emptyTokens[$this->tokens[$x]['code']]) === false
2813
+ && $this->tokens[$x]['code'] !== T_BITWISE_AND
2814
+ ) {
2815
+ // Non-whitespace content.
2816
+ break;
2817
+ }
2818
+ }
2819
+
2820
+ if (isset($this->tokens[$x]) === true
2821
+ && $this->tokens[$x]['code'] === T_OPEN_PARENTHESIS
2822
+ && isset($this->tokens[$x]['parenthesis_closer']) === true
2823
+ ) {
2824
+ $ignore = Tokens::$emptyTokens;
2825
+ $ignore += [
2826
+ T_ARRAY => T_ARRAY,
2827
+ T_CALLABLE => T_CALLABLE,
2828
+ T_COLON => T_COLON,
2829
+ T_NAMESPACE => T_NAMESPACE,
2830
+ T_NS_SEPARATOR => T_NS_SEPARATOR,
2831
+ T_NULL => T_NULL,
2832
+ T_TRUE => T_TRUE,
2833
+ T_FALSE => T_FALSE,
2834
+ T_NULLABLE => T_NULLABLE,
2835
+ T_PARENT => T_PARENT,
2836
+ T_SELF => T_SELF,
2837
+ T_STATIC => T_STATIC,
2838
+ T_STRING => T_STRING,
2839
+ T_TYPE_UNION => T_TYPE_UNION,
2840
+ T_TYPE_INTERSECTION => T_TYPE_INTERSECTION,
2841
+ T_TYPE_OPEN_PARENTHESIS => T_TYPE_OPEN_PARENTHESIS,
2842
+ T_TYPE_CLOSE_PARENTHESIS => T_TYPE_CLOSE_PARENTHESIS,
2843
+ ];
2844
+
2845
+ $closer = $this->tokens[$x]['parenthesis_closer'];
2846
+ for ($arrow = ($closer + 1); $arrow < $numTokens; $arrow++) {
2847
+ if (isset($ignore[$this->tokens[$arrow]['code']]) === false) {
2848
+ break;
2849
+ }
2850
+ }
2851
+
2852
+ if ($this->tokens[$arrow]['code'] === T_DOUBLE_ARROW) {
2853
+ $endTokens = [
2854
+ T_COLON => true,
2855
+ T_COMMA => true,
2856
+ T_SEMICOLON => true,
2857
+ T_CLOSE_PARENTHESIS => true,
2858
+ T_CLOSE_SQUARE_BRACKET => true,
2859
+ T_CLOSE_CURLY_BRACKET => true,
2860
+ T_CLOSE_SHORT_ARRAY => true,
2861
+ T_OPEN_TAG => true,
2862
+ T_CLOSE_TAG => true,
2863
+ ];
2864
+
2865
+ $inTernary = false;
2866
+ $lastEndToken = null;
2867
+
2868
+ for ($scopeCloser = ($arrow + 1); $scopeCloser < $numTokens; $scopeCloser++) {
2869
+ // Arrow function closer should never be shared with the closer of a match
2870
+ // control structure.
2871
+ if (isset($this->tokens[$scopeCloser]['scope_closer'], $this->tokens[$scopeCloser]['scope_condition']) === true
2872
+ && $scopeCloser === $this->tokens[$scopeCloser]['scope_closer']
2873
+ && $this->tokens[$this->tokens[$scopeCloser]['scope_condition']]['code'] === T_MATCH
2874
+ ) {
2875
+ if ($arrow < $this->tokens[$scopeCloser]['scope_condition']) {
2876
+ // Match in return value of arrow function. Move on to the next token.
2877
+ continue;
2878
+ }
2879
+
2880
+ // Arrow function as return value for the last match case without trailing comma.
2881
+ if ($lastEndToken !== null) {
2882
+ $scopeCloser = $lastEndToken;
2883
+ break;
2884
+ }
2885
+
2886
+ for ($lastNonEmpty = ($scopeCloser - 1); $lastNonEmpty > $arrow; $lastNonEmpty--) {
2887
+ if (isset(Tokens::$emptyTokens[$this->tokens[$lastNonEmpty]['code']]) === false) {
2888
+ $scopeCloser = $lastNonEmpty;
2889
+ break 2;
2890
+ }
2891
+ }
2892
+ }
2893
+
2894
+ if (isset($endTokens[$this->tokens[$scopeCloser]['code']]) === true) {
2895
+ if ($lastEndToken !== null
2896
+ && ((isset($this->tokens[$scopeCloser]['parenthesis_opener']) === true
2897
+ && $this->tokens[$scopeCloser]['parenthesis_opener'] < $arrow)
2898
+ || (isset($this->tokens[$scopeCloser]['bracket_opener']) === true
2899
+ && $this->tokens[$scopeCloser]['bracket_opener'] < $arrow))
2900
+ ) {
2901
+ for ($lastNonEmpty = ($scopeCloser - 1); $lastNonEmpty > $arrow; $lastNonEmpty--) {
2902
+ if (isset(Tokens::$emptyTokens[$this->tokens[$lastNonEmpty]['code']]) === false) {
2903
+ $scopeCloser = $lastNonEmpty;
2904
+ break;
2905
+ }
2906
+ }
2907
+ }
2908
+
2909
+ break;
2910
+ }
2911
+
2912
+ if ($inTernary === false
2913
+ && isset($this->tokens[$scopeCloser]['scope_closer'], $this->tokens[$scopeCloser]['scope_condition']) === true
2914
+ && $scopeCloser === $this->tokens[$scopeCloser]['scope_closer']
2915
+ && $this->tokens[$this->tokens[$scopeCloser]['scope_condition']]['code'] === T_FN
2916
+ ) {
2917
+ // Found a nested arrow function that already has the closer set and is in
2918
+ // the same scope as us, so we can use its closer.
2919
+ break;
2920
+ }
2921
+
2922
+ if (isset($this->tokens[$scopeCloser]['scope_closer']) === true
2923
+ && $this->tokens[$scopeCloser]['code'] !== T_INLINE_ELSE
2924
+ && $this->tokens[$scopeCloser]['code'] !== T_END_HEREDOC
2925
+ && $this->tokens[$scopeCloser]['code'] !== T_END_NOWDOC
2926
+ ) {
2927
+ // We minus 1 here in case the closer can be shared with us.
2928
+ $scopeCloser = ($this->tokens[$scopeCloser]['scope_closer'] - 1);
2929
+ continue;
2930
+ }
2931
+
2932
+ if (isset($this->tokens[$scopeCloser]['parenthesis_closer']) === true) {
2933
+ $scopeCloser = $this->tokens[$scopeCloser]['parenthesis_closer'];
2934
+ $lastEndToken = $scopeCloser;
2935
+ continue;
2936
+ }
2937
+
2938
+ if (isset($this->tokens[$scopeCloser]['bracket_closer']) === true) {
2939
+ $scopeCloser = $this->tokens[$scopeCloser]['bracket_closer'];
2940
+ $lastEndToken = $scopeCloser;
2941
+ continue;
2942
+ }
2943
+
2944
+ if ($this->tokens[$scopeCloser]['code'] === T_INLINE_THEN) {
2945
+ $inTernary = true;
2946
+ continue;
2947
+ }
2948
+
2949
+ if ($this->tokens[$scopeCloser]['code'] === T_INLINE_ELSE) {
2950
+ if ($inTernary === false) {
2951
+ break;
2952
+ }
2953
+
2954
+ $inTernary = false;
2955
+ continue;
2956
+ }
2957
+ }//end for
2958
+
2959
+ if ($scopeCloser !== $numTokens) {
2960
+ if (PHP_CODESNIFFER_VERBOSITY > 1) {
2961
+ $line = $this->tokens[$i]['line'];
2962
+ echo "\t=> token $i on line $line processed as arrow function".PHP_EOL;
2963
+ echo "\t\t* scope opener set to $arrow *".PHP_EOL;
2964
+ echo "\t\t* scope closer set to $scopeCloser *".PHP_EOL;
2965
+ echo "\t\t* parenthesis opener set to $x *".PHP_EOL;
2966
+ echo "\t\t* parenthesis closer set to $closer *".PHP_EOL;
2967
+ }
2968
+
2969
+ $this->tokens[$i]['code'] = T_FN;
2970
+ $this->tokens[$i]['type'] = 'T_FN';
2971
+ $this->tokens[$i]['scope_condition'] = $i;
2972
+ $this->tokens[$i]['scope_opener'] = $arrow;
2973
+ $this->tokens[$i]['scope_closer'] = $scopeCloser;
2974
+ $this->tokens[$i]['parenthesis_owner'] = $i;
2975
+ $this->tokens[$i]['parenthesis_opener'] = $x;
2976
+ $this->tokens[$i]['parenthesis_closer'] = $closer;
2977
+
2978
+ $this->tokens[$arrow]['code'] = T_FN_ARROW;
2979
+ $this->tokens[$arrow]['type'] = 'T_FN_ARROW';
2980
+
2981
+ $this->tokens[$arrow]['scope_condition'] = $i;
2982
+ $this->tokens[$arrow]['scope_opener'] = $arrow;
2983
+ $this->tokens[$arrow]['scope_closer'] = $scopeCloser;
2984
+ $this->tokens[$scopeCloser]['scope_condition'] = $i;
2985
+ $this->tokens[$scopeCloser]['scope_opener'] = $arrow;
2986
+ $this->tokens[$scopeCloser]['scope_closer'] = $scopeCloser;
2987
+
2988
+ $opener = $this->tokens[$i]['parenthesis_opener'];
2989
+ $closer = $this->tokens[$i]['parenthesis_closer'];
2990
+ $this->tokens[$opener]['parenthesis_owner'] = $i;
2991
+ $this->tokens[$closer]['parenthesis_owner'] = $i;
2992
+
2993
+ if (PHP_CODESNIFFER_VERBOSITY > 1) {
2994
+ $line = $this->tokens[$arrow]['line'];
2995
+ echo "\t\t* token $arrow on line $line changed from T_DOUBLE_ARROW to T_FN_ARROW".PHP_EOL;
2996
+ }
2997
+ }//end if
2998
+ }//end if
2999
+ }//end if
3000
+
3001
+ // If after all that, the extra tokens are not set, this is not a (valid) arrow function.
3002
+ if (isset($this->tokens[$i]['scope_closer']) === false) {
3003
+ if (PHP_CODESNIFFER_VERBOSITY > 1) {
3004
+ $line = $this->tokens[$i]['line'];
3005
+ echo "\t=> token $i on line $line is not an arrow function".PHP_EOL;
3006
+ echo "\t\t* token changed from T_FN to T_STRING".PHP_EOL;
3007
+ }
3008
+
3009
+ $this->tokens[$i]['code'] = T_STRING;
3010
+ $this->tokens[$i]['type'] = 'T_STRING';
3011
+ }
3012
+ } else if ($this->tokens[$i]['code'] === T_OPEN_SQUARE_BRACKET) {
3013
+ if (isset($this->tokens[$i]['bracket_closer']) === false) {
3014
+ continue;
3015
+ }
3016
+
3017
+ // Unless there is a variable or a bracket before this token,
3018
+ // it is the start of an array being defined using the short syntax.
3019
+ $isShortArray = false;
3020
+ $allowed = [
3021
+ T_CLOSE_SQUARE_BRACKET => T_CLOSE_SQUARE_BRACKET,
3022
+ T_CLOSE_CURLY_BRACKET => T_CLOSE_CURLY_BRACKET,
3023
+ T_CLOSE_PARENTHESIS => T_CLOSE_PARENTHESIS,
3024
+ T_VARIABLE => T_VARIABLE,
3025
+ T_OBJECT_OPERATOR => T_OBJECT_OPERATOR,
3026
+ T_NULLSAFE_OBJECT_OPERATOR => T_NULLSAFE_OBJECT_OPERATOR,
3027
+ T_STRING => T_STRING,
3028
+ T_CONSTANT_ENCAPSED_STRING => T_CONSTANT_ENCAPSED_STRING,
3029
+ T_DOUBLE_QUOTED_STRING => T_DOUBLE_QUOTED_STRING,
3030
+ ];
3031
+ $allowed += Tokens::$magicConstants;
3032
+
3033
+ for ($x = ($i - 1); $x >= 0; $x--) {
3034
+ // If we hit a scope opener, the statement has ended
3035
+ // without finding anything, so it's probably an array
3036
+ // using PHP 7.1 short list syntax.
3037
+ if (isset($this->tokens[$x]['scope_opener']) === true) {
3038
+ $isShortArray = true;
3039
+ break;
3040
+ }
3041
+
3042
+ if (isset(Tokens::$emptyTokens[$this->tokens[$x]['code']]) === false) {
3043
+ // Allow for control structures without braces.
3044
+ if (($this->tokens[$x]['code'] === T_CLOSE_PARENTHESIS
3045
+ && isset($this->tokens[$x]['parenthesis_owner']) === true
3046
+ && isset(Tokens::$scopeOpeners[$this->tokens[$this->tokens[$x]['parenthesis_owner']]['code']]) === true)
3047
+ || isset($allowed[$this->tokens[$x]['code']]) === false
3048
+ ) {
3049
+ $isShortArray = true;
3050
+ }
3051
+
3052
+ break;
3053
+ }
3054
+ }//end for
3055
+
3056
+ if ($isShortArray === true) {
3057
+ $this->tokens[$i]['code'] = T_OPEN_SHORT_ARRAY;
3058
+ $this->tokens[$i]['type'] = 'T_OPEN_SHORT_ARRAY';
3059
+
3060
+ $closer = $this->tokens[$i]['bracket_closer'];
3061
+ $this->tokens[$closer]['code'] = T_CLOSE_SHORT_ARRAY;
3062
+ $this->tokens[$closer]['type'] = 'T_CLOSE_SHORT_ARRAY';
3063
+ if (PHP_CODESNIFFER_VERBOSITY > 1) {
3064
+ $line = $this->tokens[$i]['line'];
3065
+ echo "\t* token $i on line $line changed from T_OPEN_SQUARE_BRACKET to T_OPEN_SHORT_ARRAY".PHP_EOL;
3066
+ $line = $this->tokens[$closer]['line'];
3067
+ echo "\t* token $closer on line $line changed from T_CLOSE_SQUARE_BRACKET to T_CLOSE_SHORT_ARRAY".PHP_EOL;
3068
+ }
3069
+ }
3070
+
3071
+ continue;
3072
+ } else if ($this->tokens[$i]['code'] === T_MATCH) {
3073
+ if (isset($this->tokens[$i]['scope_opener'], $this->tokens[$i]['scope_closer']) === false) {
3074
+ // Not a match expression after all.
3075
+ $this->tokens[$i]['code'] = T_STRING;
3076
+ $this->tokens[$i]['type'] = 'T_STRING';
3077
+
3078
+ if (PHP_CODESNIFFER_VERBOSITY > 1) {
3079
+ echo "\t\t* token $i changed from T_MATCH to T_STRING".PHP_EOL;
3080
+ }
3081
+
3082
+ if (isset($this->tokens[$i]['parenthesis_opener'], $this->tokens[$i]['parenthesis_closer']) === true) {
3083
+ $opener = $this->tokens[$i]['parenthesis_opener'];
3084
+ $closer = $this->tokens[$i]['parenthesis_closer'];
3085
+ unset(
3086
+ $this->tokens[$opener]['parenthesis_owner'],
3087
+ $this->tokens[$closer]['parenthesis_owner']
3088
+ );
3089
+ unset(
3090
+ $this->tokens[$i]['parenthesis_opener'],
3091
+ $this->tokens[$i]['parenthesis_closer'],
3092
+ $this->tokens[$i]['parenthesis_owner']
3093
+ );
3094
+
3095
+ if (PHP_CODESNIFFER_VERBOSITY > 1) {
3096
+ echo "\t\t* cleaned parenthesis of token $i *".PHP_EOL;
3097
+ }
3098
+ }
3099
+ } else {
3100
+ // Retokenize the double arrows for match expression cases to `T_MATCH_ARROW`.
3101
+ $searchFor = [
3102
+ T_OPEN_CURLY_BRACKET => T_OPEN_CURLY_BRACKET,
3103
+ T_OPEN_SQUARE_BRACKET => T_OPEN_SQUARE_BRACKET,
3104
+ T_OPEN_PARENTHESIS => T_OPEN_PARENTHESIS,
3105
+ T_OPEN_SHORT_ARRAY => T_OPEN_SHORT_ARRAY,
3106
+ T_DOUBLE_ARROW => T_DOUBLE_ARROW,
3107
+ ];
3108
+ $searchFor += Tokens::$scopeOpeners;
3109
+
3110
+ for ($x = ($this->tokens[$i]['scope_opener'] + 1); $x < $this->tokens[$i]['scope_closer']; $x++) {
3111
+ if (isset($searchFor[$this->tokens[$x]['code']]) === false) {
3112
+ continue;
3113
+ }
3114
+
3115
+ if (isset($this->tokens[$x]['scope_closer']) === true) {
3116
+ $x = $this->tokens[$x]['scope_closer'];
3117
+ continue;
3118
+ }
3119
+
3120
+ if (isset($this->tokens[$x]['parenthesis_closer']) === true) {
3121
+ $x = $this->tokens[$x]['parenthesis_closer'];
3122
+ continue;
3123
+ }
3124
+
3125
+ if (isset($this->tokens[$x]['bracket_closer']) === true) {
3126
+ $x = $this->tokens[$x]['bracket_closer'];
3127
+ continue;
3128
+ }
3129
+
3130
+ // This must be a double arrow, but make sure anyhow.
3131
+ if ($this->tokens[$x]['code'] === T_DOUBLE_ARROW) {
3132
+ $this->tokens[$x]['code'] = T_MATCH_ARROW;
3133
+ $this->tokens[$x]['type'] = 'T_MATCH_ARROW';
3134
+
3135
+ if (PHP_CODESNIFFER_VERBOSITY > 1) {
3136
+ echo "\t\t* token $x changed from T_DOUBLE_ARROW to T_MATCH_ARROW".PHP_EOL;
3137
+ }
3138
+ }
3139
+ }//end for
3140
+ }//end if
3141
+
3142
+ continue;
3143
+ } else if ($this->tokens[$i]['code'] === T_BITWISE_OR
3144
+ || $this->tokens[$i]['code'] === T_BITWISE_AND
3145
+ || $this->tokens[$i]['code'] === T_CLOSE_PARENTHESIS
3146
+ ) {
3147
+ if ($lastSeenTypeToken < $i) {
3148
+ // We've already examined this code to check if it is a type declaration and concluded it wasn't.
3149
+ // No need to do it again.
3150
+ continue;
3151
+ }
3152
+
3153
+ /*
3154
+ Convert "|" to T_TYPE_UNION or leave as T_BITWISE_OR.
3155
+ Convert "&" to T_TYPE_INTERSECTION or leave as T_BITWISE_AND.
3156
+ Convert "(" and ")" to T_TYPE_(OPEN|CLOSE)_PARENTHESIS or leave as T_(OPEN|CLOSE)_PARENTHESIS.
3157
+
3158
+ All type related tokens will be converted in one go as soon as this section is hit.
3159
+ */
3160
+
3161
+ $allowed = [
3162
+ T_STRING => T_STRING,
3163
+ T_CALLABLE => T_CALLABLE,
3164
+ T_SELF => T_SELF,
3165
+ T_PARENT => T_PARENT,
3166
+ T_STATIC => T_STATIC,
3167
+ T_FALSE => T_FALSE,
3168
+ T_TRUE => T_TRUE,
3169
+ T_NULL => T_NULL,
3170
+ T_NAMESPACE => T_NAMESPACE,
3171
+ T_NS_SEPARATOR => T_NS_SEPARATOR,
3172
+ ];
3173
+
3174
+ $suspectedType = null;
3175
+ $typeTokenCountAfter = 0;
3176
+
3177
+ for ($x = ($i + 1); $x < $numTokens; $x++) {
3178
+ if (isset(Tokens::$emptyTokens[$this->tokens[$x]['code']]) === true) {
3179
+ continue;
3180
+ }
3181
+
3182
+ if (isset($allowed[$this->tokens[$x]['code']]) === true) {
3183
+ ++$typeTokenCountAfter;
3184
+ continue;
3185
+ }
3186
+
3187
+ if (($typeTokenCountAfter > 0
3188
+ || ($this->tokens[$i]['code'] === T_CLOSE_PARENTHESIS
3189
+ && isset($this->tokens[$i]['parenthesis_owner']) === false))
3190
+ && ($this->tokens[$x]['code'] === T_BITWISE_AND
3191
+ || $this->tokens[$x]['code'] === T_ELLIPSIS)
3192
+ ) {
3193
+ // Skip past reference and variadic indicators for parameter types.
3194
+ continue;
3195
+ }
3196
+
3197
+ if ($this->tokens[$x]['code'] === T_VARIABLE) {
3198
+ // Parameter/Property defaults can not contain variables, so this could be a type.
3199
+ $suspectedType = 'property or parameter';
3200
+ break;
3201
+ }
3202
+
3203
+ if ($this->tokens[$x]['code'] === T_DOUBLE_ARROW) {
3204
+ // Possible arrow function.
3205
+ $suspectedType = 'return';
3206
+ break;
3207
+ }
3208
+
3209
+ if ($this->tokens[$x]['code'] === T_SEMICOLON) {
3210
+ // Possible abstract method or interface method.
3211
+ $suspectedType = 'return';
3212
+ break;
3213
+ }
3214
+
3215
+ if ($this->tokens[$x]['code'] === T_OPEN_CURLY_BRACKET
3216
+ && isset($this->tokens[$x]['scope_condition']) === true
3217
+ && $this->tokens[$this->tokens[$x]['scope_condition']]['code'] === T_FUNCTION
3218
+ ) {
3219
+ $suspectedType = 'return';
3220
+ break;
3221
+ }
3222
+
3223
+ if ($this->tokens[$x]['code'] === T_EQUAL) {
3224
+ // Possible constant declaration, the `T_STRING` name will have been skipped over already.
3225
+ $suspectedType = 'constant';
3226
+ break;
3227
+ }
3228
+
3229
+ break;
3230
+ }//end for
3231
+
3232
+ if (($typeTokenCountAfter === 0
3233
+ && ($this->tokens[$i]['code'] !== T_CLOSE_PARENTHESIS
3234
+ || isset($this->tokens[$i]['parenthesis_owner']) === true))
3235
+ || isset($suspectedType) === false
3236
+ ) {
3237
+ // Definitely not a union, intersection or DNF type, move on.
3238
+ continue;
3239
+ }
3240
+
3241
+ if ($suspectedType === 'property or parameter') {
3242
+ unset($allowed[T_STATIC]);
3243
+ }
3244
+
3245
+ $typeTokenCountBefore = 0;
3246
+ $typeOperators = [$i];
3247
+ $parenthesesCount = 0;
3248
+ $confirmed = false;
3249
+ $maybeNullable = null;
3250
+
3251
+ if ($this->tokens[$i]['code'] === T_OPEN_PARENTHESIS || $this->tokens[$i]['code'] === T_CLOSE_PARENTHESIS) {
3252
+ ++$parenthesesCount;
3253
+ }
3254
+
3255
+ for ($x = ($i - 1); $x >= 0; $x--) {
3256
+ if (isset(Tokens::$emptyTokens[$this->tokens[$x]['code']]) === true) {
3257
+ continue;
3258
+ }
3259
+
3260
+ if ($suspectedType === 'property or parameter'
3261
+ && $this->tokens[$x]['code'] === T_STRING
3262
+ && strtolower($this->tokens[$x]['content']) === 'static'
3263
+ ) {
3264
+ // Static keyword followed directly by an open parenthesis for a DNF type.
3265
+ // This token should be T_STATIC and was incorrectly identified as a function call before.
3266
+ $this->tokens[$x]['code'] = T_STATIC;
3267
+ $this->tokens[$x]['type'] = 'T_STATIC';
3268
+
3269
+ if (PHP_CODESNIFFER_VERBOSITY > 1) {
3270
+ $line = $this->tokens[$x]['line'];
3271
+ echo "\t* token $x on line $line changed back from T_STRING to T_STATIC".PHP_EOL;
3272
+ }
3273
+ }
3274
+
3275
+ if ($suspectedType === 'property or parameter'
3276
+ && $this->tokens[$x]['code'] === T_OPEN_PARENTHESIS
3277
+ ) {
3278
+ // We need to prevent the open parenthesis for a function/fn declaration from being retokenized
3279
+ // to T_TYPE_OPEN_PARENTHESIS if this is the first parameter in the declaration.
3280
+ if (isset($this->tokens[$x]['parenthesis_owner']) === true
3281
+ && $this->tokens[$this->tokens[$x]['parenthesis_owner']]['code'] === T_FUNCTION
3282
+ ) {
3283
+ $confirmed = true;
3284
+ break;
3285
+ } else {
3286
+ // This may still be an arrow function which hasn't been handled yet.
3287
+ for ($y = ($x - 1); $y > 0; $y--) {
3288
+ if (isset(Tokens::$emptyTokens[$this->tokens[$y]['code']]) === false
3289
+ && $this->tokens[$y]['code'] !== T_BITWISE_AND
3290
+ ) {
3291
+ // Non-whitespace content.
3292
+ break;
3293
+ }
3294
+ }
3295
+
3296
+ if ($this->tokens[$y]['code'] === T_FN) {
3297
+ $confirmed = true;
3298
+ break;
3299
+ }
3300
+ }
3301
+ }//end if
3302
+
3303
+ if (isset($allowed[$this->tokens[$x]['code']]) === true) {
3304
+ ++$typeTokenCountBefore;
3305
+ continue;
3306
+ }
3307
+
3308
+ // Union, intersection and DNF types can't use the nullable operator, but be tolerant to parse errors.
3309
+ if (($typeTokenCountBefore > 0
3310
+ || ($this->tokens[$x]['code'] === T_OPEN_PARENTHESIS && isset($this->tokens[$x]['parenthesis_owner']) === false))
3311
+ && ($this->tokens[$x]['code'] === T_NULLABLE
3312
+ || $this->tokens[$x]['code'] === T_INLINE_THEN)
3313
+ ) {
3314
+ if ($this->tokens[$x]['code'] === T_INLINE_THEN) {
3315
+ $maybeNullable = $x;
3316
+ }
3317
+
3318
+ continue;
3319
+ }
3320
+
3321
+ if ($this->tokens[$x]['code'] === T_BITWISE_OR || $this->tokens[$x]['code'] === T_BITWISE_AND) {
3322
+ $typeOperators[] = $x;
3323
+ continue;
3324
+ }
3325
+
3326
+ if ($this->tokens[$x]['code'] === T_OPEN_PARENTHESIS || $this->tokens[$x]['code'] === T_CLOSE_PARENTHESIS) {
3327
+ ++$parenthesesCount;
3328
+ $typeOperators[] = $x;
3329
+ continue;
3330
+ }
3331
+
3332
+ if ($suspectedType === 'return' && $this->tokens[$x]['code'] === T_COLON) {
3333
+ // Make sure this is the colon for a return type.
3334
+ for ($y = ($x - 1); $y > 0; $y--) {
3335
+ if (isset(Tokens::$emptyTokens[$this->tokens[$y]['code']]) === false) {
3336
+ break;
3337
+ }
3338
+ }
3339
+
3340
+ if ($this->tokens[$y]['code'] !== T_CLOSE_PARENTHESIS) {
3341
+ // Definitely not a union, intersection or DNF return type, move on.
3342
+ continue 2;
3343
+ }
3344
+
3345
+ if (isset($this->tokens[$y]['parenthesis_owner']) === true) {
3346
+ if ($this->tokens[$this->tokens[$y]['parenthesis_owner']]['code'] === T_FUNCTION
3347
+ || $this->tokens[$this->tokens[$y]['parenthesis_owner']]['code'] === T_CLOSURE
3348
+ || $this->tokens[$this->tokens[$y]['parenthesis_owner']]['code'] === T_FN
3349
+ ) {
3350
+ $confirmed = true;
3351
+ }
3352
+
3353
+ break;
3354
+ }
3355
+
3356
+ // Arrow functions may not have the parenthesis_owner set correctly yet.
3357
+ // Closure use tokens won't be parentheses owners until PHPCS 4.0.
3358
+ if (isset($this->tokens[$y]['parenthesis_opener']) === true) {
3359
+ for ($z = ($this->tokens[$y]['parenthesis_opener'] - 1); $z > 0; $z--) {
3360
+ if (isset(Tokens::$emptyTokens[$this->tokens[$z]['code']]) === false) {
3361
+ break;
3362
+ }
3363
+ }
3364
+
3365
+ if ($this->tokens[$z]['code'] === T_FN || $this->tokens[$z]['code'] === T_USE) {
3366
+ $confirmed = true;
3367
+ }
3368
+ }
3369
+
3370
+ break;
3371
+ }//end if
3372
+
3373
+ if ($suspectedType === 'constant' && $this->tokens[$x]['code'] === T_CONST) {
3374
+ $confirmed = true;
3375
+ break;
3376
+ }
3377
+
3378
+ if ($suspectedType === 'property or parameter'
3379
+ && (isset(Tokens::$scopeModifiers[$this->tokens[$x]['code']]) === true
3380
+ || $this->tokens[$x]['code'] === T_VAR
3381
+ || $this->tokens[$x]['code'] === T_STATIC
3382
+ || $this->tokens[$x]['code'] === T_READONLY)
3383
+ ) {
3384
+ // This will also confirm constructor property promotion parameters, but that's fine.
3385
+ $confirmed = true;
3386
+ }
3387
+
3388
+ break;
3389
+ }//end for
3390
+
3391
+ // Remember the last token we examined as part of the (non-)"type declaration".
3392
+ $lastSeenTypeToken = $x;
3393
+
3394
+ if ($confirmed === false
3395
+ && $suspectedType === 'property or parameter'
3396
+ && isset($this->tokens[$i]['nested_parenthesis']) === true
3397
+ ) {
3398
+ $parens = $this->tokens[$i]['nested_parenthesis'];
3399
+ $last = end($parens);
3400
+
3401
+ if (isset($this->tokens[$last]['parenthesis_owner']) === true
3402
+ && $this->tokens[$this->tokens[$last]['parenthesis_owner']]['code'] === T_FUNCTION
3403
+ ) {
3404
+ $confirmed = true;
3405
+ } else {
3406
+ // No parenthesis owner set, this may be an arrow function which has not yet
3407
+ // had additional processing done.
3408
+ if (isset($this->tokens[$last]['parenthesis_opener']) === true) {
3409
+ for ($x = ($this->tokens[$last]['parenthesis_opener'] - 1); $x >= 0; $x--) {
3410
+ if (isset(Tokens::$emptyTokens[$this->tokens[$x]['code']]) === true) {
3411
+ continue;
3412
+ }
3413
+
3414
+ break;
3415
+ }
3416
+
3417
+ if ($this->tokens[$x]['code'] === T_FN) {
3418
+ for (--$x; $x >= 0; $x--) {
3419
+ if (isset(Tokens::$emptyTokens[$this->tokens[$x]['code']]) === true
3420
+ || $this->tokens[$x]['code'] === T_BITWISE_AND
3421
+ ) {
3422
+ continue;
3423
+ }
3424
+
3425
+ break;
3426
+ }
3427
+
3428
+ if ($this->tokens[$x]['code'] !== T_FUNCTION) {
3429
+ $confirmed = true;
3430
+ }
3431
+ }
3432
+ }//end if
3433
+ }//end if
3434
+
3435
+ unset($parens, $last);
3436
+ }//end if
3437
+
3438
+ if ($confirmed === false || ($parenthesesCount % 2) !== 0) {
3439
+ // Not a (valid) union, intersection or DNF type after all, move on.
3440
+ continue;
3441
+ }
3442
+
3443
+ foreach ($typeOperators as $x) {
3444
+ if ($this->tokens[$x]['code'] === T_BITWISE_OR) {
3445
+ $this->tokens[$x]['code'] = T_TYPE_UNION;
3446
+ $this->tokens[$x]['type'] = 'T_TYPE_UNION';
3447
+
3448
+ if (PHP_CODESNIFFER_VERBOSITY > 1) {
3449
+ $line = $this->tokens[$x]['line'];
3450
+ echo "\t* token $x on line $line changed from T_BITWISE_OR to T_TYPE_UNION".PHP_EOL;
3451
+ }
3452
+ } else if ($this->tokens[$x]['code'] === T_BITWISE_AND) {
3453
+ $this->tokens[$x]['code'] = T_TYPE_INTERSECTION;
3454
+ $this->tokens[$x]['type'] = 'T_TYPE_INTERSECTION';
3455
+
3456
+ if (PHP_CODESNIFFER_VERBOSITY > 1) {
3457
+ $line = $this->tokens[$x]['line'];
3458
+ echo "\t* token $x on line $line changed from T_BITWISE_AND to T_TYPE_INTERSECTION".PHP_EOL;
3459
+ }
3460
+ } else if ($this->tokens[$x]['code'] === T_OPEN_PARENTHESIS) {
3461
+ $this->tokens[$x]['code'] = T_TYPE_OPEN_PARENTHESIS;
3462
+ $this->tokens[$x]['type'] = 'T_TYPE_OPEN_PARENTHESIS';
3463
+
3464
+ if (PHP_CODESNIFFER_VERBOSITY > 1) {
3465
+ $line = $this->tokens[$x]['line'];
3466
+ echo "\t* token $x on line $line changed from T_OPEN_PARENTHESIS to T_TYPE_OPEN_PARENTHESIS".PHP_EOL;
3467
+ }
3468
+ } else if ($this->tokens[$x]['code'] === T_CLOSE_PARENTHESIS) {
3469
+ $this->tokens[$x]['code'] = T_TYPE_CLOSE_PARENTHESIS;
3470
+ $this->tokens[$x]['type'] = 'T_TYPE_CLOSE_PARENTHESIS';
3471
+
3472
+ if (PHP_CODESNIFFER_VERBOSITY > 1) {
3473
+ $line = $this->tokens[$x]['line'];
3474
+ echo "\t* token $x on line $line changed from T_CLOSE_PARENTHESIS to T_TYPE_CLOSE_PARENTHESIS".PHP_EOL;
3475
+ }
3476
+ }//end if
3477
+ }//end foreach
3478
+
3479
+ if (isset($maybeNullable) === true) {
3480
+ $this->tokens[$maybeNullable]['code'] = T_NULLABLE;
3481
+ $this->tokens[$maybeNullable]['type'] = 'T_NULLABLE';
3482
+
3483
+ if (PHP_CODESNIFFER_VERBOSITY > 1) {
3484
+ $line = $this->tokens[$maybeNullable]['line'];
3485
+ echo "\t* token $maybeNullable on line $line changed from T_INLINE_THEN to T_NULLABLE".PHP_EOL;
3486
+ }
3487
+ }
3488
+
3489
+ continue;
3490
+ } else if ($this->tokens[$i]['code'] === T_STATIC) {
3491
+ for ($x = ($i - 1); $x > 0; $x--) {
3492
+ if (isset(Tokens::$emptyTokens[$this->tokens[$x]['code']]) === false) {
3493
+ break;
3494
+ }
3495
+ }
3496
+
3497
+ if ($this->tokens[$x]['code'] === T_INSTANCEOF) {
3498
+ $this->tokens[$i]['code'] = T_STRING;
3499
+ $this->tokens[$i]['type'] = 'T_STRING';
3500
+
3501
+ if (PHP_CODESNIFFER_VERBOSITY > 1) {
3502
+ $line = $this->tokens[$i]['line'];
3503
+ echo "\t* token $i on line $line changed from T_STATIC to T_STRING".PHP_EOL;
3504
+ }
3505
+ }
3506
+
3507
+ continue;
3508
+ } else if ($this->tokens[$i]['code'] === T_TRUE
3509
+ || $this->tokens[$i]['code'] === T_FALSE
3510
+ || $this->tokens[$i]['code'] === T_NULL
3511
+ ) {
3512
+ for ($x = ($i + 1); $x < $numTokens; $x++) {
3513
+ if (isset(Tokens::$emptyTokens[$this->tokens[$x]['code']]) === false) {
3514
+ // Non-whitespace content.
3515
+ break;
3516
+ }
3517
+ }
3518
+
3519
+ if ($x !== $numTokens
3520
+ && isset($this->tstringContexts[$this->tokens[$x]['code']]) === true
3521
+ ) {
3522
+ if (PHP_CODESNIFFER_VERBOSITY > 1) {
3523
+ $line = $this->tokens[$i]['line'];
3524
+ $type = $this->tokens[$i]['type'];
3525
+ echo "\t* token $i on line $line changed from $type to T_STRING".PHP_EOL;
3526
+ }
3527
+
3528
+ $this->tokens[$i]['code'] = T_STRING;
3529
+ $this->tokens[$i]['type'] = 'T_STRING';
3530
+ }
3531
+ }//end if
3532
+
3533
+ if (($this->tokens[$i]['code'] !== T_CASE
3534
+ && $this->tokens[$i]['code'] !== T_DEFAULT)
3535
+ || isset($this->tokens[$i]['scope_opener']) === false
3536
+ ) {
3537
+ // Only interested in CASE and DEFAULT statements from here on in.
3538
+ continue;
3539
+ }
3540
+
3541
+ $scopeOpener = $this->tokens[$i]['scope_opener'];
3542
+ $scopeCloser = $this->tokens[$i]['scope_closer'];
3543
+
3544
+ // If the first char after the opener is a curly brace
3545
+ // and that brace has been ignored, it is actually
3546
+ // opening this case statement and the opener and closer are
3547
+ // probably set incorrectly.
3548
+ for ($x = ($scopeOpener + 1); $x < $numTokens; $x++) {
3549
+ if (isset(Tokens::$emptyTokens[$this->tokens[$x]['code']]) === false) {
3550
+ // Non-whitespace content.
3551
+ break;
3552
+ }
3553
+ }
3554
+
3555
+ if ($this->tokens[$x]['code'] === T_CASE || $this->tokens[$x]['code'] === T_DEFAULT) {
3556
+ // Special case for multiple CASE statements that share the same
3557
+ // closer. Because we are going backwards through the file, this next
3558
+ // CASE statement is already fixed, so just use its closer and don't
3559
+ // worry about fixing anything.
3560
+ $newCloser = $this->tokens[$x]['scope_closer'];
3561
+ $this->tokens[$i]['scope_closer'] = $newCloser;
3562
+ if (PHP_CODESNIFFER_VERBOSITY > 1) {
3563
+ $oldType = $this->tokens[$scopeCloser]['type'];
3564
+ $newType = $this->tokens[$newCloser]['type'];
3565
+ $line = $this->tokens[$i]['line'];
3566
+ echo "\t* token $i (T_CASE) on line $line closer changed from $scopeCloser ($oldType) to $newCloser ($newType)".PHP_EOL;
3567
+ }
3568
+
3569
+ continue;
3570
+ }
3571
+
3572
+ if ($this->tokens[$x]['code'] !== T_OPEN_CURLY_BRACKET
3573
+ || isset($this->tokens[$x]['scope_condition']) === true
3574
+ ) {
3575
+ // Not a CASE/DEFAULT with a curly brace opener.
3576
+ continue;
3577
+ }
3578
+
3579
+ // The closer for this CASE/DEFAULT should be the closing curly brace and
3580
+ // not whatever it already is. The opener needs to be the opening curly
3581
+ // brace so everything matches up.
3582
+ $newCloser = $this->tokens[$x]['bracket_closer'];
3583
+ foreach ([$i, $x, $newCloser] as $index) {
3584
+ $this->tokens[$index]['scope_condition'] = $i;
3585
+ $this->tokens[$index]['scope_opener'] = $x;
3586
+ $this->tokens[$index]['scope_closer'] = $newCloser;
3587
+ }
3588
+
3589
+ if (PHP_CODESNIFFER_VERBOSITY > 1) {
3590
+ $line = $this->tokens[$i]['line'];
3591
+ $tokenType = $this->tokens[$i]['type'];
3592
+
3593
+ $oldType = $this->tokens[$scopeOpener]['type'];
3594
+ $newType = $this->tokens[$x]['type'];
3595
+ echo "\t* token $i ($tokenType) on line $line opener changed from $scopeOpener ($oldType) to $x ($newType)".PHP_EOL;
3596
+
3597
+ $oldType = $this->tokens[$scopeCloser]['type'];
3598
+ $newType = $this->tokens[$newCloser]['type'];
3599
+ echo "\t* token $i ($tokenType) on line $line closer changed from $scopeCloser ($oldType) to $newCloser ($newType)".PHP_EOL;
3600
+ }
3601
+
3602
+ if ($this->tokens[$scopeOpener]['scope_condition'] === $i) {
3603
+ unset($this->tokens[$scopeOpener]['scope_condition']);
3604
+ unset($this->tokens[$scopeOpener]['scope_opener']);
3605
+ unset($this->tokens[$scopeOpener]['scope_closer']);
3606
+ }
3607
+
3608
+ if ($this->tokens[$scopeCloser]['scope_condition'] === $i) {
3609
+ unset($this->tokens[$scopeCloser]['scope_condition']);
3610
+ unset($this->tokens[$scopeCloser]['scope_opener']);
3611
+ unset($this->tokens[$scopeCloser]['scope_closer']);
3612
+ } else {
3613
+ // We were using a shared closer. All tokens that were
3614
+ // sharing this closer with us, except for the scope condition
3615
+ // and it's opener, need to now point to the new closer.
3616
+ $condition = $this->tokens[$scopeCloser]['scope_condition'];
3617
+ $start = ($this->tokens[$condition]['scope_opener'] + 1);
3618
+ for ($y = $start; $y < $scopeCloser; $y++) {
3619
+ if (isset($this->tokens[$y]['scope_closer']) === true
3620
+ && $this->tokens[$y]['scope_closer'] === $scopeCloser
3621
+ ) {
3622
+ $this->tokens[$y]['scope_closer'] = $newCloser;
3623
+
3624
+ if (PHP_CODESNIFFER_VERBOSITY > 1) {
3625
+ $line = $this->tokens[$y]['line'];
3626
+ $tokenType = $this->tokens[$y]['type'];
3627
+ $oldType = $this->tokens[$scopeCloser]['type'];
3628
+ $newType = $this->tokens[$newCloser]['type'];
3629
+ echo "\t\t* token $y ($tokenType) on line $line closer changed from $scopeCloser ($oldType) to $newCloser ($newType)".PHP_EOL;
3630
+ }
3631
+ }
3632
+ }
3633
+ }//end if
3634
+
3635
+ unset($this->tokens[$x]['bracket_opener']);
3636
+ unset($this->tokens[$x]['bracket_closer']);
3637
+ unset($this->tokens[$newCloser]['bracket_opener']);
3638
+ unset($this->tokens[$newCloser]['bracket_closer']);
3639
+ $this->tokens[$scopeCloser]['conditions'][] = $i;
3640
+
3641
+ // Now fix up all the tokens that think they are
3642
+ // inside the CASE/DEFAULT statement when they are really outside.
3643
+ for ($x = $newCloser; $x < $scopeCloser; $x++) {
3644
+ foreach ($this->tokens[$x]['conditions'] as $num => $oldCond) {
3645
+ if ($oldCond === $this->tokens[$i]['code']) {
3646
+ $oldConditions = $this->tokens[$x]['conditions'];
3647
+ unset($this->tokens[$x]['conditions'][$num]);
3648
+
3649
+ if (PHP_CODESNIFFER_VERBOSITY > 1) {
3650
+ $type = $this->tokens[$x]['type'];
3651
+ $oldConds = '';
3652
+ foreach ($oldConditions as $condition) {
3653
+ $oldConds .= Tokens::tokenName($condition).',';
3654
+ }
3655
+
3656
+ $oldConds = rtrim($oldConds, ',');
3657
+
3658
+ $newConds = '';
3659
+ foreach ($this->tokens[$x]['conditions'] as $condition) {
3660
+ $newConds .= Tokens::tokenName($condition).',';
3661
+ }
3662
+
3663
+ $newConds = rtrim($newConds, ',');
3664
+
3665
+ echo "\t\t* cleaned $x ($type) *".PHP_EOL;
3666
+ echo "\t\t\t=> conditions changed from $oldConds to $newConds".PHP_EOL;
3667
+ }
3668
+
3669
+ break;
3670
+ }//end if
3671
+ }//end foreach
3672
+ }//end for
3673
+ }//end for
3674
+
3675
+ if (PHP_CODESNIFFER_VERBOSITY > 1) {
3676
+ echo "\t*** END ADDITIONAL PHP PROCESSING ***".PHP_EOL;
3677
+ }
3678
+
3679
+ }//end processAdditional()
3680
+
3681
+
3682
+ /**
3683
+ * Takes a token produced from <code>token_get_all()</code> and produces a
3684
+ * more uniform token.
3685
+ *
3686
+ * @param string|array $token The token to convert.
3687
+ *
3688
+ * @return array The new token.
3689
+ */
3690
+ public static function standardiseToken($token)
3691
+ {
3692
+ if (isset($token[1]) === false) {
3693
+ if (isset(self::$resolveTokenCache[$token[0]]) === true) {
3694
+ return self::$resolveTokenCache[$token[0]];
3695
+ }
3696
+ } else {
3697
+ $cacheKey = null;
3698
+ if ($token[0] === T_STRING) {
3699
+ $cacheKey = strtolower($token[1]);
3700
+ } else if ($token[0] !== T_CURLY_OPEN) {
3701
+ $cacheKey = $token[0];
3702
+ }
3703
+
3704
+ if ($cacheKey !== null && isset(self::$resolveTokenCache[$cacheKey]) === true) {
3705
+ $newToken = self::$resolveTokenCache[$cacheKey];
3706
+ $newToken['content'] = $token[1];
3707
+ return $newToken;
3708
+ }
3709
+ }
3710
+
3711
+ if (isset($token[1]) === false) {
3712
+ return self::resolveSimpleToken($token[0]);
3713
+ }
3714
+
3715
+ if ($token[0] === T_STRING) {
3716
+ switch ($cacheKey) {
3717
+ case 'false':
3718
+ $newToken['type'] = 'T_FALSE';
3719
+ break;
3720
+ case 'true':
3721
+ $newToken['type'] = 'T_TRUE';
3722
+ break;
3723
+ case 'null':
3724
+ $newToken['type'] = 'T_NULL';
3725
+ break;
3726
+ case 'self':
3727
+ $newToken['type'] = 'T_SELF';
3728
+ break;
3729
+ case 'parent':
3730
+ $newToken['type'] = 'T_PARENT';
3731
+ break;
3732
+ default:
3733
+ $newToken['type'] = 'T_STRING';
3734
+ break;
3735
+ }
3736
+
3737
+ $newToken['code'] = constant($newToken['type']);
3738
+
3739
+ self::$resolveTokenCache[$cacheKey] = $newToken;
3740
+ } else if ($token[0] === T_CURLY_OPEN) {
3741
+ $newToken = [
3742
+ 'code' => T_OPEN_CURLY_BRACKET,
3743
+ 'type' => 'T_OPEN_CURLY_BRACKET',
3744
+ ];
3745
+ } else {
3746
+ $newToken = [
3747
+ 'code' => $token[0],
3748
+ 'type' => Tokens::tokenName($token[0]),
3749
+ ];
3750
+
3751
+ self::$resolveTokenCache[$token[0]] = $newToken;
3752
+ }//end if
3753
+
3754
+ $newToken['content'] = $token[1];
3755
+ return $newToken;
3756
+
3757
+ }//end standardiseToken()
3758
+
3759
+
3760
+ /**
3761
+ * Converts simple tokens into a format that conforms to complex tokens
3762
+ * produced by token_get_all().
3763
+ *
3764
+ * Simple tokens are tokens that are not in array form when produced from
3765
+ * token_get_all().
3766
+ *
3767
+ * @param string $token The simple token to convert.
3768
+ *
3769
+ * @return array The new token in array format.
3770
+ */
3771
+ public static function resolveSimpleToken($token)
3772
+ {
3773
+ $newToken = [];
3774
+
3775
+ switch ($token) {
3776
+ case '{':
3777
+ $newToken['type'] = 'T_OPEN_CURLY_BRACKET';
3778
+ break;
3779
+ case '}':
3780
+ $newToken['type'] = 'T_CLOSE_CURLY_BRACKET';
3781
+ break;
3782
+ case '[':
3783
+ $newToken['type'] = 'T_OPEN_SQUARE_BRACKET';
3784
+ break;
3785
+ case ']':
3786
+ $newToken['type'] = 'T_CLOSE_SQUARE_BRACKET';
3787
+ break;
3788
+ case '(':
3789
+ $newToken['type'] = 'T_OPEN_PARENTHESIS';
3790
+ break;
3791
+ case ')':
3792
+ $newToken['type'] = 'T_CLOSE_PARENTHESIS';
3793
+ break;
3794
+ case ':':
3795
+ $newToken['type'] = 'T_COLON';
3796
+ break;
3797
+ case '.':
3798
+ $newToken['type'] = 'T_STRING_CONCAT';
3799
+ break;
3800
+ case ';':
3801
+ $newToken['type'] = 'T_SEMICOLON';
3802
+ break;
3803
+ case '=':
3804
+ $newToken['type'] = 'T_EQUAL';
3805
+ break;
3806
+ case '*':
3807
+ $newToken['type'] = 'T_MULTIPLY';
3808
+ break;
3809
+ case '/':
3810
+ $newToken['type'] = 'T_DIVIDE';
3811
+ break;
3812
+ case '+':
3813
+ $newToken['type'] = 'T_PLUS';
3814
+ break;
3815
+ case '-':
3816
+ $newToken['type'] = 'T_MINUS';
3817
+ break;
3818
+ case '%':
3819
+ $newToken['type'] = 'T_MODULUS';
3820
+ break;
3821
+ case '^':
3822
+ $newToken['type'] = 'T_BITWISE_XOR';
3823
+ break;
3824
+ case '&':
3825
+ $newToken['type'] = 'T_BITWISE_AND';
3826
+ break;
3827
+ case '|':
3828
+ $newToken['type'] = 'T_BITWISE_OR';
3829
+ break;
3830
+ case '~':
3831
+ $newToken['type'] = 'T_BITWISE_NOT';
3832
+ break;
3833
+ case '<':
3834
+ $newToken['type'] = 'T_LESS_THAN';
3835
+ break;
3836
+ case '>':
3837
+ $newToken['type'] = 'T_GREATER_THAN';
3838
+ break;
3839
+ case '!':
3840
+ $newToken['type'] = 'T_BOOLEAN_NOT';
3841
+ break;
3842
+ case ',':
3843
+ $newToken['type'] = 'T_COMMA';
3844
+ break;
3845
+ case '@':
3846
+ $newToken['type'] = 'T_ASPERAND';
3847
+ break;
3848
+ case '$':
3849
+ $newToken['type'] = 'T_DOLLAR';
3850
+ break;
3851
+ case '`':
3852
+ $newToken['type'] = 'T_BACKTICK';
3853
+ break;
3854
+ default:
3855
+ $newToken['type'] = 'T_NONE';
3856
+ break;
3857
+ }//end switch
3858
+
3859
+ $newToken['code'] = constant($newToken['type']);
3860
+ $newToken['content'] = $token;
3861
+
3862
+ self::$resolveTokenCache[$token] = $newToken;
3863
+ return $newToken;
3864
+
3865
+ }//end resolveSimpleToken()
3866
+
3867
+
3868
+ /**
3869
+ * Finds a "closer" token (closing parenthesis or square bracket for example)
3870
+ * Handle parenthesis balancing while searching for closing token
3871
+ *
3872
+ * @param array $tokens The list of tokens to iterate searching the closing token (as returned by token_get_all).
3873
+ * @param int $start The starting position.
3874
+ * @param string|string[] $openerTokens The opening character.
3875
+ * @param string $closerChar The closing character.
3876
+ *
3877
+ * @return int|null The position of the closing token, if found. NULL otherwise.
3878
+ */
3879
+ private function findCloser(array &$tokens, $start, $openerTokens, $closerChar)
3880
+ {
3881
+ $numTokens = count($tokens);
3882
+ $stack = [0];
3883
+ $closer = null;
3884
+ $openerTokens = (array) $openerTokens;
3885
+
3886
+ for ($x = $start; $x < $numTokens; $x++) {
3887
+ if (in_array($tokens[$x], $openerTokens, true) === true
3888
+ || (is_array($tokens[$x]) === true && in_array($tokens[$x][1], $openerTokens, true) === true)
3889
+ ) {
3890
+ $stack[] = $x;
3891
+ } else if ($tokens[$x] === $closerChar) {
3892
+ array_pop($stack);
3893
+ if (empty($stack) === true) {
3894
+ $closer = $x;
3895
+ break;
3896
+ }
3897
+ }
3898
+ }
3899
+
3900
+ return $closer;
3901
+
3902
+ }//end findCloser()
3903
+
3904
+
3905
+ /**
3906
+ * PHP 8 attributes parser for PHP < 8
3907
+ * Handles single-line and multiline attributes.
3908
+ *
3909
+ * @param array $tokens The original array of tokens (as returned by token_get_all).
3910
+ * @param int $stackPtr The current position in token array.
3911
+ *
3912
+ * @return array|null The array of parsed attribute tokens
3913
+ */
3914
+ private function parsePhpAttribute(array &$tokens, $stackPtr)
3915
+ {
3916
+
3917
+ $token = $tokens[$stackPtr];
3918
+
3919
+ $commentBody = substr($token[1], 2);
3920
+ $subTokens = @token_get_all('<?php '.$commentBody);
3921
+
3922
+ foreach ($subTokens as $i => $subToken) {
3923
+ if (is_array($subToken) === true
3924
+ && $subToken[0] === T_COMMENT
3925
+ && strpos($subToken[1], '#[') === 0
3926
+ ) {
3927
+ $reparsed = $this->parsePhpAttribute($subTokens, $i);
3928
+ if ($reparsed !== null) {
3929
+ array_splice($subTokens, $i, 1, $reparsed);
3930
+ } else {
3931
+ $subToken[0] = T_ATTRIBUTE;
3932
+ }
3933
+ }
3934
+ }
3935
+
3936
+ array_splice($subTokens, 0, 1, [[T_ATTRIBUTE, '#[']]);
3937
+
3938
+ // Go looking for the close bracket.
3939
+ $bracketCloser = $this->findCloser($subTokens, 1, '[', ']');
3940
+ if (PHP_VERSION_ID < 80000 && $bracketCloser === null) {
3941
+ foreach (array_slice($tokens, ($stackPtr + 1)) as $token) {
3942
+ if (is_array($token) === true) {
3943
+ $commentBody .= $token[1];
3944
+ } else {
3945
+ $commentBody .= $token;
3946
+ }
3947
+ }
3948
+
3949
+ $subTokens = @token_get_all('<?php '.$commentBody);
3950
+ array_splice($subTokens, 0, 1, [[T_ATTRIBUTE, '#[']]);
3951
+
3952
+ $bracketCloser = $this->findCloser($subTokens, 1, '[', ']');
3953
+ if ($bracketCloser !== null) {
3954
+ array_splice($tokens, ($stackPtr + 1), count($tokens), array_slice($subTokens, ($bracketCloser + 1)));
3955
+ $subTokens = array_slice($subTokens, 0, ($bracketCloser + 1));
3956
+ }
3957
+ }
3958
+
3959
+ if ($bracketCloser === null) {
3960
+ return null;
3961
+ }
3962
+
3963
+ return $subTokens;
3964
+
3965
+ }//end parsePhpAttribute()
3966
+
3967
+
3968
+ /**
3969
+ * Creates a map for the attributes tokens that surround other tokens.
3970
+ *
3971
+ * @return void
3972
+ */
3973
+ private function createAttributesNestingMap()
3974
+ {
3975
+ $map = [];
3976
+ for ($i = 0; $i < $this->numTokens; $i++) {
3977
+ if (isset($this->tokens[$i]['attribute_opener']) === true
3978
+ && $i === $this->tokens[$i]['attribute_opener']
3979
+ ) {
3980
+ if (empty($map) === false) {
3981
+ $this->tokens[$i]['nested_attributes'] = $map;
3982
+ }
3983
+
3984
+ if (isset($this->tokens[$i]['attribute_closer']) === true) {
3985
+ $map[$this->tokens[$i]['attribute_opener']]
3986
+ = $this->tokens[$i]['attribute_closer'];
3987
+ }
3988
+ } else if (isset($this->tokens[$i]['attribute_closer']) === true
3989
+ && $i === $this->tokens[$i]['attribute_closer']
3990
+ ) {
3991
+ array_pop($map);
3992
+ if (empty($map) === false) {
3993
+ $this->tokens[$i]['nested_attributes'] = $map;
3994
+ }
3995
+ } else {
3996
+ if (empty($map) === false) {
3997
+ $this->tokens[$i]['nested_attributes'] = $map;
3998
+ }
3999
+ }//end if
4000
+ }//end for
4001
+
4002
+ }//end createAttributesNestingMap()
4003
+
4004
+
4005
+ }//end class