@averay/codeformat 0.2.1 → 0.2.2

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 (1207) hide show
  1. package/.php-cs-fixer.cache +1 -0
  2. package/.php-cs-fixer.php +9 -0
  3. package/.prettierrc.json +3 -1
  4. package/.stylelintignore +2 -0
  5. package/README.md +16 -0
  6. package/bin/codeformat.ts +26 -0
  7. package/bin/tools/eslint.ts +16 -0
  8. package/bin/tools/index.ts +5 -0
  9. package/bin/tools/phpCsFixer.ts +17 -0
  10. package/bin/tools/prettier.ts +20 -0
  11. package/bin/tools/stylelint.ts +16 -0
  12. package/bin/tools/tsc.ts +12 -0
  13. package/bin/utils/Cli.ts +77 -0
  14. package/bin/utils/Output.ts +30 -0
  15. package/bin/utils/ToolRunner.ts +60 -0
  16. package/bin/utils/filesystem.ts +16 -0
  17. package/bin/utils/runners.ts +10 -0
  18. package/bin/utils/types.ts +22 -0
  19. package/composer.json +6 -0
  20. package/composer.lock +3231 -0
  21. package/eslint.config.js +3 -1
  22. package/package.json +6 -4
  23. package/rulesets/eslint/ruleset-typescript.ts +1 -1
  24. package/rulesets/php/ruleset-php-cs-fixer.php +93 -0
  25. package/src/php/PhpCsFixerConfig.php +27 -0
  26. package/vendor/autoload.php +22 -0
  27. package/vendor/bin/php-cs-fixer +119 -0
  28. package/vendor/clue/ndjson-react/.github/FUNDING.yml +2 -0
  29. package/vendor/clue/ndjson-react/CHANGELOG.md +75 -0
  30. package/vendor/clue/ndjson-react/LICENSE +21 -0
  31. package/vendor/clue/ndjson-react/README.md +365 -0
  32. package/vendor/clue/ndjson-react/composer.json +31 -0
  33. package/vendor/clue/ndjson-react/src/Decoder.php +166 -0
  34. package/vendor/clue/ndjson-react/src/Encoder.php +144 -0
  35. package/vendor/composer/ClassLoader.php +579 -0
  36. package/vendor/composer/InstalledVersions.php +396 -0
  37. package/vendor/composer/LICENSE +21 -0
  38. package/vendor/composer/autoload_classmap.php +34 -0
  39. package/vendor/composer/autoload_files.php +18 -0
  40. package/vendor/composer/autoload_namespaces.php +9 -0
  41. package/vendor/composer/autoload_psr4.php +42 -0
  42. package/vendor/composer/autoload_real.php +48 -0
  43. package/vendor/composer/autoload_static.php +247 -0
  44. package/vendor/composer/installed.json +3634 -0
  45. package/vendor/composer/installed.php +367 -0
  46. package/vendor/composer/pcre/LICENSE +19 -0
  47. package/vendor/composer/pcre/README.md +189 -0
  48. package/vendor/composer/pcre/composer.json +54 -0
  49. package/vendor/composer/pcre/extension.neon +22 -0
  50. package/vendor/composer/pcre/src/MatchAllResult.php +46 -0
  51. package/vendor/composer/pcre/src/MatchAllStrictGroupsResult.php +46 -0
  52. package/vendor/composer/pcre/src/MatchAllWithOffsetsResult.php +48 -0
  53. package/vendor/composer/pcre/src/MatchResult.php +39 -0
  54. package/vendor/composer/pcre/src/MatchStrictGroupsResult.php +39 -0
  55. package/vendor/composer/pcre/src/MatchWithOffsetsResult.php +41 -0
  56. package/vendor/composer/pcre/src/PHPStan/InvalidRegexPatternRule.php +142 -0
  57. package/vendor/composer/pcre/src/PHPStan/PregMatchFlags.php +70 -0
  58. package/vendor/composer/pcre/src/PHPStan/PregMatchParameterOutTypeExtension.php +65 -0
  59. package/vendor/composer/pcre/src/PHPStan/PregMatchTypeSpecifyingExtension.php +119 -0
  60. package/vendor/composer/pcre/src/PHPStan/PregReplaceCallbackClosureTypeExtension.php +91 -0
  61. package/vendor/composer/pcre/src/PHPStan/UnsafeStrictGroupsCallRule.php +112 -0
  62. package/vendor/composer/pcre/src/PcreException.php +55 -0
  63. package/vendor/composer/pcre/src/Preg.php +430 -0
  64. package/vendor/composer/pcre/src/Regex.php +176 -0
  65. package/vendor/composer/pcre/src/ReplaceResult.php +43 -0
  66. package/vendor/composer/pcre/src/UnexpectedNullMatchException.php +20 -0
  67. package/vendor/composer/semver/CHANGELOG.md +229 -0
  68. package/vendor/composer/semver/LICENSE +19 -0
  69. package/vendor/composer/semver/README.md +99 -0
  70. package/vendor/composer/semver/composer.json +59 -0
  71. package/vendor/composer/semver/src/Comparator.php +113 -0
  72. package/vendor/composer/semver/src/CompilingMatcher.php +94 -0
  73. package/vendor/composer/semver/src/Constraint/Bound.php +122 -0
  74. package/vendor/composer/semver/src/Constraint/Constraint.php +435 -0
  75. package/vendor/composer/semver/src/Constraint/ConstraintInterface.php +75 -0
  76. package/vendor/composer/semver/src/Constraint/MatchAllConstraint.php +85 -0
  77. package/vendor/composer/semver/src/Constraint/MatchNoneConstraint.php +83 -0
  78. package/vendor/composer/semver/src/Constraint/MultiConstraint.php +325 -0
  79. package/vendor/composer/semver/src/Interval.php +98 -0
  80. package/vendor/composer/semver/src/Intervals.php +478 -0
  81. package/vendor/composer/semver/src/Semver.php +129 -0
  82. package/vendor/composer/semver/src/VersionParser.php +591 -0
  83. package/vendor/composer/xdebug-handler/CHANGELOG.md +143 -0
  84. package/vendor/composer/xdebug-handler/LICENSE +21 -0
  85. package/vendor/composer/xdebug-handler/README.md +305 -0
  86. package/vendor/composer/xdebug-handler/composer.json +44 -0
  87. package/vendor/composer/xdebug-handler/src/PhpConfig.php +91 -0
  88. package/vendor/composer/xdebug-handler/src/Process.php +119 -0
  89. package/vendor/composer/xdebug-handler/src/Status.php +222 -0
  90. package/vendor/composer/xdebug-handler/src/XdebugHandler.php +722 -0
  91. package/vendor/evenement/evenement/.gitattributes +7 -0
  92. package/vendor/evenement/evenement/LICENSE +19 -0
  93. package/vendor/evenement/evenement/README.md +64 -0
  94. package/vendor/evenement/evenement/composer.json +29 -0
  95. package/vendor/evenement/evenement/src/EventEmitter.php +17 -0
  96. package/vendor/evenement/evenement/src/EventEmitterInterface.php +22 -0
  97. package/vendor/evenement/evenement/src/EventEmitterTrait.php +154 -0
  98. package/vendor/fidry/cpu-core-counter/.envrc +5 -0
  99. package/vendor/fidry/cpu-core-counter/LICENSE.md +16 -0
  100. package/vendor/fidry/cpu-core-counter/README.md +138 -0
  101. package/vendor/fidry/cpu-core-counter/bin/diagnose.php +27 -0
  102. package/vendor/fidry/cpu-core-counter/bin/execute.php +21 -0
  103. package/vendor/fidry/cpu-core-counter/bin/trace.php +32 -0
  104. package/vendor/fidry/cpu-core-counter/composer.json +48 -0
  105. package/vendor/fidry/cpu-core-counter/src/CpuCoreCounter.php +268 -0
  106. package/vendor/fidry/cpu-core-counter/src/Diagnoser.php +101 -0
  107. package/vendor/fidry/cpu-core-counter/src/Executor/ProcOpenExecutor.php +56 -0
  108. package/vendor/fidry/cpu-core-counter/src/Executor/ProcessExecutor.php +22 -0
  109. package/vendor/fidry/cpu-core-counter/src/Finder/CmiCmdletLogicalFinder.php +46 -0
  110. package/vendor/fidry/cpu-core-counter/src/Finder/CmiCmdletPhysicalFinder.php +47 -0
  111. package/vendor/fidry/cpu-core-counter/src/Finder/CpuCoreFinder.php +37 -0
  112. package/vendor/fidry/cpu-core-counter/src/Finder/CpuInfoFinder.php +100 -0
  113. package/vendor/fidry/cpu-core-counter/src/Finder/DummyCpuCoreFinder.php +57 -0
  114. package/vendor/fidry/cpu-core-counter/src/Finder/EnvVariableFinder.php +69 -0
  115. package/vendor/fidry/cpu-core-counter/src/Finder/FinderRegistry.php +91 -0
  116. package/vendor/fidry/cpu-core-counter/src/Finder/HwLogicalFinder.php +33 -0
  117. package/vendor/fidry/cpu-core-counter/src/Finder/HwPhysicalFinder.php +33 -0
  118. package/vendor/fidry/cpu-core-counter/src/Finder/LscpuLogicalFinder.php +52 -0
  119. package/vendor/fidry/cpu-core-counter/src/Finder/LscpuPhysicalFinder.php +66 -0
  120. package/vendor/fidry/cpu-core-counter/src/Finder/NProcFinder.php +59 -0
  121. package/vendor/fidry/cpu-core-counter/src/Finder/NProcessorFinder.php +32 -0
  122. package/vendor/fidry/cpu-core-counter/src/Finder/NullCpuCoreFinder.php +35 -0
  123. package/vendor/fidry/cpu-core-counter/src/Finder/OnlyInPowerShellFinder.php +62 -0
  124. package/vendor/fidry/cpu-core-counter/src/Finder/OnlyOnOSFamilyFinder.php +113 -0
  125. package/vendor/fidry/cpu-core-counter/src/Finder/ProcOpenBasedFinder.php +107 -0
  126. package/vendor/fidry/cpu-core-counter/src/Finder/SkipOnOSFamilyFinder.php +113 -0
  127. package/vendor/fidry/cpu-core-counter/src/Finder/WindowsRegistryLogicalFinder.php +51 -0
  128. package/vendor/fidry/cpu-core-counter/src/Finder/WmicLogicalFinder.php +47 -0
  129. package/vendor/fidry/cpu-core-counter/src/Finder/WmicPhysicalFinder.php +47 -0
  130. package/vendor/fidry/cpu-core-counter/src/Finder/_NProcessorFinder.php +32 -0
  131. package/vendor/fidry/cpu-core-counter/src/NumberOfCpuCoreNotFound.php +26 -0
  132. package/vendor/fidry/cpu-core-counter/src/ParallelisationResult.php +87 -0
  133. package/vendor/friendsofphp/php-cs-fixer/CHANGELOG.md +5983 -0
  134. package/vendor/friendsofphp/php-cs-fixer/CONTRIBUTING.md +103 -0
  135. package/vendor/friendsofphp/php-cs-fixer/LICENSE +19 -0
  136. package/vendor/friendsofphp/php-cs-fixer/README.md +88 -0
  137. package/vendor/friendsofphp/php-cs-fixer/UPGRADE-v3.md +162 -0
  138. package/vendor/friendsofphp/php-cs-fixer/ci-integration.sh +8 -0
  139. package/vendor/friendsofphp/php-cs-fixer/composer.json +210 -0
  140. package/vendor/friendsofphp/php-cs-fixer/feature-or-bug.rst +24 -0
  141. package/vendor/friendsofphp/php-cs-fixer/logo.md +3 -0
  142. package/vendor/friendsofphp/php-cs-fixer/logo.png +0 -0
  143. package/vendor/friendsofphp/php-cs-fixer/php-cs-fixer +110 -0
  144. package/vendor/friendsofphp/php-cs-fixer/src/AbstractDoctrineAnnotationFixer.php +241 -0
  145. package/vendor/friendsofphp/php-cs-fixer/src/AbstractFixer.php +102 -0
  146. package/vendor/friendsofphp/php-cs-fixer/src/AbstractFopenFlagFixer.php +116 -0
  147. package/vendor/friendsofphp/php-cs-fixer/src/AbstractFunctionReferenceFixer.php +71 -0
  148. package/vendor/friendsofphp/php-cs-fixer/src/AbstractNoUselessElseFixer.php +204 -0
  149. package/vendor/friendsofphp/php-cs-fixer/src/AbstractPhpdocToTypeDeclarationFixer.php +314 -0
  150. package/vendor/friendsofphp/php-cs-fixer/src/AbstractPhpdocTypesFixer.php +105 -0
  151. package/vendor/friendsofphp/php-cs-fixer/src/AbstractProxyFixer.php +106 -0
  152. package/vendor/friendsofphp/php-cs-fixer/src/Cache/Cache.php +151 -0
  153. package/vendor/friendsofphp/php-cs-fixer/src/Cache/CacheInterface.php +35 -0
  154. package/vendor/friendsofphp/php-cs-fixer/src/Cache/CacheManagerInterface.php +29 -0
  155. package/vendor/friendsofphp/php-cs-fixer/src/Cache/Directory.php +51 -0
  156. package/vendor/friendsofphp/php-cs-fixer/src/Cache/DirectoryInterface.php +23 -0
  157. package/vendor/friendsofphp/php-cs-fixer/src/Cache/FileCacheManager.php +143 -0
  158. package/vendor/friendsofphp/php-cs-fixer/src/Cache/FileHandler.php +184 -0
  159. package/vendor/friendsofphp/php-cs-fixer/src/Cache/FileHandlerInterface.php +29 -0
  160. package/vendor/friendsofphp/php-cs-fixer/src/Cache/NullCacheManager.php +33 -0
  161. package/vendor/friendsofphp/php-cs-fixer/src/Cache/Signature.php +100 -0
  162. package/vendor/friendsofphp/php-cs-fixer/src/Cache/SignatureInterface.php +38 -0
  163. package/vendor/friendsofphp/php-cs-fixer/src/Config.php +267 -0
  164. package/vendor/friendsofphp/php-cs-fixer/src/ConfigInterface.php +162 -0
  165. package/vendor/friendsofphp/php-cs-fixer/src/ConfigurationException/InvalidConfigurationException.php +36 -0
  166. package/vendor/friendsofphp/php-cs-fixer/src/ConfigurationException/InvalidFixerConfigurationException.php +45 -0
  167. package/vendor/friendsofphp/php-cs-fixer/src/ConfigurationException/InvalidForEnvFixerConfigurationException.php +22 -0
  168. package/vendor/friendsofphp/php-cs-fixer/src/ConfigurationException/RequiredFixerConfigurationException.php +22 -0
  169. package/vendor/friendsofphp/php-cs-fixer/src/Console/Application.php +212 -0
  170. package/vendor/friendsofphp/php-cs-fixer/src/Console/Command/CheckCommand.php +64 -0
  171. package/vendor/friendsofphp/php-cs-fixer/src/Console/Command/DescribeCommand.php +476 -0
  172. package/vendor/friendsofphp/php-cs-fixer/src/Console/Command/DescribeNameNotFoundException.php +46 -0
  173. package/vendor/friendsofphp/php-cs-fixer/src/Console/Command/DocumentationCommand.php +123 -0
  174. package/vendor/friendsofphp/php-cs-fixer/src/Console/Command/FixCommand.php +397 -0
  175. package/vendor/friendsofphp/php-cs-fixer/src/Console/Command/FixCommandExitStatusCalculator.php +56 -0
  176. package/vendor/friendsofphp/php-cs-fixer/src/Console/Command/HelpCommand.php +76 -0
  177. package/vendor/friendsofphp/php-cs-fixer/src/Console/Command/ListFilesCommand.php +91 -0
  178. package/vendor/friendsofphp/php-cs-fixer/src/Console/Command/ListSetsCommand.php +87 -0
  179. package/vendor/friendsofphp/php-cs-fixer/src/Console/Command/SelfUpdateCommand.php +176 -0
  180. package/vendor/friendsofphp/php-cs-fixer/src/Console/Command/WorkerCommand.php +243 -0
  181. package/vendor/friendsofphp/php-cs-fixer/src/Console/ConfigurationResolver.php +961 -0
  182. package/vendor/friendsofphp/php-cs-fixer/src/Console/Output/ErrorOutput.php +155 -0
  183. package/vendor/friendsofphp/php-cs-fixer/src/Console/Output/OutputContext.php +54 -0
  184. package/vendor/friendsofphp/php-cs-fixer/src/Console/Output/Progress/DotsOutput.php +124 -0
  185. package/vendor/friendsofphp/php-cs-fixer/src/Console/Output/Progress/NullOutput.php +29 -0
  186. package/vendor/friendsofphp/php-cs-fixer/src/Console/Output/Progress/PercentageBarOutput.php +78 -0
  187. package/vendor/friendsofphp/php-cs-fixer/src/Console/Output/Progress/ProgressOutputFactory.php +63 -0
  188. package/vendor/friendsofphp/php-cs-fixer/src/Console/Output/Progress/ProgressOutputInterface.php +27 -0
  189. package/vendor/friendsofphp/php-cs-fixer/src/Console/Output/Progress/ProgressOutputType.php +37 -0
  190. package/vendor/friendsofphp/php-cs-fixer/src/Console/Report/FixReport/CheckstyleReporter.php +71 -0
  191. package/vendor/friendsofphp/php-cs-fixer/src/Console/Report/FixReport/GitlabReporter.php +96 -0
  192. package/vendor/friendsofphp/php-cs-fixer/src/Console/Report/FixReport/JsonReporter.php +65 -0
  193. package/vendor/friendsofphp/php-cs-fixer/src/Console/Report/FixReport/JunitReporter.php +145 -0
  194. package/vendor/friendsofphp/php-cs-fixer/src/Console/Report/FixReport/ReportSummary.php +103 -0
  195. package/vendor/friendsofphp/php-cs-fixer/src/Console/Report/FixReport/ReporterFactory.php +90 -0
  196. package/vendor/friendsofphp/php-cs-fixer/src/Console/Report/FixReport/ReporterInterface.php +30 -0
  197. package/vendor/friendsofphp/php-cs-fixer/src/Console/Report/FixReport/TextReporter.php +104 -0
  198. package/vendor/friendsofphp/php-cs-fixer/src/Console/Report/FixReport/XmlReporter.php +136 -0
  199. package/vendor/friendsofphp/php-cs-fixer/src/Console/Report/ListSetsReport/JsonReporter.php +52 -0
  200. package/vendor/friendsofphp/php-cs-fixer/src/Console/Report/ListSetsReport/ReportSummary.php +48 -0
  201. package/vendor/friendsofphp/php-cs-fixer/src/Console/Report/ListSetsReport/ReporterFactory.php +89 -0
  202. package/vendor/friendsofphp/php-cs-fixer/src/Console/Report/ListSetsReport/ReporterInterface.php +30 -0
  203. package/vendor/friendsofphp/php-cs-fixer/src/Console/Report/ListSetsReport/TextReporter.php +51 -0
  204. package/vendor/friendsofphp/php-cs-fixer/src/Console/SelfUpdate/GithubClient.php +69 -0
  205. package/vendor/friendsofphp/php-cs-fixer/src/Console/SelfUpdate/GithubClientInterface.php +26 -0
  206. package/vendor/friendsofphp/php-cs-fixer/src/Console/SelfUpdate/NewVersionChecker.php +102 -0
  207. package/vendor/friendsofphp/php-cs-fixer/src/Console/SelfUpdate/NewVersionCheckerInterface.php +37 -0
  208. package/vendor/friendsofphp/php-cs-fixer/src/Console/WarningsDetector.php +76 -0
  209. package/vendor/friendsofphp/php-cs-fixer/src/Differ/DiffConsoleFormatter.php +85 -0
  210. package/vendor/friendsofphp/php-cs-fixer/src/Differ/DifferInterface.php +26 -0
  211. package/vendor/friendsofphp/php-cs-fixer/src/Differ/FullDiffer.php +46 -0
  212. package/vendor/friendsofphp/php-cs-fixer/src/Differ/NullDiffer.php +26 -0
  213. package/vendor/friendsofphp/php-cs-fixer/src/Differ/UnifiedDiffer.php +47 -0
  214. package/vendor/friendsofphp/php-cs-fixer/src/DocBlock/Annotation.php +319 -0
  215. package/vendor/friendsofphp/php-cs-fixer/src/DocBlock/DocBlock.php +250 -0
  216. package/vendor/friendsofphp/php-cs-fixer/src/DocBlock/Line.php +128 -0
  217. package/vendor/friendsofphp/php-cs-fixer/src/DocBlock/ShortDescription.php +65 -0
  218. package/vendor/friendsofphp/php-cs-fixer/src/DocBlock/Tag.php +102 -0
  219. package/vendor/friendsofphp/php-cs-fixer/src/DocBlock/TagComparator.php +66 -0
  220. package/vendor/friendsofphp/php-cs-fixer/src/DocBlock/TypeExpression.php +857 -0
  221. package/vendor/friendsofphp/php-cs-fixer/src/Doctrine/Annotation/DocLexer.php +171 -0
  222. package/vendor/friendsofphp/php-cs-fixer/src/Doctrine/Annotation/Token.php +87 -0
  223. package/vendor/friendsofphp/php-cs-fixer/src/Doctrine/Annotation/Tokens.php +303 -0
  224. package/vendor/friendsofphp/php-cs-fixer/src/Documentation/DocumentationLocator.php +82 -0
  225. package/vendor/friendsofphp/php-cs-fixer/src/Documentation/FixerDocumentGenerator.php +415 -0
  226. package/vendor/friendsofphp/php-cs-fixer/src/Documentation/RstUtils.php +45 -0
  227. package/vendor/friendsofphp/php-cs-fixer/src/Documentation/RuleSetDocumentationGenerator.php +174 -0
  228. package/vendor/friendsofphp/php-cs-fixer/src/Error/Error.php +125 -0
  229. package/vendor/friendsofphp/php-cs-fixer/src/Error/ErrorsManager.php +83 -0
  230. package/vendor/friendsofphp/php-cs-fixer/src/Error/SourceExceptionFactory.php +62 -0
  231. package/vendor/friendsofphp/php-cs-fixer/src/ExecutorWithoutErrorHandler.php +58 -0
  232. package/vendor/friendsofphp/php-cs-fixer/src/ExecutorWithoutErrorHandlerException.php +22 -0
  233. package/vendor/friendsofphp/php-cs-fixer/src/FileReader.php +70 -0
  234. package/vendor/friendsofphp/php-cs-fixer/src/FileRemoval.php +100 -0
  235. package/vendor/friendsofphp/php-cs-fixer/src/Finder.php +35 -0
  236. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/AbstractIncrementOperatorFixer.php +58 -0
  237. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/AbstractPhpUnitFixer.php +278 -0
  238. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/AbstractShortOperatorFixer.php +264 -0
  239. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Alias/ArrayPushFixer.php +207 -0
  240. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Alias/BacktickToShellExecFixer.php +149 -0
  241. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Alias/EregToPregFixer.php +193 -0
  242. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Alias/MbStrFunctionsFixer.php +180 -0
  243. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Alias/ModernizeStrposFixer.php +338 -0
  244. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Alias/NoAliasFunctionsFixer.php +337 -0
  245. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Alias/NoAliasLanguageConstructCallFixer.php +59 -0
  246. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Alias/NoMixedEchoPrintFixer.php +142 -0
  247. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Alias/PowToExponentiationFixer.php +219 -0
  248. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Alias/RandomApiMigrationFixer.php +153 -0
  249. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Alias/SetTypeToCastFixer.php +240 -0
  250. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ArrayNotation/ArraySyntaxFixer.php +138 -0
  251. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ArrayNotation/NoMultilineWhitespaceAroundDoubleArrowFixer.php +80 -0
  252. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ArrayNotation/NoTrailingCommaInSinglelineArrayFixer.php +52 -0
  253. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ArrayNotation/NoWhitespaceBeforeCommaInArrayFixer.php +153 -0
  254. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ArrayNotation/NormalizeIndexBraceFixer.php +57 -0
  255. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ArrayNotation/ReturnToYieldFromFixer.php +105 -0
  256. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ArrayNotation/TrimArraySpacesFixer.php +97 -0
  257. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ArrayNotation/WhitespaceAfterCommaInArrayFixer.php +150 -0
  258. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ArrayNotation/YieldFromArrayToYieldsFixer.php +189 -0
  259. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/AttributeNotation/AttributeEmptyParenthesesFixer.php +136 -0
  260. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/AttributeNotation/GeneralAttributeRemoveFixer.php +142 -0
  261. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/AttributeNotation/OrderedAttributesFixer.php +274 -0
  262. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Basic/BracesFixer.php +268 -0
  263. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Basic/BracesPositionFixer.php +449 -0
  264. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Basic/CurlyBracesPositionFixer.php +126 -0
  265. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Basic/EncodingFixer.php +80 -0
  266. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Basic/NoMultipleStatementsPerLineFixer.php +111 -0
  267. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Basic/NoTrailingCommaInSinglelineFixer.php +162 -0
  268. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Basic/NonPrintableCharacterFixer.php +191 -0
  269. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Basic/NumericLiteralSeparatorFixer.php +232 -0
  270. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Basic/OctalNotationFixer.php +64 -0
  271. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Basic/PsrAutoloadingFixer.php +291 -0
  272. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Basic/SingleLineEmptyBodyFixer.php +83 -0
  273. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Casing/ClassReferenceNameCasingFixer.php +168 -0
  274. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Casing/ConstantCaseFixer.php +130 -0
  275. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Casing/IntegerLiteralCaseFixer.php +62 -0
  276. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Casing/LowercaseKeywordsFixer.php +67 -0
  277. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Casing/LowercaseStaticReferenceFixer.php +107 -0
  278. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Casing/MagicConstantCasingFixer.php +92 -0
  279. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Casing/MagicMethodCasingFixer.php +202 -0
  280. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Casing/NativeFunctionCasingFixer.php +89 -0
  281. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Casing/NativeFunctionTypeDeclarationCasingFixer.php +58 -0
  282. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Casing/NativeTypeDeclarationCasingFixer.php +151 -0
  283. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/CastNotation/CastSpacesFixer.php +131 -0
  284. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/CastNotation/LowercaseCastFixer.php +66 -0
  285. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/CastNotation/ModernizeTypesCastingFixer.php +164 -0
  286. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/CastNotation/NoShortBoolCastFixer.php +88 -0
  287. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/CastNotation/NoUnsetCastFixer.php +88 -0
  288. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/CastNotation/ShortScalarCastFixer.php +71 -0
  289. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ClassNotation/ClassAttributesSeparationFixer.php +605 -0
  290. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ClassNotation/ClassDefinitionFixer.php +572 -0
  291. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ClassNotation/FinalClassFixer.php +67 -0
  292. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ClassNotation/FinalInternalClassFixer.php +374 -0
  293. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ClassNotation/FinalPublicMethodForAbstractClassFixer.php +160 -0
  294. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ClassNotation/NoBlankLinesAfterClassOpeningFixer.php +93 -0
  295. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ClassNotation/NoNullPropertyInitializationFixer.php +141 -0
  296. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ClassNotation/NoPhp4ConstructorFixer.php +408 -0
  297. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ClassNotation/NoUnneededFinalMethodFixer.php +215 -0
  298. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ClassNotation/OrderedClassElementsFixer.php +610 -0
  299. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ClassNotation/OrderedInterfacesFixer.php +272 -0
  300. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ClassNotation/OrderedTraitsFixer.php +226 -0
  301. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ClassNotation/OrderedTypesFixer.php +453 -0
  302. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ClassNotation/PhpdocReadonlyClassCommentToKeywordFixer.php +129 -0
  303. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ClassNotation/ProtectedToPrivateFixer.php +168 -0
  304. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ClassNotation/SelfAccessorFixer.php +200 -0
  305. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ClassNotation/SelfStaticAccessorFixer.php +224 -0
  306. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ClassNotation/SingleClassElementPerStatementFixer.php +241 -0
  307. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ClassNotation/SingleTraitInsertPerStatementFixer.php +116 -0
  308. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ClassNotation/VisibilityRequiredFixer.php +214 -0
  309. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ClassUsage/DateTimeImmutableFixer.php +146 -0
  310. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Comment/CommentToPhpdocFixer.php +230 -0
  311. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Comment/HeaderCommentFixer.php +543 -0
  312. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Comment/MultilineCommentOpeningClosingFixer.php +89 -0
  313. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Comment/NoEmptyCommentFixer.php +162 -0
  314. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Comment/NoTrailingWhitespaceInCommentFixer.php +75 -0
  315. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Comment/SingleLineCommentSpacingFixer.php +110 -0
  316. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Comment/SingleLineCommentStyleFixer.php +178 -0
  317. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ConfigurableFixerInterface.php +50 -0
  318. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ConfigurableFixerTrait.php +124 -0
  319. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ConstantNotation/NativeConstantInvocationFixer.php +307 -0
  320. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ControlStructure/ControlStructureBracesFixer.php +256 -0
  321. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ControlStructure/ControlStructureContinuationPositionFixer.php +157 -0
  322. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ControlStructure/ElseifFixer.php +98 -0
  323. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ControlStructure/EmptyLoopBodyFixer.php +139 -0
  324. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ControlStructure/EmptyLoopConditionFixer.php +202 -0
  325. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ControlStructure/IncludeFixer.php +153 -0
  326. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ControlStructure/NoAlternativeSyntaxFixer.php +244 -0
  327. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ControlStructure/NoBreakCommentFixer.php +366 -0
  328. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ControlStructure/NoSuperfluousElseifFixer.php +100 -0
  329. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ControlStructure/NoTrailingCommaInListCallFixer.php +51 -0
  330. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ControlStructure/NoUnneededBracesFixer.php +182 -0
  331. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ControlStructure/NoUnneededControlParenthesesFixer.php +758 -0
  332. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ControlStructure/NoUnneededCurlyBracesFixer.php +106 -0
  333. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ControlStructure/NoUselessElseFixer.php +120 -0
  334. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ControlStructure/SimplifiedIfReturnFixer.php +138 -0
  335. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ControlStructure/SwitchCaseSemicolonToColonFixer.php +87 -0
  336. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ControlStructure/SwitchCaseSpaceFixer.php +85 -0
  337. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ControlStructure/SwitchContinueToBreakFixer.php +240 -0
  338. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ControlStructure/TrailingCommaInMultilineFixer.php +237 -0
  339. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ControlStructure/YodaStyleFixer.php +758 -0
  340. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/DeprecatedFixerInterface.php +28 -0
  341. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/DoctrineAnnotation/DoctrineAnnotationArrayAssignmentFixer.php +114 -0
  342. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/DoctrineAnnotation/DoctrineAnnotationBracesFixer.php +132 -0
  343. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/DoctrineAnnotation/DoctrineAnnotationIndentationFixer.php +199 -0
  344. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/DoctrineAnnotation/DoctrineAnnotationSpacesFixer.php +320 -0
  345. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ExperimentalFixerInterface.php +20 -0
  346. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/FixerInterface.php +79 -0
  347. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/FunctionNotation/CombineNestedDirnameFixer.php +224 -0
  348. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/FunctionNotation/DateTimeCreateFromFormatCallFixer.php +164 -0
  349. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/FunctionNotation/FopenFlagOrderFixer.php +123 -0
  350. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/FunctionNotation/FopenFlagsFixer.php +120 -0
  351. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/FunctionNotation/FunctionDeclarationFixer.php +263 -0
  352. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/FunctionNotation/FunctionTypehintSpaceFixer.php +60 -0
  353. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/FunctionNotation/ImplodeCallFixer.php +139 -0
  354. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/FunctionNotation/LambdaNotUsedImportFixer.php +350 -0
  355. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/FunctionNotation/MethodArgumentSpaceFixer.php +510 -0
  356. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/FunctionNotation/NativeFunctionInvocationFixer.php +420 -0
  357. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/FunctionNotation/NoSpacesAfterFunctionNameFixer.php +176 -0
  358. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/FunctionNotation/NoTrailingCommaInSinglelineFunctionCallFixer.php +59 -0
  359. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/FunctionNotation/NoUnreachableDefaultArgumentValueFixer.php +197 -0
  360. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/FunctionNotation/NoUselessSprintfFixer.php +109 -0
  361. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/FunctionNotation/NullableTypeDeclarationForDefaultNullValueFixer.php +247 -0
  362. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/FunctionNotation/PhpdocToParamTypeFixer.php +244 -0
  363. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/FunctionNotation/PhpdocToPropertyTypeFixer.php +296 -0
  364. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/FunctionNotation/PhpdocToReturnTypeFixer.php +249 -0
  365. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/FunctionNotation/RegularCallableCallFixer.php +256 -0
  366. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/FunctionNotation/ReturnTypeDeclarationFixer.php +132 -0
  367. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/FunctionNotation/SingleLineThrowFixer.php +159 -0
  368. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/FunctionNotation/StaticLambdaFixer.php +130 -0
  369. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/FunctionNotation/UseArrowFunctionsFixer.php +181 -0
  370. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/FunctionNotation/VoidReturnFixer.php +256 -0
  371. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Import/FullyQualifiedStrictTypesFixer.php +987 -0
  372. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Import/GlobalNamespaceImportFixer.php +726 -0
  373. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Import/GroupImportFixer.php +369 -0
  374. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Import/NoLeadingImportSlashFixer.php +90 -0
  375. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Import/NoUnneededImportAliasFixer.php +88 -0
  376. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Import/NoUnusedImportsFixer.php +455 -0
  377. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Import/OrderedImportsFixer.php +626 -0
  378. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Import/SingleImportPerStatementFixer.php +274 -0
  379. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Import/SingleLineAfterImportsFixer.php +152 -0
  380. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Indentation.php +92 -0
  381. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/InternalFixerInterface.php +20 -0
  382. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/LanguageConstruct/ClassKeywordFixer.php +100 -0
  383. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/LanguageConstruct/ClassKeywordRemoveFixer.php +234 -0
  384. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/LanguageConstruct/CombineConsecutiveIssetsFixer.php +163 -0
  385. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/LanguageConstruct/CombineConsecutiveUnsetsFixer.php +179 -0
  386. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/LanguageConstruct/DeclareEqualNormalizeFixer.php +137 -0
  387. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/LanguageConstruct/DeclareParenthesesFixer.php +56 -0
  388. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/LanguageConstruct/DirConstantFixer.php +129 -0
  389. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/LanguageConstruct/ErrorSuppressionFixer.php +186 -0
  390. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/LanguageConstruct/ExplicitIndirectVariableFixer.php +82 -0
  391. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/LanguageConstruct/FunctionToConstantFixer.php +311 -0
  392. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/LanguageConstruct/GetClassToClassKeywordFixer.php +158 -0
  393. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/LanguageConstruct/IsNullFixer.php +169 -0
  394. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/LanguageConstruct/NoUnsetOnPropertyFixer.php +220 -0
  395. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/LanguageConstruct/NullableTypeDeclarationFixer.php +348 -0
  396. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/LanguageConstruct/SingleSpaceAfterConstructFixer.php +209 -0
  397. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/LanguageConstruct/SingleSpaceAroundConstructFixer.php +516 -0
  398. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ListNotation/ListSyntaxFixer.php +133 -0
  399. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/NamespaceNotation/BlankLineAfterNamespaceFixer.php +127 -0
  400. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/NamespaceNotation/BlankLinesBeforeNamespaceFixer.php +242 -0
  401. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/NamespaceNotation/CleanNamespaceFixer.php +108 -0
  402. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/NamespaceNotation/NoBlankLinesBeforeNamespaceFixer.php +76 -0
  403. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/NamespaceNotation/NoLeadingNamespaceWhitespaceFixer.php +95 -0
  404. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/NamespaceNotation/SingleBlankLineBeforeNamespaceFixer.php +75 -0
  405. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Naming/NoHomoglyphNamesFixer.php +230 -0
  406. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Operator/AssignNullCoalescingToCoalesceEqualFixer.php +71 -0
  407. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Operator/BinaryOperatorSpacesFixer.php +961 -0
  408. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Operator/ConcatSpaceFixer.php +160 -0
  409. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Operator/IncrementStyleFixer.php +179 -0
  410. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Operator/LogicalOperatorsFixer.php +67 -0
  411. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Operator/LongToShorthandOperatorFixer.php +140 -0
  412. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Operator/NewWithBracesFixer.php +103 -0
  413. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Operator/NewWithParenthesesFixer.php +216 -0
  414. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Operator/NoSpaceAroundDoubleColonFixer.php +73 -0
  415. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Operator/NoUselessConcatOperatorFixer.php +375 -0
  416. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Operator/NoUselessNullsafeOperatorFixer.php +73 -0
  417. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Operator/NotOperatorWithSpaceFixer.php +75 -0
  418. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Operator/NotOperatorWithSuccessorSpaceFixer.php +68 -0
  419. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Operator/ObjectOperatorWithoutWhitespaceFixer.php +62 -0
  420. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Operator/OperatorLinebreakFixer.php +292 -0
  421. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Operator/StandardizeIncrementFixer.php +122 -0
  422. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Operator/StandardizeNotEqualsFixer.php +60 -0
  423. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Operator/TernaryOperatorSpacesFixer.php +131 -0
  424. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Operator/TernaryToElvisOperatorFixer.php +217 -0
  425. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Operator/TernaryToNullCoalescingFixer.php +224 -0
  426. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Operator/UnaryOperatorSpacesFixer.php +118 -0
  427. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpTag/BlankLineAfterOpeningTagFixer.php +92 -0
  428. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpTag/EchoTagSyntaxFixer.php +273 -0
  429. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpTag/FullOpeningTagFixer.php +123 -0
  430. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpTag/LinebreakAfterOpeningTagFixer.php +68 -0
  431. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpTag/NoClosingTagFixer.php +59 -0
  432. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitAssertNewNamesFixer.php +107 -0
  433. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitAttributesFixer.php +620 -0
  434. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitConstructFixer.php +210 -0
  435. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitDataProviderMethodOrderFixer.php +288 -0
  436. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitDataProviderNameFixer.php +199 -0
  437. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitDataProviderReturnTypeFixer.php +120 -0
  438. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitDataProviderStaticFixer.php +156 -0
  439. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitDedicateAssertFixer.php +590 -0
  440. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitDedicateAssertInternalTypeFixer.php +204 -0
  441. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitExpectationFixer.php +289 -0
  442. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitFqcnAnnotationFixer.php +86 -0
  443. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitInternalClassFixer.php +117 -0
  444. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitMethodCasingFixer.php +238 -0
  445. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitMockFixer.php +135 -0
  446. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitMockShortWillReturnFixer.php +123 -0
  447. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitNamespacedFixer.php +235 -0
  448. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitNoExpectationAnnotationFixer.php +278 -0
  449. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitSetUpTearDownVisibilityFixer.php +111 -0
  450. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitSizeClassFixer.php +107 -0
  451. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitStrictFixer.php +154 -0
  452. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitTargetVersion.php +57 -0
  453. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitTestAnnotationFixer.php +416 -0
  454. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitTestCaseStaticMethodCallsFixer.php +564 -0
  455. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitTestClassRequiresCoversFixer.php +88 -0
  456. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/AlignMultilineCommentFixer.php +178 -0
  457. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/GeneralPhpdocAnnotationRemoveFixer.php +177 -0
  458. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/GeneralPhpdocTagRenameFixer.php +213 -0
  459. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/NoBlankLinesAfterPhpdocFixer.php +110 -0
  460. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/NoEmptyPhpdocFixer.php +84 -0
  461. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/NoSuperfluousPhpdocTagsFixer.php +756 -0
  462. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocAddMissingParamAnnotationFixer.php +289 -0
  463. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocAlignFixer.php +506 -0
  464. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocAnnotationWithoutDotFixer.php +123 -0
  465. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocArrayTypeFixer.php +92 -0
  466. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocIndentFixer.php +141 -0
  467. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocInlineTagNormalizerFixer.php +121 -0
  468. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocLineSpanFixer.php +173 -0
  469. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocListTypeFixer.php +70 -0
  470. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocNoAccessFixer.php +71 -0
  471. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocNoAliasTagFixer.php +137 -0
  472. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocNoEmptyReturnFixer.php +117 -0
  473. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocNoPackageFixer.php +70 -0
  474. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocNoUselessInheritdocFixer.php +151 -0
  475. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocOrderByValueFixer.php +225 -0
  476. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocOrderFixer.php +223 -0
  477. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocParamOrderFixer.php +273 -0
  478. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocReturnSelfReferenceFixer.php +234 -0
  479. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocScalarFixer.php +139 -0
  480. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocSeparationFixer.php +333 -0
  481. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocSingleLineVarSpacingFixer.php +89 -0
  482. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocSummaryFixer.php +99 -0
  483. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocTagCasingFixer.php +109 -0
  484. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocTagTypeFixer.php +214 -0
  485. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocToCommentFixer.php +185 -0
  486. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocTrimConsecutiveBlankLineSeparationFixer.php +191 -0
  487. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocTrimFixer.php +115 -0
  488. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocTypesFixer.php +173 -0
  489. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocTypesOrderFixer.php +218 -0
  490. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocVarAnnotationCorrectOrderFixer.php +81 -0
  491. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocVarWithoutNameFixer.php +150 -0
  492. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ReturnNotation/NoUselessReturnFixer.php +103 -0
  493. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ReturnNotation/ReturnAssignmentFixer.php +527 -0
  494. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ReturnNotation/SimplifiedNullReturnFixer.php +171 -0
  495. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Semicolon/MultilineWhitespaceBeforeSemicolonsFixer.php +244 -0
  496. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Semicolon/NoEmptyStatementFixer.php +186 -0
  497. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Semicolon/NoSinglelineWhitespaceBeforeSemicolonsFixer.php +66 -0
  498. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Semicolon/SemicolonAfterInstructionFixer.php +64 -0
  499. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Semicolon/SpaceAfterSemicolonFixer.php +148 -0
  500. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Strict/DeclareStrictTypesFixer.php +132 -0
  501. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Strict/StrictComparisonFixer.php +80 -0
  502. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Strict/StrictParamFixer.php +168 -0
  503. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/StringNotation/EscapeImplicitBackslashesFixer.php +153 -0
  504. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/StringNotation/ExplicitStringVariableFixer.php +166 -0
  505. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/StringNotation/HeredocClosingMarkerFixer.php +205 -0
  506. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/StringNotation/HeredocToNowdocFixer.php +107 -0
  507. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/StringNotation/MultilineStringToHeredocFixer.php +166 -0
  508. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/StringNotation/NoBinaryStringFixer.php +75 -0
  509. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/StringNotation/NoTrailingWhitespaceInStringFixer.php +100 -0
  510. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/StringNotation/SimpleToComplexStringVariableFixer.php +96 -0
  511. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/StringNotation/SingleQuoteFixer.php +122 -0
  512. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/StringNotation/StringImplicitBackslashesFixer.php +193 -0
  513. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/StringNotation/StringLengthToEmptyFixer.php +322 -0
  514. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/StringNotation/StringLineEndingFixer.php +76 -0
  515. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Whitespace/ArrayIndentationFixer.php +197 -0
  516. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Whitespace/BlankLineBeforeStatementFixer.php +379 -0
  517. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Whitespace/BlankLineBetweenImportGroupsFixer.php +180 -0
  518. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Whitespace/CompactNullableTypeDeclarationFixer.php +72 -0
  519. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Whitespace/CompactNullableTypehintFixer.php +63 -0
  520. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Whitespace/HeredocIndentationFixer.php +180 -0
  521. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Whitespace/IndentationTypeFixer.php +139 -0
  522. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Whitespace/LineEndingFixer.php +85 -0
  523. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Whitespace/MethodChainingIndentationFixer.php +229 -0
  524. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Whitespace/NoExtraBlankLinesFixer.php +496 -0
  525. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Whitespace/NoSpacesAroundOffsetFixer.php +112 -0
  526. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Whitespace/NoSpacesInsideParenthesisFixer.php +75 -0
  527. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Whitespace/NoTrailingWhitespaceFixer.php +104 -0
  528. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Whitespace/NoWhitespaceInBlankLineFixer.php +89 -0
  529. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Whitespace/SingleBlankLineAtEofFixer.php +64 -0
  530. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Whitespace/SpacesInsideParenthesesFixer.php +223 -0
  531. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Whitespace/StatementIndentationFixer.php +836 -0
  532. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Whitespace/TypeDeclarationSpacesFixer.php +254 -0
  533. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Whitespace/TypesSpacesFixer.php +173 -0
  534. package/vendor/friendsofphp/php-cs-fixer/src/Fixer/WhitespacesAwareFixerInterface.php +25 -0
  535. package/vendor/friendsofphp/php-cs-fixer/src/FixerConfiguration/AliasedFixerOption.php +75 -0
  536. package/vendor/friendsofphp/php-cs-fixer/src/FixerConfiguration/AliasedFixerOptionBuilder.php +78 -0
  537. package/vendor/friendsofphp/php-cs-fixer/src/FixerConfiguration/AllowedValueSubset.php +65 -0
  538. package/vendor/friendsofphp/php-cs-fixer/src/FixerConfiguration/DeprecatedFixerOption.php +74 -0
  539. package/vendor/friendsofphp/php-cs-fixer/src/FixerConfiguration/DeprecatedFixerOptionInterface.php +20 -0
  540. package/vendor/friendsofphp/php-cs-fixer/src/FixerConfiguration/FixerConfigurationResolver.php +152 -0
  541. package/vendor/friendsofphp/php-cs-fixer/src/FixerConfiguration/FixerConfigurationResolverInterface.php +30 -0
  542. package/vendor/friendsofphp/php-cs-fixer/src/FixerConfiguration/FixerOption.php +146 -0
  543. package/vendor/friendsofphp/php-cs-fixer/src/FixerConfiguration/FixerOptionBuilder.php +126 -0
  544. package/vendor/friendsofphp/php-cs-fixer/src/FixerConfiguration/FixerOptionInterface.php +43 -0
  545. package/vendor/friendsofphp/php-cs-fixer/src/FixerConfiguration/FixerOptionSorter.php +37 -0
  546. package/vendor/friendsofphp/php-cs-fixer/src/FixerConfiguration/InvalidOptionsForEnvException.php +24 -0
  547. package/vendor/friendsofphp/php-cs-fixer/src/FixerDefinition/CodeSample.php +49 -0
  548. package/vendor/friendsofphp/php-cs-fixer/src/FixerDefinition/CodeSampleInterface.php +28 -0
  549. package/vendor/friendsofphp/php-cs-fixer/src/FixerDefinition/FileSpecificCodeSample.php +56 -0
  550. package/vendor/friendsofphp/php-cs-fixer/src/FixerDefinition/FileSpecificCodeSampleInterface.php +25 -0
  551. package/vendor/friendsofphp/php-cs-fixer/src/FixerDefinition/FixerDefinition.php +76 -0
  552. package/vendor/friendsofphp/php-cs-fixer/src/FixerDefinition/FixerDefinitionInterface.php +37 -0
  553. package/vendor/friendsofphp/php-cs-fixer/src/FixerDefinition/VersionSpecificCodeSample.php +54 -0
  554. package/vendor/friendsofphp/php-cs-fixer/src/FixerDefinition/VersionSpecificCodeSampleInterface.php +23 -0
  555. package/vendor/friendsofphp/php-cs-fixer/src/FixerDefinition/VersionSpecification.php +76 -0
  556. package/vendor/friendsofphp/php-cs-fixer/src/FixerDefinition/VersionSpecificationInterface.php +23 -0
  557. package/vendor/friendsofphp/php-cs-fixer/src/FixerFactory.php +248 -0
  558. package/vendor/friendsofphp/php-cs-fixer/src/FixerNameValidator.php +32 -0
  559. package/vendor/friendsofphp/php-cs-fixer/src/Hasher.php +38 -0
  560. package/vendor/friendsofphp/php-cs-fixer/src/Indicator/PhpUnitTestCaseIndicator.php +90 -0
  561. package/vendor/friendsofphp/php-cs-fixer/src/Linter/CachingLinter.php +56 -0
  562. package/vendor/friendsofphp/php-cs-fixer/src/Linter/Linter.php +49 -0
  563. package/vendor/friendsofphp/php-cs-fixer/src/Linter/LinterInterface.php +35 -0
  564. package/vendor/friendsofphp/php-cs-fixer/src/Linter/LintingException.php +24 -0
  565. package/vendor/friendsofphp/php-cs-fixer/src/Linter/LintingResultInterface.php +26 -0
  566. package/vendor/friendsofphp/php-cs-fixer/src/Linter/ProcessLinter.php +149 -0
  567. package/vendor/friendsofphp/php-cs-fixer/src/Linter/ProcessLinterProcessBuilder.php +46 -0
  568. package/vendor/friendsofphp/php-cs-fixer/src/Linter/ProcessLintingResult.php +86 -0
  569. package/vendor/friendsofphp/php-cs-fixer/src/Linter/TokenizerLinter.php +58 -0
  570. package/vendor/friendsofphp/php-cs-fixer/src/Linter/TokenizerLintingResult.php +48 -0
  571. package/vendor/friendsofphp/php-cs-fixer/src/Linter/UnavailableLinterException.php +26 -0
  572. package/vendor/friendsofphp/php-cs-fixer/src/ParallelAwareConfigInterface.php +29 -0
  573. package/vendor/friendsofphp/php-cs-fixer/src/PharChecker.php +38 -0
  574. package/vendor/friendsofphp/php-cs-fixer/src/PharCheckerInterface.php +26 -0
  575. package/vendor/friendsofphp/php-cs-fixer/src/Preg.php +215 -0
  576. package/vendor/friendsofphp/php-cs-fixer/src/PregException.php +24 -0
  577. package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/AbstractMigrationSetDescription.php +38 -0
  578. package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/AbstractRuleSetDescription.php +35 -0
  579. package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/DeprecatedRuleSetDescriptionInterface.php +28 -0
  580. package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/RuleSet.php +159 -0
  581. package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/RuleSetDescriptionInterface.php +34 -0
  582. package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/RuleSetInterface.php +49 -0
  583. package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/RuleSets.php +72 -0
  584. package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/DoctrineAnnotationSet.php +42 -0
  585. package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PERCS1x0RiskySet.php +44 -0
  586. package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PERCS1x0Set.php +44 -0
  587. package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PERCS2x0RiskySet.php +44 -0
  588. package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PERCS2x0Set.php +112 -0
  589. package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PERCSRiskySet.php +40 -0
  590. package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PERCSSet.php +40 -0
  591. package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PERRiskySet.php +52 -0
  592. package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PERSet.php +47 -0
  593. package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PHP54MigrationSet.php +30 -0
  594. package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PHP56MigrationRiskySet.php +30 -0
  595. package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PHP70MigrationRiskySet.php +39 -0
  596. package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PHP70MigrationSet.php +31 -0
  597. package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PHP71MigrationRiskySet.php +31 -0
  598. package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PHP71MigrationSet.php +32 -0
  599. package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PHP73MigrationSet.php +34 -0
  600. package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PHP74MigrationRiskySet.php +33 -0
  601. package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PHP74MigrationSet.php +33 -0
  602. package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PHP80MigrationRiskySet.php +40 -0
  603. package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PHP80MigrationSet.php +32 -0
  604. package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PHP81MigrationSet.php +31 -0
  605. package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PHP82MigrationRiskySet.php +31 -0
  606. package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PHP82MigrationSet.php +31 -0
  607. package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PHP83MigrationSet.php +30 -0
  608. package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PHP84MigrationSet.php +31 -0
  609. package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PHPUnit100MigrationRiskySet.php +31 -0
  610. package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PHPUnit30MigrationRiskySet.php +33 -0
  611. package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PHPUnit32MigrationRiskySet.php +34 -0
  612. package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PHPUnit35MigrationRiskySet.php +34 -0
  613. package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PHPUnit43MigrationRiskySet.php +34 -0
  614. package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PHPUnit48MigrationRiskySet.php +34 -0
  615. package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PHPUnit50MigrationRiskySet.php +34 -0
  616. package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PHPUnit52MigrationRiskySet.php +34 -0
  617. package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PHPUnit54MigrationRiskySet.php +34 -0
  618. package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PHPUnit55MigrationRiskySet.php +34 -0
  619. package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PHPUnit56MigrationRiskySet.php +37 -0
  620. package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PHPUnit57MigrationRiskySet.php +34 -0
  621. package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PHPUnit60MigrationRiskySet.php +34 -0
  622. package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PHPUnit75MigrationRiskySet.php +34 -0
  623. package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PHPUnit84MigrationRiskySet.php +35 -0
  624. package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PHPUnit91MigrationRiskySet.php +31 -0
  625. package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PSR12RiskySet.php +36 -0
  626. package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PSR12Set.php +123 -0
  627. package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PSR1Set.php +36 -0
  628. package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PSR2Set.php +104 -0
  629. package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PhpCsFixerRiskySet.php +67 -0
  630. package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PhpCsFixerSet.php +134 -0
  631. package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/SymfonyRiskySet.php +78 -0
  632. package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/SymfonySet.php +241 -0
  633. package/vendor/friendsofphp/php-cs-fixer/src/Runner/Event/AnalysisStarted.php +54 -0
  634. package/vendor/friendsofphp/php-cs-fixer/src/Runner/Event/FileProcessed.php +75 -0
  635. package/vendor/friendsofphp/php-cs-fixer/src/Runner/FileCachingLintingFileIterator.php +76 -0
  636. package/vendor/friendsofphp/php-cs-fixer/src/Runner/FileFilterIterator.php +108 -0
  637. package/vendor/friendsofphp/php-cs-fixer/src/Runner/LintingFileIterator.php +66 -0
  638. package/vendor/friendsofphp/php-cs-fixer/src/Runner/LintingResultAwareFileIteratorInterface.php +29 -0
  639. package/vendor/friendsofphp/php-cs-fixer/src/Runner/Parallel/ParallelAction.php +35 -0
  640. package/vendor/friendsofphp/php-cs-fixer/src/Runner/Parallel/ParallelConfig.php +67 -0
  641. package/vendor/friendsofphp/php-cs-fixer/src/Runner/Parallel/ParallelConfigFactory.php +61 -0
  642. package/vendor/friendsofphp/php-cs-fixer/src/Runner/Parallel/ParallelisationException.php +30 -0
  643. package/vendor/friendsofphp/php-cs-fixer/src/Runner/Parallel/Process.php +189 -0
  644. package/vendor/friendsofphp/php-cs-fixer/src/Runner/Parallel/ProcessFactory.php +111 -0
  645. package/vendor/friendsofphp/php-cs-fixer/src/Runner/Parallel/ProcessIdentifier.php +55 -0
  646. package/vendor/friendsofphp/php-cs-fixer/src/Runner/Parallel/ProcessPool.php +99 -0
  647. package/vendor/friendsofphp/php-cs-fixer/src/Runner/Parallel/WorkerException.php +66 -0
  648. package/vendor/friendsofphp/php-cs-fixer/src/Runner/Runner.php +587 -0
  649. package/vendor/friendsofphp/php-cs-fixer/src/Runner/RunnerConfig.php +64 -0
  650. package/vendor/friendsofphp/php-cs-fixer/src/StdinFileInfo.php +173 -0
  651. package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/AbstractTransformer.php +40 -0
  652. package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/AbstractTypeTransformer.php +89 -0
  653. package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/AlternativeSyntaxAnalyzer.php +121 -0
  654. package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/Analysis/AbstractControlCaseStructuresAnalysis.php +51 -0
  655. package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/Analysis/ArgumentAnalysis.php +81 -0
  656. package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/Analysis/AttributeAnalysis.php +76 -0
  657. package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/Analysis/CaseAnalysis.php +45 -0
  658. package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/Analysis/DataProviderAnalysis.php +68 -0
  659. package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/Analysis/DefaultAnalysis.php +43 -0
  660. package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/Analysis/EnumAnalysis.php +46 -0
  661. package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/Analysis/MatchAnalysis.php +37 -0
  662. package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/Analysis/NamespaceAnalysis.php +98 -0
  663. package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/Analysis/NamespaceUseAnalysis.php +189 -0
  664. package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/Analysis/StartEndTokenAwareAnalysis.php +33 -0
  665. package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/Analysis/SwitchAnalysis.php +54 -0
  666. package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/Analysis/TypeAnalysis.php +116 -0
  667. package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/ArgumentsAnalyzer.php +161 -0
  668. package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/AttributeAnalyzer.php +211 -0
  669. package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/BlocksAnalyzer.php +59 -0
  670. package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/ClassyAnalyzer.php +87 -0
  671. package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/CommentsAnalyzer.php +370 -0
  672. package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/ControlCaseStructuresAnalyzer.php +312 -0
  673. package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/DataProviderAnalyzer.php +115 -0
  674. package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/FullyQualifiedNameAnalyzer.php +103 -0
  675. package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/FunctionsAnalyzer.php +281 -0
  676. package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/GotoLabelAnalyzer.php +40 -0
  677. package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/NamespaceUsesAnalyzer.php +216 -0
  678. package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/NamespacesAnalyzer.php +116 -0
  679. package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/RangeAnalyzer.php +90 -0
  680. package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/ReferenceAnalyzer.php +49 -0
  681. package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/SwitchAnalyzer.php +71 -0
  682. package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/WhitespacesAnalyzer.php +52 -0
  683. package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/CT.php +112 -0
  684. package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Processor/ImportProcessor.php +103 -0
  685. package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Token.php +541 -0
  686. package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Tokens.php +1584 -0
  687. package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/TokensAnalyzer.php +894 -0
  688. package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Transformer/ArrayTypehintTransformer.php +54 -0
  689. package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Transformer/AttributeTransformer.php +67 -0
  690. package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Transformer/BraceClassInstantiationTransformer.php +80 -0
  691. package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Transformer/BraceTransformer.php +349 -0
  692. package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Transformer/ClassConstantTransformer.php +57 -0
  693. package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Transformer/ConstructorPromotionTransformer.php +71 -0
  694. package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Transformer/DisjunctiveNormalFormTypeParenthesisTransformer.php +65 -0
  695. package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Transformer/FirstClassCallableTransformer.php +49 -0
  696. package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Transformer/ImportTransformer.php +72 -0
  697. package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Transformer/NameQualifiedTransformer.php +67 -0
  698. package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Transformer/NamedArgumentTransformer.php +73 -0
  699. package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Transformer/NamespaceOperatorTransformer.php +53 -0
  700. package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Transformer/NullableTypeTransformer.php +83 -0
  701. package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Transformer/ReturnRefTransformer.php +47 -0
  702. package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Transformer/SquareBraceTransformer.php +187 -0
  703. package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Transformer/TypeAlternationTransformer.php +57 -0
  704. package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Transformer/TypeColonTransformer.php +83 -0
  705. package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Transformer/TypeIntersectionTransformer.php +55 -0
  706. package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Transformer/UseTransformer.php +102 -0
  707. package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Transformer/WhitespacyCommentTransformer.php +64 -0
  708. package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/TransformerInterface.php +68 -0
  709. package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Transformers.php +109 -0
  710. package/vendor/friendsofphp/php-cs-fixer/src/ToolInfo.php +120 -0
  711. package/vendor/friendsofphp/php-cs-fixer/src/ToolInfoInterface.php +38 -0
  712. package/vendor/friendsofphp/php-cs-fixer/src/Utils.php +250 -0
  713. package/vendor/friendsofphp/php-cs-fixer/src/WhitespacesFixerConfig.php +63 -0
  714. package/vendor/friendsofphp/php-cs-fixer/src/WordMatcher.php +55 -0
  715. package/vendor/psr/container/LICENSE +21 -0
  716. package/vendor/psr/container/README.md +13 -0
  717. package/vendor/psr/container/composer.json +27 -0
  718. package/vendor/psr/container/src/ContainerExceptionInterface.php +12 -0
  719. package/vendor/psr/container/src/ContainerInterface.php +36 -0
  720. package/vendor/psr/container/src/NotFoundExceptionInterface.php +10 -0
  721. package/vendor/psr/event-dispatcher/.editorconfig +15 -0
  722. package/vendor/psr/event-dispatcher/LICENSE +21 -0
  723. package/vendor/psr/event-dispatcher/README.md +6 -0
  724. package/vendor/psr/event-dispatcher/composer.json +26 -0
  725. package/vendor/psr/event-dispatcher/src/EventDispatcherInterface.php +21 -0
  726. package/vendor/psr/event-dispatcher/src/ListenerProviderInterface.php +19 -0
  727. package/vendor/psr/event-dispatcher/src/StoppableEventInterface.php +26 -0
  728. package/vendor/psr/log/LICENSE +19 -0
  729. package/vendor/psr/log/README.md +58 -0
  730. package/vendor/psr/log/composer.json +26 -0
  731. package/vendor/psr/log/src/AbstractLogger.php +15 -0
  732. package/vendor/psr/log/src/InvalidArgumentException.php +7 -0
  733. package/vendor/psr/log/src/LogLevel.php +18 -0
  734. package/vendor/psr/log/src/LoggerAwareInterface.php +14 -0
  735. package/vendor/psr/log/src/LoggerAwareTrait.php +22 -0
  736. package/vendor/psr/log/src/LoggerInterface.php +98 -0
  737. package/vendor/psr/log/src/LoggerTrait.php +98 -0
  738. package/vendor/psr/log/src/NullLogger.php +26 -0
  739. package/vendor/react/cache/CHANGELOG.md +96 -0
  740. package/vendor/react/cache/LICENSE +21 -0
  741. package/vendor/react/cache/README.md +367 -0
  742. package/vendor/react/cache/composer.json +45 -0
  743. package/vendor/react/cache/src/ArrayCache.php +181 -0
  744. package/vendor/react/cache/src/CacheInterface.php +194 -0
  745. package/vendor/react/child-process/CHANGELOG.md +176 -0
  746. package/vendor/react/child-process/LICENSE +21 -0
  747. package/vendor/react/child-process/README.md +619 -0
  748. package/vendor/react/child-process/composer.json +49 -0
  749. package/vendor/react/child-process/src/Process.php +585 -0
  750. package/vendor/react/dns/CHANGELOG.md +452 -0
  751. package/vendor/react/dns/LICENSE +21 -0
  752. package/vendor/react/dns/README.md +453 -0
  753. package/vendor/react/dns/composer.json +49 -0
  754. package/vendor/react/dns/src/BadServerException.php +7 -0
  755. package/vendor/react/dns/src/Config/Config.php +137 -0
  756. package/vendor/react/dns/src/Config/HostsFile.php +153 -0
  757. package/vendor/react/dns/src/Model/Message.php +230 -0
  758. package/vendor/react/dns/src/Model/Record.php +153 -0
  759. package/vendor/react/dns/src/Protocol/BinaryDumper.php +199 -0
  760. package/vendor/react/dns/src/Protocol/Parser.php +356 -0
  761. package/vendor/react/dns/src/Query/CachingExecutor.php +88 -0
  762. package/vendor/react/dns/src/Query/CancellationException.php +7 -0
  763. package/vendor/react/dns/src/Query/CoopExecutor.php +91 -0
  764. package/vendor/react/dns/src/Query/ExecutorInterface.php +43 -0
  765. package/vendor/react/dns/src/Query/FallbackExecutor.php +49 -0
  766. package/vendor/react/dns/src/Query/HostsFileExecutor.php +89 -0
  767. package/vendor/react/dns/src/Query/Query.php +69 -0
  768. package/vendor/react/dns/src/Query/RetryExecutor.php +85 -0
  769. package/vendor/react/dns/src/Query/SelectiveTransportExecutor.php +85 -0
  770. package/vendor/react/dns/src/Query/TcpTransportExecutor.php +382 -0
  771. package/vendor/react/dns/src/Query/TimeoutException.php +7 -0
  772. package/vendor/react/dns/src/Query/TimeoutExecutor.php +78 -0
  773. package/vendor/react/dns/src/Query/UdpTransportExecutor.php +221 -0
  774. package/vendor/react/dns/src/RecordNotFoundException.php +7 -0
  775. package/vendor/react/dns/src/Resolver/Factory.php +226 -0
  776. package/vendor/react/dns/src/Resolver/Resolver.php +147 -0
  777. package/vendor/react/dns/src/Resolver/ResolverInterface.php +94 -0
  778. package/vendor/react/event-loop/CHANGELOG.md +468 -0
  779. package/vendor/react/event-loop/LICENSE +21 -0
  780. package/vendor/react/event-loop/README.md +930 -0
  781. package/vendor/react/event-loop/composer.json +47 -0
  782. package/vendor/react/event-loop/src/ExtEvLoop.php +253 -0
  783. package/vendor/react/event-loop/src/ExtEventLoop.php +275 -0
  784. package/vendor/react/event-loop/src/ExtLibevLoop.php +201 -0
  785. package/vendor/react/event-loop/src/ExtLibeventLoop.php +285 -0
  786. package/vendor/react/event-loop/src/ExtUvLoop.php +342 -0
  787. package/vendor/react/event-loop/src/Factory.php +75 -0
  788. package/vendor/react/event-loop/src/Loop.php +266 -0
  789. package/vendor/react/event-loop/src/LoopInterface.php +472 -0
  790. package/vendor/react/event-loop/src/SignalsHandler.php +63 -0
  791. package/vendor/react/event-loop/src/StreamSelectLoop.php +330 -0
  792. package/vendor/react/event-loop/src/Tick/FutureTickQueue.php +60 -0
  793. package/vendor/react/event-loop/src/Timer/Timer.php +55 -0
  794. package/vendor/react/event-loop/src/Timer/Timers.php +113 -0
  795. package/vendor/react/event-loop/src/TimerInterface.php +27 -0
  796. package/vendor/react/promise/CHANGELOG.md +156 -0
  797. package/vendor/react/promise/LICENSE +24 -0
  798. package/vendor/react/promise/README.md +722 -0
  799. package/vendor/react/promise/composer.json +57 -0
  800. package/vendor/react/promise/src/Deferred.php +52 -0
  801. package/vendor/react/promise/src/Exception/CompositeException.php +32 -0
  802. package/vendor/react/promise/src/Exception/LengthException.php +7 -0
  803. package/vendor/react/promise/src/Internal/CancellationQueue.php +64 -0
  804. package/vendor/react/promise/src/Internal/FulfilledPromise.php +89 -0
  805. package/vendor/react/promise/src/Internal/RejectedPromise.php +128 -0
  806. package/vendor/react/promise/src/Promise.php +303 -0
  807. package/vendor/react/promise/src/PromiseInterface.php +152 -0
  808. package/vendor/react/promise/src/functions.php +345 -0
  809. package/vendor/react/promise/src/functions_include.php +5 -0
  810. package/vendor/react/socket/CHANGELOG.md +785 -0
  811. package/vendor/react/socket/LICENSE +21 -0
  812. package/vendor/react/socket/README.md +1564 -0
  813. package/vendor/react/socket/composer.json +52 -0
  814. package/vendor/react/socket/src/Connection.php +183 -0
  815. package/vendor/react/socket/src/ConnectionInterface.php +119 -0
  816. package/vendor/react/socket/src/Connector.php +236 -0
  817. package/vendor/react/socket/src/ConnectorInterface.php +59 -0
  818. package/vendor/react/socket/src/DnsConnector.php +117 -0
  819. package/vendor/react/socket/src/FdServer.php +222 -0
  820. package/vendor/react/socket/src/FixedUriConnector.php +41 -0
  821. package/vendor/react/socket/src/HappyEyeBallsConnectionBuilder.php +334 -0
  822. package/vendor/react/socket/src/HappyEyeBallsConnector.php +80 -0
  823. package/vendor/react/socket/src/LimitingServer.php +203 -0
  824. package/vendor/react/socket/src/SecureConnector.php +132 -0
  825. package/vendor/react/socket/src/SecureServer.php +210 -0
  826. package/vendor/react/socket/src/Server.php +118 -0
  827. package/vendor/react/socket/src/ServerInterface.php +151 -0
  828. package/vendor/react/socket/src/SocketServer.php +215 -0
  829. package/vendor/react/socket/src/StreamEncryption.php +158 -0
  830. package/vendor/react/socket/src/TcpConnector.php +173 -0
  831. package/vendor/react/socket/src/TcpServer.php +262 -0
  832. package/vendor/react/socket/src/TimeoutConnector.php +79 -0
  833. package/vendor/react/socket/src/UnixConnector.php +58 -0
  834. package/vendor/react/socket/src/UnixServer.php +162 -0
  835. package/vendor/react/stream/CHANGELOG.md +460 -0
  836. package/vendor/react/stream/LICENSE +21 -0
  837. package/vendor/react/stream/README.md +1249 -0
  838. package/vendor/react/stream/composer.json +47 -0
  839. package/vendor/react/stream/src/CompositeStream.php +83 -0
  840. package/vendor/react/stream/src/DuplexResourceStream.php +240 -0
  841. package/vendor/react/stream/src/DuplexStreamInterface.php +39 -0
  842. package/vendor/react/stream/src/ReadableResourceStream.php +188 -0
  843. package/vendor/react/stream/src/ReadableStreamInterface.php +362 -0
  844. package/vendor/react/stream/src/ThroughStream.php +195 -0
  845. package/vendor/react/stream/src/Util.php +75 -0
  846. package/vendor/react/stream/src/WritableResourceStream.php +178 -0
  847. package/vendor/react/stream/src/WritableStreamInterface.php +347 -0
  848. package/vendor/sebastian/diff/ChangeLog.md +179 -0
  849. package/vendor/sebastian/diff/LICENSE +29 -0
  850. package/vendor/sebastian/diff/README.md +151 -0
  851. package/vendor/sebastian/diff/SECURITY.md +30 -0
  852. package/vendor/sebastian/diff/composer.json +51 -0
  853. package/vendor/sebastian/diff/src/Chunk.php +83 -0
  854. package/vendor/sebastian/diff/src/Diff.php +84 -0
  855. package/vendor/sebastian/diff/src/Differ.php +247 -0
  856. package/vendor/sebastian/diff/src/Exception/ConfigurationException.php +32 -0
  857. package/vendor/sebastian/diff/src/Exception/Exception.php +16 -0
  858. package/vendor/sebastian/diff/src/Exception/InvalidArgumentException.php +14 -0
  859. package/vendor/sebastian/diff/src/Line.php +50 -0
  860. package/vendor/sebastian/diff/src/LongestCommonSubsequenceCalculator.php +18 -0
  861. package/vendor/sebastian/diff/src/MemoryEfficientLongestCommonSubsequenceCalculator.php +96 -0
  862. package/vendor/sebastian/diff/src/Output/AbstractChunkOutputBuilder.php +54 -0
  863. package/vendor/sebastian/diff/src/Output/DiffOnlyOutputBuilder.php +74 -0
  864. package/vendor/sebastian/diff/src/Output/DiffOutputBuilderInterface.php +19 -0
  865. package/vendor/sebastian/diff/src/Output/StrictUnifiedDiffOutputBuilder.php +331 -0
  866. package/vendor/sebastian/diff/src/Output/UnifiedDiffOutputBuilder.php +261 -0
  867. package/vendor/sebastian/diff/src/Parser.php +116 -0
  868. package/vendor/sebastian/diff/src/TimeEfficientLongestCommonSubsequenceCalculator.php +81 -0
  869. package/vendor/symfony/console/Application.php +1328 -0
  870. package/vendor/symfony/console/Attribute/Argument.php +110 -0
  871. package/vendor/symfony/console/Attribute/AsCommand.php +49 -0
  872. package/vendor/symfony/console/Attribute/Option.php +181 -0
  873. package/vendor/symfony/console/CHANGELOG.md +299 -0
  874. package/vendor/symfony/console/CI/GithubActionReporter.php +97 -0
  875. package/vendor/symfony/console/Color.php +133 -0
  876. package/vendor/symfony/console/Command/Command.php +700 -0
  877. package/vendor/symfony/console/Command/CompleteCommand.php +212 -0
  878. package/vendor/symfony/console/Command/DumpCompletionCommand.php +151 -0
  879. package/vendor/symfony/console/Command/HelpCommand.php +76 -0
  880. package/vendor/symfony/console/Command/InvokableCommand.php +157 -0
  881. package/vendor/symfony/console/Command/LazyCommand.php +206 -0
  882. package/vendor/symfony/console/Command/ListCommand.php +72 -0
  883. package/vendor/symfony/console/Command/LockableTrait.php +85 -0
  884. package/vendor/symfony/console/Command/SignalableCommandInterface.php +32 -0
  885. package/vendor/symfony/console/Command/TraceableCommand.php +365 -0
  886. package/vendor/symfony/console/CommandLoader/CommandLoaderInterface.php +38 -0
  887. package/vendor/symfony/console/CommandLoader/ContainerCommandLoader.php +52 -0
  888. package/vendor/symfony/console/CommandLoader/FactoryCommandLoader.php +52 -0
  889. package/vendor/symfony/console/Completion/CompletionInput.php +248 -0
  890. package/vendor/symfony/console/Completion/CompletionSuggestions.php +97 -0
  891. package/vendor/symfony/console/Completion/Output/BashCompletionOutput.php +33 -0
  892. package/vendor/symfony/console/Completion/Output/CompletionOutputInterface.php +25 -0
  893. package/vendor/symfony/console/Completion/Output/FishCompletionOutput.php +36 -0
  894. package/vendor/symfony/console/Completion/Output/ZshCompletionOutput.php +36 -0
  895. package/vendor/symfony/console/Completion/Suggestion.php +41 -0
  896. package/vendor/symfony/console/ConsoleEvents.php +72 -0
  897. package/vendor/symfony/console/Cursor.php +204 -0
  898. package/vendor/symfony/console/DataCollector/CommandDataCollector.php +238 -0
  899. package/vendor/symfony/console/Debug/CliRequest.php +70 -0
  900. package/vendor/symfony/console/DependencyInjection/AddConsoleCommandPass.php +155 -0
  901. package/vendor/symfony/console/Descriptor/ApplicationDescription.php +136 -0
  902. package/vendor/symfony/console/Descriptor/Descriptor.php +74 -0
  903. package/vendor/symfony/console/Descriptor/DescriptorInterface.php +24 -0
  904. package/vendor/symfony/console/Descriptor/JsonDescriptor.php +166 -0
  905. package/vendor/symfony/console/Descriptor/MarkdownDescriptor.php +173 -0
  906. package/vendor/symfony/console/Descriptor/ReStructuredTextDescriptor.php +273 -0
  907. package/vendor/symfony/console/Descriptor/TextDescriptor.php +317 -0
  908. package/vendor/symfony/console/Descriptor/XmlDescriptor.php +230 -0
  909. package/vendor/symfony/console/Event/ConsoleAlarmEvent.php +47 -0
  910. package/vendor/symfony/console/Event/ConsoleCommandEvent.php +54 -0
  911. package/vendor/symfony/console/Event/ConsoleErrorEvent.php +58 -0
  912. package/vendor/symfony/console/Event/ConsoleEvent.php +56 -0
  913. package/vendor/symfony/console/Event/ConsoleSignalEvent.php +56 -0
  914. package/vendor/symfony/console/Event/ConsoleTerminateEvent.php +50 -0
  915. package/vendor/symfony/console/EventListener/ErrorListener.php +89 -0
  916. package/vendor/symfony/console/Exception/CommandNotFoundException.php +43 -0
  917. package/vendor/symfony/console/Exception/ExceptionInterface.php +21 -0
  918. package/vendor/symfony/console/Exception/InvalidArgumentException.php +19 -0
  919. package/vendor/symfony/console/Exception/InvalidOptionException.php +21 -0
  920. package/vendor/symfony/console/Exception/LogicException.php +19 -0
  921. package/vendor/symfony/console/Exception/MissingInputException.php +21 -0
  922. package/vendor/symfony/console/Exception/NamespaceNotFoundException.php +21 -0
  923. package/vendor/symfony/console/Exception/RunCommandFailedException.php +29 -0
  924. package/vendor/symfony/console/Exception/RuntimeException.php +19 -0
  925. package/vendor/symfony/console/Formatter/NullOutputFormatter.php +51 -0
  926. package/vendor/symfony/console/Formatter/NullOutputFormatterStyle.php +48 -0
  927. package/vendor/symfony/console/Formatter/OutputFormatter.php +267 -0
  928. package/vendor/symfony/console/Formatter/OutputFormatterInterface.php +52 -0
  929. package/vendor/symfony/console/Formatter/OutputFormatterStyle.php +89 -0
  930. package/vendor/symfony/console/Formatter/OutputFormatterStyleInterface.php +50 -0
  931. package/vendor/symfony/console/Formatter/OutputFormatterStyleStack.php +103 -0
  932. package/vendor/symfony/console/Formatter/WrappableOutputFormatterInterface.php +25 -0
  933. package/vendor/symfony/console/Helper/DebugFormatterHelper.php +98 -0
  934. package/vendor/symfony/console/Helper/DescriptorHelper.php +91 -0
  935. package/vendor/symfony/console/Helper/Dumper.php +53 -0
  936. package/vendor/symfony/console/Helper/FormatterHelper.php +81 -0
  937. package/vendor/symfony/console/Helper/Helper.php +161 -0
  938. package/vendor/symfony/console/Helper/HelperInterface.php +35 -0
  939. package/vendor/symfony/console/Helper/HelperSet.php +74 -0
  940. package/vendor/symfony/console/Helper/InputAwareHelper.php +30 -0
  941. package/vendor/symfony/console/Helper/OutputWrapper.php +76 -0
  942. package/vendor/symfony/console/Helper/ProcessHelper.php +137 -0
  943. package/vendor/symfony/console/Helper/ProgressBar.php +654 -0
  944. package/vendor/symfony/console/Helper/ProgressIndicator.php +242 -0
  945. package/vendor/symfony/console/Helper/QuestionHelper.php +589 -0
  946. package/vendor/symfony/console/Helper/SymfonyQuestionHelper.php +103 -0
  947. package/vendor/symfony/console/Helper/Table.php +934 -0
  948. package/vendor/symfony/console/Helper/TableCell.php +71 -0
  949. package/vendor/symfony/console/Helper/TableCellStyle.php +84 -0
  950. package/vendor/symfony/console/Helper/TableRows.php +28 -0
  951. package/vendor/symfony/console/Helper/TableSeparator.php +25 -0
  952. package/vendor/symfony/console/Helper/TableStyle.php +375 -0
  953. package/vendor/symfony/console/Helper/TreeHelper.php +111 -0
  954. package/vendor/symfony/console/Helper/TreeNode.php +105 -0
  955. package/vendor/symfony/console/Helper/TreeStyle.php +78 -0
  956. package/vendor/symfony/console/Input/ArgvInput.php +402 -0
  957. package/vendor/symfony/console/Input/ArrayInput.php +191 -0
  958. package/vendor/symfony/console/Input/Input.php +174 -0
  959. package/vendor/symfony/console/Input/InputArgument.php +160 -0
  960. package/vendor/symfony/console/Input/InputAwareInterface.php +26 -0
  961. package/vendor/symfony/console/Input/InputDefinition.php +402 -0
  962. package/vendor/symfony/console/Input/InputInterface.php +138 -0
  963. package/vendor/symfony/console/Input/InputOption.php +262 -0
  964. package/vendor/symfony/console/Input/StreamableInputInterface.php +37 -0
  965. package/vendor/symfony/console/Input/StringInput.php +85 -0
  966. package/vendor/symfony/console/LICENSE +19 -0
  967. package/vendor/symfony/console/Logger/ConsoleLogger.php +120 -0
  968. package/vendor/symfony/console/Messenger/RunCommandContext.php +25 -0
  969. package/vendor/symfony/console/Messenger/RunCommandMessage.php +36 -0
  970. package/vendor/symfony/console/Messenger/RunCommandMessageHandler.php +49 -0
  971. package/vendor/symfony/console/Output/AnsiColorMode.php +106 -0
  972. package/vendor/symfony/console/Output/BufferedOutput.php +40 -0
  973. package/vendor/symfony/console/Output/ConsoleOutput.php +153 -0
  974. package/vendor/symfony/console/Output/ConsoleOutputInterface.php +30 -0
  975. package/vendor/symfony/console/Output/ConsoleSectionOutput.php +237 -0
  976. package/vendor/symfony/console/Output/NullOutput.php +94 -0
  977. package/vendor/symfony/console/Output/Output.php +144 -0
  978. package/vendor/symfony/console/Output/OutputInterface.php +103 -0
  979. package/vendor/symfony/console/Output/StreamOutput.php +127 -0
  980. package/vendor/symfony/console/Output/TrimmedBufferOutput.php +58 -0
  981. package/vendor/symfony/console/Question/ChoiceQuestion.php +178 -0
  982. package/vendor/symfony/console/Question/ConfirmationQuestion.php +57 -0
  983. package/vendor/symfony/console/Question/Question.php +280 -0
  984. package/vendor/symfony/console/README.md +27 -0
  985. package/vendor/symfony/console/Resources/bin/hiddeninput.exe +0 -0
  986. package/vendor/symfony/console/Resources/completion.bash +94 -0
  987. package/vendor/symfony/console/Resources/completion.fish +25 -0
  988. package/vendor/symfony/console/Resources/completion.zsh +82 -0
  989. package/vendor/symfony/console/SignalRegistry/SignalMap.php +36 -0
  990. package/vendor/symfony/console/SignalRegistry/SignalRegistry.php +65 -0
  991. package/vendor/symfony/console/SingleCommandApplication.php +72 -0
  992. package/vendor/symfony/console/Style/OutputStyle.php +115 -0
  993. package/vendor/symfony/console/Style/StyleInterface.php +110 -0
  994. package/vendor/symfony/console/Style/SymfonyStyle.php +476 -0
  995. package/vendor/symfony/console/Terminal.php +227 -0
  996. package/vendor/symfony/console/Tester/ApplicationTester.php +83 -0
  997. package/vendor/symfony/console/Tester/CommandCompletionTester.php +54 -0
  998. package/vendor/symfony/console/Tester/CommandTester.php +74 -0
  999. package/vendor/symfony/console/Tester/Constraint/CommandIsSuccessful.php +43 -0
  1000. package/vendor/symfony/console/Tester/TesterTrait.php +178 -0
  1001. package/vendor/symfony/console/composer.json +55 -0
  1002. package/vendor/symfony/deprecation-contracts/CHANGELOG.md +5 -0
  1003. package/vendor/symfony/deprecation-contracts/LICENSE +19 -0
  1004. package/vendor/symfony/deprecation-contracts/README.md +26 -0
  1005. package/vendor/symfony/deprecation-contracts/composer.json +35 -0
  1006. package/vendor/symfony/deprecation-contracts/function.php +27 -0
  1007. package/vendor/symfony/event-dispatcher/Attribute/AsEventListener.php +35 -0
  1008. package/vendor/symfony/event-dispatcher/CHANGELOG.md +96 -0
  1009. package/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php +355 -0
  1010. package/vendor/symfony/event-dispatcher/Debug/WrappedListener.php +143 -0
  1011. package/vendor/symfony/event-dispatcher/DependencyInjection/AddEventAliasesPass.php +38 -0
  1012. package/vendor/symfony/event-dispatcher/DependencyInjection/RegisterListenersPass.php +213 -0
  1013. package/vendor/symfony/event-dispatcher/EventDispatcher.php +256 -0
  1014. package/vendor/symfony/event-dispatcher/EventDispatcherInterface.php +66 -0
  1015. package/vendor/symfony/event-dispatcher/EventSubscriberInterface.php +49 -0
  1016. package/vendor/symfony/event-dispatcher/GenericEvent.php +155 -0
  1017. package/vendor/symfony/event-dispatcher/ImmutableEventDispatcher.php +65 -0
  1018. package/vendor/symfony/event-dispatcher/LICENSE +19 -0
  1019. package/vendor/symfony/event-dispatcher/README.md +15 -0
  1020. package/vendor/symfony/event-dispatcher/composer.json +47 -0
  1021. package/vendor/symfony/event-dispatcher-contracts/CHANGELOG.md +5 -0
  1022. package/vendor/symfony/event-dispatcher-contracts/Event.php +51 -0
  1023. package/vendor/symfony/event-dispatcher-contracts/EventDispatcherInterface.php +33 -0
  1024. package/vendor/symfony/event-dispatcher-contracts/LICENSE +19 -0
  1025. package/vendor/symfony/event-dispatcher-contracts/README.md +9 -0
  1026. package/vendor/symfony/event-dispatcher-contracts/composer.json +35 -0
  1027. package/vendor/symfony/filesystem/CHANGELOG.md +92 -0
  1028. package/vendor/symfony/filesystem/Exception/ExceptionInterface.php +21 -0
  1029. package/vendor/symfony/filesystem/Exception/FileNotFoundException.php +34 -0
  1030. package/vendor/symfony/filesystem/Exception/IOException.php +36 -0
  1031. package/vendor/symfony/filesystem/Exception/IOExceptionInterface.php +25 -0
  1032. package/vendor/symfony/filesystem/Exception/InvalidArgumentException.php +19 -0
  1033. package/vendor/symfony/filesystem/Exception/RuntimeException.php +19 -0
  1034. package/vendor/symfony/filesystem/Filesystem.php +773 -0
  1035. package/vendor/symfony/filesystem/LICENSE +19 -0
  1036. package/vendor/symfony/filesystem/Path.php +816 -0
  1037. package/vendor/symfony/filesystem/README.md +13 -0
  1038. package/vendor/symfony/filesystem/composer.json +33 -0
  1039. package/vendor/symfony/finder/CHANGELOG.md +103 -0
  1040. package/vendor/symfony/finder/Comparator/Comparator.php +62 -0
  1041. package/vendor/symfony/finder/Comparator/DateComparator.php +50 -0
  1042. package/vendor/symfony/finder/Comparator/NumberComparator.php +78 -0
  1043. package/vendor/symfony/finder/Exception/AccessDeniedException.php +19 -0
  1044. package/vendor/symfony/finder/Exception/DirectoryNotFoundException.php +19 -0
  1045. package/vendor/symfony/finder/Finder.php +852 -0
  1046. package/vendor/symfony/finder/Gitignore.php +91 -0
  1047. package/vendor/symfony/finder/Glob.php +109 -0
  1048. package/vendor/symfony/finder/Iterator/CustomFilterIterator.php +61 -0
  1049. package/vendor/symfony/finder/Iterator/DateRangeFilterIterator.php +58 -0
  1050. package/vendor/symfony/finder/Iterator/DepthRangeFilterIterator.php +48 -0
  1051. package/vendor/symfony/finder/Iterator/ExcludeDirectoryFilterIterator.php +110 -0
  1052. package/vendor/symfony/finder/Iterator/FileTypeFilterIterator.php +51 -0
  1053. package/vendor/symfony/finder/Iterator/FilecontentFilterIterator.php +58 -0
  1054. package/vendor/symfony/finder/Iterator/FilenameFilterIterator.php +45 -0
  1055. package/vendor/symfony/finder/Iterator/LazyIterator.php +32 -0
  1056. package/vendor/symfony/finder/Iterator/MultiplePcreFilterIterator.php +107 -0
  1057. package/vendor/symfony/finder/Iterator/PathFilterIterator.php +56 -0
  1058. package/vendor/symfony/finder/Iterator/RecursiveDirectoryIterator.php +134 -0
  1059. package/vendor/symfony/finder/Iterator/SizeRangeFilterIterator.php +57 -0
  1060. package/vendor/symfony/finder/Iterator/SortableIterator.php +103 -0
  1061. package/vendor/symfony/finder/Iterator/VcsIgnoredFilterIterator.php +173 -0
  1062. package/vendor/symfony/finder/LICENSE +19 -0
  1063. package/vendor/symfony/finder/README.md +14 -0
  1064. package/vendor/symfony/finder/SplFileInfo.php +80 -0
  1065. package/vendor/symfony/finder/composer.json +31 -0
  1066. package/vendor/symfony/options-resolver/CHANGELOG.md +103 -0
  1067. package/vendor/symfony/options-resolver/Debug/OptionsResolverIntrospector.php +114 -0
  1068. package/vendor/symfony/options-resolver/Exception/AccessException.php +22 -0
  1069. package/vendor/symfony/options-resolver/Exception/ExceptionInterface.php +21 -0
  1070. package/vendor/symfony/options-resolver/Exception/InvalidArgumentException.php +21 -0
  1071. package/vendor/symfony/options-resolver/Exception/InvalidOptionsException.php +23 -0
  1072. package/vendor/symfony/options-resolver/Exception/MissingOptionsException.php +23 -0
  1073. package/vendor/symfony/options-resolver/Exception/NoConfigurationException.php +26 -0
  1074. package/vendor/symfony/options-resolver/Exception/NoSuchOptionException.php +26 -0
  1075. package/vendor/symfony/options-resolver/Exception/OptionDefinitionException.php +21 -0
  1076. package/vendor/symfony/options-resolver/Exception/UndefinedOptionsException.php +24 -0
  1077. package/vendor/symfony/options-resolver/LICENSE +19 -0
  1078. package/vendor/symfony/options-resolver/OptionConfigurator.php +160 -0
  1079. package/vendor/symfony/options-resolver/Options.php +22 -0
  1080. package/vendor/symfony/options-resolver/OptionsResolver.php +1396 -0
  1081. package/vendor/symfony/options-resolver/README.md +15 -0
  1082. package/vendor/symfony/options-resolver/composer.json +29 -0
  1083. package/vendor/symfony/polyfill-ctype/Ctype.php +232 -0
  1084. package/vendor/symfony/polyfill-ctype/LICENSE +19 -0
  1085. package/vendor/symfony/polyfill-ctype/README.md +12 -0
  1086. package/vendor/symfony/polyfill-ctype/bootstrap.php +50 -0
  1087. package/vendor/symfony/polyfill-ctype/bootstrap80.php +46 -0
  1088. package/vendor/symfony/polyfill-ctype/composer.json +38 -0
  1089. package/vendor/symfony/polyfill-intl-grapheme/Grapheme.php +247 -0
  1090. package/vendor/symfony/polyfill-intl-grapheme/LICENSE +19 -0
  1091. package/vendor/symfony/polyfill-intl-grapheme/README.md +31 -0
  1092. package/vendor/symfony/polyfill-intl-grapheme/bootstrap.php +58 -0
  1093. package/vendor/symfony/polyfill-intl-grapheme/bootstrap80.php +50 -0
  1094. package/vendor/symfony/polyfill-intl-grapheme/composer.json +35 -0
  1095. package/vendor/symfony/polyfill-intl-normalizer/LICENSE +19 -0
  1096. package/vendor/symfony/polyfill-intl-normalizer/Normalizer.php +310 -0
  1097. package/vendor/symfony/polyfill-intl-normalizer/README.md +14 -0
  1098. package/vendor/symfony/polyfill-intl-normalizer/Resources/stubs/Normalizer.php +17 -0
  1099. package/vendor/symfony/polyfill-intl-normalizer/Resources/unidata/canonicalComposition.php +945 -0
  1100. package/vendor/symfony/polyfill-intl-normalizer/Resources/unidata/canonicalDecomposition.php +2065 -0
  1101. package/vendor/symfony/polyfill-intl-normalizer/Resources/unidata/combiningClass.php +876 -0
  1102. package/vendor/symfony/polyfill-intl-normalizer/Resources/unidata/compatibilityDecomposition.php +3695 -0
  1103. package/vendor/symfony/polyfill-intl-normalizer/bootstrap.php +23 -0
  1104. package/vendor/symfony/polyfill-intl-normalizer/bootstrap80.php +19 -0
  1105. package/vendor/symfony/polyfill-intl-normalizer/composer.json +36 -0
  1106. package/vendor/symfony/polyfill-mbstring/LICENSE +19 -0
  1107. package/vendor/symfony/polyfill-mbstring/Mbstring.php +1045 -0
  1108. package/vendor/symfony/polyfill-mbstring/README.md +13 -0
  1109. package/vendor/symfony/polyfill-mbstring/Resources/unidata/caseFolding.php +119 -0
  1110. package/vendor/symfony/polyfill-mbstring/Resources/unidata/lowerCase.php +1397 -0
  1111. package/vendor/symfony/polyfill-mbstring/Resources/unidata/titleCaseRegexp.php +5 -0
  1112. package/vendor/symfony/polyfill-mbstring/Resources/unidata/upperCase.php +1489 -0
  1113. package/vendor/symfony/polyfill-mbstring/bootstrap.php +172 -0
  1114. package/vendor/symfony/polyfill-mbstring/bootstrap80.php +167 -0
  1115. package/vendor/symfony/polyfill-mbstring/composer.json +39 -0
  1116. package/vendor/symfony/polyfill-php80/LICENSE +19 -0
  1117. package/vendor/symfony/polyfill-php80/Php80.php +115 -0
  1118. package/vendor/symfony/polyfill-php80/PhpToken.php +106 -0
  1119. package/vendor/symfony/polyfill-php80/README.md +25 -0
  1120. package/vendor/symfony/polyfill-php80/Resources/stubs/Attribute.php +31 -0
  1121. package/vendor/symfony/polyfill-php80/Resources/stubs/PhpToken.php +16 -0
  1122. package/vendor/symfony/polyfill-php80/Resources/stubs/Stringable.php +20 -0
  1123. package/vendor/symfony/polyfill-php80/Resources/stubs/UnhandledMatchError.php +16 -0
  1124. package/vendor/symfony/polyfill-php80/Resources/stubs/ValueError.php +16 -0
  1125. package/vendor/symfony/polyfill-php80/bootstrap.php +42 -0
  1126. package/vendor/symfony/polyfill-php80/composer.json +37 -0
  1127. package/vendor/symfony/polyfill-php81/LICENSE +19 -0
  1128. package/vendor/symfony/polyfill-php81/Php81.php +37 -0
  1129. package/vendor/symfony/polyfill-php81/README.md +18 -0
  1130. package/vendor/symfony/polyfill-php81/Resources/stubs/CURLStringFile.php +51 -0
  1131. package/vendor/symfony/polyfill-php81/Resources/stubs/ReturnTypeWillChange.php +20 -0
  1132. package/vendor/symfony/polyfill-php81/bootstrap.php +28 -0
  1133. package/vendor/symfony/polyfill-php81/composer.json +33 -0
  1134. package/vendor/symfony/process/CHANGELOG.md +134 -0
  1135. package/vendor/symfony/process/Exception/ExceptionInterface.php +21 -0
  1136. package/vendor/symfony/process/Exception/InvalidArgumentException.php +21 -0
  1137. package/vendor/symfony/process/Exception/LogicException.php +21 -0
  1138. package/vendor/symfony/process/Exception/ProcessFailedException.php +53 -0
  1139. package/vendor/symfony/process/Exception/ProcessSignaledException.php +38 -0
  1140. package/vendor/symfony/process/Exception/ProcessStartFailedException.php +43 -0
  1141. package/vendor/symfony/process/Exception/ProcessTimedOutException.php +60 -0
  1142. package/vendor/symfony/process/Exception/RunProcessFailedException.php +25 -0
  1143. package/vendor/symfony/process/Exception/RuntimeException.php +21 -0
  1144. package/vendor/symfony/process/ExecutableFinder.php +103 -0
  1145. package/vendor/symfony/process/InputStream.php +91 -0
  1146. package/vendor/symfony/process/LICENSE +19 -0
  1147. package/vendor/symfony/process/Messenger/RunProcessContext.php +33 -0
  1148. package/vendor/symfony/process/Messenger/RunProcessMessage.php +47 -0
  1149. package/vendor/symfony/process/Messenger/RunProcessMessageHandler.php +36 -0
  1150. package/vendor/symfony/process/PhpExecutableFinder.php +98 -0
  1151. package/vendor/symfony/process/PhpProcess.php +66 -0
  1152. package/vendor/symfony/process/PhpSubprocess.php +164 -0
  1153. package/vendor/symfony/process/Pipes/AbstractPipes.php +176 -0
  1154. package/vendor/symfony/process/Pipes/PipesInterface.php +61 -0
  1155. package/vendor/symfony/process/Pipes/UnixPipes.php +144 -0
  1156. package/vendor/symfony/process/Pipes/WindowsPipes.php +185 -0
  1157. package/vendor/symfony/process/Process.php +1662 -0
  1158. package/vendor/symfony/process/ProcessUtils.php +64 -0
  1159. package/vendor/symfony/process/README.md +13 -0
  1160. package/vendor/symfony/process/composer.json +28 -0
  1161. package/vendor/symfony/service-contracts/Attribute/Required.php +25 -0
  1162. package/vendor/symfony/service-contracts/Attribute/SubscribedService.php +47 -0
  1163. package/vendor/symfony/service-contracts/CHANGELOG.md +5 -0
  1164. package/vendor/symfony/service-contracts/LICENSE +19 -0
  1165. package/vendor/symfony/service-contracts/README.md +9 -0
  1166. package/vendor/symfony/service-contracts/ResetInterface.php +33 -0
  1167. package/vendor/symfony/service-contracts/ServiceCollectionInterface.php +26 -0
  1168. package/vendor/symfony/service-contracts/ServiceLocatorTrait.php +114 -0
  1169. package/vendor/symfony/service-contracts/ServiceMethodsSubscriberTrait.php +80 -0
  1170. package/vendor/symfony/service-contracts/ServiceProviderInterface.php +45 -0
  1171. package/vendor/symfony/service-contracts/ServiceSubscriberInterface.php +62 -0
  1172. package/vendor/symfony/service-contracts/ServiceSubscriberTrait.php +84 -0
  1173. package/vendor/symfony/service-contracts/Test/ServiceLocatorTest.php +23 -0
  1174. package/vendor/symfony/service-contracts/Test/ServiceLocatorTestCase.php +97 -0
  1175. package/vendor/symfony/service-contracts/composer.json +42 -0
  1176. package/vendor/symfony/stopwatch/CHANGELOG.md +30 -0
  1177. package/vendor/symfony/stopwatch/LICENSE +19 -0
  1178. package/vendor/symfony/stopwatch/README.md +42 -0
  1179. package/vendor/symfony/stopwatch/Section.php +155 -0
  1180. package/vendor/symfony/stopwatch/Stopwatch.php +163 -0
  1181. package/vendor/symfony/stopwatch/StopwatchEvent.php +238 -0
  1182. package/vendor/symfony/stopwatch/StopwatchPeriod.php +73 -0
  1183. package/vendor/symfony/stopwatch/composer.json +29 -0
  1184. package/vendor/symfony/string/AbstractString.php +723 -0
  1185. package/vendor/symfony/string/AbstractUnicodeString.php +670 -0
  1186. package/vendor/symfony/string/ByteString.php +490 -0
  1187. package/vendor/symfony/string/CHANGELOG.md +56 -0
  1188. package/vendor/symfony/string/CodePointString.php +260 -0
  1189. package/vendor/symfony/string/Exception/ExceptionInterface.php +16 -0
  1190. package/vendor/symfony/string/Exception/InvalidArgumentException.php +16 -0
  1191. package/vendor/symfony/string/Exception/RuntimeException.php +16 -0
  1192. package/vendor/symfony/string/Inflector/EnglishInflector.php +589 -0
  1193. package/vendor/symfony/string/Inflector/FrenchInflector.php +151 -0
  1194. package/vendor/symfony/string/Inflector/InflectorInterface.php +33 -0
  1195. package/vendor/symfony/string/Inflector/SpanishInflector.php +126 -0
  1196. package/vendor/symfony/string/LICENSE +19 -0
  1197. package/vendor/symfony/string/LazyString.php +145 -0
  1198. package/vendor/symfony/string/README.md +14 -0
  1199. package/vendor/symfony/string/Resources/data/wcswidth_table_wide.php +1182 -0
  1200. package/vendor/symfony/string/Resources/data/wcswidth_table_zero.php +1466 -0
  1201. package/vendor/symfony/string/Resources/functions.php +38 -0
  1202. package/vendor/symfony/string/Slugger/AsciiSlugger.php +207 -0
  1203. package/vendor/symfony/string/Slugger/SluggerInterface.php +27 -0
  1204. package/vendor/symfony/string/TruncateMode.php +42 -0
  1205. package/vendor/symfony/string/UnicodeString.php +382 -0
  1206. package/vendor/symfony/string/composer.json +44 -0
  1207. package/bin-codeformat.ts +0 -179
