@averay/codeformat 0.2.0 → 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.
- package/.editorconfig +1 -1
- package/.php-cs-fixer.cache +1 -0
- package/.php-cs-fixer.php +9 -0
- package/.prettierrc.json +3 -1
- package/.stylelintignore +2 -0
- package/README.md +19 -5
- package/bin/codeformat.ts +26 -0
- package/bin/tools/eslint.ts +16 -0
- package/bin/tools/index.ts +5 -0
- package/bin/tools/phpCsFixer.ts +17 -0
- package/bin/tools/prettier.ts +20 -0
- package/bin/tools/stylelint.ts +16 -0
- package/bin/tools/tsc.ts +12 -0
- package/bin/utils/Cli.ts +77 -0
- package/bin/utils/Output.ts +30 -0
- package/bin/utils/ToolRunner.ts +60 -0
- package/bin/utils/filesystem.ts +16 -0
- package/bin/utils/runners.ts +10 -0
- package/bin/utils/types.ts +22 -0
- package/composer.json +6 -0
- package/composer.lock +3231 -0
- package/eslint.config.js +26 -0
- package/lib/cssPatterns.ts +7 -0
- package/package.json +34 -30
- package/rulesets/eslint/ruleset-shared.ts +9 -5
- package/rulesets/eslint/ruleset-typescript.ts +30 -17
- package/rulesets/php/ruleset-php-cs-fixer.php +93 -0
- package/rulesets/stylelint/ruleset-css.ts +21 -5
- package/rulesets/stylelint/ruleset-scss.ts +7 -8
- package/src/makeStylelintConfig.ts +13 -5
- package/src/php/PhpCsFixerConfig.php +27 -0
- package/{stylelint.config.cjs → stylelint.config.js} +2 -2
- package/vendor/autoload.php +22 -0
- package/vendor/bin/php-cs-fixer +119 -0
- package/vendor/clue/ndjson-react/.github/FUNDING.yml +2 -0
- package/vendor/clue/ndjson-react/CHANGELOG.md +75 -0
- package/vendor/clue/ndjson-react/LICENSE +21 -0
- package/vendor/clue/ndjson-react/README.md +365 -0
- package/vendor/clue/ndjson-react/composer.json +31 -0
- package/vendor/clue/ndjson-react/src/Decoder.php +166 -0
- package/vendor/clue/ndjson-react/src/Encoder.php +144 -0
- package/vendor/composer/ClassLoader.php +579 -0
- package/vendor/composer/InstalledVersions.php +396 -0
- package/vendor/composer/LICENSE +21 -0
- package/vendor/composer/autoload_classmap.php +34 -0
- package/vendor/composer/autoload_files.php +18 -0
- package/vendor/composer/autoload_namespaces.php +9 -0
- package/vendor/composer/autoload_psr4.php +42 -0
- package/vendor/composer/autoload_real.php +48 -0
- package/vendor/composer/autoload_static.php +247 -0
- package/vendor/composer/installed.json +3634 -0
- package/vendor/composer/installed.php +367 -0
- package/vendor/composer/pcre/LICENSE +19 -0
- package/vendor/composer/pcre/README.md +189 -0
- package/vendor/composer/pcre/composer.json +54 -0
- package/vendor/composer/pcre/extension.neon +22 -0
- package/vendor/composer/pcre/src/MatchAllResult.php +46 -0
- package/vendor/composer/pcre/src/MatchAllStrictGroupsResult.php +46 -0
- package/vendor/composer/pcre/src/MatchAllWithOffsetsResult.php +48 -0
- package/vendor/composer/pcre/src/MatchResult.php +39 -0
- package/vendor/composer/pcre/src/MatchStrictGroupsResult.php +39 -0
- package/vendor/composer/pcre/src/MatchWithOffsetsResult.php +41 -0
- package/vendor/composer/pcre/src/PHPStan/InvalidRegexPatternRule.php +142 -0
- package/vendor/composer/pcre/src/PHPStan/PregMatchFlags.php +70 -0
- package/vendor/composer/pcre/src/PHPStan/PregMatchParameterOutTypeExtension.php +65 -0
- package/vendor/composer/pcre/src/PHPStan/PregMatchTypeSpecifyingExtension.php +119 -0
- package/vendor/composer/pcre/src/PHPStan/PregReplaceCallbackClosureTypeExtension.php +91 -0
- package/vendor/composer/pcre/src/PHPStan/UnsafeStrictGroupsCallRule.php +112 -0
- package/vendor/composer/pcre/src/PcreException.php +55 -0
- package/vendor/composer/pcre/src/Preg.php +430 -0
- package/vendor/composer/pcre/src/Regex.php +176 -0
- package/vendor/composer/pcre/src/ReplaceResult.php +43 -0
- package/vendor/composer/pcre/src/UnexpectedNullMatchException.php +20 -0
- package/vendor/composer/semver/CHANGELOG.md +229 -0
- package/vendor/composer/semver/LICENSE +19 -0
- package/vendor/composer/semver/README.md +99 -0
- package/vendor/composer/semver/composer.json +59 -0
- package/vendor/composer/semver/src/Comparator.php +113 -0
- package/vendor/composer/semver/src/CompilingMatcher.php +94 -0
- package/vendor/composer/semver/src/Constraint/Bound.php +122 -0
- package/vendor/composer/semver/src/Constraint/Constraint.php +435 -0
- package/vendor/composer/semver/src/Constraint/ConstraintInterface.php +75 -0
- package/vendor/composer/semver/src/Constraint/MatchAllConstraint.php +85 -0
- package/vendor/composer/semver/src/Constraint/MatchNoneConstraint.php +83 -0
- package/vendor/composer/semver/src/Constraint/MultiConstraint.php +325 -0
- package/vendor/composer/semver/src/Interval.php +98 -0
- package/vendor/composer/semver/src/Intervals.php +478 -0
- package/vendor/composer/semver/src/Semver.php +129 -0
- package/vendor/composer/semver/src/VersionParser.php +591 -0
- package/vendor/composer/xdebug-handler/CHANGELOG.md +143 -0
- package/vendor/composer/xdebug-handler/LICENSE +21 -0
- package/vendor/composer/xdebug-handler/README.md +305 -0
- package/vendor/composer/xdebug-handler/composer.json +44 -0
- package/vendor/composer/xdebug-handler/src/PhpConfig.php +91 -0
- package/vendor/composer/xdebug-handler/src/Process.php +119 -0
- package/vendor/composer/xdebug-handler/src/Status.php +222 -0
- package/vendor/composer/xdebug-handler/src/XdebugHandler.php +722 -0
- package/vendor/evenement/evenement/.gitattributes +7 -0
- package/vendor/evenement/evenement/LICENSE +19 -0
- package/vendor/evenement/evenement/README.md +64 -0
- package/vendor/evenement/evenement/composer.json +29 -0
- package/vendor/evenement/evenement/src/EventEmitter.php +17 -0
- package/vendor/evenement/evenement/src/EventEmitterInterface.php +22 -0
- package/vendor/evenement/evenement/src/EventEmitterTrait.php +154 -0
- package/vendor/fidry/cpu-core-counter/.envrc +5 -0
- package/vendor/fidry/cpu-core-counter/LICENSE.md +16 -0
- package/vendor/fidry/cpu-core-counter/README.md +138 -0
- package/vendor/fidry/cpu-core-counter/bin/diagnose.php +27 -0
- package/vendor/fidry/cpu-core-counter/bin/execute.php +21 -0
- package/vendor/fidry/cpu-core-counter/bin/trace.php +32 -0
- package/vendor/fidry/cpu-core-counter/composer.json +48 -0
- package/vendor/fidry/cpu-core-counter/src/CpuCoreCounter.php +268 -0
- package/vendor/fidry/cpu-core-counter/src/Diagnoser.php +101 -0
- package/vendor/fidry/cpu-core-counter/src/Executor/ProcOpenExecutor.php +56 -0
- package/vendor/fidry/cpu-core-counter/src/Executor/ProcessExecutor.php +22 -0
- package/vendor/fidry/cpu-core-counter/src/Finder/CmiCmdletLogicalFinder.php +46 -0
- package/vendor/fidry/cpu-core-counter/src/Finder/CmiCmdletPhysicalFinder.php +47 -0
- package/vendor/fidry/cpu-core-counter/src/Finder/CpuCoreFinder.php +37 -0
- package/vendor/fidry/cpu-core-counter/src/Finder/CpuInfoFinder.php +100 -0
- package/vendor/fidry/cpu-core-counter/src/Finder/DummyCpuCoreFinder.php +57 -0
- package/vendor/fidry/cpu-core-counter/src/Finder/EnvVariableFinder.php +69 -0
- package/vendor/fidry/cpu-core-counter/src/Finder/FinderRegistry.php +91 -0
- package/vendor/fidry/cpu-core-counter/src/Finder/HwLogicalFinder.php +33 -0
- package/vendor/fidry/cpu-core-counter/src/Finder/HwPhysicalFinder.php +33 -0
- package/vendor/fidry/cpu-core-counter/src/Finder/LscpuLogicalFinder.php +52 -0
- package/vendor/fidry/cpu-core-counter/src/Finder/LscpuPhysicalFinder.php +66 -0
- package/vendor/fidry/cpu-core-counter/src/Finder/NProcFinder.php +59 -0
- package/vendor/fidry/cpu-core-counter/src/Finder/NProcessorFinder.php +32 -0
- package/vendor/fidry/cpu-core-counter/src/Finder/NullCpuCoreFinder.php +35 -0
- package/vendor/fidry/cpu-core-counter/src/Finder/OnlyInPowerShellFinder.php +62 -0
- package/vendor/fidry/cpu-core-counter/src/Finder/OnlyOnOSFamilyFinder.php +113 -0
- package/vendor/fidry/cpu-core-counter/src/Finder/ProcOpenBasedFinder.php +107 -0
- package/vendor/fidry/cpu-core-counter/src/Finder/SkipOnOSFamilyFinder.php +113 -0
- package/vendor/fidry/cpu-core-counter/src/Finder/WindowsRegistryLogicalFinder.php +51 -0
- package/vendor/fidry/cpu-core-counter/src/Finder/WmicLogicalFinder.php +47 -0
- package/vendor/fidry/cpu-core-counter/src/Finder/WmicPhysicalFinder.php +47 -0
- package/vendor/fidry/cpu-core-counter/src/Finder/_NProcessorFinder.php +32 -0
- package/vendor/fidry/cpu-core-counter/src/NumberOfCpuCoreNotFound.php +26 -0
- package/vendor/fidry/cpu-core-counter/src/ParallelisationResult.php +87 -0
- package/vendor/friendsofphp/php-cs-fixer/CHANGELOG.md +5983 -0
- package/vendor/friendsofphp/php-cs-fixer/CONTRIBUTING.md +103 -0
- package/vendor/friendsofphp/php-cs-fixer/LICENSE +19 -0
- package/vendor/friendsofphp/php-cs-fixer/README.md +88 -0
- package/vendor/friendsofphp/php-cs-fixer/UPGRADE-v3.md +162 -0
- package/vendor/friendsofphp/php-cs-fixer/ci-integration.sh +8 -0
- package/vendor/friendsofphp/php-cs-fixer/composer.json +210 -0
- package/vendor/friendsofphp/php-cs-fixer/feature-or-bug.rst +24 -0
- package/vendor/friendsofphp/php-cs-fixer/logo.md +3 -0
- package/vendor/friendsofphp/php-cs-fixer/logo.png +0 -0
- package/vendor/friendsofphp/php-cs-fixer/php-cs-fixer +110 -0
- package/vendor/friendsofphp/php-cs-fixer/src/AbstractDoctrineAnnotationFixer.php +241 -0
- package/vendor/friendsofphp/php-cs-fixer/src/AbstractFixer.php +102 -0
- package/vendor/friendsofphp/php-cs-fixer/src/AbstractFopenFlagFixer.php +116 -0
- package/vendor/friendsofphp/php-cs-fixer/src/AbstractFunctionReferenceFixer.php +71 -0
- package/vendor/friendsofphp/php-cs-fixer/src/AbstractNoUselessElseFixer.php +204 -0
- package/vendor/friendsofphp/php-cs-fixer/src/AbstractPhpdocToTypeDeclarationFixer.php +314 -0
- package/vendor/friendsofphp/php-cs-fixer/src/AbstractPhpdocTypesFixer.php +105 -0
- package/vendor/friendsofphp/php-cs-fixer/src/AbstractProxyFixer.php +106 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Cache/Cache.php +151 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Cache/CacheInterface.php +35 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Cache/CacheManagerInterface.php +29 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Cache/Directory.php +51 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Cache/DirectoryInterface.php +23 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Cache/FileCacheManager.php +143 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Cache/FileHandler.php +184 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Cache/FileHandlerInterface.php +29 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Cache/NullCacheManager.php +33 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Cache/Signature.php +100 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Cache/SignatureInterface.php +38 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Config.php +267 -0
- package/vendor/friendsofphp/php-cs-fixer/src/ConfigInterface.php +162 -0
- package/vendor/friendsofphp/php-cs-fixer/src/ConfigurationException/InvalidConfigurationException.php +36 -0
- package/vendor/friendsofphp/php-cs-fixer/src/ConfigurationException/InvalidFixerConfigurationException.php +45 -0
- package/vendor/friendsofphp/php-cs-fixer/src/ConfigurationException/InvalidForEnvFixerConfigurationException.php +22 -0
- package/vendor/friendsofphp/php-cs-fixer/src/ConfigurationException/RequiredFixerConfigurationException.php +22 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Console/Application.php +212 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Console/Command/CheckCommand.php +64 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Console/Command/DescribeCommand.php +476 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Console/Command/DescribeNameNotFoundException.php +46 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Console/Command/DocumentationCommand.php +123 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Console/Command/FixCommand.php +397 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Console/Command/FixCommandExitStatusCalculator.php +56 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Console/Command/HelpCommand.php +76 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Console/Command/ListFilesCommand.php +91 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Console/Command/ListSetsCommand.php +87 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Console/Command/SelfUpdateCommand.php +176 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Console/Command/WorkerCommand.php +243 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Console/ConfigurationResolver.php +961 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Console/Output/ErrorOutput.php +155 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Console/Output/OutputContext.php +54 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Console/Output/Progress/DotsOutput.php +124 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Console/Output/Progress/NullOutput.php +29 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Console/Output/Progress/PercentageBarOutput.php +78 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Console/Output/Progress/ProgressOutputFactory.php +63 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Console/Output/Progress/ProgressOutputInterface.php +27 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Console/Output/Progress/ProgressOutputType.php +37 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Console/Report/FixReport/CheckstyleReporter.php +71 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Console/Report/FixReport/GitlabReporter.php +96 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Console/Report/FixReport/JsonReporter.php +65 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Console/Report/FixReport/JunitReporter.php +145 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Console/Report/FixReport/ReportSummary.php +103 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Console/Report/FixReport/ReporterFactory.php +90 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Console/Report/FixReport/ReporterInterface.php +30 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Console/Report/FixReport/TextReporter.php +104 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Console/Report/FixReport/XmlReporter.php +136 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Console/Report/ListSetsReport/JsonReporter.php +52 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Console/Report/ListSetsReport/ReportSummary.php +48 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Console/Report/ListSetsReport/ReporterFactory.php +89 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Console/Report/ListSetsReport/ReporterInterface.php +30 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Console/Report/ListSetsReport/TextReporter.php +51 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Console/SelfUpdate/GithubClient.php +69 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Console/SelfUpdate/GithubClientInterface.php +26 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Console/SelfUpdate/NewVersionChecker.php +102 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Console/SelfUpdate/NewVersionCheckerInterface.php +37 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Console/WarningsDetector.php +76 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Differ/DiffConsoleFormatter.php +85 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Differ/DifferInterface.php +26 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Differ/FullDiffer.php +46 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Differ/NullDiffer.php +26 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Differ/UnifiedDiffer.php +47 -0
- package/vendor/friendsofphp/php-cs-fixer/src/DocBlock/Annotation.php +319 -0
- package/vendor/friendsofphp/php-cs-fixer/src/DocBlock/DocBlock.php +250 -0
- package/vendor/friendsofphp/php-cs-fixer/src/DocBlock/Line.php +128 -0
- package/vendor/friendsofphp/php-cs-fixer/src/DocBlock/ShortDescription.php +65 -0
- package/vendor/friendsofphp/php-cs-fixer/src/DocBlock/Tag.php +102 -0
- package/vendor/friendsofphp/php-cs-fixer/src/DocBlock/TagComparator.php +66 -0
- package/vendor/friendsofphp/php-cs-fixer/src/DocBlock/TypeExpression.php +857 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Doctrine/Annotation/DocLexer.php +171 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Doctrine/Annotation/Token.php +87 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Doctrine/Annotation/Tokens.php +303 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Documentation/DocumentationLocator.php +82 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Documentation/FixerDocumentGenerator.php +415 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Documentation/RstUtils.php +45 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Documentation/RuleSetDocumentationGenerator.php +174 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Error/Error.php +125 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Error/ErrorsManager.php +83 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Error/SourceExceptionFactory.php +62 -0
- package/vendor/friendsofphp/php-cs-fixer/src/ExecutorWithoutErrorHandler.php +58 -0
- package/vendor/friendsofphp/php-cs-fixer/src/ExecutorWithoutErrorHandlerException.php +22 -0
- package/vendor/friendsofphp/php-cs-fixer/src/FileReader.php +70 -0
- package/vendor/friendsofphp/php-cs-fixer/src/FileRemoval.php +100 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Finder.php +35 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/AbstractIncrementOperatorFixer.php +58 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/AbstractPhpUnitFixer.php +278 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/AbstractShortOperatorFixer.php +264 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Alias/ArrayPushFixer.php +207 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Alias/BacktickToShellExecFixer.php +149 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Alias/EregToPregFixer.php +193 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Alias/MbStrFunctionsFixer.php +180 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Alias/ModernizeStrposFixer.php +338 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Alias/NoAliasFunctionsFixer.php +337 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Alias/NoAliasLanguageConstructCallFixer.php +59 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Alias/NoMixedEchoPrintFixer.php +142 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Alias/PowToExponentiationFixer.php +219 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Alias/RandomApiMigrationFixer.php +153 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Alias/SetTypeToCastFixer.php +240 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ArrayNotation/ArraySyntaxFixer.php +138 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ArrayNotation/NoMultilineWhitespaceAroundDoubleArrowFixer.php +80 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ArrayNotation/NoTrailingCommaInSinglelineArrayFixer.php +52 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ArrayNotation/NoWhitespaceBeforeCommaInArrayFixer.php +153 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ArrayNotation/NormalizeIndexBraceFixer.php +57 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ArrayNotation/ReturnToYieldFromFixer.php +105 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ArrayNotation/TrimArraySpacesFixer.php +97 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ArrayNotation/WhitespaceAfterCommaInArrayFixer.php +150 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ArrayNotation/YieldFromArrayToYieldsFixer.php +189 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/AttributeNotation/AttributeEmptyParenthesesFixer.php +136 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/AttributeNotation/GeneralAttributeRemoveFixer.php +142 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/AttributeNotation/OrderedAttributesFixer.php +274 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Basic/BracesFixer.php +268 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Basic/BracesPositionFixer.php +449 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Basic/CurlyBracesPositionFixer.php +126 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Basic/EncodingFixer.php +80 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Basic/NoMultipleStatementsPerLineFixer.php +111 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Basic/NoTrailingCommaInSinglelineFixer.php +162 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Basic/NonPrintableCharacterFixer.php +191 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Basic/NumericLiteralSeparatorFixer.php +232 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Basic/OctalNotationFixer.php +64 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Basic/PsrAutoloadingFixer.php +291 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Basic/SingleLineEmptyBodyFixer.php +83 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Casing/ClassReferenceNameCasingFixer.php +168 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Casing/ConstantCaseFixer.php +130 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Casing/IntegerLiteralCaseFixer.php +62 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Casing/LowercaseKeywordsFixer.php +67 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Casing/LowercaseStaticReferenceFixer.php +107 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Casing/MagicConstantCasingFixer.php +92 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Casing/MagicMethodCasingFixer.php +202 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Casing/NativeFunctionCasingFixer.php +89 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Casing/NativeFunctionTypeDeclarationCasingFixer.php +58 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Casing/NativeTypeDeclarationCasingFixer.php +151 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/CastNotation/CastSpacesFixer.php +131 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/CastNotation/LowercaseCastFixer.php +66 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/CastNotation/ModernizeTypesCastingFixer.php +164 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/CastNotation/NoShortBoolCastFixer.php +88 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/CastNotation/NoUnsetCastFixer.php +88 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/CastNotation/ShortScalarCastFixer.php +71 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ClassNotation/ClassAttributesSeparationFixer.php +605 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ClassNotation/ClassDefinitionFixer.php +572 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ClassNotation/FinalClassFixer.php +67 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ClassNotation/FinalInternalClassFixer.php +374 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ClassNotation/FinalPublicMethodForAbstractClassFixer.php +160 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ClassNotation/NoBlankLinesAfterClassOpeningFixer.php +93 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ClassNotation/NoNullPropertyInitializationFixer.php +141 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ClassNotation/NoPhp4ConstructorFixer.php +408 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ClassNotation/NoUnneededFinalMethodFixer.php +215 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ClassNotation/OrderedClassElementsFixer.php +610 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ClassNotation/OrderedInterfacesFixer.php +272 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ClassNotation/OrderedTraitsFixer.php +226 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ClassNotation/OrderedTypesFixer.php +453 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ClassNotation/PhpdocReadonlyClassCommentToKeywordFixer.php +129 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ClassNotation/ProtectedToPrivateFixer.php +168 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ClassNotation/SelfAccessorFixer.php +200 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ClassNotation/SelfStaticAccessorFixer.php +224 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ClassNotation/SingleClassElementPerStatementFixer.php +241 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ClassNotation/SingleTraitInsertPerStatementFixer.php +116 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ClassNotation/VisibilityRequiredFixer.php +214 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ClassUsage/DateTimeImmutableFixer.php +146 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Comment/CommentToPhpdocFixer.php +230 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Comment/HeaderCommentFixer.php +543 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Comment/MultilineCommentOpeningClosingFixer.php +89 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Comment/NoEmptyCommentFixer.php +162 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Comment/NoTrailingWhitespaceInCommentFixer.php +75 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Comment/SingleLineCommentSpacingFixer.php +110 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Comment/SingleLineCommentStyleFixer.php +178 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ConfigurableFixerInterface.php +50 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ConfigurableFixerTrait.php +124 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ConstantNotation/NativeConstantInvocationFixer.php +307 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ControlStructure/ControlStructureBracesFixer.php +256 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ControlStructure/ControlStructureContinuationPositionFixer.php +157 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ControlStructure/ElseifFixer.php +98 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ControlStructure/EmptyLoopBodyFixer.php +139 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ControlStructure/EmptyLoopConditionFixer.php +202 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ControlStructure/IncludeFixer.php +153 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ControlStructure/NoAlternativeSyntaxFixer.php +244 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ControlStructure/NoBreakCommentFixer.php +366 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ControlStructure/NoSuperfluousElseifFixer.php +100 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ControlStructure/NoTrailingCommaInListCallFixer.php +51 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ControlStructure/NoUnneededBracesFixer.php +182 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ControlStructure/NoUnneededControlParenthesesFixer.php +758 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ControlStructure/NoUnneededCurlyBracesFixer.php +106 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ControlStructure/NoUselessElseFixer.php +120 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ControlStructure/SimplifiedIfReturnFixer.php +138 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ControlStructure/SwitchCaseSemicolonToColonFixer.php +87 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ControlStructure/SwitchCaseSpaceFixer.php +85 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ControlStructure/SwitchContinueToBreakFixer.php +240 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ControlStructure/TrailingCommaInMultilineFixer.php +237 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ControlStructure/YodaStyleFixer.php +758 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/DeprecatedFixerInterface.php +28 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/DoctrineAnnotation/DoctrineAnnotationArrayAssignmentFixer.php +114 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/DoctrineAnnotation/DoctrineAnnotationBracesFixer.php +132 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/DoctrineAnnotation/DoctrineAnnotationIndentationFixer.php +199 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/DoctrineAnnotation/DoctrineAnnotationSpacesFixer.php +320 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ExperimentalFixerInterface.php +20 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/FixerInterface.php +79 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/FunctionNotation/CombineNestedDirnameFixer.php +224 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/FunctionNotation/DateTimeCreateFromFormatCallFixer.php +164 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/FunctionNotation/FopenFlagOrderFixer.php +123 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/FunctionNotation/FopenFlagsFixer.php +120 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/FunctionNotation/FunctionDeclarationFixer.php +263 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/FunctionNotation/FunctionTypehintSpaceFixer.php +60 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/FunctionNotation/ImplodeCallFixer.php +139 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/FunctionNotation/LambdaNotUsedImportFixer.php +350 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/FunctionNotation/MethodArgumentSpaceFixer.php +510 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/FunctionNotation/NativeFunctionInvocationFixer.php +420 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/FunctionNotation/NoSpacesAfterFunctionNameFixer.php +176 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/FunctionNotation/NoTrailingCommaInSinglelineFunctionCallFixer.php +59 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/FunctionNotation/NoUnreachableDefaultArgumentValueFixer.php +197 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/FunctionNotation/NoUselessSprintfFixer.php +109 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/FunctionNotation/NullableTypeDeclarationForDefaultNullValueFixer.php +247 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/FunctionNotation/PhpdocToParamTypeFixer.php +244 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/FunctionNotation/PhpdocToPropertyTypeFixer.php +296 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/FunctionNotation/PhpdocToReturnTypeFixer.php +249 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/FunctionNotation/RegularCallableCallFixer.php +256 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/FunctionNotation/ReturnTypeDeclarationFixer.php +132 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/FunctionNotation/SingleLineThrowFixer.php +159 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/FunctionNotation/StaticLambdaFixer.php +130 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/FunctionNotation/UseArrowFunctionsFixer.php +181 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/FunctionNotation/VoidReturnFixer.php +256 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Import/FullyQualifiedStrictTypesFixer.php +987 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Import/GlobalNamespaceImportFixer.php +726 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Import/GroupImportFixer.php +369 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Import/NoLeadingImportSlashFixer.php +90 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Import/NoUnneededImportAliasFixer.php +88 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Import/NoUnusedImportsFixer.php +455 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Import/OrderedImportsFixer.php +626 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Import/SingleImportPerStatementFixer.php +274 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Import/SingleLineAfterImportsFixer.php +152 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Indentation.php +92 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/InternalFixerInterface.php +20 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/LanguageConstruct/ClassKeywordFixer.php +100 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/LanguageConstruct/ClassKeywordRemoveFixer.php +234 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/LanguageConstruct/CombineConsecutiveIssetsFixer.php +163 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/LanguageConstruct/CombineConsecutiveUnsetsFixer.php +179 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/LanguageConstruct/DeclareEqualNormalizeFixer.php +137 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/LanguageConstruct/DeclareParenthesesFixer.php +56 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/LanguageConstruct/DirConstantFixer.php +129 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/LanguageConstruct/ErrorSuppressionFixer.php +186 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/LanguageConstruct/ExplicitIndirectVariableFixer.php +82 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/LanguageConstruct/FunctionToConstantFixer.php +311 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/LanguageConstruct/GetClassToClassKeywordFixer.php +158 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/LanguageConstruct/IsNullFixer.php +169 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/LanguageConstruct/NoUnsetOnPropertyFixer.php +220 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/LanguageConstruct/NullableTypeDeclarationFixer.php +348 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/LanguageConstruct/SingleSpaceAfterConstructFixer.php +209 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/LanguageConstruct/SingleSpaceAroundConstructFixer.php +516 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ListNotation/ListSyntaxFixer.php +133 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/NamespaceNotation/BlankLineAfterNamespaceFixer.php +127 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/NamespaceNotation/BlankLinesBeforeNamespaceFixer.php +242 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/NamespaceNotation/CleanNamespaceFixer.php +108 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/NamespaceNotation/NoBlankLinesBeforeNamespaceFixer.php +76 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/NamespaceNotation/NoLeadingNamespaceWhitespaceFixer.php +95 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/NamespaceNotation/SingleBlankLineBeforeNamespaceFixer.php +75 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Naming/NoHomoglyphNamesFixer.php +230 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Operator/AssignNullCoalescingToCoalesceEqualFixer.php +71 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Operator/BinaryOperatorSpacesFixer.php +961 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Operator/ConcatSpaceFixer.php +160 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Operator/IncrementStyleFixer.php +179 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Operator/LogicalOperatorsFixer.php +67 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Operator/LongToShorthandOperatorFixer.php +140 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Operator/NewWithBracesFixer.php +103 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Operator/NewWithParenthesesFixer.php +216 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Operator/NoSpaceAroundDoubleColonFixer.php +73 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Operator/NoUselessConcatOperatorFixer.php +375 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Operator/NoUselessNullsafeOperatorFixer.php +73 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Operator/NotOperatorWithSpaceFixer.php +75 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Operator/NotOperatorWithSuccessorSpaceFixer.php +68 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Operator/ObjectOperatorWithoutWhitespaceFixer.php +62 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Operator/OperatorLinebreakFixer.php +292 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Operator/StandardizeIncrementFixer.php +122 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Operator/StandardizeNotEqualsFixer.php +60 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Operator/TernaryOperatorSpacesFixer.php +131 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Operator/TernaryToElvisOperatorFixer.php +217 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Operator/TernaryToNullCoalescingFixer.php +224 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Operator/UnaryOperatorSpacesFixer.php +118 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpTag/BlankLineAfterOpeningTagFixer.php +92 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpTag/EchoTagSyntaxFixer.php +273 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpTag/FullOpeningTagFixer.php +123 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpTag/LinebreakAfterOpeningTagFixer.php +68 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpTag/NoClosingTagFixer.php +59 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitAssertNewNamesFixer.php +107 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitAttributesFixer.php +620 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitConstructFixer.php +210 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitDataProviderMethodOrderFixer.php +288 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitDataProviderNameFixer.php +199 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitDataProviderReturnTypeFixer.php +120 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitDataProviderStaticFixer.php +156 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitDedicateAssertFixer.php +590 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitDedicateAssertInternalTypeFixer.php +204 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitExpectationFixer.php +289 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitFqcnAnnotationFixer.php +86 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitInternalClassFixer.php +117 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitMethodCasingFixer.php +238 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitMockFixer.php +135 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitMockShortWillReturnFixer.php +123 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitNamespacedFixer.php +235 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitNoExpectationAnnotationFixer.php +278 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitSetUpTearDownVisibilityFixer.php +111 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitSizeClassFixer.php +107 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitStrictFixer.php +154 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitTargetVersion.php +57 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitTestAnnotationFixer.php +416 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitTestCaseStaticMethodCallsFixer.php +564 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitTestClassRequiresCoversFixer.php +88 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/AlignMultilineCommentFixer.php +178 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/GeneralPhpdocAnnotationRemoveFixer.php +177 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/GeneralPhpdocTagRenameFixer.php +213 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/NoBlankLinesAfterPhpdocFixer.php +110 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/NoEmptyPhpdocFixer.php +84 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/NoSuperfluousPhpdocTagsFixer.php +756 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocAddMissingParamAnnotationFixer.php +289 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocAlignFixer.php +506 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocAnnotationWithoutDotFixer.php +123 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocArrayTypeFixer.php +92 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocIndentFixer.php +141 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocInlineTagNormalizerFixer.php +121 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocLineSpanFixer.php +173 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocListTypeFixer.php +70 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocNoAccessFixer.php +71 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocNoAliasTagFixer.php +137 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocNoEmptyReturnFixer.php +117 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocNoPackageFixer.php +70 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocNoUselessInheritdocFixer.php +151 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocOrderByValueFixer.php +225 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocOrderFixer.php +223 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocParamOrderFixer.php +273 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocReturnSelfReferenceFixer.php +234 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocScalarFixer.php +139 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocSeparationFixer.php +333 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocSingleLineVarSpacingFixer.php +89 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocSummaryFixer.php +99 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocTagCasingFixer.php +109 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocTagTypeFixer.php +214 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocToCommentFixer.php +185 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocTrimConsecutiveBlankLineSeparationFixer.php +191 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocTrimFixer.php +115 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocTypesFixer.php +173 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocTypesOrderFixer.php +218 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocVarAnnotationCorrectOrderFixer.php +81 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocVarWithoutNameFixer.php +150 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ReturnNotation/NoUselessReturnFixer.php +103 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ReturnNotation/ReturnAssignmentFixer.php +527 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ReturnNotation/SimplifiedNullReturnFixer.php +171 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Semicolon/MultilineWhitespaceBeforeSemicolonsFixer.php +244 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Semicolon/NoEmptyStatementFixer.php +186 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Semicolon/NoSinglelineWhitespaceBeforeSemicolonsFixer.php +66 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Semicolon/SemicolonAfterInstructionFixer.php +64 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Semicolon/SpaceAfterSemicolonFixer.php +148 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Strict/DeclareStrictTypesFixer.php +132 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Strict/StrictComparisonFixer.php +80 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Strict/StrictParamFixer.php +168 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/StringNotation/EscapeImplicitBackslashesFixer.php +153 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/StringNotation/ExplicitStringVariableFixer.php +166 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/StringNotation/HeredocClosingMarkerFixer.php +205 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/StringNotation/HeredocToNowdocFixer.php +107 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/StringNotation/MultilineStringToHeredocFixer.php +166 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/StringNotation/NoBinaryStringFixer.php +75 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/StringNotation/NoTrailingWhitespaceInStringFixer.php +100 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/StringNotation/SimpleToComplexStringVariableFixer.php +96 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/StringNotation/SingleQuoteFixer.php +122 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/StringNotation/StringImplicitBackslashesFixer.php +193 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/StringNotation/StringLengthToEmptyFixer.php +322 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/StringNotation/StringLineEndingFixer.php +76 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Whitespace/ArrayIndentationFixer.php +197 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Whitespace/BlankLineBeforeStatementFixer.php +379 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Whitespace/BlankLineBetweenImportGroupsFixer.php +180 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Whitespace/CompactNullableTypeDeclarationFixer.php +72 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Whitespace/CompactNullableTypehintFixer.php +63 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Whitespace/HeredocIndentationFixer.php +180 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Whitespace/IndentationTypeFixer.php +139 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Whitespace/LineEndingFixer.php +85 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Whitespace/MethodChainingIndentationFixer.php +229 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Whitespace/NoExtraBlankLinesFixer.php +496 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Whitespace/NoSpacesAroundOffsetFixer.php +112 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Whitespace/NoSpacesInsideParenthesisFixer.php +75 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Whitespace/NoTrailingWhitespaceFixer.php +104 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Whitespace/NoWhitespaceInBlankLineFixer.php +89 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Whitespace/SingleBlankLineAtEofFixer.php +64 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Whitespace/SpacesInsideParenthesesFixer.php +223 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Whitespace/StatementIndentationFixer.php +836 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Whitespace/TypeDeclarationSpacesFixer.php +254 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Whitespace/TypesSpacesFixer.php +173 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/WhitespacesAwareFixerInterface.php +25 -0
- package/vendor/friendsofphp/php-cs-fixer/src/FixerConfiguration/AliasedFixerOption.php +75 -0
- package/vendor/friendsofphp/php-cs-fixer/src/FixerConfiguration/AliasedFixerOptionBuilder.php +78 -0
- package/vendor/friendsofphp/php-cs-fixer/src/FixerConfiguration/AllowedValueSubset.php +65 -0
- package/vendor/friendsofphp/php-cs-fixer/src/FixerConfiguration/DeprecatedFixerOption.php +74 -0
- package/vendor/friendsofphp/php-cs-fixer/src/FixerConfiguration/DeprecatedFixerOptionInterface.php +20 -0
- package/vendor/friendsofphp/php-cs-fixer/src/FixerConfiguration/FixerConfigurationResolver.php +152 -0
- package/vendor/friendsofphp/php-cs-fixer/src/FixerConfiguration/FixerConfigurationResolverInterface.php +30 -0
- package/vendor/friendsofphp/php-cs-fixer/src/FixerConfiguration/FixerOption.php +146 -0
- package/vendor/friendsofphp/php-cs-fixer/src/FixerConfiguration/FixerOptionBuilder.php +126 -0
- package/vendor/friendsofphp/php-cs-fixer/src/FixerConfiguration/FixerOptionInterface.php +43 -0
- package/vendor/friendsofphp/php-cs-fixer/src/FixerConfiguration/FixerOptionSorter.php +37 -0
- package/vendor/friendsofphp/php-cs-fixer/src/FixerConfiguration/InvalidOptionsForEnvException.php +24 -0
- package/vendor/friendsofphp/php-cs-fixer/src/FixerDefinition/CodeSample.php +49 -0
- package/vendor/friendsofphp/php-cs-fixer/src/FixerDefinition/CodeSampleInterface.php +28 -0
- package/vendor/friendsofphp/php-cs-fixer/src/FixerDefinition/FileSpecificCodeSample.php +56 -0
- package/vendor/friendsofphp/php-cs-fixer/src/FixerDefinition/FileSpecificCodeSampleInterface.php +25 -0
- package/vendor/friendsofphp/php-cs-fixer/src/FixerDefinition/FixerDefinition.php +76 -0
- package/vendor/friendsofphp/php-cs-fixer/src/FixerDefinition/FixerDefinitionInterface.php +37 -0
- package/vendor/friendsofphp/php-cs-fixer/src/FixerDefinition/VersionSpecificCodeSample.php +54 -0
- package/vendor/friendsofphp/php-cs-fixer/src/FixerDefinition/VersionSpecificCodeSampleInterface.php +23 -0
- package/vendor/friendsofphp/php-cs-fixer/src/FixerDefinition/VersionSpecification.php +76 -0
- package/vendor/friendsofphp/php-cs-fixer/src/FixerDefinition/VersionSpecificationInterface.php +23 -0
- package/vendor/friendsofphp/php-cs-fixer/src/FixerFactory.php +248 -0
- package/vendor/friendsofphp/php-cs-fixer/src/FixerNameValidator.php +32 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Hasher.php +38 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Indicator/PhpUnitTestCaseIndicator.php +90 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Linter/CachingLinter.php +56 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Linter/Linter.php +49 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Linter/LinterInterface.php +35 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Linter/LintingException.php +24 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Linter/LintingResultInterface.php +26 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Linter/ProcessLinter.php +149 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Linter/ProcessLinterProcessBuilder.php +46 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Linter/ProcessLintingResult.php +86 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Linter/TokenizerLinter.php +58 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Linter/TokenizerLintingResult.php +48 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Linter/UnavailableLinterException.php +26 -0
- package/vendor/friendsofphp/php-cs-fixer/src/ParallelAwareConfigInterface.php +29 -0
- package/vendor/friendsofphp/php-cs-fixer/src/PharChecker.php +38 -0
- package/vendor/friendsofphp/php-cs-fixer/src/PharCheckerInterface.php +26 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Preg.php +215 -0
- package/vendor/friendsofphp/php-cs-fixer/src/PregException.php +24 -0
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/AbstractMigrationSetDescription.php +38 -0
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/AbstractRuleSetDescription.php +35 -0
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/DeprecatedRuleSetDescriptionInterface.php +28 -0
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/RuleSet.php +159 -0
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/RuleSetDescriptionInterface.php +34 -0
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/RuleSetInterface.php +49 -0
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/RuleSets.php +72 -0
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/DoctrineAnnotationSet.php +42 -0
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PERCS1x0RiskySet.php +44 -0
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PERCS1x0Set.php +44 -0
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PERCS2x0RiskySet.php +44 -0
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PERCS2x0Set.php +112 -0
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PERCSRiskySet.php +40 -0
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PERCSSet.php +40 -0
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PERRiskySet.php +52 -0
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PERSet.php +47 -0
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PHP54MigrationSet.php +30 -0
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PHP56MigrationRiskySet.php +30 -0
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PHP70MigrationRiskySet.php +39 -0
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PHP70MigrationSet.php +31 -0
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PHP71MigrationRiskySet.php +31 -0
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PHP71MigrationSet.php +32 -0
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PHP73MigrationSet.php +34 -0
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PHP74MigrationRiskySet.php +33 -0
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PHP74MigrationSet.php +33 -0
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PHP80MigrationRiskySet.php +40 -0
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PHP80MigrationSet.php +32 -0
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PHP81MigrationSet.php +31 -0
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PHP82MigrationRiskySet.php +31 -0
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PHP82MigrationSet.php +31 -0
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PHP83MigrationSet.php +30 -0
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PHP84MigrationSet.php +31 -0
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PHPUnit100MigrationRiskySet.php +31 -0
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PHPUnit30MigrationRiskySet.php +33 -0
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PHPUnit32MigrationRiskySet.php +34 -0
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PHPUnit35MigrationRiskySet.php +34 -0
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PHPUnit43MigrationRiskySet.php +34 -0
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PHPUnit48MigrationRiskySet.php +34 -0
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PHPUnit50MigrationRiskySet.php +34 -0
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PHPUnit52MigrationRiskySet.php +34 -0
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PHPUnit54MigrationRiskySet.php +34 -0
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PHPUnit55MigrationRiskySet.php +34 -0
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PHPUnit56MigrationRiskySet.php +37 -0
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PHPUnit57MigrationRiskySet.php +34 -0
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PHPUnit60MigrationRiskySet.php +34 -0
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PHPUnit75MigrationRiskySet.php +34 -0
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PHPUnit84MigrationRiskySet.php +35 -0
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PHPUnit91MigrationRiskySet.php +31 -0
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PSR12RiskySet.php +36 -0
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PSR12Set.php +123 -0
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PSR1Set.php +36 -0
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PSR2Set.php +104 -0
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PhpCsFixerRiskySet.php +67 -0
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PhpCsFixerSet.php +134 -0
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/SymfonyRiskySet.php +78 -0
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/SymfonySet.php +241 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Runner/Event/AnalysisStarted.php +54 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Runner/Event/FileProcessed.php +75 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Runner/FileCachingLintingFileIterator.php +76 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Runner/FileFilterIterator.php +108 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Runner/LintingFileIterator.php +66 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Runner/LintingResultAwareFileIteratorInterface.php +29 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Runner/Parallel/ParallelAction.php +35 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Runner/Parallel/ParallelConfig.php +67 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Runner/Parallel/ParallelConfigFactory.php +61 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Runner/Parallel/ParallelisationException.php +30 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Runner/Parallel/Process.php +189 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Runner/Parallel/ProcessFactory.php +111 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Runner/Parallel/ProcessIdentifier.php +55 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Runner/Parallel/ProcessPool.php +99 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Runner/Parallel/WorkerException.php +66 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Runner/Runner.php +587 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Runner/RunnerConfig.php +64 -0
- package/vendor/friendsofphp/php-cs-fixer/src/StdinFileInfo.php +173 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/AbstractTransformer.php +40 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/AbstractTypeTransformer.php +89 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/AlternativeSyntaxAnalyzer.php +121 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/Analysis/AbstractControlCaseStructuresAnalysis.php +51 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/Analysis/ArgumentAnalysis.php +81 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/Analysis/AttributeAnalysis.php +76 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/Analysis/CaseAnalysis.php +45 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/Analysis/DataProviderAnalysis.php +68 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/Analysis/DefaultAnalysis.php +43 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/Analysis/EnumAnalysis.php +46 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/Analysis/MatchAnalysis.php +37 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/Analysis/NamespaceAnalysis.php +98 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/Analysis/NamespaceUseAnalysis.php +189 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/Analysis/StartEndTokenAwareAnalysis.php +33 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/Analysis/SwitchAnalysis.php +54 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/Analysis/TypeAnalysis.php +116 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/ArgumentsAnalyzer.php +161 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/AttributeAnalyzer.php +211 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/BlocksAnalyzer.php +59 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/ClassyAnalyzer.php +87 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/CommentsAnalyzer.php +370 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/ControlCaseStructuresAnalyzer.php +312 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/DataProviderAnalyzer.php +115 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/FullyQualifiedNameAnalyzer.php +103 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/FunctionsAnalyzer.php +281 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/GotoLabelAnalyzer.php +40 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/NamespaceUsesAnalyzer.php +216 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/NamespacesAnalyzer.php +116 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/RangeAnalyzer.php +90 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/ReferenceAnalyzer.php +49 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/SwitchAnalyzer.php +71 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/WhitespacesAnalyzer.php +52 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/CT.php +112 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Processor/ImportProcessor.php +103 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Token.php +541 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Tokens.php +1584 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/TokensAnalyzer.php +894 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Transformer/ArrayTypehintTransformer.php +54 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Transformer/AttributeTransformer.php +67 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Transformer/BraceClassInstantiationTransformer.php +80 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Transformer/BraceTransformer.php +349 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Transformer/ClassConstantTransformer.php +57 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Transformer/ConstructorPromotionTransformer.php +71 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Transformer/DisjunctiveNormalFormTypeParenthesisTransformer.php +65 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Transformer/FirstClassCallableTransformer.php +49 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Transformer/ImportTransformer.php +72 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Transformer/NameQualifiedTransformer.php +67 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Transformer/NamedArgumentTransformer.php +73 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Transformer/NamespaceOperatorTransformer.php +53 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Transformer/NullableTypeTransformer.php +83 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Transformer/ReturnRefTransformer.php +47 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Transformer/SquareBraceTransformer.php +187 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Transformer/TypeAlternationTransformer.php +57 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Transformer/TypeColonTransformer.php +83 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Transformer/TypeIntersectionTransformer.php +55 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Transformer/UseTransformer.php +102 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Transformer/WhitespacyCommentTransformer.php +64 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/TransformerInterface.php +68 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Transformers.php +109 -0
- package/vendor/friendsofphp/php-cs-fixer/src/ToolInfo.php +120 -0
- package/vendor/friendsofphp/php-cs-fixer/src/ToolInfoInterface.php +38 -0
- package/vendor/friendsofphp/php-cs-fixer/src/Utils.php +250 -0
- package/vendor/friendsofphp/php-cs-fixer/src/WhitespacesFixerConfig.php +63 -0
- package/vendor/friendsofphp/php-cs-fixer/src/WordMatcher.php +55 -0
- package/vendor/psr/container/LICENSE +21 -0
- package/vendor/psr/container/README.md +13 -0
- package/vendor/psr/container/composer.json +27 -0
- package/vendor/psr/container/src/ContainerExceptionInterface.php +12 -0
- package/vendor/psr/container/src/ContainerInterface.php +36 -0
- package/vendor/psr/container/src/NotFoundExceptionInterface.php +10 -0
- package/vendor/psr/event-dispatcher/.editorconfig +15 -0
- package/vendor/psr/event-dispatcher/LICENSE +21 -0
- package/vendor/psr/event-dispatcher/README.md +6 -0
- package/vendor/psr/event-dispatcher/composer.json +26 -0
- package/vendor/psr/event-dispatcher/src/EventDispatcherInterface.php +21 -0
- package/vendor/psr/event-dispatcher/src/ListenerProviderInterface.php +19 -0
- package/vendor/psr/event-dispatcher/src/StoppableEventInterface.php +26 -0
- package/vendor/psr/log/LICENSE +19 -0
- package/vendor/psr/log/README.md +58 -0
- package/vendor/psr/log/composer.json +26 -0
- package/vendor/psr/log/src/AbstractLogger.php +15 -0
- package/vendor/psr/log/src/InvalidArgumentException.php +7 -0
- package/vendor/psr/log/src/LogLevel.php +18 -0
- package/vendor/psr/log/src/LoggerAwareInterface.php +14 -0
- package/vendor/psr/log/src/LoggerAwareTrait.php +22 -0
- package/vendor/psr/log/src/LoggerInterface.php +98 -0
- package/vendor/psr/log/src/LoggerTrait.php +98 -0
- package/vendor/psr/log/src/NullLogger.php +26 -0
- package/vendor/react/cache/CHANGELOG.md +96 -0
- package/vendor/react/cache/LICENSE +21 -0
- package/vendor/react/cache/README.md +367 -0
- package/vendor/react/cache/composer.json +45 -0
- package/vendor/react/cache/src/ArrayCache.php +181 -0
- package/vendor/react/cache/src/CacheInterface.php +194 -0
- package/vendor/react/child-process/CHANGELOG.md +176 -0
- package/vendor/react/child-process/LICENSE +21 -0
- package/vendor/react/child-process/README.md +619 -0
- package/vendor/react/child-process/composer.json +49 -0
- package/vendor/react/child-process/src/Process.php +585 -0
- package/vendor/react/dns/CHANGELOG.md +452 -0
- package/vendor/react/dns/LICENSE +21 -0
- package/vendor/react/dns/README.md +453 -0
- package/vendor/react/dns/composer.json +49 -0
- package/vendor/react/dns/src/BadServerException.php +7 -0
- package/vendor/react/dns/src/Config/Config.php +137 -0
- package/vendor/react/dns/src/Config/HostsFile.php +153 -0
- package/vendor/react/dns/src/Model/Message.php +230 -0
- package/vendor/react/dns/src/Model/Record.php +153 -0
- package/vendor/react/dns/src/Protocol/BinaryDumper.php +199 -0
- package/vendor/react/dns/src/Protocol/Parser.php +356 -0
- package/vendor/react/dns/src/Query/CachingExecutor.php +88 -0
- package/vendor/react/dns/src/Query/CancellationException.php +7 -0
- package/vendor/react/dns/src/Query/CoopExecutor.php +91 -0
- package/vendor/react/dns/src/Query/ExecutorInterface.php +43 -0
- package/vendor/react/dns/src/Query/FallbackExecutor.php +49 -0
- package/vendor/react/dns/src/Query/HostsFileExecutor.php +89 -0
- package/vendor/react/dns/src/Query/Query.php +69 -0
- package/vendor/react/dns/src/Query/RetryExecutor.php +85 -0
- package/vendor/react/dns/src/Query/SelectiveTransportExecutor.php +85 -0
- package/vendor/react/dns/src/Query/TcpTransportExecutor.php +382 -0
- package/vendor/react/dns/src/Query/TimeoutException.php +7 -0
- package/vendor/react/dns/src/Query/TimeoutExecutor.php +78 -0
- package/vendor/react/dns/src/Query/UdpTransportExecutor.php +221 -0
- package/vendor/react/dns/src/RecordNotFoundException.php +7 -0
- package/vendor/react/dns/src/Resolver/Factory.php +226 -0
- package/vendor/react/dns/src/Resolver/Resolver.php +147 -0
- package/vendor/react/dns/src/Resolver/ResolverInterface.php +94 -0
- package/vendor/react/event-loop/CHANGELOG.md +468 -0
- package/vendor/react/event-loop/LICENSE +21 -0
- package/vendor/react/event-loop/README.md +930 -0
- package/vendor/react/event-loop/composer.json +47 -0
- package/vendor/react/event-loop/src/ExtEvLoop.php +253 -0
- package/vendor/react/event-loop/src/ExtEventLoop.php +275 -0
- package/vendor/react/event-loop/src/ExtLibevLoop.php +201 -0
- package/vendor/react/event-loop/src/ExtLibeventLoop.php +285 -0
- package/vendor/react/event-loop/src/ExtUvLoop.php +342 -0
- package/vendor/react/event-loop/src/Factory.php +75 -0
- package/vendor/react/event-loop/src/Loop.php +266 -0
- package/vendor/react/event-loop/src/LoopInterface.php +472 -0
- package/vendor/react/event-loop/src/SignalsHandler.php +63 -0
- package/vendor/react/event-loop/src/StreamSelectLoop.php +330 -0
- package/vendor/react/event-loop/src/Tick/FutureTickQueue.php +60 -0
- package/vendor/react/event-loop/src/Timer/Timer.php +55 -0
- package/vendor/react/event-loop/src/Timer/Timers.php +113 -0
- package/vendor/react/event-loop/src/TimerInterface.php +27 -0
- package/vendor/react/promise/CHANGELOG.md +156 -0
- package/vendor/react/promise/LICENSE +24 -0
- package/vendor/react/promise/README.md +722 -0
- package/vendor/react/promise/composer.json +57 -0
- package/vendor/react/promise/src/Deferred.php +52 -0
- package/vendor/react/promise/src/Exception/CompositeException.php +32 -0
- package/vendor/react/promise/src/Exception/LengthException.php +7 -0
- package/vendor/react/promise/src/Internal/CancellationQueue.php +64 -0
- package/vendor/react/promise/src/Internal/FulfilledPromise.php +89 -0
- package/vendor/react/promise/src/Internal/RejectedPromise.php +128 -0
- package/vendor/react/promise/src/Promise.php +303 -0
- package/vendor/react/promise/src/PromiseInterface.php +152 -0
- package/vendor/react/promise/src/functions.php +345 -0
- package/vendor/react/promise/src/functions_include.php +5 -0
- package/vendor/react/socket/CHANGELOG.md +785 -0
- package/vendor/react/socket/LICENSE +21 -0
- package/vendor/react/socket/README.md +1564 -0
- package/vendor/react/socket/composer.json +52 -0
- package/vendor/react/socket/src/Connection.php +183 -0
- package/vendor/react/socket/src/ConnectionInterface.php +119 -0
- package/vendor/react/socket/src/Connector.php +236 -0
- package/vendor/react/socket/src/ConnectorInterface.php +59 -0
- package/vendor/react/socket/src/DnsConnector.php +117 -0
- package/vendor/react/socket/src/FdServer.php +222 -0
- package/vendor/react/socket/src/FixedUriConnector.php +41 -0
- package/vendor/react/socket/src/HappyEyeBallsConnectionBuilder.php +334 -0
- package/vendor/react/socket/src/HappyEyeBallsConnector.php +80 -0
- package/vendor/react/socket/src/LimitingServer.php +203 -0
- package/vendor/react/socket/src/SecureConnector.php +132 -0
- package/vendor/react/socket/src/SecureServer.php +210 -0
- package/vendor/react/socket/src/Server.php +118 -0
- package/vendor/react/socket/src/ServerInterface.php +151 -0
- package/vendor/react/socket/src/SocketServer.php +215 -0
- package/vendor/react/socket/src/StreamEncryption.php +158 -0
- package/vendor/react/socket/src/TcpConnector.php +173 -0
- package/vendor/react/socket/src/TcpServer.php +262 -0
- package/vendor/react/socket/src/TimeoutConnector.php +79 -0
- package/vendor/react/socket/src/UnixConnector.php +58 -0
- package/vendor/react/socket/src/UnixServer.php +162 -0
- package/vendor/react/stream/CHANGELOG.md +460 -0
- package/vendor/react/stream/LICENSE +21 -0
- package/vendor/react/stream/README.md +1249 -0
- package/vendor/react/stream/composer.json +47 -0
- package/vendor/react/stream/src/CompositeStream.php +83 -0
- package/vendor/react/stream/src/DuplexResourceStream.php +240 -0
- package/vendor/react/stream/src/DuplexStreamInterface.php +39 -0
- package/vendor/react/stream/src/ReadableResourceStream.php +188 -0
- package/vendor/react/stream/src/ReadableStreamInterface.php +362 -0
- package/vendor/react/stream/src/ThroughStream.php +195 -0
- package/vendor/react/stream/src/Util.php +75 -0
- package/vendor/react/stream/src/WritableResourceStream.php +178 -0
- package/vendor/react/stream/src/WritableStreamInterface.php +347 -0
- package/vendor/sebastian/diff/ChangeLog.md +179 -0
- package/vendor/sebastian/diff/LICENSE +29 -0
- package/vendor/sebastian/diff/README.md +151 -0
- package/vendor/sebastian/diff/SECURITY.md +30 -0
- package/vendor/sebastian/diff/composer.json +51 -0
- package/vendor/sebastian/diff/src/Chunk.php +83 -0
- package/vendor/sebastian/diff/src/Diff.php +84 -0
- package/vendor/sebastian/diff/src/Differ.php +247 -0
- package/vendor/sebastian/diff/src/Exception/ConfigurationException.php +32 -0
- package/vendor/sebastian/diff/src/Exception/Exception.php +16 -0
- package/vendor/sebastian/diff/src/Exception/InvalidArgumentException.php +14 -0
- package/vendor/sebastian/diff/src/Line.php +50 -0
- package/vendor/sebastian/diff/src/LongestCommonSubsequenceCalculator.php +18 -0
- package/vendor/sebastian/diff/src/MemoryEfficientLongestCommonSubsequenceCalculator.php +96 -0
- package/vendor/sebastian/diff/src/Output/AbstractChunkOutputBuilder.php +54 -0
- package/vendor/sebastian/diff/src/Output/DiffOnlyOutputBuilder.php +74 -0
- package/vendor/sebastian/diff/src/Output/DiffOutputBuilderInterface.php +19 -0
- package/vendor/sebastian/diff/src/Output/StrictUnifiedDiffOutputBuilder.php +331 -0
- package/vendor/sebastian/diff/src/Output/UnifiedDiffOutputBuilder.php +261 -0
- package/vendor/sebastian/diff/src/Parser.php +116 -0
- package/vendor/sebastian/diff/src/TimeEfficientLongestCommonSubsequenceCalculator.php +81 -0
- package/vendor/symfony/console/Application.php +1328 -0
- package/vendor/symfony/console/Attribute/Argument.php +110 -0
- package/vendor/symfony/console/Attribute/AsCommand.php +49 -0
- package/vendor/symfony/console/Attribute/Option.php +181 -0
- package/vendor/symfony/console/CHANGELOG.md +299 -0
- package/vendor/symfony/console/CI/GithubActionReporter.php +97 -0
- package/vendor/symfony/console/Color.php +133 -0
- package/vendor/symfony/console/Command/Command.php +700 -0
- package/vendor/symfony/console/Command/CompleteCommand.php +212 -0
- package/vendor/symfony/console/Command/DumpCompletionCommand.php +151 -0
- package/vendor/symfony/console/Command/HelpCommand.php +76 -0
- package/vendor/symfony/console/Command/InvokableCommand.php +157 -0
- package/vendor/symfony/console/Command/LazyCommand.php +206 -0
- package/vendor/symfony/console/Command/ListCommand.php +72 -0
- package/vendor/symfony/console/Command/LockableTrait.php +85 -0
- package/vendor/symfony/console/Command/SignalableCommandInterface.php +32 -0
- package/vendor/symfony/console/Command/TraceableCommand.php +365 -0
- package/vendor/symfony/console/CommandLoader/CommandLoaderInterface.php +38 -0
- package/vendor/symfony/console/CommandLoader/ContainerCommandLoader.php +52 -0
- package/vendor/symfony/console/CommandLoader/FactoryCommandLoader.php +52 -0
- package/vendor/symfony/console/Completion/CompletionInput.php +248 -0
- package/vendor/symfony/console/Completion/CompletionSuggestions.php +97 -0
- package/vendor/symfony/console/Completion/Output/BashCompletionOutput.php +33 -0
- package/vendor/symfony/console/Completion/Output/CompletionOutputInterface.php +25 -0
- package/vendor/symfony/console/Completion/Output/FishCompletionOutput.php +36 -0
- package/vendor/symfony/console/Completion/Output/ZshCompletionOutput.php +36 -0
- package/vendor/symfony/console/Completion/Suggestion.php +41 -0
- package/vendor/symfony/console/ConsoleEvents.php +72 -0
- package/vendor/symfony/console/Cursor.php +204 -0
- package/vendor/symfony/console/DataCollector/CommandDataCollector.php +238 -0
- package/vendor/symfony/console/Debug/CliRequest.php +70 -0
- package/vendor/symfony/console/DependencyInjection/AddConsoleCommandPass.php +155 -0
- package/vendor/symfony/console/Descriptor/ApplicationDescription.php +136 -0
- package/vendor/symfony/console/Descriptor/Descriptor.php +74 -0
- package/vendor/symfony/console/Descriptor/DescriptorInterface.php +24 -0
- package/vendor/symfony/console/Descriptor/JsonDescriptor.php +166 -0
- package/vendor/symfony/console/Descriptor/MarkdownDescriptor.php +173 -0
- package/vendor/symfony/console/Descriptor/ReStructuredTextDescriptor.php +273 -0
- package/vendor/symfony/console/Descriptor/TextDescriptor.php +317 -0
- package/vendor/symfony/console/Descriptor/XmlDescriptor.php +230 -0
- package/vendor/symfony/console/Event/ConsoleAlarmEvent.php +47 -0
- package/vendor/symfony/console/Event/ConsoleCommandEvent.php +54 -0
- package/vendor/symfony/console/Event/ConsoleErrorEvent.php +58 -0
- package/vendor/symfony/console/Event/ConsoleEvent.php +56 -0
- package/vendor/symfony/console/Event/ConsoleSignalEvent.php +56 -0
- package/vendor/symfony/console/Event/ConsoleTerminateEvent.php +50 -0
- package/vendor/symfony/console/EventListener/ErrorListener.php +89 -0
- package/vendor/symfony/console/Exception/CommandNotFoundException.php +43 -0
- package/vendor/symfony/console/Exception/ExceptionInterface.php +21 -0
- package/vendor/symfony/console/Exception/InvalidArgumentException.php +19 -0
- package/vendor/symfony/console/Exception/InvalidOptionException.php +21 -0
- package/vendor/symfony/console/Exception/LogicException.php +19 -0
- package/vendor/symfony/console/Exception/MissingInputException.php +21 -0
- package/vendor/symfony/console/Exception/NamespaceNotFoundException.php +21 -0
- package/vendor/symfony/console/Exception/RunCommandFailedException.php +29 -0
- package/vendor/symfony/console/Exception/RuntimeException.php +19 -0
- package/vendor/symfony/console/Formatter/NullOutputFormatter.php +51 -0
- package/vendor/symfony/console/Formatter/NullOutputFormatterStyle.php +48 -0
- package/vendor/symfony/console/Formatter/OutputFormatter.php +267 -0
- package/vendor/symfony/console/Formatter/OutputFormatterInterface.php +52 -0
- package/vendor/symfony/console/Formatter/OutputFormatterStyle.php +89 -0
- package/vendor/symfony/console/Formatter/OutputFormatterStyleInterface.php +50 -0
- package/vendor/symfony/console/Formatter/OutputFormatterStyleStack.php +103 -0
- package/vendor/symfony/console/Formatter/WrappableOutputFormatterInterface.php +25 -0
- package/vendor/symfony/console/Helper/DebugFormatterHelper.php +98 -0
- package/vendor/symfony/console/Helper/DescriptorHelper.php +91 -0
- package/vendor/symfony/console/Helper/Dumper.php +53 -0
- package/vendor/symfony/console/Helper/FormatterHelper.php +81 -0
- package/vendor/symfony/console/Helper/Helper.php +161 -0
- package/vendor/symfony/console/Helper/HelperInterface.php +35 -0
- package/vendor/symfony/console/Helper/HelperSet.php +74 -0
- package/vendor/symfony/console/Helper/InputAwareHelper.php +30 -0
- package/vendor/symfony/console/Helper/OutputWrapper.php +76 -0
- package/vendor/symfony/console/Helper/ProcessHelper.php +137 -0
- package/vendor/symfony/console/Helper/ProgressBar.php +654 -0
- package/vendor/symfony/console/Helper/ProgressIndicator.php +242 -0
- package/vendor/symfony/console/Helper/QuestionHelper.php +589 -0
- package/vendor/symfony/console/Helper/SymfonyQuestionHelper.php +103 -0
- package/vendor/symfony/console/Helper/Table.php +934 -0
- package/vendor/symfony/console/Helper/TableCell.php +71 -0
- package/vendor/symfony/console/Helper/TableCellStyle.php +84 -0
- package/vendor/symfony/console/Helper/TableRows.php +28 -0
- package/vendor/symfony/console/Helper/TableSeparator.php +25 -0
- package/vendor/symfony/console/Helper/TableStyle.php +375 -0
- package/vendor/symfony/console/Helper/TreeHelper.php +111 -0
- package/vendor/symfony/console/Helper/TreeNode.php +105 -0
- package/vendor/symfony/console/Helper/TreeStyle.php +78 -0
- package/vendor/symfony/console/Input/ArgvInput.php +402 -0
- package/vendor/symfony/console/Input/ArrayInput.php +191 -0
- package/vendor/symfony/console/Input/Input.php +174 -0
- package/vendor/symfony/console/Input/InputArgument.php +160 -0
- package/vendor/symfony/console/Input/InputAwareInterface.php +26 -0
- package/vendor/symfony/console/Input/InputDefinition.php +402 -0
- package/vendor/symfony/console/Input/InputInterface.php +138 -0
- package/vendor/symfony/console/Input/InputOption.php +262 -0
- package/vendor/symfony/console/Input/StreamableInputInterface.php +37 -0
- package/vendor/symfony/console/Input/StringInput.php +85 -0
- package/vendor/symfony/console/LICENSE +19 -0
- package/vendor/symfony/console/Logger/ConsoleLogger.php +120 -0
- package/vendor/symfony/console/Messenger/RunCommandContext.php +25 -0
- package/vendor/symfony/console/Messenger/RunCommandMessage.php +36 -0
- package/vendor/symfony/console/Messenger/RunCommandMessageHandler.php +49 -0
- package/vendor/symfony/console/Output/AnsiColorMode.php +106 -0
- package/vendor/symfony/console/Output/BufferedOutput.php +40 -0
- package/vendor/symfony/console/Output/ConsoleOutput.php +153 -0
- package/vendor/symfony/console/Output/ConsoleOutputInterface.php +30 -0
- package/vendor/symfony/console/Output/ConsoleSectionOutput.php +237 -0
- package/vendor/symfony/console/Output/NullOutput.php +94 -0
- package/vendor/symfony/console/Output/Output.php +144 -0
- package/vendor/symfony/console/Output/OutputInterface.php +103 -0
- package/vendor/symfony/console/Output/StreamOutput.php +127 -0
- package/vendor/symfony/console/Output/TrimmedBufferOutput.php +58 -0
- package/vendor/symfony/console/Question/ChoiceQuestion.php +178 -0
- package/vendor/symfony/console/Question/ConfirmationQuestion.php +57 -0
- package/vendor/symfony/console/Question/Question.php +280 -0
- package/vendor/symfony/console/README.md +27 -0
- package/vendor/symfony/console/Resources/bin/hiddeninput.exe +0 -0
- package/vendor/symfony/console/Resources/completion.bash +94 -0
- package/vendor/symfony/console/Resources/completion.fish +25 -0
- package/vendor/symfony/console/Resources/completion.zsh +82 -0
- package/vendor/symfony/console/SignalRegistry/SignalMap.php +36 -0
- package/vendor/symfony/console/SignalRegistry/SignalRegistry.php +65 -0
- package/vendor/symfony/console/SingleCommandApplication.php +72 -0
- package/vendor/symfony/console/Style/OutputStyle.php +115 -0
- package/vendor/symfony/console/Style/StyleInterface.php +110 -0
- package/vendor/symfony/console/Style/SymfonyStyle.php +476 -0
- package/vendor/symfony/console/Terminal.php +227 -0
- package/vendor/symfony/console/Tester/ApplicationTester.php +83 -0
- package/vendor/symfony/console/Tester/CommandCompletionTester.php +54 -0
- package/vendor/symfony/console/Tester/CommandTester.php +74 -0
- package/vendor/symfony/console/Tester/Constraint/CommandIsSuccessful.php +43 -0
- package/vendor/symfony/console/Tester/TesterTrait.php +178 -0
- package/vendor/symfony/console/composer.json +55 -0
- package/vendor/symfony/deprecation-contracts/CHANGELOG.md +5 -0
- package/vendor/symfony/deprecation-contracts/LICENSE +19 -0
- package/vendor/symfony/deprecation-contracts/README.md +26 -0
- package/vendor/symfony/deprecation-contracts/composer.json +35 -0
- package/vendor/symfony/deprecation-contracts/function.php +27 -0
- package/vendor/symfony/event-dispatcher/Attribute/AsEventListener.php +35 -0
- package/vendor/symfony/event-dispatcher/CHANGELOG.md +96 -0
- package/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php +355 -0
- package/vendor/symfony/event-dispatcher/Debug/WrappedListener.php +143 -0
- package/vendor/symfony/event-dispatcher/DependencyInjection/AddEventAliasesPass.php +38 -0
- package/vendor/symfony/event-dispatcher/DependencyInjection/RegisterListenersPass.php +213 -0
- package/vendor/symfony/event-dispatcher/EventDispatcher.php +256 -0
- package/vendor/symfony/event-dispatcher/EventDispatcherInterface.php +66 -0
- package/vendor/symfony/event-dispatcher/EventSubscriberInterface.php +49 -0
- package/vendor/symfony/event-dispatcher/GenericEvent.php +155 -0
- package/vendor/symfony/event-dispatcher/ImmutableEventDispatcher.php +65 -0
- package/vendor/symfony/event-dispatcher/LICENSE +19 -0
- package/vendor/symfony/event-dispatcher/README.md +15 -0
- package/vendor/symfony/event-dispatcher/composer.json +47 -0
- package/vendor/symfony/event-dispatcher-contracts/CHANGELOG.md +5 -0
- package/vendor/symfony/event-dispatcher-contracts/Event.php +51 -0
- package/vendor/symfony/event-dispatcher-contracts/EventDispatcherInterface.php +33 -0
- package/vendor/symfony/event-dispatcher-contracts/LICENSE +19 -0
- package/vendor/symfony/event-dispatcher-contracts/README.md +9 -0
- package/vendor/symfony/event-dispatcher-contracts/composer.json +35 -0
- package/vendor/symfony/filesystem/CHANGELOG.md +92 -0
- package/vendor/symfony/filesystem/Exception/ExceptionInterface.php +21 -0
- package/vendor/symfony/filesystem/Exception/FileNotFoundException.php +34 -0
- package/vendor/symfony/filesystem/Exception/IOException.php +36 -0
- package/vendor/symfony/filesystem/Exception/IOExceptionInterface.php +25 -0
- package/vendor/symfony/filesystem/Exception/InvalidArgumentException.php +19 -0
- package/vendor/symfony/filesystem/Exception/RuntimeException.php +19 -0
- package/vendor/symfony/filesystem/Filesystem.php +773 -0
- package/vendor/symfony/filesystem/LICENSE +19 -0
- package/vendor/symfony/filesystem/Path.php +816 -0
- package/vendor/symfony/filesystem/README.md +13 -0
- package/vendor/symfony/filesystem/composer.json +33 -0
- package/vendor/symfony/finder/CHANGELOG.md +103 -0
- package/vendor/symfony/finder/Comparator/Comparator.php +62 -0
- package/vendor/symfony/finder/Comparator/DateComparator.php +50 -0
- package/vendor/symfony/finder/Comparator/NumberComparator.php +78 -0
- package/vendor/symfony/finder/Exception/AccessDeniedException.php +19 -0
- package/vendor/symfony/finder/Exception/DirectoryNotFoundException.php +19 -0
- package/vendor/symfony/finder/Finder.php +852 -0
- package/vendor/symfony/finder/Gitignore.php +91 -0
- package/vendor/symfony/finder/Glob.php +109 -0
- package/vendor/symfony/finder/Iterator/CustomFilterIterator.php +61 -0
- package/vendor/symfony/finder/Iterator/DateRangeFilterIterator.php +58 -0
- package/vendor/symfony/finder/Iterator/DepthRangeFilterIterator.php +48 -0
- package/vendor/symfony/finder/Iterator/ExcludeDirectoryFilterIterator.php +110 -0
- package/vendor/symfony/finder/Iterator/FileTypeFilterIterator.php +51 -0
- package/vendor/symfony/finder/Iterator/FilecontentFilterIterator.php +58 -0
- package/vendor/symfony/finder/Iterator/FilenameFilterIterator.php +45 -0
- package/vendor/symfony/finder/Iterator/LazyIterator.php +32 -0
- package/vendor/symfony/finder/Iterator/MultiplePcreFilterIterator.php +107 -0
- package/vendor/symfony/finder/Iterator/PathFilterIterator.php +56 -0
- package/vendor/symfony/finder/Iterator/RecursiveDirectoryIterator.php +134 -0
- package/vendor/symfony/finder/Iterator/SizeRangeFilterIterator.php +57 -0
- package/vendor/symfony/finder/Iterator/SortableIterator.php +103 -0
- package/vendor/symfony/finder/Iterator/VcsIgnoredFilterIterator.php +173 -0
- package/vendor/symfony/finder/LICENSE +19 -0
- package/vendor/symfony/finder/README.md +14 -0
- package/vendor/symfony/finder/SplFileInfo.php +80 -0
- package/vendor/symfony/finder/composer.json +31 -0
- package/vendor/symfony/options-resolver/CHANGELOG.md +103 -0
- package/vendor/symfony/options-resolver/Debug/OptionsResolverIntrospector.php +114 -0
- package/vendor/symfony/options-resolver/Exception/AccessException.php +22 -0
- package/vendor/symfony/options-resolver/Exception/ExceptionInterface.php +21 -0
- package/vendor/symfony/options-resolver/Exception/InvalidArgumentException.php +21 -0
- package/vendor/symfony/options-resolver/Exception/InvalidOptionsException.php +23 -0
- package/vendor/symfony/options-resolver/Exception/MissingOptionsException.php +23 -0
- package/vendor/symfony/options-resolver/Exception/NoConfigurationException.php +26 -0
- package/vendor/symfony/options-resolver/Exception/NoSuchOptionException.php +26 -0
- package/vendor/symfony/options-resolver/Exception/OptionDefinitionException.php +21 -0
- package/vendor/symfony/options-resolver/Exception/UndefinedOptionsException.php +24 -0
- package/vendor/symfony/options-resolver/LICENSE +19 -0
- package/vendor/symfony/options-resolver/OptionConfigurator.php +160 -0
- package/vendor/symfony/options-resolver/Options.php +22 -0
- package/vendor/symfony/options-resolver/OptionsResolver.php +1396 -0
- package/vendor/symfony/options-resolver/README.md +15 -0
- package/vendor/symfony/options-resolver/composer.json +29 -0
- package/vendor/symfony/polyfill-ctype/Ctype.php +232 -0
- package/vendor/symfony/polyfill-ctype/LICENSE +19 -0
- package/vendor/symfony/polyfill-ctype/README.md +12 -0
- package/vendor/symfony/polyfill-ctype/bootstrap.php +50 -0
- package/vendor/symfony/polyfill-ctype/bootstrap80.php +46 -0
- package/vendor/symfony/polyfill-ctype/composer.json +38 -0
- package/vendor/symfony/polyfill-intl-grapheme/Grapheme.php +247 -0
- package/vendor/symfony/polyfill-intl-grapheme/LICENSE +19 -0
- package/vendor/symfony/polyfill-intl-grapheme/README.md +31 -0
- package/vendor/symfony/polyfill-intl-grapheme/bootstrap.php +58 -0
- package/vendor/symfony/polyfill-intl-grapheme/bootstrap80.php +50 -0
- package/vendor/symfony/polyfill-intl-grapheme/composer.json +35 -0
- package/vendor/symfony/polyfill-intl-normalizer/LICENSE +19 -0
- package/vendor/symfony/polyfill-intl-normalizer/Normalizer.php +310 -0
- package/vendor/symfony/polyfill-intl-normalizer/README.md +14 -0
- package/vendor/symfony/polyfill-intl-normalizer/Resources/stubs/Normalizer.php +17 -0
- package/vendor/symfony/polyfill-intl-normalizer/Resources/unidata/canonicalComposition.php +945 -0
- package/vendor/symfony/polyfill-intl-normalizer/Resources/unidata/canonicalDecomposition.php +2065 -0
- package/vendor/symfony/polyfill-intl-normalizer/Resources/unidata/combiningClass.php +876 -0
- package/vendor/symfony/polyfill-intl-normalizer/Resources/unidata/compatibilityDecomposition.php +3695 -0
- package/vendor/symfony/polyfill-intl-normalizer/bootstrap.php +23 -0
- package/vendor/symfony/polyfill-intl-normalizer/bootstrap80.php +19 -0
- package/vendor/symfony/polyfill-intl-normalizer/composer.json +36 -0
- package/vendor/symfony/polyfill-mbstring/LICENSE +19 -0
- package/vendor/symfony/polyfill-mbstring/Mbstring.php +1045 -0
- package/vendor/symfony/polyfill-mbstring/README.md +13 -0
- package/vendor/symfony/polyfill-mbstring/Resources/unidata/caseFolding.php +119 -0
- package/vendor/symfony/polyfill-mbstring/Resources/unidata/lowerCase.php +1397 -0
- package/vendor/symfony/polyfill-mbstring/Resources/unidata/titleCaseRegexp.php +5 -0
- package/vendor/symfony/polyfill-mbstring/Resources/unidata/upperCase.php +1489 -0
- package/vendor/symfony/polyfill-mbstring/bootstrap.php +172 -0
- package/vendor/symfony/polyfill-mbstring/bootstrap80.php +167 -0
- package/vendor/symfony/polyfill-mbstring/composer.json +39 -0
- package/vendor/symfony/polyfill-php80/LICENSE +19 -0
- package/vendor/symfony/polyfill-php80/Php80.php +115 -0
- package/vendor/symfony/polyfill-php80/PhpToken.php +106 -0
- package/vendor/symfony/polyfill-php80/README.md +25 -0
- package/vendor/symfony/polyfill-php80/Resources/stubs/Attribute.php +31 -0
- package/vendor/symfony/polyfill-php80/Resources/stubs/PhpToken.php +16 -0
- package/vendor/symfony/polyfill-php80/Resources/stubs/Stringable.php +20 -0
- package/vendor/symfony/polyfill-php80/Resources/stubs/UnhandledMatchError.php +16 -0
- package/vendor/symfony/polyfill-php80/Resources/stubs/ValueError.php +16 -0
- package/vendor/symfony/polyfill-php80/bootstrap.php +42 -0
- package/vendor/symfony/polyfill-php80/composer.json +37 -0
- package/vendor/symfony/polyfill-php81/LICENSE +19 -0
- package/vendor/symfony/polyfill-php81/Php81.php +37 -0
- package/vendor/symfony/polyfill-php81/README.md +18 -0
- package/vendor/symfony/polyfill-php81/Resources/stubs/CURLStringFile.php +51 -0
- package/vendor/symfony/polyfill-php81/Resources/stubs/ReturnTypeWillChange.php +20 -0
- package/vendor/symfony/polyfill-php81/bootstrap.php +28 -0
- package/vendor/symfony/polyfill-php81/composer.json +33 -0
- package/vendor/symfony/process/CHANGELOG.md +134 -0
- package/vendor/symfony/process/Exception/ExceptionInterface.php +21 -0
- package/vendor/symfony/process/Exception/InvalidArgumentException.php +21 -0
- package/vendor/symfony/process/Exception/LogicException.php +21 -0
- package/vendor/symfony/process/Exception/ProcessFailedException.php +53 -0
- package/vendor/symfony/process/Exception/ProcessSignaledException.php +38 -0
- package/vendor/symfony/process/Exception/ProcessStartFailedException.php +43 -0
- package/vendor/symfony/process/Exception/ProcessTimedOutException.php +60 -0
- package/vendor/symfony/process/Exception/RunProcessFailedException.php +25 -0
- package/vendor/symfony/process/Exception/RuntimeException.php +21 -0
- package/vendor/symfony/process/ExecutableFinder.php +103 -0
- package/vendor/symfony/process/InputStream.php +91 -0
- package/vendor/symfony/process/LICENSE +19 -0
- package/vendor/symfony/process/Messenger/RunProcessContext.php +33 -0
- package/vendor/symfony/process/Messenger/RunProcessMessage.php +47 -0
- package/vendor/symfony/process/Messenger/RunProcessMessageHandler.php +36 -0
- package/vendor/symfony/process/PhpExecutableFinder.php +98 -0
- package/vendor/symfony/process/PhpProcess.php +66 -0
- package/vendor/symfony/process/PhpSubprocess.php +164 -0
- package/vendor/symfony/process/Pipes/AbstractPipes.php +176 -0
- package/vendor/symfony/process/Pipes/PipesInterface.php +61 -0
- package/vendor/symfony/process/Pipes/UnixPipes.php +144 -0
- package/vendor/symfony/process/Pipes/WindowsPipes.php +185 -0
- package/vendor/symfony/process/Process.php +1662 -0
- package/vendor/symfony/process/ProcessUtils.php +64 -0
- package/vendor/symfony/process/README.md +13 -0
- package/vendor/symfony/process/composer.json +28 -0
- package/vendor/symfony/service-contracts/Attribute/Required.php +25 -0
- package/vendor/symfony/service-contracts/Attribute/SubscribedService.php +47 -0
- package/vendor/symfony/service-contracts/CHANGELOG.md +5 -0
- package/vendor/symfony/service-contracts/LICENSE +19 -0
- package/vendor/symfony/service-contracts/README.md +9 -0
- package/vendor/symfony/service-contracts/ResetInterface.php +33 -0
- package/vendor/symfony/service-contracts/ServiceCollectionInterface.php +26 -0
- package/vendor/symfony/service-contracts/ServiceLocatorTrait.php +114 -0
- package/vendor/symfony/service-contracts/ServiceMethodsSubscriberTrait.php +80 -0
- package/vendor/symfony/service-contracts/ServiceProviderInterface.php +45 -0
- package/vendor/symfony/service-contracts/ServiceSubscriberInterface.php +62 -0
- package/vendor/symfony/service-contracts/ServiceSubscriberTrait.php +84 -0
- package/vendor/symfony/service-contracts/Test/ServiceLocatorTest.php +23 -0
- package/vendor/symfony/service-contracts/Test/ServiceLocatorTestCase.php +97 -0
- package/vendor/symfony/service-contracts/composer.json +42 -0
- package/vendor/symfony/stopwatch/CHANGELOG.md +30 -0
- package/vendor/symfony/stopwatch/LICENSE +19 -0
- package/vendor/symfony/stopwatch/README.md +42 -0
- package/vendor/symfony/stopwatch/Section.php +155 -0
- package/vendor/symfony/stopwatch/Stopwatch.php +163 -0
- package/vendor/symfony/stopwatch/StopwatchEvent.php +238 -0
- package/vendor/symfony/stopwatch/StopwatchPeriod.php +73 -0
- package/vendor/symfony/stopwatch/composer.json +29 -0
- package/vendor/symfony/string/AbstractString.php +723 -0
- package/vendor/symfony/string/AbstractUnicodeString.php +670 -0
- package/vendor/symfony/string/ByteString.php +490 -0
- package/vendor/symfony/string/CHANGELOG.md +56 -0
- package/vendor/symfony/string/CodePointString.php +260 -0
- package/vendor/symfony/string/Exception/ExceptionInterface.php +16 -0
- package/vendor/symfony/string/Exception/InvalidArgumentException.php +16 -0
- package/vendor/symfony/string/Exception/RuntimeException.php +16 -0
- package/vendor/symfony/string/Inflector/EnglishInflector.php +589 -0
- package/vendor/symfony/string/Inflector/FrenchInflector.php +151 -0
- package/vendor/symfony/string/Inflector/InflectorInterface.php +33 -0
- package/vendor/symfony/string/Inflector/SpanishInflector.php +126 -0
- package/vendor/symfony/string/LICENSE +19 -0
- package/vendor/symfony/string/LazyString.php +145 -0
- package/vendor/symfony/string/README.md +14 -0
- package/vendor/symfony/string/Resources/data/wcswidth_table_wide.php +1182 -0
- package/vendor/symfony/string/Resources/data/wcswidth_table_zero.php +1466 -0
- package/vendor/symfony/string/Resources/functions.php +38 -0
- package/vendor/symfony/string/Slugger/AsciiSlugger.php +207 -0
- package/vendor/symfony/string/Slugger/SluggerInterface.php +27 -0
- package/vendor/symfony/string/TruncateMode.php +42 -0
- package/vendor/symfony/string/UnicodeString.php +382 -0
- package/vendor/symfony/string/composer.json +44 -0
- package/bin-codeformat.sh +0 -35
- /package/{LICENSE → LICENCE} +0 -0
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
## [Unreleased]
|
|
2
|
+
|
|
3
|
+
## [3.0.5] - 2024-05-06
|
|
4
|
+
* Fixed: fail restart if PHP_BINARY is not available
|
|
5
|
+
|
|
6
|
+
## [3.0.4] - 2024-03-26
|
|
7
|
+
* Added: Functional tests.
|
|
8
|
+
* Fixed: Incompatibility with PHPUnit 10.
|
|
9
|
+
|
|
10
|
+
## [3.0.3] - 2022-02-25
|
|
11
|
+
* Added: support for composer/pcre versions 2 and 3.
|
|
12
|
+
|
|
13
|
+
## [3.0.2] - 2022-02-24
|
|
14
|
+
* Fixed: regression in 3.0.1 affecting Xdebug 2
|
|
15
|
+
|
|
16
|
+
## [3.0.1] - 2022-01-04
|
|
17
|
+
* Fixed: error when calling `isXdebugActive` before class instantiation.
|
|
18
|
+
|
|
19
|
+
## [3.0.0] - 2021-12-23
|
|
20
|
+
* Removed: support for legacy PHP versions (< PHP 7.2.5).
|
|
21
|
+
* Added: type declarations to arguments and return values.
|
|
22
|
+
* Added: strict typing to all classes.
|
|
23
|
+
|
|
24
|
+
## [2.0.3] - 2021-12-08
|
|
25
|
+
* Added: support, type annotations and refactoring for stricter PHPStan analysis.
|
|
26
|
+
|
|
27
|
+
## [2.0.2] - 2021-07-31
|
|
28
|
+
* Added: support for `xdebug_info('mode')` in Xdebug 3.1.
|
|
29
|
+
* Added: support for Psr\Log versions 2 and 3.
|
|
30
|
+
* Fixed: remove ini directives from non-cli HOST/PATH sections.
|
|
31
|
+
|
|
32
|
+
## [2.0.1] - 2021-05-05
|
|
33
|
+
* Fixed: don't restart if the cwd is a UNC path and cmd.exe will be invoked.
|
|
34
|
+
|
|
35
|
+
## [2.0.0] - 2021-04-09
|
|
36
|
+
* Break: this is a major release, see [UPGRADE.md](UPGRADE.md) for more information.
|
|
37
|
+
* Break: removed optional `$colorOption` constructor param and passthru fallback.
|
|
38
|
+
* Break: renamed `requiresRestart` param from `$isLoaded` to `$default`.
|
|
39
|
+
* Break: changed `restart` param `$command` from a string to an array.
|
|
40
|
+
* Added: support for Xdebug3 to only restart if Xdebug is not running with `xdebug.mode=off`.
|
|
41
|
+
* Added: `isXdebugActive()` method to determine if Xdebug is still running in the restart.
|
|
42
|
+
* Added: feature to bypass the shell in PHP-7.4+ by giving `proc_open` an array of arguments.
|
|
43
|
+
* Added: Process utility class to the API.
|
|
44
|
+
|
|
45
|
+
## [1.4.6] - 2021-03-25
|
|
46
|
+
* Fixed: fail restart if `proc_open` has been disabled in `disable_functions`.
|
|
47
|
+
* Fixed: enable Windows CTRL event handling in the restarted process.
|
|
48
|
+
|
|
49
|
+
## [1.4.5] - 2020-11-13
|
|
50
|
+
* Fixed: use `proc_open` when available for correct FD forwarding to the restarted process.
|
|
51
|
+
|
|
52
|
+
## [1.4.4] - 2020-10-24
|
|
53
|
+
* Fixed: exception if 'pcntl_signal' is disabled.
|
|
54
|
+
|
|
55
|
+
## [1.4.3] - 2020-08-19
|
|
56
|
+
* Fixed: restore SIGINT to default handler in restarted process if no other handler exists.
|
|
57
|
+
|
|
58
|
+
## [1.4.2] - 2020-06-04
|
|
59
|
+
* Fixed: ignore SIGINTs to let the restarted process handle them.
|
|
60
|
+
|
|
61
|
+
## [1.4.1] - 2020-03-01
|
|
62
|
+
* Fixed: restart fails if an ini file is empty.
|
|
63
|
+
|
|
64
|
+
## [1.4.0] - 2019-11-06
|
|
65
|
+
* Added: support for `NO_COLOR` environment variable: https://no-color.org
|
|
66
|
+
* Added: color support for Hyper terminal: https://github.com/zeit/hyper
|
|
67
|
+
* Fixed: correct capitalization of Xdebug (apparently).
|
|
68
|
+
* Fixed: improved handling for uopz extension.
|
|
69
|
+
|
|
70
|
+
## [1.3.3] - 2019-05-27
|
|
71
|
+
* Fixed: add environment changes to `$_ENV` if it is being used.
|
|
72
|
+
|
|
73
|
+
## [1.3.2] - 2019-01-28
|
|
74
|
+
* Fixed: exit call being blocked by uopz extension, resulting in application code running twice.
|
|
75
|
+
|
|
76
|
+
## [1.3.1] - 2018-11-29
|
|
77
|
+
* Fixed: fail restart if `passthru` has been disabled in `disable_functions`.
|
|
78
|
+
* Fixed: fail restart if an ini file cannot be opened, otherwise settings will be missing.
|
|
79
|
+
|
|
80
|
+
## [1.3.0] - 2018-08-31
|
|
81
|
+
* Added: `setPersistent` method to use environment variables for the restart.
|
|
82
|
+
* Fixed: improved debugging by writing output to stderr.
|
|
83
|
+
* Fixed: no restart when `php_ini_scanned_files` is not functional and is needed.
|
|
84
|
+
|
|
85
|
+
## [1.2.1] - 2018-08-23
|
|
86
|
+
* Fixed: fatal error with apc, when using `apc.mmap_file_mask`.
|
|
87
|
+
|
|
88
|
+
## [1.2.0] - 2018-08-16
|
|
89
|
+
* Added: debug information using `XDEBUG_HANDLER_DEBUG`.
|
|
90
|
+
* Added: fluent interface for setters.
|
|
91
|
+
* Added: `PhpConfig` helper class for calling PHP sub-processes.
|
|
92
|
+
* Added: `PHPRC` original value to restart stettings, for use in a restarted process.
|
|
93
|
+
* Changed: internal procedure to disable ini-scanning, using `-n` command-line option.
|
|
94
|
+
* Fixed: replaced `escapeshellarg` usage to avoid locale problems.
|
|
95
|
+
* Fixed: improved color-option handling to respect double-dash delimiter.
|
|
96
|
+
* Fixed: color-option handling regression from main script changes.
|
|
97
|
+
* Fixed: improved handling when checking main script.
|
|
98
|
+
* Fixed: handling for standard input, that never actually did anything.
|
|
99
|
+
* Fixed: fatal error when ctype extension is not available.
|
|
100
|
+
|
|
101
|
+
## [1.1.0] - 2018-04-11
|
|
102
|
+
* Added: `getRestartSettings` method for calling PHP processes in a restarted process.
|
|
103
|
+
* Added: API definition and @internal class annotations.
|
|
104
|
+
* Added: protected `requiresRestart` method for extending classes.
|
|
105
|
+
* Added: `setMainScript` method for applications that change the working directory.
|
|
106
|
+
* Changed: private `tmpIni` variable to protected for extending classes.
|
|
107
|
+
* Fixed: environment variables not available in $_SERVER when restored in the restart.
|
|
108
|
+
* Fixed: relative path problems caused by Phar::interceptFileFuncs.
|
|
109
|
+
* Fixed: incorrect handling when script file cannot be found.
|
|
110
|
+
|
|
111
|
+
## [1.0.0] - 2018-03-08
|
|
112
|
+
* Added: PSR3 logging for optional status output.
|
|
113
|
+
* Added: existing ini settings are merged to catch command-line overrides.
|
|
114
|
+
* Added: code, tests and other artefacts to decouple from Composer.
|
|
115
|
+
* Break: the following class was renamed:
|
|
116
|
+
- `Composer\XdebugHandler` -> `Composer\XdebugHandler\XdebugHandler`
|
|
117
|
+
|
|
118
|
+
[Unreleased]: https://github.com/composer/xdebug-handler/compare/3.0.5...HEAD
|
|
119
|
+
[3.0.5]: https://github.com/composer/xdebug-handler/compare/3.0.4...3.0.5
|
|
120
|
+
[3.0.4]: https://github.com/composer/xdebug-handler/compare/3.0.3...3.0.4
|
|
121
|
+
[3.0.3]: https://github.com/composer/xdebug-handler/compare/3.0.2...3.0.3
|
|
122
|
+
[3.0.2]: https://github.com/composer/xdebug-handler/compare/3.0.1...3.0.2
|
|
123
|
+
[3.0.1]: https://github.com/composer/xdebug-handler/compare/3.0.0...3.0.1
|
|
124
|
+
[3.0.0]: https://github.com/composer/xdebug-handler/compare/2.0.3...3.0.0
|
|
125
|
+
[2.0.3]: https://github.com/composer/xdebug-handler/compare/2.0.2...2.0.3
|
|
126
|
+
[2.0.2]: https://github.com/composer/xdebug-handler/compare/2.0.1...2.0.2
|
|
127
|
+
[2.0.1]: https://github.com/composer/xdebug-handler/compare/2.0.0...2.0.1
|
|
128
|
+
[2.0.0]: https://github.com/composer/xdebug-handler/compare/1.4.6...2.0.0
|
|
129
|
+
[1.4.6]: https://github.com/composer/xdebug-handler/compare/1.4.5...1.4.6
|
|
130
|
+
[1.4.5]: https://github.com/composer/xdebug-handler/compare/1.4.4...1.4.5
|
|
131
|
+
[1.4.4]: https://github.com/composer/xdebug-handler/compare/1.4.3...1.4.4
|
|
132
|
+
[1.4.3]: https://github.com/composer/xdebug-handler/compare/1.4.2...1.4.3
|
|
133
|
+
[1.4.2]: https://github.com/composer/xdebug-handler/compare/1.4.1...1.4.2
|
|
134
|
+
[1.4.1]: https://github.com/composer/xdebug-handler/compare/1.4.0...1.4.1
|
|
135
|
+
[1.4.0]: https://github.com/composer/xdebug-handler/compare/1.3.3...1.4.0
|
|
136
|
+
[1.3.3]: https://github.com/composer/xdebug-handler/compare/1.3.2...1.3.3
|
|
137
|
+
[1.3.2]: https://github.com/composer/xdebug-handler/compare/1.3.1...1.3.2
|
|
138
|
+
[1.3.1]: https://github.com/composer/xdebug-handler/compare/1.3.0...1.3.1
|
|
139
|
+
[1.3.0]: https://github.com/composer/xdebug-handler/compare/1.2.1...1.3.0
|
|
140
|
+
[1.2.1]: https://github.com/composer/xdebug-handler/compare/1.2.0...1.2.1
|
|
141
|
+
[1.2.0]: https://github.com/composer/xdebug-handler/compare/1.1.0...1.2.0
|
|
142
|
+
[1.1.0]: https://github.com/composer/xdebug-handler/compare/1.0.0...1.1.0
|
|
143
|
+
[1.0.0]: https://github.com/composer/xdebug-handler/compare/d66f0d15cb57...1.0.0
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2017 Composer
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,305 @@
|
|
|
1
|
+
# composer/xdebug-handler
|
|
2
|
+
|
|
3
|
+
[](https://packagist.org/packages/composer/xdebug-handler)
|
|
4
|
+
[](https://github.com/composer/xdebug-handler/actions?query=branch:main)
|
|
5
|
+

|
|
6
|
+

|
|
7
|
+
|
|
8
|
+
Restart a CLI process without loading the Xdebug extension, unless `xdebug.mode=off`.
|
|
9
|
+
|
|
10
|
+
Originally written as part of [composer/composer](https://github.com/composer/composer),
|
|
11
|
+
now extracted and made available as a stand-alone library.
|
|
12
|
+
|
|
13
|
+
### Version 3
|
|
14
|
+
|
|
15
|
+
Removed support for legacy PHP versions and added type declarations.
|
|
16
|
+
|
|
17
|
+
Long term support for version 2 (PHP 5.3.2 - 7.2.4) follows [Composer 2.2 LTS](https://blog.packagist.com/composer-2-2/) policy.
|
|
18
|
+
|
|
19
|
+
## Installation
|
|
20
|
+
|
|
21
|
+
Install the latest version with:
|
|
22
|
+
|
|
23
|
+
```bash
|
|
24
|
+
$ composer require composer/xdebug-handler
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
## Requirements
|
|
28
|
+
|
|
29
|
+
* PHP 7.2.5 minimum, although using the latest PHP version is highly recommended.
|
|
30
|
+
|
|
31
|
+
## Basic Usage
|
|
32
|
+
```php
|
|
33
|
+
use Composer\XdebugHandler\XdebugHandler;
|
|
34
|
+
|
|
35
|
+
$xdebug = new XdebugHandler('myapp');
|
|
36
|
+
$xdebug->check();
|
|
37
|
+
unset($xdebug);
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
The constructor takes a single parameter, `$envPrefix`, which is upper-cased and prepended to default base values to create two distinct environment variables. The above example enables the use of:
|
|
41
|
+
|
|
42
|
+
- `MYAPP_ALLOW_XDEBUG=1` to override automatic restart and allow Xdebug
|
|
43
|
+
- `MYAPP_ORIGINAL_INIS` to obtain ini file locations in a restarted process
|
|
44
|
+
|
|
45
|
+
## Advanced Usage
|
|
46
|
+
|
|
47
|
+
* [How it works](#how-it-works)
|
|
48
|
+
* [Limitations](#limitations)
|
|
49
|
+
* [Helper methods](#helper-methods)
|
|
50
|
+
* [Setter methods](#setter-methods)
|
|
51
|
+
* [Process configuration](#process-configuration)
|
|
52
|
+
* [Troubleshooting](#troubleshooting)
|
|
53
|
+
* [Extending the library](#extending-the-library)
|
|
54
|
+
* [Examples](#examples)
|
|
55
|
+
|
|
56
|
+
### How it works
|
|
57
|
+
|
|
58
|
+
A temporary ini file is created from the loaded (and scanned) ini files, with any references to the Xdebug extension commented out. Current ini settings are merged, so that most ini settings made on the command-line or by the application are included (see [Limitations](#limitations))
|
|
59
|
+
|
|
60
|
+
* `MYAPP_ALLOW_XDEBUG` is set with internal data to flag and use in the restart.
|
|
61
|
+
* The command-line and environment are [configured](#process-configuration) for the restart.
|
|
62
|
+
* The application is restarted in a new process.
|
|
63
|
+
* The restart settings are stored in the environment.
|
|
64
|
+
* `MYAPP_ALLOW_XDEBUG` is unset.
|
|
65
|
+
* The application runs and exits.
|
|
66
|
+
* The main process exits with the exit code from the restarted process.
|
|
67
|
+
|
|
68
|
+
See [Examples](#examples) for further information.
|
|
69
|
+
|
|
70
|
+
#### Signal handling
|
|
71
|
+
Asynchronous signal handling is automatically enabled if the pcntl extension is loaded. `SIGINT` is set to `SIG_IGN` in the parent
|
|
72
|
+
process and restored to `SIG_DFL` in the restarted process (if no other handler has been set).
|
|
73
|
+
|
|
74
|
+
From PHP 7.4 on Windows, `CTRL+C` and `CTRL+BREAK` handling is automatically enabled in the restarted process and ignored in the parent process.
|
|
75
|
+
|
|
76
|
+
### Limitations
|
|
77
|
+
There are a few things to be aware of when running inside a restarted process.
|
|
78
|
+
|
|
79
|
+
* Extensions set on the command-line will not be loaded.
|
|
80
|
+
* Ini file locations will be reported as per the restart - see [getAllIniFiles()](#getallinifiles-array).
|
|
81
|
+
* Php sub-processes may be loaded with Xdebug enabled - see [Process configuration](#process-configuration).
|
|
82
|
+
|
|
83
|
+
### Helper methods
|
|
84
|
+
These static methods provide information from the current process, regardless of whether it has been restarted or not.
|
|
85
|
+
|
|
86
|
+
#### _getAllIniFiles(): array_
|
|
87
|
+
Returns an array of the original ini file locations. Use this instead of calling `php_ini_loaded_file` and `php_ini_scanned_files`, which will report the wrong values in a restarted process.
|
|
88
|
+
|
|
89
|
+
```php
|
|
90
|
+
use Composer\XdebugHandler\XdebugHandler;
|
|
91
|
+
|
|
92
|
+
$files = XdebugHandler::getAllIniFiles();
|
|
93
|
+
|
|
94
|
+
# $files[0] always exists, it could be an empty string
|
|
95
|
+
$loadedIni = array_shift($files);
|
|
96
|
+
$scannedInis = $files;
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
These locations are also available in the `MYAPP_ORIGINAL_INIS` environment variable. This is a path-separated string comprising the location returned from `php_ini_loaded_file`, which could be empty, followed by locations parsed from calling `php_ini_scanned_files`.
|
|
100
|
+
|
|
101
|
+
#### _getRestartSettings(): ?array_
|
|
102
|
+
Returns an array of settings that can be used with PHP [sub-processes](#sub-processes), or null if the process was not restarted.
|
|
103
|
+
|
|
104
|
+
```php
|
|
105
|
+
use Composer\XdebugHandler\XdebugHandler;
|
|
106
|
+
|
|
107
|
+
$settings = XdebugHandler::getRestartSettings();
|
|
108
|
+
/**
|
|
109
|
+
* $settings: array (if the current process was restarted,
|
|
110
|
+
* or called with the settings from a previous restart), or null
|
|
111
|
+
*
|
|
112
|
+
* 'tmpIni' => the temporary ini file used in the restart (string)
|
|
113
|
+
* 'scannedInis' => if there were any scanned inis (bool)
|
|
114
|
+
* 'scanDir' => the original PHP_INI_SCAN_DIR value (false|string)
|
|
115
|
+
* 'phprc' => the original PHPRC value (false|string)
|
|
116
|
+
* 'inis' => the original inis from getAllIniFiles (array)
|
|
117
|
+
* 'skipped' => the skipped version from getSkippedVersion (string)
|
|
118
|
+
*/
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
#### _getSkippedVersion(): string_
|
|
122
|
+
Returns the Xdebug version string that was skipped by the restart, or an empty string if there was no restart (or Xdebug is still loaded, perhaps by an extending class restarting for a reason other than removing Xdebug).
|
|
123
|
+
|
|
124
|
+
```php
|
|
125
|
+
use Composer\XdebugHandler\XdebugHandler;
|
|
126
|
+
|
|
127
|
+
$version = XdebugHandler::getSkippedVersion();
|
|
128
|
+
# $version: '3.1.1' (for example), or an empty string
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
#### _isXdebugActive(): bool_
|
|
132
|
+
Returns true if Xdebug is loaded and is running in an active mode (if it supports modes). Returns false if Xdebug is not loaded, or it is running with `xdebug.mode=off`.
|
|
133
|
+
|
|
134
|
+
### Setter methods
|
|
135
|
+
These methods implement a fluent interface and must be called before the main `check()` method.
|
|
136
|
+
|
|
137
|
+
#### _setLogger(LoggerInterface $logger): self_
|
|
138
|
+
Enables the output of status messages to an external PSR3 logger. All messages are reported with either `DEBUG` or `WARNING` log levels. For example (showing the level and message):
|
|
139
|
+
|
|
140
|
+
```
|
|
141
|
+
// No restart
|
|
142
|
+
DEBUG Checking MYAPP_ALLOW_XDEBUG
|
|
143
|
+
DEBUG The Xdebug extension is loaded (3.1.1) xdebug.mode=off
|
|
144
|
+
DEBUG No restart (APP_ALLOW_XDEBUG=0) Allowed by xdebug.mode
|
|
145
|
+
|
|
146
|
+
// Restart overridden
|
|
147
|
+
DEBUG Checking MYAPP_ALLOW_XDEBUG
|
|
148
|
+
DEBUG The Xdebug extension is loaded (3.1.1) xdebug.mode=coverage,debug,develop
|
|
149
|
+
DEBUG No restart (MYAPP_ALLOW_XDEBUG=1)
|
|
150
|
+
|
|
151
|
+
// Failed restart
|
|
152
|
+
DEBUG Checking MYAPP_ALLOW_XDEBUG
|
|
153
|
+
DEBUG The Xdebug extension is loaded (3.1.0)
|
|
154
|
+
WARNING No restart (Unable to create temp ini file at: ...)
|
|
155
|
+
```
|
|
156
|
+
|
|
157
|
+
Status messages can also be output with `XDEBUG_HANDLER_DEBUG`. See [Troubleshooting](#troubleshooting).
|
|
158
|
+
|
|
159
|
+
#### _setMainScript(string $script): self_
|
|
160
|
+
Sets the location of the main script to run in the restart. This is only needed in more esoteric use-cases, or if the `argv[0]` location is inaccessible. The script name `--` is supported for standard input.
|
|
161
|
+
|
|
162
|
+
#### _setPersistent(): self_
|
|
163
|
+
Configures the restart using [persistent settings](#persistent-settings), so that Xdebug is not loaded in any sub-process.
|
|
164
|
+
|
|
165
|
+
Use this method if your application invokes one or more PHP sub-process and the Xdebug extension is not needed. This avoids the overhead of implementing specific [sub-process](#sub-processes) strategies.
|
|
166
|
+
|
|
167
|
+
Alternatively, this method can be used to set up a default _Xdebug-free_ environment which can be changed if a sub-process requires Xdebug, then restored afterwards:
|
|
168
|
+
|
|
169
|
+
```php
|
|
170
|
+
function SubProcessWithXdebug()
|
|
171
|
+
{
|
|
172
|
+
$phpConfig = new Composer\XdebugHandler\PhpConfig();
|
|
173
|
+
|
|
174
|
+
# Set the environment to the original configuration
|
|
175
|
+
$phpConfig->useOriginal();
|
|
176
|
+
|
|
177
|
+
# run the process with Xdebug loaded
|
|
178
|
+
...
|
|
179
|
+
|
|
180
|
+
# Restore Xdebug-free environment
|
|
181
|
+
$phpConfig->usePersistent();
|
|
182
|
+
}
|
|
183
|
+
```
|
|
184
|
+
|
|
185
|
+
### Process configuration
|
|
186
|
+
The library offers two strategies to invoke a new PHP process without loading Xdebug, using either _standard_ or _persistent_ settings. Note that this is only important if the application calls a PHP sub-process.
|
|
187
|
+
|
|
188
|
+
#### Standard settings
|
|
189
|
+
Uses command-line options to remove Xdebug from the new process only.
|
|
190
|
+
|
|
191
|
+
* The -n option is added to the command-line. This tells PHP not to scan for additional inis.
|
|
192
|
+
* The temporary ini is added to the command-line with the -c option.
|
|
193
|
+
|
|
194
|
+
>_If the new process calls a PHP sub-process, Xdebug will be loaded in that sub-process (unless it implements xdebug-handler, in which case there will be another restart)._
|
|
195
|
+
|
|
196
|
+
This is the default strategy used in the restart.
|
|
197
|
+
|
|
198
|
+
#### Persistent settings
|
|
199
|
+
Uses environment variables to remove Xdebug from the new process and persist these settings to any sub-process.
|
|
200
|
+
|
|
201
|
+
* `PHP_INI_SCAN_DIR` is set to an empty string. This tells PHP not to scan for additional inis.
|
|
202
|
+
* `PHPRC` is set to the temporary ini.
|
|
203
|
+
|
|
204
|
+
>_If the new process calls a PHP sub-process, Xdebug will not be loaded in that sub-process._
|
|
205
|
+
|
|
206
|
+
This strategy can be used in the restart by calling [setPersistent()](#setpersistent-self).
|
|
207
|
+
|
|
208
|
+
#### Sub-processes
|
|
209
|
+
The `PhpConfig` helper class makes it easy to invoke a PHP sub-process (with or without Xdebug loaded), regardless of whether there has been a restart.
|
|
210
|
+
|
|
211
|
+
Each of its methods returns an array of PHP options (to add to the command-line) and sets up the environment for the required strategy. The [getRestartSettings()](#getrestartsettings-array) method is used internally.
|
|
212
|
+
|
|
213
|
+
* `useOriginal()` - Xdebug will be loaded in the new process.
|
|
214
|
+
* `useStandard()` - Xdebug will **not** be loaded in the new process - see [standard settings](#standard-settings).
|
|
215
|
+
* `userPersistent()` - Xdebug will **not** be loaded in the new process - see [persistent settings](#persistent-settings)
|
|
216
|
+
|
|
217
|
+
If there was no restart, an empty options array is returned and the environment is not changed.
|
|
218
|
+
|
|
219
|
+
```php
|
|
220
|
+
use Composer\XdebugHandler\PhpConfig;
|
|
221
|
+
|
|
222
|
+
$config = new PhpConfig;
|
|
223
|
+
|
|
224
|
+
$options = $config->useOriginal();
|
|
225
|
+
# $options: empty array
|
|
226
|
+
# environment: PHPRC and PHP_INI_SCAN_DIR set to original values
|
|
227
|
+
|
|
228
|
+
$options = $config->useStandard();
|
|
229
|
+
# $options: [-n, -c, tmpIni]
|
|
230
|
+
# environment: PHPRC and PHP_INI_SCAN_DIR set to original values
|
|
231
|
+
|
|
232
|
+
$options = $config->usePersistent();
|
|
233
|
+
# $options: empty array
|
|
234
|
+
# environment: PHPRC=tmpIni, PHP_INI_SCAN_DIR=''
|
|
235
|
+
```
|
|
236
|
+
|
|
237
|
+
### Troubleshooting
|
|
238
|
+
The following environment settings can be used to troubleshoot unexpected behavior:
|
|
239
|
+
|
|
240
|
+
* `XDEBUG_HANDLER_DEBUG=1` Outputs status messages to `STDERR`, if it is defined, irrespective of any PSR3 logger. Each message is prefixed `xdebug-handler[pid]`, where pid is the process identifier.
|
|
241
|
+
|
|
242
|
+
* `XDEBUG_HANDLER_DEBUG=2` As above, but additionally saves the temporary ini file and reports its location in a status message.
|
|
243
|
+
|
|
244
|
+
### Extending the library
|
|
245
|
+
The API is defined by classes and their accessible elements that are not annotated as @internal. The main class has two protected methods that can be overridden to provide additional functionality:
|
|
246
|
+
|
|
247
|
+
#### _requiresRestart(bool $default): bool_
|
|
248
|
+
By default the process will restart if Xdebug is loaded and not running with `xdebug.mode=off`. Extending this method allows an application to decide, by returning a boolean (or equivalent) value.
|
|
249
|
+
It is only called if `MYAPP_ALLOW_XDEBUG` is empty, so it will not be called in the restarted process (where this variable contains internal data), or if the restart has been overridden.
|
|
250
|
+
|
|
251
|
+
Note that the [setMainScript()](#setmainscriptstring-script-self) and [setPersistent()](#setpersistent-self) setters can be used here, if required.
|
|
252
|
+
|
|
253
|
+
#### _restart(array $command): void_
|
|
254
|
+
An application can extend this to modify the temporary ini file, its location given in the `tmpIni` property. New settings can be safely appended to the end of the data, which is `PHP_EOL` terminated.
|
|
255
|
+
|
|
256
|
+
The `$command` parameter is an array of unescaped command-line arguments that will be used for the new process.
|
|
257
|
+
|
|
258
|
+
Remember to finish with `parent::restart($command)`.
|
|
259
|
+
|
|
260
|
+
#### Example
|
|
261
|
+
This example demonstrates two ways to extend basic functionality:
|
|
262
|
+
|
|
263
|
+
* To avoid the overhead of spinning up a new process, the restart is skipped if a simple help command is requested.
|
|
264
|
+
|
|
265
|
+
* The application needs write-access to phar files, so it will force a restart if `phar.readonly` is set (regardless of whether Xdebug is loaded) and change this value in the temporary ini file.
|
|
266
|
+
|
|
267
|
+
```php
|
|
268
|
+
use Composer\XdebugHandler\XdebugHandler;
|
|
269
|
+
use MyApp\Command;
|
|
270
|
+
|
|
271
|
+
class MyRestarter extends XdebugHandler
|
|
272
|
+
{
|
|
273
|
+
private $required;
|
|
274
|
+
|
|
275
|
+
protected function requiresRestart(bool $default): bool
|
|
276
|
+
{
|
|
277
|
+
if (Command::isHelp()) {
|
|
278
|
+
# No need to disable Xdebug for this
|
|
279
|
+
return false;
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
$this->required = (bool) ini_get('phar.readonly');
|
|
283
|
+
return $this->required || $default;
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
protected function restart(array $command): void
|
|
287
|
+
{
|
|
288
|
+
if ($this->required) {
|
|
289
|
+
# Add required ini setting to tmpIni
|
|
290
|
+
$content = file_get_contents($this->tmpIni);
|
|
291
|
+
$content .= 'phar.readonly=0'.PHP_EOL;
|
|
292
|
+
file_put_contents($this->tmpIni, $content);
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
parent::restart($command);
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
```
|
|
299
|
+
|
|
300
|
+
### Examples
|
|
301
|
+
The `tests\App` directory contains command-line scripts that demonstrate the internal workings in a variety of scenarios.
|
|
302
|
+
See [Functional Test Scripts](./tests/App/README.md).
|
|
303
|
+
|
|
304
|
+
## License
|
|
305
|
+
composer/xdebug-handler is licensed under the MIT License, see the LICENSE file for details.
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "composer/xdebug-handler",
|
|
3
|
+
"description": "Restarts a process without Xdebug.",
|
|
4
|
+
"type": "library",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"xdebug",
|
|
8
|
+
"performance"
|
|
9
|
+
],
|
|
10
|
+
"authors": [
|
|
11
|
+
{
|
|
12
|
+
"name": "John Stevenson",
|
|
13
|
+
"email": "john-stevenson@blueyonder.co.uk"
|
|
14
|
+
}
|
|
15
|
+
],
|
|
16
|
+
"support": {
|
|
17
|
+
"irc": "ircs://irc.libera.chat:6697/composer",
|
|
18
|
+
"issues": "https://github.com/composer/xdebug-handler/issues"
|
|
19
|
+
},
|
|
20
|
+
"require": {
|
|
21
|
+
"php": "^7.2.5 || ^8.0",
|
|
22
|
+
"psr/log": "^1 || ^2 || ^3",
|
|
23
|
+
"composer/pcre": "^1 || ^2 || ^3"
|
|
24
|
+
},
|
|
25
|
+
"require-dev": {
|
|
26
|
+
"phpstan/phpstan": "^1.0",
|
|
27
|
+
"phpstan/phpstan-strict-rules": "^1.1",
|
|
28
|
+
"phpunit/phpunit": "^8.5 || ^9.6 || ^10.5"
|
|
29
|
+
},
|
|
30
|
+
"autoload": {
|
|
31
|
+
"psr-4": {
|
|
32
|
+
"Composer\\XdebugHandler\\": "src"
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
"autoload-dev": {
|
|
36
|
+
"psr-4": {
|
|
37
|
+
"Composer\\XdebugHandler\\Tests\\": "tests"
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"scripts": {
|
|
41
|
+
"test": "@php vendor/bin/phpunit",
|
|
42
|
+
"phpstan": "@php vendor/bin/phpstan analyse"
|
|
43
|
+
}
|
|
44
|
+
}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
<?php
|
|
2
|
+
|
|
3
|
+
declare(strict_types=1);
|
|
4
|
+
|
|
5
|
+
/*
|
|
6
|
+
* This file is part of composer/xdebug-handler.
|
|
7
|
+
*
|
|
8
|
+
* (c) Composer <https://github.com/composer>
|
|
9
|
+
*
|
|
10
|
+
* For the full copyright and license information, please view
|
|
11
|
+
* the LICENSE file that was distributed with this source code.
|
|
12
|
+
*/
|
|
13
|
+
|
|
14
|
+
namespace Composer\XdebugHandler;
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* @author John Stevenson <john-stevenson@blueyonder.co.uk>
|
|
18
|
+
*
|
|
19
|
+
* @phpstan-type restartData array{tmpIni: string, scannedInis: bool, scanDir: false|string, phprc: false|string, inis: string[], skipped: string}
|
|
20
|
+
*/
|
|
21
|
+
class PhpConfig
|
|
22
|
+
{
|
|
23
|
+
/**
|
|
24
|
+
* Use the original PHP configuration
|
|
25
|
+
*
|
|
26
|
+
* @return string[] Empty array of PHP cli options
|
|
27
|
+
*/
|
|
28
|
+
public function useOriginal(): array
|
|
29
|
+
{
|
|
30
|
+
$this->getDataAndReset();
|
|
31
|
+
return [];
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* Use standard restart settings
|
|
36
|
+
*
|
|
37
|
+
* @return string[] PHP cli options
|
|
38
|
+
*/
|
|
39
|
+
public function useStandard(): array
|
|
40
|
+
{
|
|
41
|
+
$data = $this->getDataAndReset();
|
|
42
|
+
if ($data !== null) {
|
|
43
|
+
return ['-n', '-c', $data['tmpIni']];
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
return [];
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* Use environment variables to persist settings
|
|
51
|
+
*
|
|
52
|
+
* @return string[] Empty array of PHP cli options
|
|
53
|
+
*/
|
|
54
|
+
public function usePersistent(): array
|
|
55
|
+
{
|
|
56
|
+
$data = $this->getDataAndReset();
|
|
57
|
+
if ($data !== null) {
|
|
58
|
+
$this->updateEnv('PHPRC', $data['tmpIni']);
|
|
59
|
+
$this->updateEnv('PHP_INI_SCAN_DIR', '');
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
return [];
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* Returns restart data if available and resets the environment
|
|
67
|
+
*
|
|
68
|
+
* @phpstan-return restartData|null
|
|
69
|
+
*/
|
|
70
|
+
private function getDataAndReset(): ?array
|
|
71
|
+
{
|
|
72
|
+
$data = XdebugHandler::getRestartSettings();
|
|
73
|
+
if ($data !== null) {
|
|
74
|
+
$this->updateEnv('PHPRC', $data['phprc']);
|
|
75
|
+
$this->updateEnv('PHP_INI_SCAN_DIR', $data['scanDir']);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
return $data;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* Updates a restart settings value in the environment
|
|
83
|
+
*
|
|
84
|
+
* @param string $name
|
|
85
|
+
* @param string|false $value
|
|
86
|
+
*/
|
|
87
|
+
private function updateEnv(string $name, $value): void
|
|
88
|
+
{
|
|
89
|
+
Process::setEnv($name, false !== $value ? $value : null);
|
|
90
|
+
}
|
|
91
|
+
}
|