@@ -0,0 +1,527 @@
1
+ <?php
2
+
3
+ declare(strict_types=1);
4
+
5
+ /*
6
+ * This file is part of PHP CS Fixer.
7
+ *
8
+ * (c) Fabien Potencier <fabien@symfony.com>
9
+ * Dariusz Rumiński <dariusz.ruminski@gmail.com>
10
+ *
11
+ * This source file is subject to the MIT license that is bundled
12
+ * with this source code in the file LICENSE.
13
+ */
14
+
15
+ namespace PhpCsFixer\Fixer\ReturnNotation;
16
+
17
+ use PhpCsFixer\AbstractFixer;
18
+ use PhpCsFixer\FixerDefinition\CodeSample;
19
+ use PhpCsFixer\FixerDefinition\FixerDefinition;
20
+ use PhpCsFixer\FixerDefinition\FixerDefinitionInterface;
21
+ use PhpCsFixer\Tokenizer\CT;
22
+ use PhpCsFixer\Tokenizer\Token;
23
+ use PhpCsFixer\Tokenizer\Tokens;
24
+ use PhpCsFixer\Tokenizer\TokensAnalyzer;
25
+
26
+ final class ReturnAssignmentFixer extends AbstractFixer
27
+ {
28
+ private TokensAnalyzer $tokensAnalyzer;
29
+
30
+ public function getDefinition(): FixerDefinitionInterface
31
+ {
32
+ return new FixerDefinition(
33
+ 'Local, dynamic and directly referenced variables should not be assigned and directly returned by a function or method.',
34
+ [new CodeSample("<?php\nfunction a() {\n \$a = 1;\n return \$a;\n}\n")]
35
+ );
36
+ }
37
+
38
+ /**
39
+ * {@inheritdoc}
40
+ *
41
+ * Must run before BlankLineBeforeStatementFixer.
42
+ * Must run after NoEmptyStatementFixer, NoUnneededBracesFixer, NoUnneededCurlyBracesFixer.
43
+ */
44
+ public function getPriority(): int
45
+ {
46
+ return -15;
47
+ }
48
+
49
+ public function isCandidate(Tokens $tokens): bool
50
+ {
51
+ return $tokens->isAllTokenKindsFound([T_FUNCTION, T_RETURN, T_VARIABLE]);
52
+ }
53
+
54
+ protected function applyFix(\SplFileInfo $file, Tokens $tokens): void
55
+ {
56
+ $tokenCount = \count($tokens);
57
+ $this->tokensAnalyzer = new TokensAnalyzer($tokens);
58
+
59
+ for ($index = 1; $index < $tokenCount; ++$index) {
60
+ if (!$tokens[$index]->isGivenKind(T_FUNCTION)) {
61
+ continue;
62
+ }
63
+
64
+ $next = $tokens->getNextMeaningfulToken($index);
65
+ if ($tokens[$next]->isGivenKind(CT::T_RETURN_REF)) {
66
+ continue;
67
+ }
68
+
69
+ $functionOpenIndex = $tokens->getNextTokenOfKind($index, ['{', ';']);
70
+ if ($tokens[$functionOpenIndex]->equals(';')) { // abstract function
71
+ $index = $functionOpenIndex - 1;
72
+
73
+ continue;
74
+ }
75
+
76
+ $functionCloseIndex = $tokens->findBlockEnd(Tokens::BLOCK_TYPE_CURLY_BRACE, $functionOpenIndex);
77
+ $totalTokensAdded = 0;
78
+
79
+ do {
80
+ $tokensAdded = $this->fixFunction(
81
+ $tokens,
82
+ $index,
83
+ $functionOpenIndex,
84
+ $functionCloseIndex
85
+ );
86
+
87
+ $functionCloseIndex += $tokensAdded;
88
+ $totalTokensAdded += $tokensAdded;
89
+ } while ($tokensAdded > 0);
90
+
91
+ $index = $functionCloseIndex;
92
+ $tokenCount += $totalTokensAdded;
93
+ }
94
+ }
95
+
96
+ /**
97
+ * @param int $functionIndex token index of T_FUNCTION
98
+ * @param int $functionOpenIndex token index of the opening brace token of the function
99
+ * @param int $functionCloseIndex token index of the closing brace token of the function
100
+ *
101
+ * @return int >= 0 number of tokens inserted into the Tokens collection
102
+ */
103
+ private function fixFunction(Tokens $tokens, int $functionIndex, int $functionOpenIndex, int $functionCloseIndex): int
104
+ {
105
+ static $riskyKinds = [
106
+ CT::T_DYNAMIC_VAR_BRACE_OPEN, // "$h = ${$g};" case
107
+ T_EVAL, // "$c = eval('return $this;');" case
108
+ T_GLOBAL,
109
+ T_INCLUDE, // loading additional symbols we cannot analyze here
110
+ T_INCLUDE_ONCE, // "
111
+ T_REQUIRE, // "
112
+ T_REQUIRE_ONCE, // "
113
+ ];
114
+
115
+ $inserted = 0;
116
+ $candidates = [];
117
+ $isRisky = false;
118
+
119
+ if ($tokens[$tokens->getNextMeaningfulToken($functionIndex)]->isGivenKind(CT::T_RETURN_REF)) {
120
+ $isRisky = true;
121
+ }
122
+
123
+ // go through the function declaration and check if references are passed
124
+ // - check if it will be risky to fix return statements of this function
125
+ for ($index = $functionIndex + 1; $index < $functionOpenIndex; ++$index) {
126
+ if ($tokens[$index]->equals('&')) {
127
+ $isRisky = true;
128
+
129
+ break;
130
+ }
131
+ }
132
+
133
+ // go through all the tokens of the body of the function:
134
+ // - check if it will be risky to fix return statements of this function
135
+ // - check nested functions; fix when found and update the upper limit + number of inserted token
136
+ // - check for return statements that might be fixed (based on if fixing will be risky, which is only know after analyzing the whole function)
137
+
138
+ for ($index = $functionOpenIndex + 1; $index < $functionCloseIndex; ++$index) {
139
+ if ($tokens[$index]->isGivenKind(T_FUNCTION)) {
140
+ $nestedFunctionOpenIndex = $tokens->getNextTokenOfKind($index, ['{', ';']);
141
+ if ($tokens[$nestedFunctionOpenIndex]->equals(';')) { // abstract function
142
+ $index = $nestedFunctionOpenIndex - 1;
143
+
144
+ continue;
145
+ }
146
+
147
+ $nestedFunctionCloseIndex = $tokens->findBlockEnd(Tokens::BLOCK_TYPE_CURLY_BRACE, $nestedFunctionOpenIndex);
148
+
149
+ $tokensAdded = $this->fixFunction(
150
+ $tokens,
151
+ $index,
152
+ $nestedFunctionOpenIndex,
153
+ $nestedFunctionCloseIndex
154
+ );
155
+
156
+ $index = $nestedFunctionCloseIndex + $tokensAdded;
157
+ $functionCloseIndex += $tokensAdded;
158
+ $inserted += $tokensAdded;
159
+ }
160
+
161
+ if ($isRisky) {
162
+ continue; // don't bother to look into anything else than nested functions as the current is risky already
163
+ }
164
+
165
+ if ($tokens[$index]->equals('&')) {
166
+ $isRisky = true;
167
+
168
+ continue;
169
+ }
170
+
171
+ if ($tokens[$index]->isGivenKind(T_RETURN)) {
172
+ $candidates[] = $index;
173
+
174
+ continue;
175
+ }
176
+
177
+ // test if there is anything in the function body that might
178
+ // change global state or indirect changes (like through references, eval, etc.)
179
+
180
+ if ($tokens[$index]->isGivenKind($riskyKinds)) {
181
+ $isRisky = true;
182
+
183
+ continue;
184
+ }
185
+
186
+ if ($tokens[$index]->isGivenKind(T_STATIC)) {
187
+ $nextIndex = $tokens->getNextMeaningfulToken($index);
188
+
189
+ if (!$tokens[$nextIndex]->isGivenKind(T_FUNCTION)) {
190
+ $isRisky = true; // "static $a" case
191
+
192
+ continue;
193
+ }
194
+ }
195
+
196
+ if ($tokens[$index]->equals('$')) {
197
+ $nextIndex = $tokens->getNextMeaningfulToken($index);
198
+ if ($tokens[$nextIndex]->isGivenKind(T_VARIABLE)) {
199
+ $isRisky = true; // "$$a" case
200
+
201
+ continue;
202
+ }
203
+ }
204
+
205
+ if ($this->tokensAnalyzer->isSuperGlobal($index)) {
206
+ $isRisky = true;
207
+
208
+ continue;
209
+ }
210
+ }
211
+
212
+ if ($isRisky) {
213
+ return $inserted;
214
+ }
215
+
216
+ // fix the candidates in reverse order when applicable
217
+ for ($i = \count($candidates) - 1; $i >= 0; --$i) {
218
+ $index = $candidates[$i];
219
+
220
+ // Check if returning only a variable (i.e. not the result of an expression, function call etc.)
221
+ $returnVarIndex = $tokens->getNextMeaningfulToken($index);
222
+ if (!$tokens[$returnVarIndex]->isGivenKind(T_VARIABLE)) {
223
+ continue; // example: "return 1;"
224
+ }
225
+
226
+ $endReturnVarIndex = $tokens->getNextMeaningfulToken($returnVarIndex);
227
+ if (!$tokens[$endReturnVarIndex]->equalsAny([';', [T_CLOSE_TAG]])) {
228
+ continue; // example: "return $a + 1;"
229
+ }
230
+
231
+ // Check that the variable is assigned just before it is returned
232
+ $assignVarEndIndex = $tokens->getPrevMeaningfulToken($index);
233
+ if (!$tokens[$assignVarEndIndex]->equals(';')) {
234
+ continue; // example: "? return $a;"
235
+ }
236
+
237
+ // Note: here we are @ "; return $a;" (or "; return $a ? >")
238
+ while (true) {
239
+ $prevMeaningFul = $tokens->getPrevMeaningfulToken($assignVarEndIndex);
240
+
241
+ if (!$tokens[$prevMeaningFul]->equals(')')) {
242
+ break;
243
+ }
244
+
245
+ $assignVarEndIndex = $tokens->findBlockStart(Tokens::BLOCK_TYPE_PARENTHESIS_BRACE, $prevMeaningFul);
246
+ }
247
+
248
+ $assignVarOperatorIndex = $tokens->getPrevTokenOfKind(
249
+ $assignVarEndIndex,
250
+ ['=', ';', '{', '}', [T_OPEN_TAG], [T_OPEN_TAG_WITH_ECHO]]
251
+ );
252
+
253
+ if ($tokens[$assignVarOperatorIndex]->equals('}')) {
254
+ $startIndex = $this->isCloseBracePartOfDefinition($tokens, $assignVarOperatorIndex); // test for `anonymous class`, `lambda` and `match`
255
+
256
+ if (null === $startIndex) {
257
+ continue;
258
+ }
259
+
260
+ $assignVarOperatorIndex = $tokens->getPrevMeaningfulToken($startIndex);
261
+ }
262
+
263
+ if (!$tokens[$assignVarOperatorIndex]->equals('=')) {
264
+ continue;
265
+ }
266
+
267
+ // Note: here we are @ "= [^;{<? ? >] ; return $a;"
268
+ $assignVarIndex = $tokens->getPrevMeaningfulToken($assignVarOperatorIndex);
269
+ if (!$tokens[$assignVarIndex]->equals($tokens[$returnVarIndex], false)) {
270
+ continue;
271
+ }
272
+
273
+ // Note: here we are @ "$a = [^;{<? ? >] ; return $a;"
274
+ $beforeAssignVarIndex = $tokens->getPrevMeaningfulToken($assignVarIndex);
275
+ if (!$tokens[$beforeAssignVarIndex]->equalsAny([';', '{', '}'])) {
276
+ continue;
277
+ }
278
+
279
+ // Check if there is a `catch` or `finally` block between the assignment and the return
280
+ if ($this->isUsedInCatchOrFinally($tokens, $returnVarIndex, $functionOpenIndex, $functionCloseIndex)) {
281
+ continue;
282
+ }
283
+
284
+ // Note: here we are @ "[;{}] $a = [^;{<? ? >] ; return $a;"
285
+ $inserted += $this->simplifyReturnStatement(
286
+ $tokens,
287
+ $assignVarIndex,
288
+ $assignVarOperatorIndex,
289
+ $index,
290
+ $endReturnVarIndex
291
+ );
292
+ }
293
+
294
+ return $inserted;
295
+ }
296
+
297
+ /**
298
+ * @return int >= 0 number of tokens inserted into the Tokens collection
299
+ */
300
+ private function simplifyReturnStatement(
301
+ Tokens $tokens,
302
+ int $assignVarIndex,
303
+ int $assignVarOperatorIndex,
304
+ int $returnIndex,
305
+ int $returnVarEndIndex
306
+ ): int {
307
+ $inserted = 0;
308
+ $originalIndent = $tokens[$assignVarIndex - 1]->isWhitespace()
309
+ ? $tokens[$assignVarIndex - 1]->getContent()
310
+ : null;
311
+
312
+ // remove the return statement
313
+ if ($tokens[$returnVarEndIndex]->equals(';')) { // do not remove PHP close tags
314
+ $tokens->clearTokenAndMergeSurroundingWhitespace($returnVarEndIndex);
315
+ }
316
+
317
+ for ($i = $returnIndex; $i <= $returnVarEndIndex - 1; ++$i) {
318
+ $this->clearIfSave($tokens, $i);
319
+ }
320
+
321
+ // remove no longer needed indentation of the old/remove return statement
322
+ if ($tokens[$returnIndex - 1]->isWhitespace()) {
323
+ $content = $tokens[$returnIndex - 1]->getContent();
324
+ $fistLinebreakPos = strrpos($content, "\n");
325
+ $content = false === $fistLinebreakPos
326
+ ? ' '
327
+ : substr($content, $fistLinebreakPos);
328
+
329
+ $tokens[$returnIndex - 1] = new Token([T_WHITESPACE, $content]);
330
+ }
331
+
332
+ // remove the variable and the assignment
333
+ for ($i = $assignVarIndex; $i <= $assignVarOperatorIndex; ++$i) {
334
+ $this->clearIfSave($tokens, $i);
335
+ }
336
+
337
+ // insert new return statement
338
+ $tokens->insertAt($assignVarIndex, new Token([T_RETURN, 'return']));
339
+ ++$inserted;
340
+
341
+ // use the original indent of the var assignment for the new return statement
342
+ if (
343
+ null !== $originalIndent
344
+ && $tokens[$assignVarIndex - 1]->isWhitespace()
345
+ && $originalIndent !== $tokens[$assignVarIndex - 1]->getContent()
346
+ ) {
347
+ $tokens[$assignVarIndex - 1] = new Token([T_WHITESPACE, $originalIndent]);
348
+ }
349
+
350
+ // remove trailing space after the new return statement which might be added during the cleanup process
351
+ $nextIndex = $tokens->getNonEmptySibling($assignVarIndex, 1);
352
+ if (!$tokens[$nextIndex]->isWhitespace()) {
353
+ $tokens->insertAt($nextIndex, new Token([T_WHITESPACE, ' ']));
354
+ ++$inserted;
355
+ }
356
+
357
+ return $inserted;
358
+ }
359
+
360
+ private function clearIfSave(Tokens $tokens, int $index): void
361
+ {
362
+ if ($tokens[$index]->isComment()) {
363
+ return;
364
+ }
365
+
366
+ if ($tokens[$index]->isWhitespace() && $tokens[$tokens->getPrevNonWhitespace($index)]->isComment()) {
367
+ return;
368
+ }
369
+
370
+ $tokens->clearTokenAndMergeSurroundingWhitespace($index);
371
+ }
372
+
373
+ /**
374
+ * @param int $index open brace index
375
+ *
376
+ * @return null|int index of the first token of a definition (lambda, anonymous class or match) or `null` if not an anonymous
377
+ */
378
+ private function isCloseBracePartOfDefinition(Tokens $tokens, int $index): ?int
379
+ {
380
+ $index = $tokens->findBlockStart(Tokens::BLOCK_TYPE_CURLY_BRACE, $index);
381
+ $candidateIndex = $this->isOpenBraceOfLambda($tokens, $index);
382
+
383
+ if (null !== $candidateIndex) {
384
+ return $candidateIndex;
385
+ }
386
+
387
+ $candidateIndex = $this->isOpenBraceOfAnonymousClass($tokens, $index);
388
+
389
+ return $candidateIndex ?? $this->isOpenBraceOfMatch($tokens, $index);
390
+ }
391
+
392
+ /**
393
+ * @param int $index open brace index
394
+ *
395
+ * @return null|int index of T_NEW of anonymous class or `null` if not an anonymous
396
+ */
397
+ private function isOpenBraceOfAnonymousClass(Tokens $tokens, int $index): ?int
398
+ {
399
+ do {
400
+ $index = $tokens->getPrevMeaningfulToken($index);
401
+ } while ($tokens[$index]->equalsAny([',', [T_STRING], [T_IMPLEMENTS], [T_EXTENDS], [T_NS_SEPARATOR]]));
402
+
403
+ if ($tokens[$index]->equals(')')) { // skip constructor braces and content within
404
+ $index = $tokens->findBlockStart(Tokens::BLOCK_TYPE_PARENTHESIS_BRACE, $index);
405
+ $index = $tokens->getPrevMeaningfulToken($index);
406
+ }
407
+
408
+ if (!$tokens[$index]->isGivenKind(T_CLASS) || !$this->tokensAnalyzer->isAnonymousClass($index)) {
409
+ return null;
410
+ }
411
+
412
+ return $tokens->getPrevTokenOfKind($index, [[T_NEW]]);
413
+ }
414
+
415
+ /**
416
+ * @param int $index open brace index
417
+ *
418
+ * @return null|int index of T_FUNCTION or T_STATIC of lambda or `null` if not a lambda
419
+ */
420
+ private function isOpenBraceOfLambda(Tokens $tokens, int $index): ?int
421
+ {
422
+ $index = $tokens->getPrevMeaningfulToken($index);
423
+
424
+ if (!$tokens[$index]->equals(')')) {
425
+ return null;
426
+ }
427
+
428
+ $index = $tokens->findBlockStart(Tokens::BLOCK_TYPE_PARENTHESIS_BRACE, $index);
429
+ $index = $tokens->getPrevMeaningfulToken($index);
430
+
431
+ if ($tokens[$index]->isGivenKind(CT::T_USE_LAMBDA)) {
432
+ $index = $tokens->getPrevTokenOfKind($index, [')']);
433
+ $index = $tokens->findBlockStart(Tokens::BLOCK_TYPE_PARENTHESIS_BRACE, $index);
434
+ $index = $tokens->getPrevMeaningfulToken($index);
435
+ }
436
+
437
+ if ($tokens[$index]->isGivenKind(CT::T_RETURN_REF)) {
438
+ $index = $tokens->getPrevMeaningfulToken($index);
439
+ }
440
+
441
+ if (!$tokens[$index]->isGivenKind(T_FUNCTION)) {
442
+ return null;
443
+ }
444
+
445
+ $staticCandidate = $tokens->getPrevMeaningfulToken($index);
446
+
447
+ return $tokens[$staticCandidate]->isGivenKind(T_STATIC) ? $staticCandidate : $index;
448
+ }
449
+
450
+ /**
451
+ * @param int $index open brace index
452
+ *
453
+ * @return null|int index of T_MATCH or `null` if not a `match`
454
+ */
455
+ private function isOpenBraceOfMatch(Tokens $tokens, int $index): ?int
456
+ {
457
+ if (!\defined('T_MATCH') || !$tokens->isTokenKindFound(T_MATCH)) { // @TODO: drop condition when PHP 8.0+ is required
458
+ return null;
459
+ }
460
+
461
+ $index = $tokens->getPrevMeaningfulToken($index);
462
+
463
+ if (!$tokens[$index]->equals(')')) {
464
+ return null;
465
+ }
466
+
467
+ $index = $tokens->findBlockStart(Tokens::BLOCK_TYPE_PARENTHESIS_BRACE, $index);
468
+ $index = $tokens->getPrevMeaningfulToken($index);
469
+
470
+ return $tokens[$index]->isGivenKind(T_MATCH) ? $index : null;
471
+ }
472
+
473
+ private function isUsedInCatchOrFinally(Tokens $tokens, int $returnVarIndex, int $functionOpenIndex, int $functionCloseIndex): bool
474
+ {
475
+ // Find try
476
+ $tryIndex = $tokens->getPrevTokenOfKind($returnVarIndex, [[T_TRY]]);
477
+ if (null === $tryIndex || $tryIndex <= $functionOpenIndex) {
478
+ return false;
479
+ }
480
+ $tryOpenIndex = $tokens->getNextTokenOfKind($tryIndex, ['{']);
481
+ $tryCloseIndex = $tokens->findBlockEnd(Tokens::BLOCK_TYPE_CURLY_BRACE, $tryOpenIndex);
482
+
483
+ // Find catch or finally
484
+ $nextIndex = $tokens->getNextMeaningfulToken($tryCloseIndex);
485
+ if (null === $nextIndex) {
486
+ return false;
487
+ }
488
+
489
+ // Find catches
490
+ while ($tokens[$nextIndex]->isGivenKind(T_CATCH)) {
491
+ $catchOpenIndex = $tokens->getNextTokenOfKind($nextIndex, ['{']);
492
+ $catchCloseIndex = $tokens->findBlockEnd(Tokens::BLOCK_TYPE_CURLY_BRACE, $catchOpenIndex);
493
+
494
+ if ($catchCloseIndex >= $functionCloseIndex) {
495
+ return false;
496
+ }
497
+ $varIndex = $tokens->getNextTokenOfKind($catchOpenIndex, [$tokens[$returnVarIndex]]);
498
+ // Check if the variable is used in the finally block
499
+ if (null !== $varIndex && $varIndex < $catchCloseIndex) {
500
+ return true;
501
+ }
502
+
503
+ $nextIndex = $tokens->getNextMeaningfulToken($catchCloseIndex);
504
+ if (null === $nextIndex) {
505
+ return false;
506
+ }
507
+ }
508
+
509
+ if (!$tokens[$nextIndex]->isGivenKind(T_FINALLY)) {
510
+ return false;
511
+ }
512
+
513
+ $finallyIndex = $nextIndex;
514
+ if ($finallyIndex >= $functionCloseIndex) {
515
+ return false;
516
+ }
517
+ $finallyOpenIndex = $tokens->getNextTokenOfKind($finallyIndex, ['{']);
518
+ $finallyCloseIndex = $tokens->findBlockEnd(Tokens::BLOCK_TYPE_CURLY_BRACE, $finallyOpenIndex);
519
+ $varIndex = $tokens->getNextTokenOfKind($finallyOpenIndex, [$tokens[$returnVarIndex]]);
520
+ // Check if the variable is used in the finally block
521
+ if (null !== $varIndex && $varIndex < $finallyCloseIndex) {
522
+ return true;
523
+ }
524
+
525
+ return false;
526
+ }
527
+ }
@@ -0,0 +1,171 @@
1
+ <?php
2
+
3
+ declare(strict_types=1);
4
+
5
+ /*
6
+ * This file is part of PHP CS Fixer.
7
+ *
8
+ * (c) Fabien Potencier <fabien@symfony.com>
9
+ * Dariusz Rumiński <dariusz.ruminski@gmail.com>
10
+ *
11
+ * This source file is subject to the MIT license that is bundled
12
+ * with this source code in the file LICENSE.
13
+ */
14
+
15
+ namespace PhpCsFixer\Fixer\ReturnNotation;
16
+
17
+ use PhpCsFixer\AbstractFixer;
18
+ use PhpCsFixer\FixerDefinition\CodeSample;
19
+ use PhpCsFixer\FixerDefinition\FixerDefinition;
20
+ use PhpCsFixer\FixerDefinition\FixerDefinitionInterface;
21
+ use PhpCsFixer\Tokenizer\CT;
22
+ use PhpCsFixer\Tokenizer\Tokens;
23
+
24
+ /**
25
+ * @author Graham Campbell <hello@gjcampbell.co.uk>
26
+ */
27
+ final class SimplifiedNullReturnFixer extends AbstractFixer
28
+ {
29
+ public function getDefinition(): FixerDefinitionInterface
30
+ {
31
+ return new FixerDefinition(
32
+ 'A return statement wishing to return `void` should not return `null`.',
33
+ [
34
+ new CodeSample("<?php return null;\n"),
35
+ new CodeSample(
36
+ <<<'EOT'
37
+ <?php
38
+ function foo() { return null; }
39
+ function bar(): int { return null; }
40
+ function baz(): ?int { return null; }
41
+ function xyz(): void { return null; }
42
+
43
+ EOT
44
+ ),
45
+ ]
46
+ );
47
+ }
48
+
49
+ /**
50
+ * {@inheritdoc}
51
+ *
52
+ * Must run before NoUselessReturnFixer, VoidReturnFixer.
53
+ */
54
+ public function getPriority(): int
55
+ {
56
+ return 16;
57
+ }
58
+
59
+ public function isCandidate(Tokens $tokens): bool
60
+ {
61
+ return $tokens->isTokenKindFound(T_RETURN);
62
+ }
63
+
64
+ protected function applyFix(\SplFileInfo $file, Tokens $tokens): void
65
+ {
66
+ foreach ($tokens as $index => $token) {
67
+ if (!$token->isGivenKind(T_RETURN)) {
68
+ continue;
69
+ }
70
+
71
+ if ($this->needFixing($tokens, $index)) {
72
+ $this->clear($tokens, $index);
73
+ }
74
+ }
75
+ }
76
+
77
+ /**
78
+ * Clear the return statement located at a given index.
79
+ */
80
+ private function clear(Tokens $tokens, int $index): void
81
+ {
82
+ while (!$tokens[++$index]->equalsAny([';', [T_CLOSE_TAG]])) {
83
+ if ($this->shouldClearToken($tokens, $index)) {
84
+ $tokens->clearAt($index);
85
+ }
86
+ }
87
+ }
88
+
89
+ /**
90
+ * Does the return statement located at a given index need fixing?
91
+ */
92
+ private function needFixing(Tokens $tokens, int $index): bool
93
+ {
94
+ if ($this->isStrictOrNullableReturnTypeFunction($tokens, $index)) {
95
+ return false;
96
+ }
97
+
98
+ $content = '';
99
+ while (!$tokens[$index]->equalsAny([';', [T_CLOSE_TAG]])) {
100
+ $index = $tokens->getNextMeaningfulToken($index);
101
+ $content .= $tokens[$index]->getContent();
102
+ }
103
+
104
+ $lastTokenContent = $tokens[$index]->getContent();
105
+ $content = substr($content, 0, -\strlen($lastTokenContent));
106
+
107
+ $content = ltrim($content, '(');
108
+ $content = rtrim($content, ')');
109
+
110
+ return 'null' === strtolower($content);
111
+ }
112
+
113
+ /**
114
+ * Is the return within a function with a non-void or nullable return type?
115
+ *
116
+ * @param int $returnIndex Current return token index
117
+ */
118
+ private function isStrictOrNullableReturnTypeFunction(Tokens $tokens, int $returnIndex): bool
119
+ {
120
+ $functionIndex = $returnIndex;
121
+ do {
122
+ $functionIndex = $tokens->getPrevTokenOfKind($functionIndex, [[T_FUNCTION]]);
123
+ if (null === $functionIndex) {
124
+ return false;
125
+ }
126
+ $openingCurlyBraceIndex = $tokens->getNextTokenOfKind($functionIndex, ['{']);
127
+ $closingCurlyBraceIndex = $tokens->findBlockEnd(Tokens::BLOCK_TYPE_CURLY_BRACE, $openingCurlyBraceIndex);
128
+ } while ($closingCurlyBraceIndex < $returnIndex);
129
+
130
+ $possibleVoidIndex = $tokens->getPrevMeaningfulToken($openingCurlyBraceIndex);
131
+ $isStrictReturnType = $tokens[$possibleVoidIndex]->isGivenKind([T_STRING, CT::T_ARRAY_TYPEHINT])
132
+ && 'void' !== $tokens[$possibleVoidIndex]->getContent();
133
+
134
+ $nullableTypeIndex = $tokens->getNextTokenOfKind($functionIndex, [[CT::T_NULLABLE_TYPE]]);
135
+ $isNullableReturnType = null !== $nullableTypeIndex && $nullableTypeIndex < $openingCurlyBraceIndex;
136
+
137
+ return $isStrictReturnType || $isNullableReturnType;
138
+ }
139
+
140
+ /**
141
+ * Should we clear the specific token?
142
+ *
143
+ * We'll leave it alone if
144
+ * - token is a comment
145
+ * - token is whitespace that is immediately before a comment
146
+ * - token is whitespace that is immediately before the PHP close tag
147
+ * - token is whitespace that is immediately after a comment and before a semicolon
148
+ */
149
+ private function shouldClearToken(Tokens $tokens, int $index): bool
150
+ {
151
+ $token = $tokens[$index];
152
+
153
+ if ($token->isComment()) {
154
+ return false;
155
+ }
156
+
157
+ if (!$token->isWhitespace()) {
158
+ return true;
159
+ }
160
+
161
+ if (
162
+ $tokens[$index + 1]->isComment()
163
+ || $tokens[$index + 1]->equals([T_CLOSE_TAG])
164
+ || ($tokens[$index - 1]->isComment() && $tokens[$index + 1]->equals(';'))
165
+ ) {
166
+ return false;
167
+ }
168
+
169
+ return true;
170
+ }
171
+ }