@averay/codeformat 0.2.7 → 0.2.9
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/.php-cs-fixer.cache +1 -1
- package/bin/tools/phpCsFixer.ts +0 -1
- package/bin/utils/Cli.ts +1 -2
- package/composer.json +1 -1
- package/composer.lock +413 -137
- package/dist/bin/tools/phpCsFixer.d.ts +0 -3
- package/dist/bin/tools/phpCsFixer.js +0 -1
- package/dist/bin/tools/phpCsFixer.js.map +1 -1
- package/dist/bin/utils/Cli.js +1 -1
- package/dist/bin/utils/Cli.js.map +1 -1
- package/dist/rulesets/eslint/ruleset-shared.d.ts +28 -22
- package/dist/rulesets/eslint/ruleset-shared.js +25 -25
- package/dist/rulesets/eslint/ruleset-shared.js.map +1 -1
- package/dist/rulesets/eslint/ruleset-typescript.js +4 -4
- package/dist/rulesets/eslint/ruleset-typescript.js.map +1 -1
- package/dist/src/makeEslintConfig.js +7 -8
- package/dist/src/makeEslintConfig.js.map +1 -1
- package/knip.config.ts +0 -1
- package/package.json +2 -2
- package/rulesets/eslint/ruleset-shared.ts +25 -25
- package/rulesets/eslint/ruleset-typescript.ts +4 -4
- package/src/makeEslintConfig.ts +7 -8
- package/stylelint.config.js +1 -1
- package/types.d.ts +0 -8
- package/.cache/eslint +0 -1
- package/.cache/knip/-averay-codeformat--5.61.3 +0 -0
- package/.cache/knip/plugins--5.61.3 +0 -0
- package/vendor/.metadata_never_index +0 -0
- package/vendor/autoload.php +0 -22
- package/vendor/bin/php-cs-fixer +0 -119
- package/vendor/clue/ndjson-react/.github/FUNDING.yml +0 -2
- package/vendor/clue/ndjson-react/CHANGELOG.md +0 -75
- package/vendor/clue/ndjson-react/LICENSE +0 -21
- package/vendor/clue/ndjson-react/README.md +0 -365
- package/vendor/clue/ndjson-react/composer.json +0 -31
- package/vendor/clue/ndjson-react/src/Decoder.php +0 -166
- package/vendor/clue/ndjson-react/src/Encoder.php +0 -144
- package/vendor/composer/ClassLoader.php +0 -579
- package/vendor/composer/InstalledVersions.php +0 -396
- package/vendor/composer/LICENSE +0 -21
- package/vendor/composer/autoload_classmap.php +0 -34
- package/vendor/composer/autoload_files.php +0 -18
- package/vendor/composer/autoload_namespaces.php +0 -9
- package/vendor/composer/autoload_psr4.php +0 -42
- package/vendor/composer/autoload_real.php +0 -48
- package/vendor/composer/autoload_static.php +0 -247
- package/vendor/composer/installed.json +0 -3634
- package/vendor/composer/installed.php +0 -367
- package/vendor/composer/pcre/LICENSE +0 -19
- package/vendor/composer/pcre/README.md +0 -189
- package/vendor/composer/pcre/composer.json +0 -54
- package/vendor/composer/pcre/extension.neon +0 -22
- package/vendor/composer/pcre/src/MatchAllResult.php +0 -46
- package/vendor/composer/pcre/src/MatchAllStrictGroupsResult.php +0 -46
- package/vendor/composer/pcre/src/MatchAllWithOffsetsResult.php +0 -48
- package/vendor/composer/pcre/src/MatchResult.php +0 -39
- package/vendor/composer/pcre/src/MatchStrictGroupsResult.php +0 -39
- package/vendor/composer/pcre/src/MatchWithOffsetsResult.php +0 -41
- package/vendor/composer/pcre/src/PHPStan/InvalidRegexPatternRule.php +0 -142
- package/vendor/composer/pcre/src/PHPStan/PregMatchFlags.php +0 -70
- package/vendor/composer/pcre/src/PHPStan/PregMatchParameterOutTypeExtension.php +0 -65
- package/vendor/composer/pcre/src/PHPStan/PregMatchTypeSpecifyingExtension.php +0 -119
- package/vendor/composer/pcre/src/PHPStan/PregReplaceCallbackClosureTypeExtension.php +0 -91
- package/vendor/composer/pcre/src/PHPStan/UnsafeStrictGroupsCallRule.php +0 -112
- package/vendor/composer/pcre/src/PcreException.php +0 -55
- package/vendor/composer/pcre/src/Preg.php +0 -430
- package/vendor/composer/pcre/src/Regex.php +0 -176
- package/vendor/composer/pcre/src/ReplaceResult.php +0 -43
- package/vendor/composer/pcre/src/UnexpectedNullMatchException.php +0 -20
- package/vendor/composer/semver/CHANGELOG.md +0 -229
- package/vendor/composer/semver/LICENSE +0 -19
- package/vendor/composer/semver/README.md +0 -99
- package/vendor/composer/semver/composer.json +0 -59
- package/vendor/composer/semver/src/Comparator.php +0 -113
- package/vendor/composer/semver/src/CompilingMatcher.php +0 -94
- package/vendor/composer/semver/src/Constraint/Bound.php +0 -122
- package/vendor/composer/semver/src/Constraint/Constraint.php +0 -435
- package/vendor/composer/semver/src/Constraint/ConstraintInterface.php +0 -75
- package/vendor/composer/semver/src/Constraint/MatchAllConstraint.php +0 -85
- package/vendor/composer/semver/src/Constraint/MatchNoneConstraint.php +0 -83
- package/vendor/composer/semver/src/Constraint/MultiConstraint.php +0 -325
- package/vendor/composer/semver/src/Interval.php +0 -98
- package/vendor/composer/semver/src/Intervals.php +0 -478
- package/vendor/composer/semver/src/Semver.php +0 -129
- package/vendor/composer/semver/src/VersionParser.php +0 -591
- package/vendor/composer/xdebug-handler/CHANGELOG.md +0 -143
- package/vendor/composer/xdebug-handler/LICENSE +0 -21
- package/vendor/composer/xdebug-handler/README.md +0 -305
- package/vendor/composer/xdebug-handler/composer.json +0 -44
- package/vendor/composer/xdebug-handler/src/PhpConfig.php +0 -91
- package/vendor/composer/xdebug-handler/src/Process.php +0 -119
- package/vendor/composer/xdebug-handler/src/Status.php +0 -222
- package/vendor/composer/xdebug-handler/src/XdebugHandler.php +0 -722
- package/vendor/evenement/evenement/.gitattributes +0 -7
- package/vendor/evenement/evenement/LICENSE +0 -19
- package/vendor/evenement/evenement/README.md +0 -64
- package/vendor/evenement/evenement/composer.json +0 -29
- package/vendor/evenement/evenement/src/EventEmitter.php +0 -17
- package/vendor/evenement/evenement/src/EventEmitterInterface.php +0 -22
- package/vendor/evenement/evenement/src/EventEmitterTrait.php +0 -154
- package/vendor/fidry/cpu-core-counter/.envrc +0 -5
- package/vendor/fidry/cpu-core-counter/LICENSE.md +0 -16
- package/vendor/fidry/cpu-core-counter/README.md +0 -138
- package/vendor/fidry/cpu-core-counter/bin/diagnose.php +0 -27
- package/vendor/fidry/cpu-core-counter/bin/execute.php +0 -21
- package/vendor/fidry/cpu-core-counter/bin/trace.php +0 -32
- package/vendor/fidry/cpu-core-counter/composer.json +0 -48
- package/vendor/fidry/cpu-core-counter/src/CpuCoreCounter.php +0 -268
- package/vendor/fidry/cpu-core-counter/src/Diagnoser.php +0 -101
- package/vendor/fidry/cpu-core-counter/src/Executor/ProcOpenExecutor.php +0 -56
- package/vendor/fidry/cpu-core-counter/src/Executor/ProcessExecutor.php +0 -22
- package/vendor/fidry/cpu-core-counter/src/Finder/CmiCmdletLogicalFinder.php +0 -46
- package/vendor/fidry/cpu-core-counter/src/Finder/CmiCmdletPhysicalFinder.php +0 -47
- package/vendor/fidry/cpu-core-counter/src/Finder/CpuCoreFinder.php +0 -37
- package/vendor/fidry/cpu-core-counter/src/Finder/CpuInfoFinder.php +0 -100
- package/vendor/fidry/cpu-core-counter/src/Finder/DummyCpuCoreFinder.php +0 -57
- package/vendor/fidry/cpu-core-counter/src/Finder/EnvVariableFinder.php +0 -69
- package/vendor/fidry/cpu-core-counter/src/Finder/FinderRegistry.php +0 -91
- package/vendor/fidry/cpu-core-counter/src/Finder/HwLogicalFinder.php +0 -33
- package/vendor/fidry/cpu-core-counter/src/Finder/HwPhysicalFinder.php +0 -33
- package/vendor/fidry/cpu-core-counter/src/Finder/LscpuLogicalFinder.php +0 -52
- package/vendor/fidry/cpu-core-counter/src/Finder/LscpuPhysicalFinder.php +0 -66
- package/vendor/fidry/cpu-core-counter/src/Finder/NProcFinder.php +0 -59
- package/vendor/fidry/cpu-core-counter/src/Finder/NProcessorFinder.php +0 -32
- package/vendor/fidry/cpu-core-counter/src/Finder/NullCpuCoreFinder.php +0 -35
- package/vendor/fidry/cpu-core-counter/src/Finder/OnlyInPowerShellFinder.php +0 -62
- package/vendor/fidry/cpu-core-counter/src/Finder/OnlyOnOSFamilyFinder.php +0 -113
- package/vendor/fidry/cpu-core-counter/src/Finder/ProcOpenBasedFinder.php +0 -107
- package/vendor/fidry/cpu-core-counter/src/Finder/SkipOnOSFamilyFinder.php +0 -113
- package/vendor/fidry/cpu-core-counter/src/Finder/WindowsRegistryLogicalFinder.php +0 -51
- package/vendor/fidry/cpu-core-counter/src/Finder/WmicLogicalFinder.php +0 -47
- package/vendor/fidry/cpu-core-counter/src/Finder/WmicPhysicalFinder.php +0 -47
- package/vendor/fidry/cpu-core-counter/src/Finder/_NProcessorFinder.php +0 -32
- package/vendor/fidry/cpu-core-counter/src/NumberOfCpuCoreNotFound.php +0 -26
- package/vendor/fidry/cpu-core-counter/src/ParallelisationResult.php +0 -87
- package/vendor/friendsofphp/php-cs-fixer/CHANGELOG.md +0 -5983
- package/vendor/friendsofphp/php-cs-fixer/CONTRIBUTING.md +0 -103
- package/vendor/friendsofphp/php-cs-fixer/LICENSE +0 -19
- package/vendor/friendsofphp/php-cs-fixer/README.md +0 -88
- package/vendor/friendsofphp/php-cs-fixer/UPGRADE-v3.md +0 -162
- package/vendor/friendsofphp/php-cs-fixer/ci-integration.sh +0 -8
- package/vendor/friendsofphp/php-cs-fixer/composer.json +0 -210
- package/vendor/friendsofphp/php-cs-fixer/feature-or-bug.rst +0 -24
- package/vendor/friendsofphp/php-cs-fixer/logo.md +0 -3
- package/vendor/friendsofphp/php-cs-fixer/logo.png +0 -0
- package/vendor/friendsofphp/php-cs-fixer/php-cs-fixer +0 -110
- package/vendor/friendsofphp/php-cs-fixer/src/AbstractDoctrineAnnotationFixer.php +0 -241
- package/vendor/friendsofphp/php-cs-fixer/src/AbstractFixer.php +0 -102
- package/vendor/friendsofphp/php-cs-fixer/src/AbstractFopenFlagFixer.php +0 -116
- package/vendor/friendsofphp/php-cs-fixer/src/AbstractFunctionReferenceFixer.php +0 -71
- package/vendor/friendsofphp/php-cs-fixer/src/AbstractNoUselessElseFixer.php +0 -204
- package/vendor/friendsofphp/php-cs-fixer/src/AbstractPhpdocToTypeDeclarationFixer.php +0 -314
- package/vendor/friendsofphp/php-cs-fixer/src/AbstractPhpdocTypesFixer.php +0 -105
- package/vendor/friendsofphp/php-cs-fixer/src/AbstractProxyFixer.php +0 -106
- package/vendor/friendsofphp/php-cs-fixer/src/Cache/Cache.php +0 -151
- package/vendor/friendsofphp/php-cs-fixer/src/Cache/CacheInterface.php +0 -35
- package/vendor/friendsofphp/php-cs-fixer/src/Cache/CacheManagerInterface.php +0 -29
- package/vendor/friendsofphp/php-cs-fixer/src/Cache/Directory.php +0 -51
- package/vendor/friendsofphp/php-cs-fixer/src/Cache/DirectoryInterface.php +0 -23
- package/vendor/friendsofphp/php-cs-fixer/src/Cache/FileCacheManager.php +0 -143
- package/vendor/friendsofphp/php-cs-fixer/src/Cache/FileHandler.php +0 -184
- package/vendor/friendsofphp/php-cs-fixer/src/Cache/FileHandlerInterface.php +0 -29
- package/vendor/friendsofphp/php-cs-fixer/src/Cache/NullCacheManager.php +0 -33
- package/vendor/friendsofphp/php-cs-fixer/src/Cache/Signature.php +0 -100
- package/vendor/friendsofphp/php-cs-fixer/src/Cache/SignatureInterface.php +0 -38
- package/vendor/friendsofphp/php-cs-fixer/src/Config.php +0 -267
- package/vendor/friendsofphp/php-cs-fixer/src/ConfigInterface.php +0 -162
- package/vendor/friendsofphp/php-cs-fixer/src/ConfigurationException/InvalidConfigurationException.php +0 -36
- package/vendor/friendsofphp/php-cs-fixer/src/ConfigurationException/InvalidFixerConfigurationException.php +0 -45
- package/vendor/friendsofphp/php-cs-fixer/src/ConfigurationException/InvalidForEnvFixerConfigurationException.php +0 -22
- package/vendor/friendsofphp/php-cs-fixer/src/ConfigurationException/RequiredFixerConfigurationException.php +0 -22
- package/vendor/friendsofphp/php-cs-fixer/src/Console/Application.php +0 -212
- package/vendor/friendsofphp/php-cs-fixer/src/Console/Command/CheckCommand.php +0 -64
- package/vendor/friendsofphp/php-cs-fixer/src/Console/Command/DescribeCommand.php +0 -476
- package/vendor/friendsofphp/php-cs-fixer/src/Console/Command/DescribeNameNotFoundException.php +0 -46
- package/vendor/friendsofphp/php-cs-fixer/src/Console/Command/DocumentationCommand.php +0 -123
- package/vendor/friendsofphp/php-cs-fixer/src/Console/Command/FixCommand.php +0 -397
- package/vendor/friendsofphp/php-cs-fixer/src/Console/Command/FixCommandExitStatusCalculator.php +0 -56
- package/vendor/friendsofphp/php-cs-fixer/src/Console/Command/HelpCommand.php +0 -76
- package/vendor/friendsofphp/php-cs-fixer/src/Console/Command/ListFilesCommand.php +0 -91
- package/vendor/friendsofphp/php-cs-fixer/src/Console/Command/ListSetsCommand.php +0 -87
- package/vendor/friendsofphp/php-cs-fixer/src/Console/Command/SelfUpdateCommand.php +0 -176
- package/vendor/friendsofphp/php-cs-fixer/src/Console/Command/WorkerCommand.php +0 -243
- package/vendor/friendsofphp/php-cs-fixer/src/Console/ConfigurationResolver.php +0 -961
- package/vendor/friendsofphp/php-cs-fixer/src/Console/Output/ErrorOutput.php +0 -155
- package/vendor/friendsofphp/php-cs-fixer/src/Console/Output/OutputContext.php +0 -54
- package/vendor/friendsofphp/php-cs-fixer/src/Console/Output/Progress/DotsOutput.php +0 -124
- package/vendor/friendsofphp/php-cs-fixer/src/Console/Output/Progress/NullOutput.php +0 -29
- package/vendor/friendsofphp/php-cs-fixer/src/Console/Output/Progress/PercentageBarOutput.php +0 -78
- package/vendor/friendsofphp/php-cs-fixer/src/Console/Output/Progress/ProgressOutputFactory.php +0 -63
- package/vendor/friendsofphp/php-cs-fixer/src/Console/Output/Progress/ProgressOutputInterface.php +0 -27
- package/vendor/friendsofphp/php-cs-fixer/src/Console/Output/Progress/ProgressOutputType.php +0 -37
- package/vendor/friendsofphp/php-cs-fixer/src/Console/Report/FixReport/CheckstyleReporter.php +0 -71
- package/vendor/friendsofphp/php-cs-fixer/src/Console/Report/FixReport/GitlabReporter.php +0 -96
- package/vendor/friendsofphp/php-cs-fixer/src/Console/Report/FixReport/JsonReporter.php +0 -65
- package/vendor/friendsofphp/php-cs-fixer/src/Console/Report/FixReport/JunitReporter.php +0 -145
- package/vendor/friendsofphp/php-cs-fixer/src/Console/Report/FixReport/ReportSummary.php +0 -103
- package/vendor/friendsofphp/php-cs-fixer/src/Console/Report/FixReport/ReporterFactory.php +0 -90
- package/vendor/friendsofphp/php-cs-fixer/src/Console/Report/FixReport/ReporterInterface.php +0 -30
- package/vendor/friendsofphp/php-cs-fixer/src/Console/Report/FixReport/TextReporter.php +0 -104
- package/vendor/friendsofphp/php-cs-fixer/src/Console/Report/FixReport/XmlReporter.php +0 -136
- package/vendor/friendsofphp/php-cs-fixer/src/Console/Report/ListSetsReport/JsonReporter.php +0 -52
- package/vendor/friendsofphp/php-cs-fixer/src/Console/Report/ListSetsReport/ReportSummary.php +0 -48
- package/vendor/friendsofphp/php-cs-fixer/src/Console/Report/ListSetsReport/ReporterFactory.php +0 -89
- package/vendor/friendsofphp/php-cs-fixer/src/Console/Report/ListSetsReport/ReporterInterface.php +0 -30
- package/vendor/friendsofphp/php-cs-fixer/src/Console/Report/ListSetsReport/TextReporter.php +0 -51
- package/vendor/friendsofphp/php-cs-fixer/src/Console/SelfUpdate/GithubClient.php +0 -69
- package/vendor/friendsofphp/php-cs-fixer/src/Console/SelfUpdate/GithubClientInterface.php +0 -26
- package/vendor/friendsofphp/php-cs-fixer/src/Console/SelfUpdate/NewVersionChecker.php +0 -102
- package/vendor/friendsofphp/php-cs-fixer/src/Console/SelfUpdate/NewVersionCheckerInterface.php +0 -37
- package/vendor/friendsofphp/php-cs-fixer/src/Console/WarningsDetector.php +0 -76
- package/vendor/friendsofphp/php-cs-fixer/src/Differ/DiffConsoleFormatter.php +0 -85
- package/vendor/friendsofphp/php-cs-fixer/src/Differ/DifferInterface.php +0 -26
- package/vendor/friendsofphp/php-cs-fixer/src/Differ/FullDiffer.php +0 -46
- package/vendor/friendsofphp/php-cs-fixer/src/Differ/NullDiffer.php +0 -26
- package/vendor/friendsofphp/php-cs-fixer/src/Differ/UnifiedDiffer.php +0 -47
- package/vendor/friendsofphp/php-cs-fixer/src/DocBlock/Annotation.php +0 -319
- package/vendor/friendsofphp/php-cs-fixer/src/DocBlock/DocBlock.php +0 -250
- package/vendor/friendsofphp/php-cs-fixer/src/DocBlock/Line.php +0 -128
- package/vendor/friendsofphp/php-cs-fixer/src/DocBlock/ShortDescription.php +0 -65
- package/vendor/friendsofphp/php-cs-fixer/src/DocBlock/Tag.php +0 -102
- package/vendor/friendsofphp/php-cs-fixer/src/DocBlock/TagComparator.php +0 -66
- package/vendor/friendsofphp/php-cs-fixer/src/DocBlock/TypeExpression.php +0 -857
- package/vendor/friendsofphp/php-cs-fixer/src/Doctrine/Annotation/DocLexer.php +0 -171
- package/vendor/friendsofphp/php-cs-fixer/src/Doctrine/Annotation/Token.php +0 -87
- package/vendor/friendsofphp/php-cs-fixer/src/Doctrine/Annotation/Tokens.php +0 -303
- package/vendor/friendsofphp/php-cs-fixer/src/Documentation/DocumentationLocator.php +0 -82
- package/vendor/friendsofphp/php-cs-fixer/src/Documentation/FixerDocumentGenerator.php +0 -415
- package/vendor/friendsofphp/php-cs-fixer/src/Documentation/RstUtils.php +0 -45
- package/vendor/friendsofphp/php-cs-fixer/src/Documentation/RuleSetDocumentationGenerator.php +0 -174
- package/vendor/friendsofphp/php-cs-fixer/src/Error/Error.php +0 -125
- package/vendor/friendsofphp/php-cs-fixer/src/Error/ErrorsManager.php +0 -83
- package/vendor/friendsofphp/php-cs-fixer/src/Error/SourceExceptionFactory.php +0 -62
- package/vendor/friendsofphp/php-cs-fixer/src/ExecutorWithoutErrorHandler.php +0 -58
- package/vendor/friendsofphp/php-cs-fixer/src/ExecutorWithoutErrorHandlerException.php +0 -22
- package/vendor/friendsofphp/php-cs-fixer/src/FileReader.php +0 -70
- package/vendor/friendsofphp/php-cs-fixer/src/FileRemoval.php +0 -100
- package/vendor/friendsofphp/php-cs-fixer/src/Finder.php +0 -35
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/AbstractIncrementOperatorFixer.php +0 -58
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/AbstractPhpUnitFixer.php +0 -278
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/AbstractShortOperatorFixer.php +0 -264
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Alias/ArrayPushFixer.php +0 -207
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Alias/BacktickToShellExecFixer.php +0 -149
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Alias/EregToPregFixer.php +0 -193
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Alias/MbStrFunctionsFixer.php +0 -180
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Alias/ModernizeStrposFixer.php +0 -338
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Alias/NoAliasFunctionsFixer.php +0 -337
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Alias/NoAliasLanguageConstructCallFixer.php +0 -59
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Alias/NoMixedEchoPrintFixer.php +0 -142
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Alias/PowToExponentiationFixer.php +0 -219
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Alias/RandomApiMigrationFixer.php +0 -153
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Alias/SetTypeToCastFixer.php +0 -240
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ArrayNotation/ArraySyntaxFixer.php +0 -138
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ArrayNotation/NoMultilineWhitespaceAroundDoubleArrowFixer.php +0 -80
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ArrayNotation/NoTrailingCommaInSinglelineArrayFixer.php +0 -52
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ArrayNotation/NoWhitespaceBeforeCommaInArrayFixer.php +0 -153
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ArrayNotation/NormalizeIndexBraceFixer.php +0 -57
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ArrayNotation/ReturnToYieldFromFixer.php +0 -105
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ArrayNotation/TrimArraySpacesFixer.php +0 -97
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ArrayNotation/WhitespaceAfterCommaInArrayFixer.php +0 -150
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ArrayNotation/YieldFromArrayToYieldsFixer.php +0 -189
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/AttributeNotation/AttributeEmptyParenthesesFixer.php +0 -136
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/AttributeNotation/GeneralAttributeRemoveFixer.php +0 -142
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/AttributeNotation/OrderedAttributesFixer.php +0 -274
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Basic/BracesFixer.php +0 -268
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Basic/BracesPositionFixer.php +0 -449
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Basic/CurlyBracesPositionFixer.php +0 -126
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Basic/EncodingFixer.php +0 -80
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Basic/NoMultipleStatementsPerLineFixer.php +0 -111
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Basic/NoTrailingCommaInSinglelineFixer.php +0 -162
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Basic/NonPrintableCharacterFixer.php +0 -191
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Basic/NumericLiteralSeparatorFixer.php +0 -232
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Basic/OctalNotationFixer.php +0 -64
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Basic/PsrAutoloadingFixer.php +0 -291
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Basic/SingleLineEmptyBodyFixer.php +0 -83
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Casing/ClassReferenceNameCasingFixer.php +0 -168
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Casing/ConstantCaseFixer.php +0 -130
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Casing/IntegerLiteralCaseFixer.php +0 -62
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Casing/LowercaseKeywordsFixer.php +0 -67
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Casing/LowercaseStaticReferenceFixer.php +0 -107
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Casing/MagicConstantCasingFixer.php +0 -92
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Casing/MagicMethodCasingFixer.php +0 -202
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Casing/NativeFunctionCasingFixer.php +0 -89
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Casing/NativeFunctionTypeDeclarationCasingFixer.php +0 -58
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Casing/NativeTypeDeclarationCasingFixer.php +0 -151
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/CastNotation/CastSpacesFixer.php +0 -131
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/CastNotation/LowercaseCastFixer.php +0 -66
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/CastNotation/ModernizeTypesCastingFixer.php +0 -164
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/CastNotation/NoShortBoolCastFixer.php +0 -88
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/CastNotation/NoUnsetCastFixer.php +0 -88
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/CastNotation/ShortScalarCastFixer.php +0 -71
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ClassNotation/ClassAttributesSeparationFixer.php +0 -605
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ClassNotation/ClassDefinitionFixer.php +0 -572
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ClassNotation/FinalClassFixer.php +0 -67
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ClassNotation/FinalInternalClassFixer.php +0 -374
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ClassNotation/FinalPublicMethodForAbstractClassFixer.php +0 -160
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ClassNotation/NoBlankLinesAfterClassOpeningFixer.php +0 -93
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ClassNotation/NoNullPropertyInitializationFixer.php +0 -141
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ClassNotation/NoPhp4ConstructorFixer.php +0 -408
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ClassNotation/NoUnneededFinalMethodFixer.php +0 -215
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ClassNotation/OrderedClassElementsFixer.php +0 -610
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ClassNotation/OrderedInterfacesFixer.php +0 -272
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ClassNotation/OrderedTraitsFixer.php +0 -226
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ClassNotation/OrderedTypesFixer.php +0 -453
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ClassNotation/PhpdocReadonlyClassCommentToKeywordFixer.php +0 -129
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ClassNotation/ProtectedToPrivateFixer.php +0 -168
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ClassNotation/SelfAccessorFixer.php +0 -200
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ClassNotation/SelfStaticAccessorFixer.php +0 -224
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ClassNotation/SingleClassElementPerStatementFixer.php +0 -241
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ClassNotation/SingleTraitInsertPerStatementFixer.php +0 -116
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ClassNotation/VisibilityRequiredFixer.php +0 -214
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ClassUsage/DateTimeImmutableFixer.php +0 -146
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Comment/CommentToPhpdocFixer.php +0 -230
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Comment/HeaderCommentFixer.php +0 -543
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Comment/MultilineCommentOpeningClosingFixer.php +0 -89
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Comment/NoEmptyCommentFixer.php +0 -162
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Comment/NoTrailingWhitespaceInCommentFixer.php +0 -75
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Comment/SingleLineCommentSpacingFixer.php +0 -110
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Comment/SingleLineCommentStyleFixer.php +0 -178
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ConfigurableFixerInterface.php +0 -50
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ConfigurableFixerTrait.php +0 -124
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ConstantNotation/NativeConstantInvocationFixer.php +0 -307
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ControlStructure/ControlStructureBracesFixer.php +0 -256
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ControlStructure/ControlStructureContinuationPositionFixer.php +0 -157
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ControlStructure/ElseifFixer.php +0 -98
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ControlStructure/EmptyLoopBodyFixer.php +0 -139
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ControlStructure/EmptyLoopConditionFixer.php +0 -202
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ControlStructure/IncludeFixer.php +0 -153
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ControlStructure/NoAlternativeSyntaxFixer.php +0 -244
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ControlStructure/NoBreakCommentFixer.php +0 -366
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ControlStructure/NoSuperfluousElseifFixer.php +0 -100
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ControlStructure/NoTrailingCommaInListCallFixer.php +0 -51
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ControlStructure/NoUnneededBracesFixer.php +0 -182
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ControlStructure/NoUnneededControlParenthesesFixer.php +0 -758
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ControlStructure/NoUnneededCurlyBracesFixer.php +0 -106
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ControlStructure/NoUselessElseFixer.php +0 -120
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ControlStructure/SimplifiedIfReturnFixer.php +0 -138
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ControlStructure/SwitchCaseSemicolonToColonFixer.php +0 -87
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ControlStructure/SwitchCaseSpaceFixer.php +0 -85
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ControlStructure/SwitchContinueToBreakFixer.php +0 -240
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ControlStructure/TrailingCommaInMultilineFixer.php +0 -237
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ControlStructure/YodaStyleFixer.php +0 -758
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/DeprecatedFixerInterface.php +0 -28
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/DoctrineAnnotation/DoctrineAnnotationArrayAssignmentFixer.php +0 -114
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/DoctrineAnnotation/DoctrineAnnotationBracesFixer.php +0 -132
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/DoctrineAnnotation/DoctrineAnnotationIndentationFixer.php +0 -199
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/DoctrineAnnotation/DoctrineAnnotationSpacesFixer.php +0 -320
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ExperimentalFixerInterface.php +0 -20
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/FixerInterface.php +0 -79
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/FunctionNotation/CombineNestedDirnameFixer.php +0 -224
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/FunctionNotation/DateTimeCreateFromFormatCallFixer.php +0 -164
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/FunctionNotation/FopenFlagOrderFixer.php +0 -123
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/FunctionNotation/FopenFlagsFixer.php +0 -120
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/FunctionNotation/FunctionDeclarationFixer.php +0 -263
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/FunctionNotation/FunctionTypehintSpaceFixer.php +0 -60
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/FunctionNotation/ImplodeCallFixer.php +0 -139
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/FunctionNotation/LambdaNotUsedImportFixer.php +0 -350
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/FunctionNotation/MethodArgumentSpaceFixer.php +0 -510
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/FunctionNotation/NativeFunctionInvocationFixer.php +0 -420
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/FunctionNotation/NoSpacesAfterFunctionNameFixer.php +0 -176
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/FunctionNotation/NoTrailingCommaInSinglelineFunctionCallFixer.php +0 -59
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/FunctionNotation/NoUnreachableDefaultArgumentValueFixer.php +0 -197
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/FunctionNotation/NoUselessSprintfFixer.php +0 -109
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/FunctionNotation/NullableTypeDeclarationForDefaultNullValueFixer.php +0 -247
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/FunctionNotation/PhpdocToParamTypeFixer.php +0 -244
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/FunctionNotation/PhpdocToPropertyTypeFixer.php +0 -296
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/FunctionNotation/PhpdocToReturnTypeFixer.php +0 -249
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/FunctionNotation/RegularCallableCallFixer.php +0 -256
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/FunctionNotation/ReturnTypeDeclarationFixer.php +0 -132
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/FunctionNotation/SingleLineThrowFixer.php +0 -159
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/FunctionNotation/StaticLambdaFixer.php +0 -130
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/FunctionNotation/UseArrowFunctionsFixer.php +0 -181
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/FunctionNotation/VoidReturnFixer.php +0 -256
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Import/FullyQualifiedStrictTypesFixer.php +0 -987
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Import/GlobalNamespaceImportFixer.php +0 -726
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Import/GroupImportFixer.php +0 -369
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Import/NoLeadingImportSlashFixer.php +0 -90
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Import/NoUnneededImportAliasFixer.php +0 -88
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Import/NoUnusedImportsFixer.php +0 -455
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Import/OrderedImportsFixer.php +0 -626
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Import/SingleImportPerStatementFixer.php +0 -274
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Import/SingleLineAfterImportsFixer.php +0 -152
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Indentation.php +0 -92
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/InternalFixerInterface.php +0 -20
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/LanguageConstruct/ClassKeywordFixer.php +0 -100
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/LanguageConstruct/ClassKeywordRemoveFixer.php +0 -234
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/LanguageConstruct/CombineConsecutiveIssetsFixer.php +0 -163
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/LanguageConstruct/CombineConsecutiveUnsetsFixer.php +0 -179
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/LanguageConstruct/DeclareEqualNormalizeFixer.php +0 -137
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/LanguageConstruct/DeclareParenthesesFixer.php +0 -56
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/LanguageConstruct/DirConstantFixer.php +0 -129
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/LanguageConstruct/ErrorSuppressionFixer.php +0 -186
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/LanguageConstruct/ExplicitIndirectVariableFixer.php +0 -82
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/LanguageConstruct/FunctionToConstantFixer.php +0 -311
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/LanguageConstruct/GetClassToClassKeywordFixer.php +0 -158
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/LanguageConstruct/IsNullFixer.php +0 -169
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/LanguageConstruct/NoUnsetOnPropertyFixer.php +0 -220
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/LanguageConstruct/NullableTypeDeclarationFixer.php +0 -348
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/LanguageConstruct/SingleSpaceAfterConstructFixer.php +0 -209
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/LanguageConstruct/SingleSpaceAroundConstructFixer.php +0 -516
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ListNotation/ListSyntaxFixer.php +0 -133
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/NamespaceNotation/BlankLineAfterNamespaceFixer.php +0 -127
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/NamespaceNotation/BlankLinesBeforeNamespaceFixer.php +0 -242
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/NamespaceNotation/CleanNamespaceFixer.php +0 -108
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/NamespaceNotation/NoBlankLinesBeforeNamespaceFixer.php +0 -76
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/NamespaceNotation/NoLeadingNamespaceWhitespaceFixer.php +0 -95
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/NamespaceNotation/SingleBlankLineBeforeNamespaceFixer.php +0 -75
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Naming/NoHomoglyphNamesFixer.php +0 -230
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Operator/AssignNullCoalescingToCoalesceEqualFixer.php +0 -71
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Operator/BinaryOperatorSpacesFixer.php +0 -961
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Operator/ConcatSpaceFixer.php +0 -160
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Operator/IncrementStyleFixer.php +0 -179
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Operator/LogicalOperatorsFixer.php +0 -67
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Operator/LongToShorthandOperatorFixer.php +0 -140
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Operator/NewWithBracesFixer.php +0 -103
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Operator/NewWithParenthesesFixer.php +0 -216
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Operator/NoSpaceAroundDoubleColonFixer.php +0 -73
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Operator/NoUselessConcatOperatorFixer.php +0 -375
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Operator/NoUselessNullsafeOperatorFixer.php +0 -73
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Operator/NotOperatorWithSpaceFixer.php +0 -75
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Operator/NotOperatorWithSuccessorSpaceFixer.php +0 -68
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Operator/ObjectOperatorWithoutWhitespaceFixer.php +0 -62
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Operator/OperatorLinebreakFixer.php +0 -292
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Operator/StandardizeIncrementFixer.php +0 -122
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Operator/StandardizeNotEqualsFixer.php +0 -60
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Operator/TernaryOperatorSpacesFixer.php +0 -131
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Operator/TernaryToElvisOperatorFixer.php +0 -217
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Operator/TernaryToNullCoalescingFixer.php +0 -224
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Operator/UnaryOperatorSpacesFixer.php +0 -118
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpTag/BlankLineAfterOpeningTagFixer.php +0 -92
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpTag/EchoTagSyntaxFixer.php +0 -273
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpTag/FullOpeningTagFixer.php +0 -123
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpTag/LinebreakAfterOpeningTagFixer.php +0 -68
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpTag/NoClosingTagFixer.php +0 -59
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitAssertNewNamesFixer.php +0 -107
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitAttributesFixer.php +0 -620
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitConstructFixer.php +0 -210
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitDataProviderMethodOrderFixer.php +0 -288
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitDataProviderNameFixer.php +0 -199
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitDataProviderReturnTypeFixer.php +0 -120
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitDataProviderStaticFixer.php +0 -156
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitDedicateAssertFixer.php +0 -590
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitDedicateAssertInternalTypeFixer.php +0 -204
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitExpectationFixer.php +0 -289
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitFqcnAnnotationFixer.php +0 -86
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitInternalClassFixer.php +0 -117
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitMethodCasingFixer.php +0 -238
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitMockFixer.php +0 -135
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitMockShortWillReturnFixer.php +0 -123
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitNamespacedFixer.php +0 -235
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitNoExpectationAnnotationFixer.php +0 -278
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitSetUpTearDownVisibilityFixer.php +0 -111
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitSizeClassFixer.php +0 -107
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitStrictFixer.php +0 -154
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitTargetVersion.php +0 -57
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitTestAnnotationFixer.php +0 -416
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitTestCaseStaticMethodCallsFixer.php +0 -564
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitTestClassRequiresCoversFixer.php +0 -88
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/AlignMultilineCommentFixer.php +0 -178
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/GeneralPhpdocAnnotationRemoveFixer.php +0 -177
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/GeneralPhpdocTagRenameFixer.php +0 -213
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/NoBlankLinesAfterPhpdocFixer.php +0 -110
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/NoEmptyPhpdocFixer.php +0 -84
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/NoSuperfluousPhpdocTagsFixer.php +0 -756
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocAddMissingParamAnnotationFixer.php +0 -289
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocAlignFixer.php +0 -506
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocAnnotationWithoutDotFixer.php +0 -123
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocArrayTypeFixer.php +0 -92
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocIndentFixer.php +0 -141
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocInlineTagNormalizerFixer.php +0 -121
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocLineSpanFixer.php +0 -173
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocListTypeFixer.php +0 -70
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocNoAccessFixer.php +0 -71
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocNoAliasTagFixer.php +0 -137
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocNoEmptyReturnFixer.php +0 -117
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocNoPackageFixer.php +0 -70
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocNoUselessInheritdocFixer.php +0 -151
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocOrderByValueFixer.php +0 -225
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocOrderFixer.php +0 -223
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocParamOrderFixer.php +0 -273
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocReturnSelfReferenceFixer.php +0 -234
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocScalarFixer.php +0 -139
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocSeparationFixer.php +0 -333
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocSingleLineVarSpacingFixer.php +0 -89
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocSummaryFixer.php +0 -99
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocTagCasingFixer.php +0 -109
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocTagTypeFixer.php +0 -214
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocToCommentFixer.php +0 -185
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocTrimConsecutiveBlankLineSeparationFixer.php +0 -191
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocTrimFixer.php +0 -115
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocTypesFixer.php +0 -173
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocTypesOrderFixer.php +0 -218
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocVarAnnotationCorrectOrderFixer.php +0 -81
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocVarWithoutNameFixer.php +0 -150
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ReturnNotation/NoUselessReturnFixer.php +0 -103
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ReturnNotation/ReturnAssignmentFixer.php +0 -527
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/ReturnNotation/SimplifiedNullReturnFixer.php +0 -171
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Semicolon/MultilineWhitespaceBeforeSemicolonsFixer.php +0 -244
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Semicolon/NoEmptyStatementFixer.php +0 -186
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Semicolon/NoSinglelineWhitespaceBeforeSemicolonsFixer.php +0 -66
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Semicolon/SemicolonAfterInstructionFixer.php +0 -64
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Semicolon/SpaceAfterSemicolonFixer.php +0 -148
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Strict/DeclareStrictTypesFixer.php +0 -132
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Strict/StrictComparisonFixer.php +0 -80
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Strict/StrictParamFixer.php +0 -168
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/StringNotation/EscapeImplicitBackslashesFixer.php +0 -153
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/StringNotation/ExplicitStringVariableFixer.php +0 -166
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/StringNotation/HeredocClosingMarkerFixer.php +0 -205
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/StringNotation/HeredocToNowdocFixer.php +0 -107
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/StringNotation/MultilineStringToHeredocFixer.php +0 -166
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/StringNotation/NoBinaryStringFixer.php +0 -75
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/StringNotation/NoTrailingWhitespaceInStringFixer.php +0 -100
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/StringNotation/SimpleToComplexStringVariableFixer.php +0 -96
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/StringNotation/SingleQuoteFixer.php +0 -122
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/StringNotation/StringImplicitBackslashesFixer.php +0 -193
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/StringNotation/StringLengthToEmptyFixer.php +0 -322
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/StringNotation/StringLineEndingFixer.php +0 -76
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Whitespace/ArrayIndentationFixer.php +0 -197
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Whitespace/BlankLineBeforeStatementFixer.php +0 -379
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Whitespace/BlankLineBetweenImportGroupsFixer.php +0 -180
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Whitespace/CompactNullableTypeDeclarationFixer.php +0 -72
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Whitespace/CompactNullableTypehintFixer.php +0 -63
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Whitespace/HeredocIndentationFixer.php +0 -180
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Whitespace/IndentationTypeFixer.php +0 -139
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Whitespace/LineEndingFixer.php +0 -85
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Whitespace/MethodChainingIndentationFixer.php +0 -229
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Whitespace/NoExtraBlankLinesFixer.php +0 -496
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Whitespace/NoSpacesAroundOffsetFixer.php +0 -112
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Whitespace/NoSpacesInsideParenthesisFixer.php +0 -75
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Whitespace/NoTrailingWhitespaceFixer.php +0 -104
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Whitespace/NoWhitespaceInBlankLineFixer.php +0 -89
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Whitespace/SingleBlankLineAtEofFixer.php +0 -64
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Whitespace/SpacesInsideParenthesesFixer.php +0 -223
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Whitespace/StatementIndentationFixer.php +0 -836
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Whitespace/TypeDeclarationSpacesFixer.php +0 -254
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/Whitespace/TypesSpacesFixer.php +0 -173
- package/vendor/friendsofphp/php-cs-fixer/src/Fixer/WhitespacesAwareFixerInterface.php +0 -25
- package/vendor/friendsofphp/php-cs-fixer/src/FixerConfiguration/AliasedFixerOption.php +0 -75
- package/vendor/friendsofphp/php-cs-fixer/src/FixerConfiguration/AliasedFixerOptionBuilder.php +0 -78
- package/vendor/friendsofphp/php-cs-fixer/src/FixerConfiguration/AllowedValueSubset.php +0 -65
- package/vendor/friendsofphp/php-cs-fixer/src/FixerConfiguration/DeprecatedFixerOption.php +0 -74
- package/vendor/friendsofphp/php-cs-fixer/src/FixerConfiguration/DeprecatedFixerOptionInterface.php +0 -20
- package/vendor/friendsofphp/php-cs-fixer/src/FixerConfiguration/FixerConfigurationResolver.php +0 -152
- package/vendor/friendsofphp/php-cs-fixer/src/FixerConfiguration/FixerConfigurationResolverInterface.php +0 -30
- package/vendor/friendsofphp/php-cs-fixer/src/FixerConfiguration/FixerOption.php +0 -146
- package/vendor/friendsofphp/php-cs-fixer/src/FixerConfiguration/FixerOptionBuilder.php +0 -126
- package/vendor/friendsofphp/php-cs-fixer/src/FixerConfiguration/FixerOptionInterface.php +0 -43
- package/vendor/friendsofphp/php-cs-fixer/src/FixerConfiguration/FixerOptionSorter.php +0 -37
- package/vendor/friendsofphp/php-cs-fixer/src/FixerConfiguration/InvalidOptionsForEnvException.php +0 -24
- package/vendor/friendsofphp/php-cs-fixer/src/FixerDefinition/CodeSample.php +0 -49
- package/vendor/friendsofphp/php-cs-fixer/src/FixerDefinition/CodeSampleInterface.php +0 -28
- package/vendor/friendsofphp/php-cs-fixer/src/FixerDefinition/FileSpecificCodeSample.php +0 -56
- package/vendor/friendsofphp/php-cs-fixer/src/FixerDefinition/FileSpecificCodeSampleInterface.php +0 -25
- package/vendor/friendsofphp/php-cs-fixer/src/FixerDefinition/FixerDefinition.php +0 -76
- package/vendor/friendsofphp/php-cs-fixer/src/FixerDefinition/FixerDefinitionInterface.php +0 -37
- package/vendor/friendsofphp/php-cs-fixer/src/FixerDefinition/VersionSpecificCodeSample.php +0 -54
- package/vendor/friendsofphp/php-cs-fixer/src/FixerDefinition/VersionSpecificCodeSampleInterface.php +0 -23
- package/vendor/friendsofphp/php-cs-fixer/src/FixerDefinition/VersionSpecification.php +0 -76
- package/vendor/friendsofphp/php-cs-fixer/src/FixerDefinition/VersionSpecificationInterface.php +0 -23
- package/vendor/friendsofphp/php-cs-fixer/src/FixerFactory.php +0 -248
- package/vendor/friendsofphp/php-cs-fixer/src/FixerNameValidator.php +0 -32
- package/vendor/friendsofphp/php-cs-fixer/src/Hasher.php +0 -38
- package/vendor/friendsofphp/php-cs-fixer/src/Indicator/PhpUnitTestCaseIndicator.php +0 -90
- package/vendor/friendsofphp/php-cs-fixer/src/Linter/CachingLinter.php +0 -56
- package/vendor/friendsofphp/php-cs-fixer/src/Linter/Linter.php +0 -49
- package/vendor/friendsofphp/php-cs-fixer/src/Linter/LinterInterface.php +0 -35
- package/vendor/friendsofphp/php-cs-fixer/src/Linter/LintingException.php +0 -24
- package/vendor/friendsofphp/php-cs-fixer/src/Linter/LintingResultInterface.php +0 -26
- package/vendor/friendsofphp/php-cs-fixer/src/Linter/ProcessLinter.php +0 -149
- package/vendor/friendsofphp/php-cs-fixer/src/Linter/ProcessLinterProcessBuilder.php +0 -46
- package/vendor/friendsofphp/php-cs-fixer/src/Linter/ProcessLintingResult.php +0 -86
- package/vendor/friendsofphp/php-cs-fixer/src/Linter/TokenizerLinter.php +0 -58
- package/vendor/friendsofphp/php-cs-fixer/src/Linter/TokenizerLintingResult.php +0 -48
- package/vendor/friendsofphp/php-cs-fixer/src/Linter/UnavailableLinterException.php +0 -26
- package/vendor/friendsofphp/php-cs-fixer/src/ParallelAwareConfigInterface.php +0 -29
- package/vendor/friendsofphp/php-cs-fixer/src/PharChecker.php +0 -38
- package/vendor/friendsofphp/php-cs-fixer/src/PharCheckerInterface.php +0 -26
- package/vendor/friendsofphp/php-cs-fixer/src/Preg.php +0 -215
- package/vendor/friendsofphp/php-cs-fixer/src/PregException.php +0 -24
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/AbstractMigrationSetDescription.php +0 -38
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/AbstractRuleSetDescription.php +0 -35
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/DeprecatedRuleSetDescriptionInterface.php +0 -28
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/RuleSet.php +0 -159
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/RuleSetDescriptionInterface.php +0 -34
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/RuleSetInterface.php +0 -49
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/RuleSets.php +0 -72
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/DoctrineAnnotationSet.php +0 -42
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PERCS1x0RiskySet.php +0 -44
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PERCS1x0Set.php +0 -44
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PERCS2x0RiskySet.php +0 -44
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PERCS2x0Set.php +0 -112
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PERCSRiskySet.php +0 -40
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PERCSSet.php +0 -40
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PERRiskySet.php +0 -52
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PERSet.php +0 -47
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PHP54MigrationSet.php +0 -30
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PHP56MigrationRiskySet.php +0 -30
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PHP70MigrationRiskySet.php +0 -39
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PHP70MigrationSet.php +0 -31
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PHP71MigrationRiskySet.php +0 -31
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PHP71MigrationSet.php +0 -32
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PHP73MigrationSet.php +0 -34
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PHP74MigrationRiskySet.php +0 -33
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PHP74MigrationSet.php +0 -33
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PHP80MigrationRiskySet.php +0 -40
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PHP80MigrationSet.php +0 -32
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PHP81MigrationSet.php +0 -31
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PHP82MigrationRiskySet.php +0 -31
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PHP82MigrationSet.php +0 -31
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PHP83MigrationSet.php +0 -30
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PHP84MigrationSet.php +0 -31
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PHPUnit100MigrationRiskySet.php +0 -31
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PHPUnit30MigrationRiskySet.php +0 -33
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PHPUnit32MigrationRiskySet.php +0 -34
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PHPUnit35MigrationRiskySet.php +0 -34
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PHPUnit43MigrationRiskySet.php +0 -34
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PHPUnit48MigrationRiskySet.php +0 -34
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PHPUnit50MigrationRiskySet.php +0 -34
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PHPUnit52MigrationRiskySet.php +0 -34
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PHPUnit54MigrationRiskySet.php +0 -34
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PHPUnit55MigrationRiskySet.php +0 -34
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PHPUnit56MigrationRiskySet.php +0 -37
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PHPUnit57MigrationRiskySet.php +0 -34
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PHPUnit60MigrationRiskySet.php +0 -34
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PHPUnit75MigrationRiskySet.php +0 -34
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PHPUnit84MigrationRiskySet.php +0 -35
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PHPUnit91MigrationRiskySet.php +0 -31
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PSR12RiskySet.php +0 -36
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PSR12Set.php +0 -123
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PSR1Set.php +0 -36
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PSR2Set.php +0 -104
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PhpCsFixerRiskySet.php +0 -67
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/PhpCsFixerSet.php +0 -134
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/SymfonyRiskySet.php +0 -78
- package/vendor/friendsofphp/php-cs-fixer/src/RuleSet/Sets/SymfonySet.php +0 -241
- package/vendor/friendsofphp/php-cs-fixer/src/Runner/Event/AnalysisStarted.php +0 -54
- package/vendor/friendsofphp/php-cs-fixer/src/Runner/Event/FileProcessed.php +0 -75
- package/vendor/friendsofphp/php-cs-fixer/src/Runner/FileCachingLintingFileIterator.php +0 -76
- package/vendor/friendsofphp/php-cs-fixer/src/Runner/FileFilterIterator.php +0 -108
- package/vendor/friendsofphp/php-cs-fixer/src/Runner/LintingFileIterator.php +0 -66
- package/vendor/friendsofphp/php-cs-fixer/src/Runner/LintingResultAwareFileIteratorInterface.php +0 -29
- package/vendor/friendsofphp/php-cs-fixer/src/Runner/Parallel/ParallelAction.php +0 -35
- package/vendor/friendsofphp/php-cs-fixer/src/Runner/Parallel/ParallelConfig.php +0 -67
- package/vendor/friendsofphp/php-cs-fixer/src/Runner/Parallel/ParallelConfigFactory.php +0 -61
- package/vendor/friendsofphp/php-cs-fixer/src/Runner/Parallel/ParallelisationException.php +0 -30
- package/vendor/friendsofphp/php-cs-fixer/src/Runner/Parallel/Process.php +0 -189
- package/vendor/friendsofphp/php-cs-fixer/src/Runner/Parallel/ProcessFactory.php +0 -111
- package/vendor/friendsofphp/php-cs-fixer/src/Runner/Parallel/ProcessIdentifier.php +0 -55
- package/vendor/friendsofphp/php-cs-fixer/src/Runner/Parallel/ProcessPool.php +0 -99
- package/vendor/friendsofphp/php-cs-fixer/src/Runner/Parallel/WorkerException.php +0 -66
- package/vendor/friendsofphp/php-cs-fixer/src/Runner/Runner.php +0 -587
- package/vendor/friendsofphp/php-cs-fixer/src/Runner/RunnerConfig.php +0 -64
- package/vendor/friendsofphp/php-cs-fixer/src/StdinFileInfo.php +0 -173
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/AbstractTransformer.php +0 -40
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/AbstractTypeTransformer.php +0 -89
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/AlternativeSyntaxAnalyzer.php +0 -121
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/Analysis/AbstractControlCaseStructuresAnalysis.php +0 -51
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/Analysis/ArgumentAnalysis.php +0 -81
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/Analysis/AttributeAnalysis.php +0 -76
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/Analysis/CaseAnalysis.php +0 -45
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/Analysis/DataProviderAnalysis.php +0 -68
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/Analysis/DefaultAnalysis.php +0 -43
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/Analysis/EnumAnalysis.php +0 -46
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/Analysis/MatchAnalysis.php +0 -37
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/Analysis/NamespaceAnalysis.php +0 -98
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/Analysis/NamespaceUseAnalysis.php +0 -189
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/Analysis/StartEndTokenAwareAnalysis.php +0 -33
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/Analysis/SwitchAnalysis.php +0 -54
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/Analysis/TypeAnalysis.php +0 -116
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/ArgumentsAnalyzer.php +0 -161
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/AttributeAnalyzer.php +0 -211
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/BlocksAnalyzer.php +0 -59
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/ClassyAnalyzer.php +0 -87
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/CommentsAnalyzer.php +0 -370
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/ControlCaseStructuresAnalyzer.php +0 -312
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/DataProviderAnalyzer.php +0 -115
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/FullyQualifiedNameAnalyzer.php +0 -103
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/FunctionsAnalyzer.php +0 -281
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/GotoLabelAnalyzer.php +0 -40
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/NamespaceUsesAnalyzer.php +0 -216
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/NamespacesAnalyzer.php +0 -116
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/RangeAnalyzer.php +0 -90
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/ReferenceAnalyzer.php +0 -49
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/SwitchAnalyzer.php +0 -71
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/WhitespacesAnalyzer.php +0 -52
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/CT.php +0 -112
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Processor/ImportProcessor.php +0 -103
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Token.php +0 -541
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Tokens.php +0 -1584
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/TokensAnalyzer.php +0 -894
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Transformer/ArrayTypehintTransformer.php +0 -54
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Transformer/AttributeTransformer.php +0 -67
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Transformer/BraceClassInstantiationTransformer.php +0 -80
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Transformer/BraceTransformer.php +0 -349
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Transformer/ClassConstantTransformer.php +0 -57
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Transformer/ConstructorPromotionTransformer.php +0 -71
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Transformer/DisjunctiveNormalFormTypeParenthesisTransformer.php +0 -65
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Transformer/FirstClassCallableTransformer.php +0 -49
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Transformer/ImportTransformer.php +0 -72
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Transformer/NameQualifiedTransformer.php +0 -67
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Transformer/NamedArgumentTransformer.php +0 -73
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Transformer/NamespaceOperatorTransformer.php +0 -53
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Transformer/NullableTypeTransformer.php +0 -83
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Transformer/ReturnRefTransformer.php +0 -47
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Transformer/SquareBraceTransformer.php +0 -187
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Transformer/TypeAlternationTransformer.php +0 -57
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Transformer/TypeColonTransformer.php +0 -83
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Transformer/TypeIntersectionTransformer.php +0 -55
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Transformer/UseTransformer.php +0 -102
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Transformer/WhitespacyCommentTransformer.php +0 -64
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/TransformerInterface.php +0 -68
- package/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Transformers.php +0 -109
- package/vendor/friendsofphp/php-cs-fixer/src/ToolInfo.php +0 -120
- package/vendor/friendsofphp/php-cs-fixer/src/ToolInfoInterface.php +0 -38
- package/vendor/friendsofphp/php-cs-fixer/src/Utils.php +0 -250
- package/vendor/friendsofphp/php-cs-fixer/src/WhitespacesFixerConfig.php +0 -63
- package/vendor/friendsofphp/php-cs-fixer/src/WordMatcher.php +0 -55
- package/vendor/psr/container/LICENSE +0 -21
- package/vendor/psr/container/README.md +0 -13
- package/vendor/psr/container/composer.json +0 -27
- package/vendor/psr/container/src/ContainerExceptionInterface.php +0 -12
- package/vendor/psr/container/src/ContainerInterface.php +0 -36
- package/vendor/psr/container/src/NotFoundExceptionInterface.php +0 -10
- package/vendor/psr/event-dispatcher/.editorconfig +0 -15
- package/vendor/psr/event-dispatcher/LICENSE +0 -21
- package/vendor/psr/event-dispatcher/README.md +0 -6
- package/vendor/psr/event-dispatcher/composer.json +0 -26
- package/vendor/psr/event-dispatcher/src/EventDispatcherInterface.php +0 -21
- package/vendor/psr/event-dispatcher/src/ListenerProviderInterface.php +0 -19
- package/vendor/psr/event-dispatcher/src/StoppableEventInterface.php +0 -26
- package/vendor/psr/log/LICENSE +0 -19
- package/vendor/psr/log/README.md +0 -58
- package/vendor/psr/log/composer.json +0 -26
- package/vendor/psr/log/src/AbstractLogger.php +0 -15
- package/vendor/psr/log/src/InvalidArgumentException.php +0 -7
- package/vendor/psr/log/src/LogLevel.php +0 -18
- package/vendor/psr/log/src/LoggerAwareInterface.php +0 -14
- package/vendor/psr/log/src/LoggerAwareTrait.php +0 -22
- package/vendor/psr/log/src/LoggerInterface.php +0 -98
- package/vendor/psr/log/src/LoggerTrait.php +0 -98
- package/vendor/psr/log/src/NullLogger.php +0 -26
- package/vendor/react/cache/CHANGELOG.md +0 -96
- package/vendor/react/cache/LICENSE +0 -21
- package/vendor/react/cache/README.md +0 -367
- package/vendor/react/cache/composer.json +0 -45
- package/vendor/react/cache/src/ArrayCache.php +0 -181
- package/vendor/react/cache/src/CacheInterface.php +0 -194
- package/vendor/react/child-process/CHANGELOG.md +0 -176
- package/vendor/react/child-process/LICENSE +0 -21
- package/vendor/react/child-process/README.md +0 -619
- package/vendor/react/child-process/composer.json +0 -49
- package/vendor/react/child-process/src/Process.php +0 -585
- package/vendor/react/dns/CHANGELOG.md +0 -452
- package/vendor/react/dns/LICENSE +0 -21
- package/vendor/react/dns/README.md +0 -453
- package/vendor/react/dns/composer.json +0 -49
- package/vendor/react/dns/src/BadServerException.php +0 -7
- package/vendor/react/dns/src/Config/Config.php +0 -137
- package/vendor/react/dns/src/Config/HostsFile.php +0 -153
- package/vendor/react/dns/src/Model/Message.php +0 -230
- package/vendor/react/dns/src/Model/Record.php +0 -153
- package/vendor/react/dns/src/Protocol/BinaryDumper.php +0 -199
- package/vendor/react/dns/src/Protocol/Parser.php +0 -356
- package/vendor/react/dns/src/Query/CachingExecutor.php +0 -88
- package/vendor/react/dns/src/Query/CancellationException.php +0 -7
- package/vendor/react/dns/src/Query/CoopExecutor.php +0 -91
- package/vendor/react/dns/src/Query/ExecutorInterface.php +0 -43
- package/vendor/react/dns/src/Query/FallbackExecutor.php +0 -49
- package/vendor/react/dns/src/Query/HostsFileExecutor.php +0 -89
- package/vendor/react/dns/src/Query/Query.php +0 -69
- package/vendor/react/dns/src/Query/RetryExecutor.php +0 -85
- package/vendor/react/dns/src/Query/SelectiveTransportExecutor.php +0 -85
- package/vendor/react/dns/src/Query/TcpTransportExecutor.php +0 -382
- package/vendor/react/dns/src/Query/TimeoutException.php +0 -7
- package/vendor/react/dns/src/Query/TimeoutExecutor.php +0 -78
- package/vendor/react/dns/src/Query/UdpTransportExecutor.php +0 -221
- package/vendor/react/dns/src/RecordNotFoundException.php +0 -7
- package/vendor/react/dns/src/Resolver/Factory.php +0 -226
- package/vendor/react/dns/src/Resolver/Resolver.php +0 -147
- package/vendor/react/dns/src/Resolver/ResolverInterface.php +0 -94
- package/vendor/react/event-loop/CHANGELOG.md +0 -468
- package/vendor/react/event-loop/LICENSE +0 -21
- package/vendor/react/event-loop/README.md +0 -930
- package/vendor/react/event-loop/composer.json +0 -47
- package/vendor/react/event-loop/src/ExtEvLoop.php +0 -253
- package/vendor/react/event-loop/src/ExtEventLoop.php +0 -275
- package/vendor/react/event-loop/src/ExtLibevLoop.php +0 -201
- package/vendor/react/event-loop/src/ExtLibeventLoop.php +0 -285
- package/vendor/react/event-loop/src/ExtUvLoop.php +0 -342
- package/vendor/react/event-loop/src/Factory.php +0 -75
- package/vendor/react/event-loop/src/Loop.php +0 -266
- package/vendor/react/event-loop/src/LoopInterface.php +0 -472
- package/vendor/react/event-loop/src/SignalsHandler.php +0 -63
- package/vendor/react/event-loop/src/StreamSelectLoop.php +0 -330
- package/vendor/react/event-loop/src/Tick/FutureTickQueue.php +0 -60
- package/vendor/react/event-loop/src/Timer/Timer.php +0 -55
- package/vendor/react/event-loop/src/Timer/Timers.php +0 -113
- package/vendor/react/event-loop/src/TimerInterface.php +0 -27
- package/vendor/react/promise/CHANGELOG.md +0 -156
- package/vendor/react/promise/LICENSE +0 -24
- package/vendor/react/promise/README.md +0 -722
- package/vendor/react/promise/composer.json +0 -57
- package/vendor/react/promise/src/Deferred.php +0 -52
- package/vendor/react/promise/src/Exception/CompositeException.php +0 -32
- package/vendor/react/promise/src/Exception/LengthException.php +0 -7
- package/vendor/react/promise/src/Internal/CancellationQueue.php +0 -64
- package/vendor/react/promise/src/Internal/FulfilledPromise.php +0 -89
- package/vendor/react/promise/src/Internal/RejectedPromise.php +0 -128
- package/vendor/react/promise/src/Promise.php +0 -303
- package/vendor/react/promise/src/PromiseInterface.php +0 -152
- package/vendor/react/promise/src/functions.php +0 -345
- package/vendor/react/promise/src/functions_include.php +0 -5
- package/vendor/react/socket/CHANGELOG.md +0 -785
- package/vendor/react/socket/LICENSE +0 -21
- package/vendor/react/socket/README.md +0 -1564
- package/vendor/react/socket/composer.json +0 -52
- package/vendor/react/socket/src/Connection.php +0 -183
- package/vendor/react/socket/src/ConnectionInterface.php +0 -119
- package/vendor/react/socket/src/Connector.php +0 -236
- package/vendor/react/socket/src/ConnectorInterface.php +0 -59
- package/vendor/react/socket/src/DnsConnector.php +0 -117
- package/vendor/react/socket/src/FdServer.php +0 -222
- package/vendor/react/socket/src/FixedUriConnector.php +0 -41
- package/vendor/react/socket/src/HappyEyeBallsConnectionBuilder.php +0 -334
- package/vendor/react/socket/src/HappyEyeBallsConnector.php +0 -80
- package/vendor/react/socket/src/LimitingServer.php +0 -203
- package/vendor/react/socket/src/SecureConnector.php +0 -132
- package/vendor/react/socket/src/SecureServer.php +0 -210
- package/vendor/react/socket/src/Server.php +0 -118
- package/vendor/react/socket/src/ServerInterface.php +0 -151
- package/vendor/react/socket/src/SocketServer.php +0 -215
- package/vendor/react/socket/src/StreamEncryption.php +0 -158
- package/vendor/react/socket/src/TcpConnector.php +0 -173
- package/vendor/react/socket/src/TcpServer.php +0 -262
- package/vendor/react/socket/src/TimeoutConnector.php +0 -79
- package/vendor/react/socket/src/UnixConnector.php +0 -58
- package/vendor/react/socket/src/UnixServer.php +0 -162
- package/vendor/react/stream/CHANGELOG.md +0 -460
- package/vendor/react/stream/LICENSE +0 -21
- package/vendor/react/stream/README.md +0 -1249
- package/vendor/react/stream/composer.json +0 -47
- package/vendor/react/stream/src/CompositeStream.php +0 -83
- package/vendor/react/stream/src/DuplexResourceStream.php +0 -240
- package/vendor/react/stream/src/DuplexStreamInterface.php +0 -39
- package/vendor/react/stream/src/ReadableResourceStream.php +0 -188
- package/vendor/react/stream/src/ReadableStreamInterface.php +0 -362
- package/vendor/react/stream/src/ThroughStream.php +0 -195
- package/vendor/react/stream/src/Util.php +0 -75
- package/vendor/react/stream/src/WritableResourceStream.php +0 -178
- package/vendor/react/stream/src/WritableStreamInterface.php +0 -347
- package/vendor/sebastian/diff/ChangeLog.md +0 -179
- package/vendor/sebastian/diff/LICENSE +0 -29
- package/vendor/sebastian/diff/README.md +0 -151
- package/vendor/sebastian/diff/SECURITY.md +0 -30
- package/vendor/sebastian/diff/composer.json +0 -51
- package/vendor/sebastian/diff/src/Chunk.php +0 -83
- package/vendor/sebastian/diff/src/Diff.php +0 -84
- package/vendor/sebastian/diff/src/Differ.php +0 -247
- package/vendor/sebastian/diff/src/Exception/ConfigurationException.php +0 -32
- package/vendor/sebastian/diff/src/Exception/Exception.php +0 -16
- package/vendor/sebastian/diff/src/Exception/InvalidArgumentException.php +0 -14
- package/vendor/sebastian/diff/src/Line.php +0 -50
- package/vendor/sebastian/diff/src/LongestCommonSubsequenceCalculator.php +0 -18
- package/vendor/sebastian/diff/src/MemoryEfficientLongestCommonSubsequenceCalculator.php +0 -96
- package/vendor/sebastian/diff/src/Output/AbstractChunkOutputBuilder.php +0 -54
- package/vendor/sebastian/diff/src/Output/DiffOnlyOutputBuilder.php +0 -74
- package/vendor/sebastian/diff/src/Output/DiffOutputBuilderInterface.php +0 -19
- package/vendor/sebastian/diff/src/Output/StrictUnifiedDiffOutputBuilder.php +0 -331
- package/vendor/sebastian/diff/src/Output/UnifiedDiffOutputBuilder.php +0 -261
- package/vendor/sebastian/diff/src/Parser.php +0 -116
- package/vendor/sebastian/diff/src/TimeEfficientLongestCommonSubsequenceCalculator.php +0 -81
- package/vendor/symfony/console/Application.php +0 -1328
- package/vendor/symfony/console/Attribute/Argument.php +0 -110
- package/vendor/symfony/console/Attribute/AsCommand.php +0 -49
- package/vendor/symfony/console/Attribute/Option.php +0 -181
- package/vendor/symfony/console/CHANGELOG.md +0 -299
- package/vendor/symfony/console/CI/GithubActionReporter.php +0 -97
- package/vendor/symfony/console/Color.php +0 -133
- package/vendor/symfony/console/Command/Command.php +0 -700
- package/vendor/symfony/console/Command/CompleteCommand.php +0 -212
- package/vendor/symfony/console/Command/DumpCompletionCommand.php +0 -151
- package/vendor/symfony/console/Command/HelpCommand.php +0 -76
- package/vendor/symfony/console/Command/InvokableCommand.php +0 -157
- package/vendor/symfony/console/Command/LazyCommand.php +0 -206
- package/vendor/symfony/console/Command/ListCommand.php +0 -72
- package/vendor/symfony/console/Command/LockableTrait.php +0 -85
- package/vendor/symfony/console/Command/SignalableCommandInterface.php +0 -32
- package/vendor/symfony/console/Command/TraceableCommand.php +0 -365
- package/vendor/symfony/console/CommandLoader/CommandLoaderInterface.php +0 -38
- package/vendor/symfony/console/CommandLoader/ContainerCommandLoader.php +0 -52
- package/vendor/symfony/console/CommandLoader/FactoryCommandLoader.php +0 -52
- package/vendor/symfony/console/Completion/CompletionInput.php +0 -248
- package/vendor/symfony/console/Completion/CompletionSuggestions.php +0 -97
- package/vendor/symfony/console/Completion/Output/BashCompletionOutput.php +0 -33
- package/vendor/symfony/console/Completion/Output/CompletionOutputInterface.php +0 -25
- package/vendor/symfony/console/Completion/Output/FishCompletionOutput.php +0 -36
- package/vendor/symfony/console/Completion/Output/ZshCompletionOutput.php +0 -36
- package/vendor/symfony/console/Completion/Suggestion.php +0 -41
- package/vendor/symfony/console/ConsoleEvents.php +0 -72
- package/vendor/symfony/console/Cursor.php +0 -204
- package/vendor/symfony/console/DataCollector/CommandDataCollector.php +0 -238
- package/vendor/symfony/console/Debug/CliRequest.php +0 -70
- package/vendor/symfony/console/DependencyInjection/AddConsoleCommandPass.php +0 -155
- package/vendor/symfony/console/Descriptor/ApplicationDescription.php +0 -136
- package/vendor/symfony/console/Descriptor/Descriptor.php +0 -74
- package/vendor/symfony/console/Descriptor/DescriptorInterface.php +0 -24
- package/vendor/symfony/console/Descriptor/JsonDescriptor.php +0 -166
- package/vendor/symfony/console/Descriptor/MarkdownDescriptor.php +0 -173
- package/vendor/symfony/console/Descriptor/ReStructuredTextDescriptor.php +0 -273
- package/vendor/symfony/console/Descriptor/TextDescriptor.php +0 -317
- package/vendor/symfony/console/Descriptor/XmlDescriptor.php +0 -230
- package/vendor/symfony/console/Event/ConsoleAlarmEvent.php +0 -47
- package/vendor/symfony/console/Event/ConsoleCommandEvent.php +0 -54
- package/vendor/symfony/console/Event/ConsoleErrorEvent.php +0 -58
- package/vendor/symfony/console/Event/ConsoleEvent.php +0 -56
- package/vendor/symfony/console/Event/ConsoleSignalEvent.php +0 -56
- package/vendor/symfony/console/Event/ConsoleTerminateEvent.php +0 -50
- package/vendor/symfony/console/EventListener/ErrorListener.php +0 -89
- package/vendor/symfony/console/Exception/CommandNotFoundException.php +0 -43
- package/vendor/symfony/console/Exception/ExceptionInterface.php +0 -21
- package/vendor/symfony/console/Exception/InvalidArgumentException.php +0 -19
- package/vendor/symfony/console/Exception/InvalidOptionException.php +0 -21
- package/vendor/symfony/console/Exception/LogicException.php +0 -19
- package/vendor/symfony/console/Exception/MissingInputException.php +0 -21
- package/vendor/symfony/console/Exception/NamespaceNotFoundException.php +0 -21
- package/vendor/symfony/console/Exception/RunCommandFailedException.php +0 -29
- package/vendor/symfony/console/Exception/RuntimeException.php +0 -19
- package/vendor/symfony/console/Formatter/NullOutputFormatter.php +0 -51
- package/vendor/symfony/console/Formatter/NullOutputFormatterStyle.php +0 -48
- package/vendor/symfony/console/Formatter/OutputFormatter.php +0 -267
- package/vendor/symfony/console/Formatter/OutputFormatterInterface.php +0 -52
- package/vendor/symfony/console/Formatter/OutputFormatterStyle.php +0 -89
- package/vendor/symfony/console/Formatter/OutputFormatterStyleInterface.php +0 -50
- package/vendor/symfony/console/Formatter/OutputFormatterStyleStack.php +0 -103
- package/vendor/symfony/console/Formatter/WrappableOutputFormatterInterface.php +0 -25
- package/vendor/symfony/console/Helper/DebugFormatterHelper.php +0 -98
- package/vendor/symfony/console/Helper/DescriptorHelper.php +0 -91
- package/vendor/symfony/console/Helper/Dumper.php +0 -53
- package/vendor/symfony/console/Helper/FormatterHelper.php +0 -81
- package/vendor/symfony/console/Helper/Helper.php +0 -161
- package/vendor/symfony/console/Helper/HelperInterface.php +0 -35
- package/vendor/symfony/console/Helper/HelperSet.php +0 -74
- package/vendor/symfony/console/Helper/InputAwareHelper.php +0 -30
- package/vendor/symfony/console/Helper/OutputWrapper.php +0 -76
- package/vendor/symfony/console/Helper/ProcessHelper.php +0 -137
- package/vendor/symfony/console/Helper/ProgressBar.php +0 -654
- package/vendor/symfony/console/Helper/ProgressIndicator.php +0 -242
- package/vendor/symfony/console/Helper/QuestionHelper.php +0 -589
- package/vendor/symfony/console/Helper/SymfonyQuestionHelper.php +0 -103
- package/vendor/symfony/console/Helper/Table.php +0 -934
- package/vendor/symfony/console/Helper/TableCell.php +0 -71
- package/vendor/symfony/console/Helper/TableCellStyle.php +0 -84
- package/vendor/symfony/console/Helper/TableRows.php +0 -28
- package/vendor/symfony/console/Helper/TableSeparator.php +0 -25
- package/vendor/symfony/console/Helper/TableStyle.php +0 -375
- package/vendor/symfony/console/Helper/TreeHelper.php +0 -111
- package/vendor/symfony/console/Helper/TreeNode.php +0 -105
- package/vendor/symfony/console/Helper/TreeStyle.php +0 -78
- package/vendor/symfony/console/Input/ArgvInput.php +0 -402
- package/vendor/symfony/console/Input/ArrayInput.php +0 -191
- package/vendor/symfony/console/Input/Input.php +0 -174
- package/vendor/symfony/console/Input/InputArgument.php +0 -160
- package/vendor/symfony/console/Input/InputAwareInterface.php +0 -26
- package/vendor/symfony/console/Input/InputDefinition.php +0 -402
- package/vendor/symfony/console/Input/InputInterface.php +0 -138
- package/vendor/symfony/console/Input/InputOption.php +0 -262
- package/vendor/symfony/console/Input/StreamableInputInterface.php +0 -37
- package/vendor/symfony/console/Input/StringInput.php +0 -85
- package/vendor/symfony/console/LICENSE +0 -19
- package/vendor/symfony/console/Logger/ConsoleLogger.php +0 -120
- package/vendor/symfony/console/Messenger/RunCommandContext.php +0 -25
- package/vendor/symfony/console/Messenger/RunCommandMessage.php +0 -36
- package/vendor/symfony/console/Messenger/RunCommandMessageHandler.php +0 -49
- package/vendor/symfony/console/Output/AnsiColorMode.php +0 -106
- package/vendor/symfony/console/Output/BufferedOutput.php +0 -40
- package/vendor/symfony/console/Output/ConsoleOutput.php +0 -153
- package/vendor/symfony/console/Output/ConsoleOutputInterface.php +0 -30
- package/vendor/symfony/console/Output/ConsoleSectionOutput.php +0 -237
- package/vendor/symfony/console/Output/NullOutput.php +0 -94
- package/vendor/symfony/console/Output/Output.php +0 -144
- package/vendor/symfony/console/Output/OutputInterface.php +0 -103
- package/vendor/symfony/console/Output/StreamOutput.php +0 -127
- package/vendor/symfony/console/Output/TrimmedBufferOutput.php +0 -58
- package/vendor/symfony/console/Question/ChoiceQuestion.php +0 -178
- package/vendor/symfony/console/Question/ConfirmationQuestion.php +0 -57
- package/vendor/symfony/console/Question/Question.php +0 -280
- package/vendor/symfony/console/README.md +0 -27
- package/vendor/symfony/console/Resources/bin/hiddeninput.exe +0 -0
- package/vendor/symfony/console/Resources/completion.bash +0 -94
- package/vendor/symfony/console/Resources/completion.fish +0 -25
- package/vendor/symfony/console/Resources/completion.zsh +0 -82
- package/vendor/symfony/console/SignalRegistry/SignalMap.php +0 -36
- package/vendor/symfony/console/SignalRegistry/SignalRegistry.php +0 -65
- package/vendor/symfony/console/SingleCommandApplication.php +0 -72
- package/vendor/symfony/console/Style/OutputStyle.php +0 -115
- package/vendor/symfony/console/Style/StyleInterface.php +0 -110
- package/vendor/symfony/console/Style/SymfonyStyle.php +0 -476
- package/vendor/symfony/console/Terminal.php +0 -227
- package/vendor/symfony/console/Tester/ApplicationTester.php +0 -83
- package/vendor/symfony/console/Tester/CommandCompletionTester.php +0 -54
- package/vendor/symfony/console/Tester/CommandTester.php +0 -74
- package/vendor/symfony/console/Tester/Constraint/CommandIsSuccessful.php +0 -43
- package/vendor/symfony/console/Tester/TesterTrait.php +0 -178
- package/vendor/symfony/console/composer.json +0 -55
- package/vendor/symfony/deprecation-contracts/CHANGELOG.md +0 -5
- package/vendor/symfony/deprecation-contracts/LICENSE +0 -19
- package/vendor/symfony/deprecation-contracts/README.md +0 -26
- package/vendor/symfony/deprecation-contracts/composer.json +0 -35
- package/vendor/symfony/deprecation-contracts/function.php +0 -27
- package/vendor/symfony/event-dispatcher/Attribute/AsEventListener.php +0 -35
- package/vendor/symfony/event-dispatcher/CHANGELOG.md +0 -96
- package/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php +0 -355
- package/vendor/symfony/event-dispatcher/Debug/WrappedListener.php +0 -143
- package/vendor/symfony/event-dispatcher/DependencyInjection/AddEventAliasesPass.php +0 -38
- package/vendor/symfony/event-dispatcher/DependencyInjection/RegisterListenersPass.php +0 -213
- package/vendor/symfony/event-dispatcher/EventDispatcher.php +0 -256
- package/vendor/symfony/event-dispatcher/EventDispatcherInterface.php +0 -66
- package/vendor/symfony/event-dispatcher/EventSubscriberInterface.php +0 -49
- package/vendor/symfony/event-dispatcher/GenericEvent.php +0 -155
- package/vendor/symfony/event-dispatcher/ImmutableEventDispatcher.php +0 -65
- package/vendor/symfony/event-dispatcher/LICENSE +0 -19
- package/vendor/symfony/event-dispatcher/README.md +0 -15
- package/vendor/symfony/event-dispatcher/composer.json +0 -47
- package/vendor/symfony/event-dispatcher-contracts/CHANGELOG.md +0 -5
- package/vendor/symfony/event-dispatcher-contracts/Event.php +0 -51
- package/vendor/symfony/event-dispatcher-contracts/EventDispatcherInterface.php +0 -33
- package/vendor/symfony/event-dispatcher-contracts/LICENSE +0 -19
- package/vendor/symfony/event-dispatcher-contracts/README.md +0 -9
- package/vendor/symfony/event-dispatcher-contracts/composer.json +0 -35
- package/vendor/symfony/filesystem/CHANGELOG.md +0 -92
- package/vendor/symfony/filesystem/Exception/ExceptionInterface.php +0 -21
- package/vendor/symfony/filesystem/Exception/FileNotFoundException.php +0 -34
- package/vendor/symfony/filesystem/Exception/IOException.php +0 -36
- package/vendor/symfony/filesystem/Exception/IOExceptionInterface.php +0 -25
- package/vendor/symfony/filesystem/Exception/InvalidArgumentException.php +0 -19
- package/vendor/symfony/filesystem/Exception/RuntimeException.php +0 -19
- package/vendor/symfony/filesystem/Filesystem.php +0 -773
- package/vendor/symfony/filesystem/LICENSE +0 -19
- package/vendor/symfony/filesystem/Path.php +0 -816
- package/vendor/symfony/filesystem/README.md +0 -13
- package/vendor/symfony/filesystem/composer.json +0 -33
- package/vendor/symfony/finder/CHANGELOG.md +0 -103
- package/vendor/symfony/finder/Comparator/Comparator.php +0 -62
- package/vendor/symfony/finder/Comparator/DateComparator.php +0 -50
- package/vendor/symfony/finder/Comparator/NumberComparator.php +0 -78
- package/vendor/symfony/finder/Exception/AccessDeniedException.php +0 -19
- package/vendor/symfony/finder/Exception/DirectoryNotFoundException.php +0 -19
- package/vendor/symfony/finder/Finder.php +0 -852
- package/vendor/symfony/finder/Gitignore.php +0 -91
- package/vendor/symfony/finder/Glob.php +0 -109
- package/vendor/symfony/finder/Iterator/CustomFilterIterator.php +0 -61
- package/vendor/symfony/finder/Iterator/DateRangeFilterIterator.php +0 -58
- package/vendor/symfony/finder/Iterator/DepthRangeFilterIterator.php +0 -48
- package/vendor/symfony/finder/Iterator/ExcludeDirectoryFilterIterator.php +0 -110
- package/vendor/symfony/finder/Iterator/FileTypeFilterIterator.php +0 -51
- package/vendor/symfony/finder/Iterator/FilecontentFilterIterator.php +0 -58
- package/vendor/symfony/finder/Iterator/FilenameFilterIterator.php +0 -45
- package/vendor/symfony/finder/Iterator/LazyIterator.php +0 -32
- package/vendor/symfony/finder/Iterator/MultiplePcreFilterIterator.php +0 -107
- package/vendor/symfony/finder/Iterator/PathFilterIterator.php +0 -56
- package/vendor/symfony/finder/Iterator/RecursiveDirectoryIterator.php +0 -134
- package/vendor/symfony/finder/Iterator/SizeRangeFilterIterator.php +0 -57
- package/vendor/symfony/finder/Iterator/SortableIterator.php +0 -103
- package/vendor/symfony/finder/Iterator/VcsIgnoredFilterIterator.php +0 -173
- package/vendor/symfony/finder/LICENSE +0 -19
- package/vendor/symfony/finder/README.md +0 -14
- package/vendor/symfony/finder/SplFileInfo.php +0 -80
- package/vendor/symfony/finder/composer.json +0 -31
- package/vendor/symfony/options-resolver/CHANGELOG.md +0 -103
- package/vendor/symfony/options-resolver/Debug/OptionsResolverIntrospector.php +0 -114
- package/vendor/symfony/options-resolver/Exception/AccessException.php +0 -22
- package/vendor/symfony/options-resolver/Exception/ExceptionInterface.php +0 -21
- package/vendor/symfony/options-resolver/Exception/InvalidArgumentException.php +0 -21
- package/vendor/symfony/options-resolver/Exception/InvalidOptionsException.php +0 -23
- package/vendor/symfony/options-resolver/Exception/MissingOptionsException.php +0 -23
- package/vendor/symfony/options-resolver/Exception/NoConfigurationException.php +0 -26
- package/vendor/symfony/options-resolver/Exception/NoSuchOptionException.php +0 -26
- package/vendor/symfony/options-resolver/Exception/OptionDefinitionException.php +0 -21
- package/vendor/symfony/options-resolver/Exception/UndefinedOptionsException.php +0 -24
- package/vendor/symfony/options-resolver/LICENSE +0 -19
- package/vendor/symfony/options-resolver/OptionConfigurator.php +0 -160
- package/vendor/symfony/options-resolver/Options.php +0 -22
- package/vendor/symfony/options-resolver/OptionsResolver.php +0 -1396
- package/vendor/symfony/options-resolver/README.md +0 -15
- package/vendor/symfony/options-resolver/composer.json +0 -29
- package/vendor/symfony/polyfill-ctype/Ctype.php +0 -232
- package/vendor/symfony/polyfill-ctype/LICENSE +0 -19
- package/vendor/symfony/polyfill-ctype/README.md +0 -12
- package/vendor/symfony/polyfill-ctype/bootstrap.php +0 -50
- package/vendor/symfony/polyfill-ctype/bootstrap80.php +0 -46
- package/vendor/symfony/polyfill-ctype/composer.json +0 -38
- package/vendor/symfony/polyfill-intl-grapheme/Grapheme.php +0 -247
- package/vendor/symfony/polyfill-intl-grapheme/LICENSE +0 -19
- package/vendor/symfony/polyfill-intl-grapheme/README.md +0 -31
- package/vendor/symfony/polyfill-intl-grapheme/bootstrap.php +0 -58
- package/vendor/symfony/polyfill-intl-grapheme/bootstrap80.php +0 -50
- package/vendor/symfony/polyfill-intl-grapheme/composer.json +0 -35
- package/vendor/symfony/polyfill-intl-normalizer/LICENSE +0 -19
- package/vendor/symfony/polyfill-intl-normalizer/Normalizer.php +0 -310
- package/vendor/symfony/polyfill-intl-normalizer/README.md +0 -14
- package/vendor/symfony/polyfill-intl-normalizer/Resources/stubs/Normalizer.php +0 -17
- package/vendor/symfony/polyfill-intl-normalizer/Resources/unidata/canonicalComposition.php +0 -945
- package/vendor/symfony/polyfill-intl-normalizer/Resources/unidata/canonicalDecomposition.php +0 -2065
- package/vendor/symfony/polyfill-intl-normalizer/Resources/unidata/combiningClass.php +0 -876
- package/vendor/symfony/polyfill-intl-normalizer/Resources/unidata/compatibilityDecomposition.php +0 -3695
- package/vendor/symfony/polyfill-intl-normalizer/bootstrap.php +0 -23
- package/vendor/symfony/polyfill-intl-normalizer/bootstrap80.php +0 -19
- package/vendor/symfony/polyfill-intl-normalizer/composer.json +0 -36
- package/vendor/symfony/polyfill-mbstring/LICENSE +0 -19
- package/vendor/symfony/polyfill-mbstring/Mbstring.php +0 -1045
- package/vendor/symfony/polyfill-mbstring/README.md +0 -13
- package/vendor/symfony/polyfill-mbstring/Resources/unidata/caseFolding.php +0 -119
- package/vendor/symfony/polyfill-mbstring/Resources/unidata/lowerCase.php +0 -1397
- package/vendor/symfony/polyfill-mbstring/Resources/unidata/titleCaseRegexp.php +0 -5
- package/vendor/symfony/polyfill-mbstring/Resources/unidata/upperCase.php +0 -1489
- package/vendor/symfony/polyfill-mbstring/bootstrap.php +0 -172
- package/vendor/symfony/polyfill-mbstring/bootstrap80.php +0 -167
- package/vendor/symfony/polyfill-mbstring/composer.json +0 -39
- package/vendor/symfony/polyfill-php80/LICENSE +0 -19
- package/vendor/symfony/polyfill-php80/Php80.php +0 -115
- package/vendor/symfony/polyfill-php80/PhpToken.php +0 -106
- package/vendor/symfony/polyfill-php80/README.md +0 -25
- package/vendor/symfony/polyfill-php80/Resources/stubs/Attribute.php +0 -31
- package/vendor/symfony/polyfill-php80/Resources/stubs/PhpToken.php +0 -16
- package/vendor/symfony/polyfill-php80/Resources/stubs/Stringable.php +0 -20
- package/vendor/symfony/polyfill-php80/Resources/stubs/UnhandledMatchError.php +0 -16
- package/vendor/symfony/polyfill-php80/Resources/stubs/ValueError.php +0 -16
- package/vendor/symfony/polyfill-php80/bootstrap.php +0 -42
- package/vendor/symfony/polyfill-php80/composer.json +0 -37
- package/vendor/symfony/polyfill-php81/LICENSE +0 -19
- package/vendor/symfony/polyfill-php81/Php81.php +0 -37
- package/vendor/symfony/polyfill-php81/README.md +0 -18
- package/vendor/symfony/polyfill-php81/Resources/stubs/CURLStringFile.php +0 -51
- package/vendor/symfony/polyfill-php81/Resources/stubs/ReturnTypeWillChange.php +0 -20
- package/vendor/symfony/polyfill-php81/bootstrap.php +0 -28
- package/vendor/symfony/polyfill-php81/composer.json +0 -33
- package/vendor/symfony/process/CHANGELOG.md +0 -134
- package/vendor/symfony/process/Exception/ExceptionInterface.php +0 -21
- package/vendor/symfony/process/Exception/InvalidArgumentException.php +0 -21
- package/vendor/symfony/process/Exception/LogicException.php +0 -21
- package/vendor/symfony/process/Exception/ProcessFailedException.php +0 -53
- package/vendor/symfony/process/Exception/ProcessSignaledException.php +0 -38
- package/vendor/symfony/process/Exception/ProcessStartFailedException.php +0 -43
- package/vendor/symfony/process/Exception/ProcessTimedOutException.php +0 -60
- package/vendor/symfony/process/Exception/RunProcessFailedException.php +0 -25
- package/vendor/symfony/process/Exception/RuntimeException.php +0 -21
- package/vendor/symfony/process/ExecutableFinder.php +0 -103
- package/vendor/symfony/process/InputStream.php +0 -91
- package/vendor/symfony/process/LICENSE +0 -19
- package/vendor/symfony/process/Messenger/RunProcessContext.php +0 -33
- package/vendor/symfony/process/Messenger/RunProcessMessage.php +0 -47
- package/vendor/symfony/process/Messenger/RunProcessMessageHandler.php +0 -36
- package/vendor/symfony/process/PhpExecutableFinder.php +0 -98
- package/vendor/symfony/process/PhpProcess.php +0 -66
- package/vendor/symfony/process/PhpSubprocess.php +0 -164
- package/vendor/symfony/process/Pipes/AbstractPipes.php +0 -176
- package/vendor/symfony/process/Pipes/PipesInterface.php +0 -61
- package/vendor/symfony/process/Pipes/UnixPipes.php +0 -144
- package/vendor/symfony/process/Pipes/WindowsPipes.php +0 -185
- package/vendor/symfony/process/Process.php +0 -1662
- package/vendor/symfony/process/ProcessUtils.php +0 -64
- package/vendor/symfony/process/README.md +0 -13
- package/vendor/symfony/process/composer.json +0 -28
- package/vendor/symfony/service-contracts/Attribute/Required.php +0 -25
- package/vendor/symfony/service-contracts/Attribute/SubscribedService.php +0 -47
- package/vendor/symfony/service-contracts/CHANGELOG.md +0 -5
- package/vendor/symfony/service-contracts/LICENSE +0 -19
- package/vendor/symfony/service-contracts/README.md +0 -9
- package/vendor/symfony/service-contracts/ResetInterface.php +0 -33
- package/vendor/symfony/service-contracts/ServiceCollectionInterface.php +0 -26
- package/vendor/symfony/service-contracts/ServiceLocatorTrait.php +0 -114
- package/vendor/symfony/service-contracts/ServiceMethodsSubscriberTrait.php +0 -80
- package/vendor/symfony/service-contracts/ServiceProviderInterface.php +0 -45
- package/vendor/symfony/service-contracts/ServiceSubscriberInterface.php +0 -62
- package/vendor/symfony/service-contracts/ServiceSubscriberTrait.php +0 -84
- package/vendor/symfony/service-contracts/Test/ServiceLocatorTest.php +0 -23
- package/vendor/symfony/service-contracts/Test/ServiceLocatorTestCase.php +0 -97
- package/vendor/symfony/service-contracts/composer.json +0 -42
- package/vendor/symfony/stopwatch/CHANGELOG.md +0 -30
- package/vendor/symfony/stopwatch/LICENSE +0 -19
- package/vendor/symfony/stopwatch/README.md +0 -42
- package/vendor/symfony/stopwatch/Section.php +0 -155
- package/vendor/symfony/stopwatch/Stopwatch.php +0 -163
- package/vendor/symfony/stopwatch/StopwatchEvent.php +0 -238
- package/vendor/symfony/stopwatch/StopwatchPeriod.php +0 -73
- package/vendor/symfony/stopwatch/composer.json +0 -29
- package/vendor/symfony/string/AbstractString.php +0 -723
- package/vendor/symfony/string/AbstractUnicodeString.php +0 -670
- package/vendor/symfony/string/ByteString.php +0 -490
- package/vendor/symfony/string/CHANGELOG.md +0 -56
- package/vendor/symfony/string/CodePointString.php +0 -260
- package/vendor/symfony/string/Exception/ExceptionInterface.php +0 -16
- package/vendor/symfony/string/Exception/InvalidArgumentException.php +0 -16
- package/vendor/symfony/string/Exception/RuntimeException.php +0 -16
- package/vendor/symfony/string/Inflector/EnglishInflector.php +0 -589
- package/vendor/symfony/string/Inflector/FrenchInflector.php +0 -151
- package/vendor/symfony/string/Inflector/InflectorInterface.php +0 -33
- package/vendor/symfony/string/Inflector/SpanishInflector.php +0 -126
- package/vendor/symfony/string/LICENSE +0 -19
- package/vendor/symfony/string/LazyString.php +0 -145
- package/vendor/symfony/string/README.md +0 -14
- package/vendor/symfony/string/Resources/data/wcswidth_table_wide.php +0 -1182
- package/vendor/symfony/string/Resources/data/wcswidth_table_zero.php +0 -1466
- package/vendor/symfony/string/Resources/functions.php +0 -38
- package/vendor/symfony/string/Slugger/AsciiSlugger.php +0 -207
- package/vendor/symfony/string/Slugger/SluggerInterface.php +0 -27
- package/vendor/symfony/string/TruncateMode.php +0 -42
- package/vendor/symfony/string/UnicodeString.php +0 -382
- package/vendor/symfony/string/composer.json +0 -44
|
@@ -1,1045 +0,0 @@
|
|
|
1
|
-
<?php
|
|
2
|
-
|
|
3
|
-
/*
|
|
4
|
-
* This file is part of the Symfony package.
|
|
5
|
-
*
|
|
6
|
-
* (c) Fabien Potencier <fabien@symfony.com>
|
|
7
|
-
*
|
|
8
|
-
* For the full copyright and license information, please view the LICENSE
|
|
9
|
-
* file that was distributed with this source code.
|
|
10
|
-
*/
|
|
11
|
-
|
|
12
|
-
namespace Symfony\Polyfill\Mbstring;
|
|
13
|
-
|
|
14
|
-
/**
|
|
15
|
-
* Partial mbstring implementation in PHP, iconv based, UTF-8 centric.
|
|
16
|
-
*
|
|
17
|
-
* Implemented:
|
|
18
|
-
* - mb_chr - Returns a specific character from its Unicode code point
|
|
19
|
-
* - mb_convert_encoding - Convert character encoding
|
|
20
|
-
* - mb_convert_variables - Convert character code in variable(s)
|
|
21
|
-
* - mb_decode_mimeheader - Decode string in MIME header field
|
|
22
|
-
* - mb_encode_mimeheader - Encode string for MIME header XXX NATIVE IMPLEMENTATION IS REALLY BUGGED
|
|
23
|
-
* - mb_decode_numericentity - Decode HTML numeric string reference to character
|
|
24
|
-
* - mb_encode_numericentity - Encode character to HTML numeric string reference
|
|
25
|
-
* - mb_convert_case - Perform case folding on a string
|
|
26
|
-
* - mb_detect_encoding - Detect character encoding
|
|
27
|
-
* - mb_get_info - Get internal settings of mbstring
|
|
28
|
-
* - mb_http_input - Detect HTTP input character encoding
|
|
29
|
-
* - mb_http_output - Set/Get HTTP output character encoding
|
|
30
|
-
* - mb_internal_encoding - Set/Get internal character encoding
|
|
31
|
-
* - mb_list_encodings - Returns an array of all supported encodings
|
|
32
|
-
* - mb_ord - Returns the Unicode code point of a character
|
|
33
|
-
* - mb_output_handler - Callback function converts character encoding in output buffer
|
|
34
|
-
* - mb_scrub - Replaces ill-formed byte sequences with substitute characters
|
|
35
|
-
* - mb_strlen - Get string length
|
|
36
|
-
* - mb_strpos - Find position of first occurrence of string in a string
|
|
37
|
-
* - mb_strrpos - Find position of last occurrence of a string in a string
|
|
38
|
-
* - mb_str_split - Convert a string to an array
|
|
39
|
-
* - mb_strtolower - Make a string lowercase
|
|
40
|
-
* - mb_strtoupper - Make a string uppercase
|
|
41
|
-
* - mb_substitute_character - Set/Get substitution character
|
|
42
|
-
* - mb_substr - Get part of string
|
|
43
|
-
* - mb_stripos - Finds position of first occurrence of a string within another, case insensitive
|
|
44
|
-
* - mb_stristr - Finds first occurrence of a string within another, case insensitive
|
|
45
|
-
* - mb_strrchr - Finds the last occurrence of a character in a string within another
|
|
46
|
-
* - mb_strrichr - Finds the last occurrence of a character in a string within another, case insensitive
|
|
47
|
-
* - mb_strripos - Finds position of last occurrence of a string within another, case insensitive
|
|
48
|
-
* - mb_strstr - Finds first occurrence of a string within another
|
|
49
|
-
* - mb_strwidth - Return width of string
|
|
50
|
-
* - mb_substr_count - Count the number of substring occurrences
|
|
51
|
-
* - mb_ucfirst - Make a string's first character uppercase
|
|
52
|
-
* - mb_lcfirst - Make a string's first character lowercase
|
|
53
|
-
* - mb_trim - Strip whitespace (or other characters) from the beginning and end of a string
|
|
54
|
-
* - mb_ltrim - Strip whitespace (or other characters) from the beginning of a string
|
|
55
|
-
* - mb_rtrim - Strip whitespace (or other characters) from the end of a string
|
|
56
|
-
*
|
|
57
|
-
* Not implemented:
|
|
58
|
-
* - mb_convert_kana - Convert "kana" one from another ("zen-kaku", "han-kaku" and more)
|
|
59
|
-
* - mb_ereg_* - Regular expression with multibyte support
|
|
60
|
-
* - mb_parse_str - Parse GET/POST/COOKIE data and set global variable
|
|
61
|
-
* - mb_preferred_mime_name - Get MIME charset string
|
|
62
|
-
* - mb_regex_encoding - Returns current encoding for multibyte regex as string
|
|
63
|
-
* - mb_regex_set_options - Set/Get the default options for mbregex functions
|
|
64
|
-
* - mb_send_mail - Send encoded mail
|
|
65
|
-
* - mb_split - Split multibyte string using regular expression
|
|
66
|
-
* - mb_strcut - Get part of string
|
|
67
|
-
* - mb_strimwidth - Get truncated string with specified width
|
|
68
|
-
*
|
|
69
|
-
* @author Nicolas Grekas <p@tchwork.com>
|
|
70
|
-
*
|
|
71
|
-
* @internal
|
|
72
|
-
*/
|
|
73
|
-
final class Mbstring
|
|
74
|
-
{
|
|
75
|
-
public const MB_CASE_FOLD = \PHP_INT_MAX;
|
|
76
|
-
|
|
77
|
-
private const SIMPLE_CASE_FOLD = [
|
|
78
|
-
['µ', 'ſ', "\xCD\x85", 'ς', "\xCF\x90", "\xCF\x91", "\xCF\x95", "\xCF\x96", "\xCF\xB0", "\xCF\xB1", "\xCF\xB5", "\xE1\xBA\x9B", "\xE1\xBE\xBE"],
|
|
79
|
-
['μ', 's', 'ι', 'σ', 'β', 'θ', 'φ', 'π', 'κ', 'ρ', 'ε', "\xE1\xB9\xA1", 'ι'],
|
|
80
|
-
];
|
|
81
|
-
|
|
82
|
-
private static $encodingList = ['ASCII', 'UTF-8'];
|
|
83
|
-
private static $language = 'neutral';
|
|
84
|
-
private static $internalEncoding = 'UTF-8';
|
|
85
|
-
|
|
86
|
-
public static function mb_convert_encoding($s, $toEncoding, $fromEncoding = null)
|
|
87
|
-
{
|
|
88
|
-
if (\is_array($s)) {
|
|
89
|
-
$r = [];
|
|
90
|
-
foreach ($s as $str) {
|
|
91
|
-
$r[] = self::mb_convert_encoding($str, $toEncoding, $fromEncoding);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
return $r;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
if (\is_array($fromEncoding) || (null !== $fromEncoding && false !== strpos($fromEncoding, ','))) {
|
|
98
|
-
$fromEncoding = self::mb_detect_encoding($s, $fromEncoding);
|
|
99
|
-
} else {
|
|
100
|
-
$fromEncoding = self::getEncoding($fromEncoding);
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
$toEncoding = self::getEncoding($toEncoding);
|
|
104
|
-
|
|
105
|
-
if ('BASE64' === $fromEncoding) {
|
|
106
|
-
$s = base64_decode($s);
|
|
107
|
-
$fromEncoding = $toEncoding;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
if ('BASE64' === $toEncoding) {
|
|
111
|
-
return base64_encode($s);
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
if ('HTML-ENTITIES' === $toEncoding || 'HTML' === $toEncoding) {
|
|
115
|
-
if ('HTML-ENTITIES' === $fromEncoding || 'HTML' === $fromEncoding) {
|
|
116
|
-
$fromEncoding = 'Windows-1252';
|
|
117
|
-
}
|
|
118
|
-
if ('UTF-8' !== $fromEncoding) {
|
|
119
|
-
$s = iconv($fromEncoding, 'UTF-8//IGNORE', $s);
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
return preg_replace_callback('/[\x80-\xFF]+/', [__CLASS__, 'html_encoding_callback'], $s);
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
if ('HTML-ENTITIES' === $fromEncoding) {
|
|
126
|
-
$s = html_entity_decode($s, \ENT_COMPAT, 'UTF-8');
|
|
127
|
-
$fromEncoding = 'UTF-8';
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
return iconv($fromEncoding, $toEncoding.'//IGNORE', $s);
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
public static function mb_convert_variables($toEncoding, $fromEncoding, &...$vars)
|
|
134
|
-
{
|
|
135
|
-
$ok = true;
|
|
136
|
-
array_walk_recursive($vars, function (&$v) use (&$ok, $toEncoding, $fromEncoding) {
|
|
137
|
-
if (false === $v = self::mb_convert_encoding($v, $toEncoding, $fromEncoding)) {
|
|
138
|
-
$ok = false;
|
|
139
|
-
}
|
|
140
|
-
});
|
|
141
|
-
|
|
142
|
-
return $ok ? $fromEncoding : false;
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
public static function mb_decode_mimeheader($s)
|
|
146
|
-
{
|
|
147
|
-
return iconv_mime_decode($s, 2, self::$internalEncoding);
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
public static function mb_encode_mimeheader($s, $charset = null, $transferEncoding = null, $linefeed = null, $indent = null)
|
|
151
|
-
{
|
|
152
|
-
trigger_error('mb_encode_mimeheader() is bugged. Please use iconv_mime_encode() instead', \E_USER_WARNING);
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
public static function mb_decode_numericentity($s, $convmap, $encoding = null)
|
|
156
|
-
{
|
|
157
|
-
if (null !== $s && !\is_scalar($s) && !(\is_object($s) && method_exists($s, '__toString'))) {
|
|
158
|
-
trigger_error('mb_decode_numericentity() expects parameter 1 to be string, '.\gettype($s).' given', \E_USER_WARNING);
|
|
159
|
-
|
|
160
|
-
return null;
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
if (!\is_array($convmap) || (80000 > \PHP_VERSION_ID && !$convmap)) {
|
|
164
|
-
return false;
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
if (null !== $encoding && !\is_scalar($encoding)) {
|
|
168
|
-
trigger_error('mb_decode_numericentity() expects parameter 3 to be string, '.\gettype($s).' given', \E_USER_WARNING);
|
|
169
|
-
|
|
170
|
-
return ''; // Instead of null (cf. mb_encode_numericentity).
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
$s = (string) $s;
|
|
174
|
-
if ('' === $s) {
|
|
175
|
-
return '';
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
$encoding = self::getEncoding($encoding);
|
|
179
|
-
|
|
180
|
-
if ('UTF-8' === $encoding) {
|
|
181
|
-
$encoding = null;
|
|
182
|
-
if (!preg_match('//u', $s)) {
|
|
183
|
-
$s = @iconv('UTF-8', 'UTF-8//IGNORE', $s);
|
|
184
|
-
}
|
|
185
|
-
} else {
|
|
186
|
-
$s = iconv($encoding, 'UTF-8//IGNORE', $s);
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
$cnt = floor(\count($convmap) / 4) * 4;
|
|
190
|
-
|
|
191
|
-
for ($i = 0; $i < $cnt; $i += 4) {
|
|
192
|
-
// collector_decode_htmlnumericentity ignores $convmap[$i + 3]
|
|
193
|
-
$convmap[$i] += $convmap[$i + 2];
|
|
194
|
-
$convmap[$i + 1] += $convmap[$i + 2];
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
$s = preg_replace_callback('/&#(?:0*([0-9]+)|x0*([0-9a-fA-F]+))(?!&);?/', function (array $m) use ($cnt, $convmap) {
|
|
198
|
-
$c = isset($m[2]) ? (int) hexdec($m[2]) : $m[1];
|
|
199
|
-
for ($i = 0; $i < $cnt; $i += 4) {
|
|
200
|
-
if ($c >= $convmap[$i] && $c <= $convmap[$i + 1]) {
|
|
201
|
-
return self::mb_chr($c - $convmap[$i + 2]);
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
return $m[0];
|
|
206
|
-
}, $s);
|
|
207
|
-
|
|
208
|
-
if (null === $encoding) {
|
|
209
|
-
return $s;
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
return iconv('UTF-8', $encoding.'//IGNORE', $s);
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
public static function mb_encode_numericentity($s, $convmap, $encoding = null, $is_hex = false)
|
|
216
|
-
{
|
|
217
|
-
if (null !== $s && !\is_scalar($s) && !(\is_object($s) && method_exists($s, '__toString'))) {
|
|
218
|
-
trigger_error('mb_encode_numericentity() expects parameter 1 to be string, '.\gettype($s).' given', \E_USER_WARNING);
|
|
219
|
-
|
|
220
|
-
return null;
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
if (!\is_array($convmap) || (80000 > \PHP_VERSION_ID && !$convmap)) {
|
|
224
|
-
return false;
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
if (null !== $encoding && !\is_scalar($encoding)) {
|
|
228
|
-
trigger_error('mb_encode_numericentity() expects parameter 3 to be string, '.\gettype($s).' given', \E_USER_WARNING);
|
|
229
|
-
|
|
230
|
-
return null; // Instead of '' (cf. mb_decode_numericentity).
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
if (null !== $is_hex && !\is_scalar($is_hex)) {
|
|
234
|
-
trigger_error('mb_encode_numericentity() expects parameter 4 to be boolean, '.\gettype($s).' given', \E_USER_WARNING);
|
|
235
|
-
|
|
236
|
-
return null;
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
$s = (string) $s;
|
|
240
|
-
if ('' === $s) {
|
|
241
|
-
return '';
|
|
242
|
-
}
|
|
243
|
-
|
|
244
|
-
$encoding = self::getEncoding($encoding);
|
|
245
|
-
|
|
246
|
-
if ('UTF-8' === $encoding) {
|
|
247
|
-
$encoding = null;
|
|
248
|
-
if (!preg_match('//u', $s)) {
|
|
249
|
-
$s = @iconv('UTF-8', 'UTF-8//IGNORE', $s);
|
|
250
|
-
}
|
|
251
|
-
} else {
|
|
252
|
-
$s = iconv($encoding, 'UTF-8//IGNORE', $s);
|
|
253
|
-
}
|
|
254
|
-
|
|
255
|
-
static $ulenMask = ["\xC0" => 2, "\xD0" => 2, "\xE0" => 3, "\xF0" => 4];
|
|
256
|
-
|
|
257
|
-
$cnt = floor(\count($convmap) / 4) * 4;
|
|
258
|
-
$i = 0;
|
|
259
|
-
$len = \strlen($s);
|
|
260
|
-
$result = '';
|
|
261
|
-
|
|
262
|
-
while ($i < $len) {
|
|
263
|
-
$ulen = $s[$i] < "\x80" ? 1 : $ulenMask[$s[$i] & "\xF0"];
|
|
264
|
-
$uchr = substr($s, $i, $ulen);
|
|
265
|
-
$i += $ulen;
|
|
266
|
-
$c = self::mb_ord($uchr);
|
|
267
|
-
|
|
268
|
-
for ($j = 0; $j < $cnt; $j += 4) {
|
|
269
|
-
if ($c >= $convmap[$j] && $c <= $convmap[$j + 1]) {
|
|
270
|
-
$cOffset = ($c + $convmap[$j + 2]) & $convmap[$j + 3];
|
|
271
|
-
$result .= $is_hex ? sprintf('&#x%X;', $cOffset) : '&#'.$cOffset.';';
|
|
272
|
-
continue 2;
|
|
273
|
-
}
|
|
274
|
-
}
|
|
275
|
-
$result .= $uchr;
|
|
276
|
-
}
|
|
277
|
-
|
|
278
|
-
if (null === $encoding) {
|
|
279
|
-
return $result;
|
|
280
|
-
}
|
|
281
|
-
|
|
282
|
-
return iconv('UTF-8', $encoding.'//IGNORE', $result);
|
|
283
|
-
}
|
|
284
|
-
|
|
285
|
-
public static function mb_convert_case($s, $mode, $encoding = null)
|
|
286
|
-
{
|
|
287
|
-
$s = (string) $s;
|
|
288
|
-
if ('' === $s) {
|
|
289
|
-
return '';
|
|
290
|
-
}
|
|
291
|
-
|
|
292
|
-
$encoding = self::getEncoding($encoding);
|
|
293
|
-
|
|
294
|
-
if ('UTF-8' === $encoding) {
|
|
295
|
-
$encoding = null;
|
|
296
|
-
if (!preg_match('//u', $s)) {
|
|
297
|
-
$s = @iconv('UTF-8', 'UTF-8//IGNORE', $s);
|
|
298
|
-
}
|
|
299
|
-
} else {
|
|
300
|
-
$s = iconv($encoding, 'UTF-8//IGNORE', $s);
|
|
301
|
-
}
|
|
302
|
-
|
|
303
|
-
if (\MB_CASE_TITLE == $mode) {
|
|
304
|
-
static $titleRegexp = null;
|
|
305
|
-
if (null === $titleRegexp) {
|
|
306
|
-
$titleRegexp = self::getData('titleCaseRegexp');
|
|
307
|
-
}
|
|
308
|
-
$s = preg_replace_callback($titleRegexp, [__CLASS__, 'title_case'], $s);
|
|
309
|
-
} else {
|
|
310
|
-
if (\MB_CASE_UPPER == $mode) {
|
|
311
|
-
static $upper = null;
|
|
312
|
-
if (null === $upper) {
|
|
313
|
-
$upper = self::getData('upperCase');
|
|
314
|
-
}
|
|
315
|
-
$map = $upper;
|
|
316
|
-
} else {
|
|
317
|
-
if (self::MB_CASE_FOLD === $mode) {
|
|
318
|
-
static $caseFolding = null;
|
|
319
|
-
if (null === $caseFolding) {
|
|
320
|
-
$caseFolding = self::getData('caseFolding');
|
|
321
|
-
}
|
|
322
|
-
$s = strtr($s, $caseFolding);
|
|
323
|
-
}
|
|
324
|
-
|
|
325
|
-
static $lower = null;
|
|
326
|
-
if (null === $lower) {
|
|
327
|
-
$lower = self::getData('lowerCase');
|
|
328
|
-
}
|
|
329
|
-
$map = $lower;
|
|
330
|
-
}
|
|
331
|
-
|
|
332
|
-
static $ulenMask = ["\xC0" => 2, "\xD0" => 2, "\xE0" => 3, "\xF0" => 4];
|
|
333
|
-
|
|
334
|
-
$i = 0;
|
|
335
|
-
$len = \strlen($s);
|
|
336
|
-
|
|
337
|
-
while ($i < $len) {
|
|
338
|
-
$ulen = $s[$i] < "\x80" ? 1 : $ulenMask[$s[$i] & "\xF0"];
|
|
339
|
-
$uchr = substr($s, $i, $ulen);
|
|
340
|
-
$i += $ulen;
|
|
341
|
-
|
|
342
|
-
if (isset($map[$uchr])) {
|
|
343
|
-
$uchr = $map[$uchr];
|
|
344
|
-
$nlen = \strlen($uchr);
|
|
345
|
-
|
|
346
|
-
if ($nlen == $ulen) {
|
|
347
|
-
$nlen = $i;
|
|
348
|
-
do {
|
|
349
|
-
$s[--$nlen] = $uchr[--$ulen];
|
|
350
|
-
} while ($ulen);
|
|
351
|
-
} else {
|
|
352
|
-
$s = substr_replace($s, $uchr, $i - $ulen, $ulen);
|
|
353
|
-
$len += $nlen - $ulen;
|
|
354
|
-
$i += $nlen - $ulen;
|
|
355
|
-
}
|
|
356
|
-
}
|
|
357
|
-
}
|
|
358
|
-
}
|
|
359
|
-
|
|
360
|
-
if (null === $encoding) {
|
|
361
|
-
return $s;
|
|
362
|
-
}
|
|
363
|
-
|
|
364
|
-
return iconv('UTF-8', $encoding.'//IGNORE', $s);
|
|
365
|
-
}
|
|
366
|
-
|
|
367
|
-
public static function mb_internal_encoding($encoding = null)
|
|
368
|
-
{
|
|
369
|
-
if (null === $encoding) {
|
|
370
|
-
return self::$internalEncoding;
|
|
371
|
-
}
|
|
372
|
-
|
|
373
|
-
$normalizedEncoding = self::getEncoding($encoding);
|
|
374
|
-
|
|
375
|
-
if ('UTF-8' === $normalizedEncoding || false !== @iconv($normalizedEncoding, $normalizedEncoding, ' ')) {
|
|
376
|
-
self::$internalEncoding = $normalizedEncoding;
|
|
377
|
-
|
|
378
|
-
return true;
|
|
379
|
-
}
|
|
380
|
-
|
|
381
|
-
if (80000 > \PHP_VERSION_ID) {
|
|
382
|
-
return false;
|
|
383
|
-
}
|
|
384
|
-
|
|
385
|
-
throw new \ValueError(sprintf('Argument #1 ($encoding) must be a valid encoding, "%s" given', $encoding));
|
|
386
|
-
}
|
|
387
|
-
|
|
388
|
-
public static function mb_language($lang = null)
|
|
389
|
-
{
|
|
390
|
-
if (null === $lang) {
|
|
391
|
-
return self::$language;
|
|
392
|
-
}
|
|
393
|
-
|
|
394
|
-
switch ($normalizedLang = strtolower($lang)) {
|
|
395
|
-
case 'uni':
|
|
396
|
-
case 'neutral':
|
|
397
|
-
self::$language = $normalizedLang;
|
|
398
|
-
|
|
399
|
-
return true;
|
|
400
|
-
}
|
|
401
|
-
|
|
402
|
-
if (80000 > \PHP_VERSION_ID) {
|
|
403
|
-
return false;
|
|
404
|
-
}
|
|
405
|
-
|
|
406
|
-
throw new \ValueError(sprintf('Argument #1 ($language) must be a valid language, "%s" given', $lang));
|
|
407
|
-
}
|
|
408
|
-
|
|
409
|
-
public static function mb_list_encodings()
|
|
410
|
-
{
|
|
411
|
-
return ['UTF-8'];
|
|
412
|
-
}
|
|
413
|
-
|
|
414
|
-
public static function mb_encoding_aliases($encoding)
|
|
415
|
-
{
|
|
416
|
-
switch (strtoupper($encoding)) {
|
|
417
|
-
case 'UTF8':
|
|
418
|
-
case 'UTF-8':
|
|
419
|
-
return ['utf8'];
|
|
420
|
-
}
|
|
421
|
-
|
|
422
|
-
return false;
|
|
423
|
-
}
|
|
424
|
-
|
|
425
|
-
public static function mb_check_encoding($var = null, $encoding = null)
|
|
426
|
-
{
|
|
427
|
-
if (null === $encoding) {
|
|
428
|
-
if (null === $var) {
|
|
429
|
-
return false;
|
|
430
|
-
}
|
|
431
|
-
$encoding = self::$internalEncoding;
|
|
432
|
-
}
|
|
433
|
-
|
|
434
|
-
if (!\is_array($var)) {
|
|
435
|
-
return self::mb_detect_encoding($var, [$encoding]) || false !== @iconv($encoding, $encoding, $var);
|
|
436
|
-
}
|
|
437
|
-
|
|
438
|
-
foreach ($var as $key => $value) {
|
|
439
|
-
if (!self::mb_check_encoding($key, $encoding)) {
|
|
440
|
-
return false;
|
|
441
|
-
}
|
|
442
|
-
if (!self::mb_check_encoding($value, $encoding)) {
|
|
443
|
-
return false;
|
|
444
|
-
}
|
|
445
|
-
}
|
|
446
|
-
|
|
447
|
-
return true;
|
|
448
|
-
}
|
|
449
|
-
|
|
450
|
-
public static function mb_detect_encoding($str, $encodingList = null, $strict = false)
|
|
451
|
-
{
|
|
452
|
-
if (null === $encodingList) {
|
|
453
|
-
$encodingList = self::$encodingList;
|
|
454
|
-
} else {
|
|
455
|
-
if (!\is_array($encodingList)) {
|
|
456
|
-
$encodingList = array_map('trim', explode(',', $encodingList));
|
|
457
|
-
}
|
|
458
|
-
$encodingList = array_map('strtoupper', $encodingList);
|
|
459
|
-
}
|
|
460
|
-
|
|
461
|
-
foreach ($encodingList as $enc) {
|
|
462
|
-
switch ($enc) {
|
|
463
|
-
case 'ASCII':
|
|
464
|
-
if (!preg_match('/[\x80-\xFF]/', $str)) {
|
|
465
|
-
return $enc;
|
|
466
|
-
}
|
|
467
|
-
break;
|
|
468
|
-
|
|
469
|
-
case 'UTF8':
|
|
470
|
-
case 'UTF-8':
|
|
471
|
-
if (preg_match('//u', $str)) {
|
|
472
|
-
return 'UTF-8';
|
|
473
|
-
}
|
|
474
|
-
break;
|
|
475
|
-
|
|
476
|
-
default:
|
|
477
|
-
if (0 === strncmp($enc, 'ISO-8859-', 9)) {
|
|
478
|
-
return $enc;
|
|
479
|
-
}
|
|
480
|
-
}
|
|
481
|
-
}
|
|
482
|
-
|
|
483
|
-
return false;
|
|
484
|
-
}
|
|
485
|
-
|
|
486
|
-
public static function mb_detect_order($encodingList = null)
|
|
487
|
-
{
|
|
488
|
-
if (null === $encodingList) {
|
|
489
|
-
return self::$encodingList;
|
|
490
|
-
}
|
|
491
|
-
|
|
492
|
-
if (!\is_array($encodingList)) {
|
|
493
|
-
$encodingList = array_map('trim', explode(',', $encodingList));
|
|
494
|
-
}
|
|
495
|
-
$encodingList = array_map('strtoupper', $encodingList);
|
|
496
|
-
|
|
497
|
-
foreach ($encodingList as $enc) {
|
|
498
|
-
switch ($enc) {
|
|
499
|
-
default:
|
|
500
|
-
if (strncmp($enc, 'ISO-8859-', 9)) {
|
|
501
|
-
return false;
|
|
502
|
-
}
|
|
503
|
-
// no break
|
|
504
|
-
case 'ASCII':
|
|
505
|
-
case 'UTF8':
|
|
506
|
-
case 'UTF-8':
|
|
507
|
-
}
|
|
508
|
-
}
|
|
509
|
-
|
|
510
|
-
self::$encodingList = $encodingList;
|
|
511
|
-
|
|
512
|
-
return true;
|
|
513
|
-
}
|
|
514
|
-
|
|
515
|
-
public static function mb_strlen($s, $encoding = null)
|
|
516
|
-
{
|
|
517
|
-
$encoding = self::getEncoding($encoding);
|
|
518
|
-
if ('CP850' === $encoding || 'ASCII' === $encoding) {
|
|
519
|
-
return \strlen($s);
|
|
520
|
-
}
|
|
521
|
-
|
|
522
|
-
return @iconv_strlen($s, $encoding);
|
|
523
|
-
}
|
|
524
|
-
|
|
525
|
-
public static function mb_strpos($haystack, $needle, $offset = 0, $encoding = null)
|
|
526
|
-
{
|
|
527
|
-
$encoding = self::getEncoding($encoding);
|
|
528
|
-
if ('CP850' === $encoding || 'ASCII' === $encoding) {
|
|
529
|
-
return strpos($haystack, $needle, $offset);
|
|
530
|
-
}
|
|
531
|
-
|
|
532
|
-
$needle = (string) $needle;
|
|
533
|
-
if ('' === $needle) {
|
|
534
|
-
if (80000 > \PHP_VERSION_ID) {
|
|
535
|
-
trigger_error(__METHOD__.': Empty delimiter', \E_USER_WARNING);
|
|
536
|
-
|
|
537
|
-
return false;
|
|
538
|
-
}
|
|
539
|
-
|
|
540
|
-
return 0;
|
|
541
|
-
}
|
|
542
|
-
|
|
543
|
-
return iconv_strpos($haystack, $needle, $offset, $encoding);
|
|
544
|
-
}
|
|
545
|
-
|
|
546
|
-
public static function mb_strrpos($haystack, $needle, $offset = 0, $encoding = null)
|
|
547
|
-
{
|
|
548
|
-
$encoding = self::getEncoding($encoding);
|
|
549
|
-
if ('CP850' === $encoding || 'ASCII' === $encoding) {
|
|
550
|
-
return strrpos($haystack, $needle, $offset);
|
|
551
|
-
}
|
|
552
|
-
|
|
553
|
-
if ($offset != (int) $offset) {
|
|
554
|
-
$offset = 0;
|
|
555
|
-
} elseif ($offset = (int) $offset) {
|
|
556
|
-
if ($offset < 0) {
|
|
557
|
-
if (0 > $offset += self::mb_strlen($needle)) {
|
|
558
|
-
$haystack = self::mb_substr($haystack, 0, $offset, $encoding);
|
|
559
|
-
}
|
|
560
|
-
$offset = 0;
|
|
561
|
-
} else {
|
|
562
|
-
$haystack = self::mb_substr($haystack, $offset, 2147483647, $encoding);
|
|
563
|
-
}
|
|
564
|
-
}
|
|
565
|
-
|
|
566
|
-
$pos = '' !== $needle || 80000 > \PHP_VERSION_ID
|
|
567
|
-
? iconv_strrpos($haystack, $needle, $encoding)
|
|
568
|
-
: self::mb_strlen($haystack, $encoding);
|
|
569
|
-
|
|
570
|
-
return false !== $pos ? $offset + $pos : false;
|
|
571
|
-
}
|
|
572
|
-
|
|
573
|
-
public static function mb_str_split($string, $split_length = 1, $encoding = null)
|
|
574
|
-
{
|
|
575
|
-
if (null !== $string && !\is_scalar($string) && !(\is_object($string) && method_exists($string, '__toString'))) {
|
|
576
|
-
trigger_error('mb_str_split() expects parameter 1 to be string, '.\gettype($string).' given', \E_USER_WARNING);
|
|
577
|
-
|
|
578
|
-
return null;
|
|
579
|
-
}
|
|
580
|
-
|
|
581
|
-
if (1 > $split_length = (int) $split_length) {
|
|
582
|
-
if (80000 > \PHP_VERSION_ID) {
|
|
583
|
-
trigger_error('The length of each segment must be greater than zero', \E_USER_WARNING);
|
|
584
|
-
|
|
585
|
-
return false;
|
|
586
|
-
}
|
|
587
|
-
|
|
588
|
-
throw new \ValueError('Argument #2 ($length) must be greater than 0');
|
|
589
|
-
}
|
|
590
|
-
|
|
591
|
-
if (null === $encoding) {
|
|
592
|
-
$encoding = mb_internal_encoding();
|
|
593
|
-
}
|
|
594
|
-
|
|
595
|
-
if ('UTF-8' === $encoding = self::getEncoding($encoding)) {
|
|
596
|
-
$rx = '/(';
|
|
597
|
-
while (65535 < $split_length) {
|
|
598
|
-
$rx .= '.{65535}';
|
|
599
|
-
$split_length -= 65535;
|
|
600
|
-
}
|
|
601
|
-
$rx .= '.{'.$split_length.'})/us';
|
|
602
|
-
|
|
603
|
-
return preg_split($rx, $string, -1, \PREG_SPLIT_DELIM_CAPTURE | \PREG_SPLIT_NO_EMPTY);
|
|
604
|
-
}
|
|
605
|
-
|
|
606
|
-
$result = [];
|
|
607
|
-
$length = mb_strlen($string, $encoding);
|
|
608
|
-
|
|
609
|
-
for ($i = 0; $i < $length; $i += $split_length) {
|
|
610
|
-
$result[] = mb_substr($string, $i, $split_length, $encoding);
|
|
611
|
-
}
|
|
612
|
-
|
|
613
|
-
return $result;
|
|
614
|
-
}
|
|
615
|
-
|
|
616
|
-
public static function mb_strtolower($s, $encoding = null)
|
|
617
|
-
{
|
|
618
|
-
return self::mb_convert_case($s, \MB_CASE_LOWER, $encoding);
|
|
619
|
-
}
|
|
620
|
-
|
|
621
|
-
public static function mb_strtoupper($s, $encoding = null)
|
|
622
|
-
{
|
|
623
|
-
return self::mb_convert_case($s, \MB_CASE_UPPER, $encoding);
|
|
624
|
-
}
|
|
625
|
-
|
|
626
|
-
public static function mb_substitute_character($c = null)
|
|
627
|
-
{
|
|
628
|
-
if (null === $c) {
|
|
629
|
-
return 'none';
|
|
630
|
-
}
|
|
631
|
-
if (0 === strcasecmp($c, 'none')) {
|
|
632
|
-
return true;
|
|
633
|
-
}
|
|
634
|
-
if (80000 > \PHP_VERSION_ID) {
|
|
635
|
-
return false;
|
|
636
|
-
}
|
|
637
|
-
if (\is_int($c) || 'long' === $c || 'entity' === $c) {
|
|
638
|
-
return false;
|
|
639
|
-
}
|
|
640
|
-
|
|
641
|
-
throw new \ValueError('Argument #1 ($substitute_character) must be "none", "long", "entity" or a valid codepoint');
|
|
642
|
-
}
|
|
643
|
-
|
|
644
|
-
public static function mb_substr($s, $start, $length = null, $encoding = null)
|
|
645
|
-
{
|
|
646
|
-
$encoding = self::getEncoding($encoding);
|
|
647
|
-
if ('CP850' === $encoding || 'ASCII' === $encoding) {
|
|
648
|
-
return (string) substr($s, $start, null === $length ? 2147483647 : $length);
|
|
649
|
-
}
|
|
650
|
-
|
|
651
|
-
if ($start < 0) {
|
|
652
|
-
$start = iconv_strlen($s, $encoding) + $start;
|
|
653
|
-
if ($start < 0) {
|
|
654
|
-
$start = 0;
|
|
655
|
-
}
|
|
656
|
-
}
|
|
657
|
-
|
|
658
|
-
if (null === $length) {
|
|
659
|
-
$length = 2147483647;
|
|
660
|
-
} elseif ($length < 0) {
|
|
661
|
-
$length = iconv_strlen($s, $encoding) + $length - $start;
|
|
662
|
-
if ($length < 0) {
|
|
663
|
-
return '';
|
|
664
|
-
}
|
|
665
|
-
}
|
|
666
|
-
|
|
667
|
-
return (string) iconv_substr($s, $start, $length, $encoding);
|
|
668
|
-
}
|
|
669
|
-
|
|
670
|
-
public static function mb_stripos($haystack, $needle, $offset = 0, $encoding = null)
|
|
671
|
-
{
|
|
672
|
-
[$haystack, $needle] = str_replace(self::SIMPLE_CASE_FOLD[0], self::SIMPLE_CASE_FOLD[1], [
|
|
673
|
-
self::mb_convert_case($haystack, \MB_CASE_LOWER, $encoding),
|
|
674
|
-
self::mb_convert_case($needle, \MB_CASE_LOWER, $encoding),
|
|
675
|
-
]);
|
|
676
|
-
|
|
677
|
-
return self::mb_strpos($haystack, $needle, $offset, $encoding);
|
|
678
|
-
}
|
|
679
|
-
|
|
680
|
-
public static function mb_stristr($haystack, $needle, $part = false, $encoding = null)
|
|
681
|
-
{
|
|
682
|
-
$pos = self::mb_stripos($haystack, $needle, 0, $encoding);
|
|
683
|
-
|
|
684
|
-
return self::getSubpart($pos, $part, $haystack, $encoding);
|
|
685
|
-
}
|
|
686
|
-
|
|
687
|
-
public static function mb_strrchr($haystack, $needle, $part = false, $encoding = null)
|
|
688
|
-
{
|
|
689
|
-
$encoding = self::getEncoding($encoding);
|
|
690
|
-
if ('CP850' === $encoding || 'ASCII' === $encoding) {
|
|
691
|
-
$pos = strrpos($haystack, $needle);
|
|
692
|
-
} else {
|
|
693
|
-
$needle = self::mb_substr($needle, 0, 1, $encoding);
|
|
694
|
-
$pos = iconv_strrpos($haystack, $needle, $encoding);
|
|
695
|
-
}
|
|
696
|
-
|
|
697
|
-
return self::getSubpart($pos, $part, $haystack, $encoding);
|
|
698
|
-
}
|
|
699
|
-
|
|
700
|
-
public static function mb_strrichr($haystack, $needle, $part = false, $encoding = null)
|
|
701
|
-
{
|
|
702
|
-
$needle = self::mb_substr($needle, 0, 1, $encoding);
|
|
703
|
-
$pos = self::mb_strripos($haystack, $needle, $encoding);
|
|
704
|
-
|
|
705
|
-
return self::getSubpart($pos, $part, $haystack, $encoding);
|
|
706
|
-
}
|
|
707
|
-
|
|
708
|
-
public static function mb_strripos($haystack, $needle, $offset = 0, $encoding = null)
|
|
709
|
-
{
|
|
710
|
-
$haystack = self::mb_convert_case($haystack, \MB_CASE_LOWER, $encoding);
|
|
711
|
-
$needle = self::mb_convert_case($needle, \MB_CASE_LOWER, $encoding);
|
|
712
|
-
|
|
713
|
-
$haystack = str_replace(self::SIMPLE_CASE_FOLD[0], self::SIMPLE_CASE_FOLD[1], $haystack);
|
|
714
|
-
$needle = str_replace(self::SIMPLE_CASE_FOLD[0], self::SIMPLE_CASE_FOLD[1], $needle);
|
|
715
|
-
|
|
716
|
-
return self::mb_strrpos($haystack, $needle, $offset, $encoding);
|
|
717
|
-
}
|
|
718
|
-
|
|
719
|
-
public static function mb_strstr($haystack, $needle, $part = false, $encoding = null)
|
|
720
|
-
{
|
|
721
|
-
$pos = strpos($haystack, $needle);
|
|
722
|
-
if (false === $pos) {
|
|
723
|
-
return false;
|
|
724
|
-
}
|
|
725
|
-
if ($part) {
|
|
726
|
-
return substr($haystack, 0, $pos);
|
|
727
|
-
}
|
|
728
|
-
|
|
729
|
-
return substr($haystack, $pos);
|
|
730
|
-
}
|
|
731
|
-
|
|
732
|
-
public static function mb_get_info($type = 'all')
|
|
733
|
-
{
|
|
734
|
-
$info = [
|
|
735
|
-
'internal_encoding' => self::$internalEncoding,
|
|
736
|
-
'http_output' => 'pass',
|
|
737
|
-
'http_output_conv_mimetypes' => '^(text/|application/xhtml\+xml)',
|
|
738
|
-
'func_overload' => 0,
|
|
739
|
-
'func_overload_list' => 'no overload',
|
|
740
|
-
'mail_charset' => 'UTF-8',
|
|
741
|
-
'mail_header_encoding' => 'BASE64',
|
|
742
|
-
'mail_body_encoding' => 'BASE64',
|
|
743
|
-
'illegal_chars' => 0,
|
|
744
|
-
'encoding_translation' => 'Off',
|
|
745
|
-
'language' => self::$language,
|
|
746
|
-
'detect_order' => self::$encodingList,
|
|
747
|
-
'substitute_character' => 'none',
|
|
748
|
-
'strict_detection' => 'Off',
|
|
749
|
-
];
|
|
750
|
-
|
|
751
|
-
if ('all' === $type) {
|
|
752
|
-
return $info;
|
|
753
|
-
}
|
|
754
|
-
if (isset($info[$type])) {
|
|
755
|
-
return $info[$type];
|
|
756
|
-
}
|
|
757
|
-
|
|
758
|
-
return false;
|
|
759
|
-
}
|
|
760
|
-
|
|
761
|
-
public static function mb_http_input($type = '')
|
|
762
|
-
{
|
|
763
|
-
return false;
|
|
764
|
-
}
|
|
765
|
-
|
|
766
|
-
public static function mb_http_output($encoding = null)
|
|
767
|
-
{
|
|
768
|
-
return null !== $encoding ? 'pass' === $encoding : 'pass';
|
|
769
|
-
}
|
|
770
|
-
|
|
771
|
-
public static function mb_strwidth($s, $encoding = null)
|
|
772
|
-
{
|
|
773
|
-
$encoding = self::getEncoding($encoding);
|
|
774
|
-
|
|
775
|
-
if ('UTF-8' !== $encoding) {
|
|
776
|
-
$s = iconv($encoding, 'UTF-8//IGNORE', $s);
|
|
777
|
-
}
|
|
778
|
-
|
|
779
|
-
$s = preg_replace('/[\x{1100}-\x{115F}\x{2329}\x{232A}\x{2E80}-\x{303E}\x{3040}-\x{A4CF}\x{AC00}-\x{D7A3}\x{F900}-\x{FAFF}\x{FE10}-\x{FE19}\x{FE30}-\x{FE6F}\x{FF00}-\x{FF60}\x{FFE0}-\x{FFE6}\x{20000}-\x{2FFFD}\x{30000}-\x{3FFFD}]/u', '', $s, -1, $wide);
|
|
780
|
-
|
|
781
|
-
return ($wide << 1) + iconv_strlen($s, 'UTF-8');
|
|
782
|
-
}
|
|
783
|
-
|
|
784
|
-
public static function mb_substr_count($haystack, $needle, $encoding = null)
|
|
785
|
-
{
|
|
786
|
-
return substr_count($haystack, $needle);
|
|
787
|
-
}
|
|
788
|
-
|
|
789
|
-
public static function mb_output_handler($contents, $status)
|
|
790
|
-
{
|
|
791
|
-
return $contents;
|
|
792
|
-
}
|
|
793
|
-
|
|
794
|
-
public static function mb_chr($code, $encoding = null)
|
|
795
|
-
{
|
|
796
|
-
if (0x80 > $code %= 0x200000) {
|
|
797
|
-
$s = \chr($code);
|
|
798
|
-
} elseif (0x800 > $code) {
|
|
799
|
-
$s = \chr(0xC0 | $code >> 6).\chr(0x80 | $code & 0x3F);
|
|
800
|
-
} elseif (0x10000 > $code) {
|
|
801
|
-
$s = \chr(0xE0 | $code >> 12).\chr(0x80 | $code >> 6 & 0x3F).\chr(0x80 | $code & 0x3F);
|
|
802
|
-
} else {
|
|
803
|
-
$s = \chr(0xF0 | $code >> 18).\chr(0x80 | $code >> 12 & 0x3F).\chr(0x80 | $code >> 6 & 0x3F).\chr(0x80 | $code & 0x3F);
|
|
804
|
-
}
|
|
805
|
-
|
|
806
|
-
if ('UTF-8' !== $encoding = self::getEncoding($encoding)) {
|
|
807
|
-
$s = mb_convert_encoding($s, $encoding, 'UTF-8');
|
|
808
|
-
}
|
|
809
|
-
|
|
810
|
-
return $s;
|
|
811
|
-
}
|
|
812
|
-
|
|
813
|
-
public static function mb_ord($s, $encoding = null)
|
|
814
|
-
{
|
|
815
|
-
if ('UTF-8' !== $encoding = self::getEncoding($encoding)) {
|
|
816
|
-
$s = mb_convert_encoding($s, 'UTF-8', $encoding);
|
|
817
|
-
}
|
|
818
|
-
|
|
819
|
-
if (1 === \strlen($s)) {
|
|
820
|
-
return \ord($s);
|
|
821
|
-
}
|
|
822
|
-
|
|
823
|
-
$code = ($s = unpack('C*', substr($s, 0, 4))) ? $s[1] : 0;
|
|
824
|
-
if (0xF0 <= $code) {
|
|
825
|
-
return (($code - 0xF0) << 18) + (($s[2] - 0x80) << 12) + (($s[3] - 0x80) << 6) + $s[4] - 0x80;
|
|
826
|
-
}
|
|
827
|
-
if (0xE0 <= $code) {
|
|
828
|
-
return (($code - 0xE0) << 12) + (($s[2] - 0x80) << 6) + $s[3] - 0x80;
|
|
829
|
-
}
|
|
830
|
-
if (0xC0 <= $code) {
|
|
831
|
-
return (($code - 0xC0) << 6) + $s[2] - 0x80;
|
|
832
|
-
}
|
|
833
|
-
|
|
834
|
-
return $code;
|
|
835
|
-
}
|
|
836
|
-
|
|
837
|
-
public static function mb_str_pad(string $string, int $length, string $pad_string = ' ', int $pad_type = \STR_PAD_RIGHT, ?string $encoding = null): string
|
|
838
|
-
{
|
|
839
|
-
if (!\in_array($pad_type, [\STR_PAD_RIGHT, \STR_PAD_LEFT, \STR_PAD_BOTH], true)) {
|
|
840
|
-
throw new \ValueError('mb_str_pad(): Argument #4 ($pad_type) must be STR_PAD_LEFT, STR_PAD_RIGHT, or STR_PAD_BOTH');
|
|
841
|
-
}
|
|
842
|
-
|
|
843
|
-
if (null === $encoding) {
|
|
844
|
-
$encoding = self::mb_internal_encoding();
|
|
845
|
-
} else {
|
|
846
|
-
self::assertEncoding($encoding, 'mb_str_pad(): Argument #5 ($encoding) must be a valid encoding, "%s" given');
|
|
847
|
-
}
|
|
848
|
-
|
|
849
|
-
if (self::mb_strlen($pad_string, $encoding) <= 0) {
|
|
850
|
-
throw new \ValueError('mb_str_pad(): Argument #3 ($pad_string) must be a non-empty string');
|
|
851
|
-
}
|
|
852
|
-
|
|
853
|
-
$paddingRequired = $length - self::mb_strlen($string, $encoding);
|
|
854
|
-
|
|
855
|
-
if ($paddingRequired < 1) {
|
|
856
|
-
return $string;
|
|
857
|
-
}
|
|
858
|
-
|
|
859
|
-
switch ($pad_type) {
|
|
860
|
-
case \STR_PAD_LEFT:
|
|
861
|
-
return self::mb_substr(str_repeat($pad_string, $paddingRequired), 0, $paddingRequired, $encoding).$string;
|
|
862
|
-
case \STR_PAD_RIGHT:
|
|
863
|
-
return $string.self::mb_substr(str_repeat($pad_string, $paddingRequired), 0, $paddingRequired, $encoding);
|
|
864
|
-
default:
|
|
865
|
-
$leftPaddingLength = floor($paddingRequired / 2);
|
|
866
|
-
$rightPaddingLength = $paddingRequired - $leftPaddingLength;
|
|
867
|
-
|
|
868
|
-
return self::mb_substr(str_repeat($pad_string, $leftPaddingLength), 0, $leftPaddingLength, $encoding).$string.self::mb_substr(str_repeat($pad_string, $rightPaddingLength), 0, $rightPaddingLength, $encoding);
|
|
869
|
-
}
|
|
870
|
-
}
|
|
871
|
-
|
|
872
|
-
public static function mb_ucfirst(string $string, ?string $encoding = null): string
|
|
873
|
-
{
|
|
874
|
-
if (null === $encoding) {
|
|
875
|
-
$encoding = self::mb_internal_encoding();
|
|
876
|
-
} else {
|
|
877
|
-
self::assertEncoding($encoding, 'mb_ucfirst(): Argument #2 ($encoding) must be a valid encoding, "%s" given');
|
|
878
|
-
}
|
|
879
|
-
|
|
880
|
-
$firstChar = mb_substr($string, 0, 1, $encoding);
|
|
881
|
-
$firstChar = mb_convert_case($firstChar, \MB_CASE_TITLE, $encoding);
|
|
882
|
-
|
|
883
|
-
return $firstChar.mb_substr($string, 1, null, $encoding);
|
|
884
|
-
}
|
|
885
|
-
|
|
886
|
-
public static function mb_lcfirst(string $string, ?string $encoding = null): string
|
|
887
|
-
{
|
|
888
|
-
if (null === $encoding) {
|
|
889
|
-
$encoding = self::mb_internal_encoding();
|
|
890
|
-
} else {
|
|
891
|
-
self::assertEncoding($encoding, 'mb_lcfirst(): Argument #2 ($encoding) must be a valid encoding, "%s" given');
|
|
892
|
-
}
|
|
893
|
-
|
|
894
|
-
$firstChar = mb_substr($string, 0, 1, $encoding);
|
|
895
|
-
$firstChar = mb_convert_case($firstChar, \MB_CASE_LOWER, $encoding);
|
|
896
|
-
|
|
897
|
-
return $firstChar.mb_substr($string, 1, null, $encoding);
|
|
898
|
-
}
|
|
899
|
-
|
|
900
|
-
private static function getSubpart($pos, $part, $haystack, $encoding)
|
|
901
|
-
{
|
|
902
|
-
if (false === $pos) {
|
|
903
|
-
return false;
|
|
904
|
-
}
|
|
905
|
-
if ($part) {
|
|
906
|
-
return self::mb_substr($haystack, 0, $pos, $encoding);
|
|
907
|
-
}
|
|
908
|
-
|
|
909
|
-
return self::mb_substr($haystack, $pos, null, $encoding);
|
|
910
|
-
}
|
|
911
|
-
|
|
912
|
-
private static function html_encoding_callback(array $m)
|
|
913
|
-
{
|
|
914
|
-
$i = 1;
|
|
915
|
-
$entities = '';
|
|
916
|
-
$m = unpack('C*', htmlentities($m[0], \ENT_COMPAT, 'UTF-8'));
|
|
917
|
-
|
|
918
|
-
while (isset($m[$i])) {
|
|
919
|
-
if (0x80 > $m[$i]) {
|
|
920
|
-
$entities .= \chr($m[$i++]);
|
|
921
|
-
continue;
|
|
922
|
-
}
|
|
923
|
-
if (0xF0 <= $m[$i]) {
|
|
924
|
-
$c = (($m[$i++] - 0xF0) << 18) + (($m[$i++] - 0x80) << 12) + (($m[$i++] - 0x80) << 6) + $m[$i++] - 0x80;
|
|
925
|
-
} elseif (0xE0 <= $m[$i]) {
|
|
926
|
-
$c = (($m[$i++] - 0xE0) << 12) + (($m[$i++] - 0x80) << 6) + $m[$i++] - 0x80;
|
|
927
|
-
} else {
|
|
928
|
-
$c = (($m[$i++] - 0xC0) << 6) + $m[$i++] - 0x80;
|
|
929
|
-
}
|
|
930
|
-
|
|
931
|
-
$entities .= '&#'.$c.';';
|
|
932
|
-
}
|
|
933
|
-
|
|
934
|
-
return $entities;
|
|
935
|
-
}
|
|
936
|
-
|
|
937
|
-
private static function title_case(array $s)
|
|
938
|
-
{
|
|
939
|
-
return self::mb_convert_case($s[1], \MB_CASE_UPPER, 'UTF-8').self::mb_convert_case($s[2], \MB_CASE_LOWER, 'UTF-8');
|
|
940
|
-
}
|
|
941
|
-
|
|
942
|
-
private static function getData($file)
|
|
943
|
-
{
|
|
944
|
-
if (file_exists($file = __DIR__.'/Resources/unidata/'.$file.'.php')) {
|
|
945
|
-
return require $file;
|
|
946
|
-
}
|
|
947
|
-
|
|
948
|
-
return false;
|
|
949
|
-
}
|
|
950
|
-
|
|
951
|
-
private static function getEncoding($encoding)
|
|
952
|
-
{
|
|
953
|
-
if (null === $encoding) {
|
|
954
|
-
return self::$internalEncoding;
|
|
955
|
-
}
|
|
956
|
-
|
|
957
|
-
if ('UTF-8' === $encoding) {
|
|
958
|
-
return 'UTF-8';
|
|
959
|
-
}
|
|
960
|
-
|
|
961
|
-
$encoding = strtoupper($encoding);
|
|
962
|
-
|
|
963
|
-
if ('8BIT' === $encoding || 'BINARY' === $encoding) {
|
|
964
|
-
return 'CP850';
|
|
965
|
-
}
|
|
966
|
-
|
|
967
|
-
if ('UTF8' === $encoding) {
|
|
968
|
-
return 'UTF-8';
|
|
969
|
-
}
|
|
970
|
-
|
|
971
|
-
return $encoding;
|
|
972
|
-
}
|
|
973
|
-
|
|
974
|
-
public static function mb_trim(string $string, ?string $characters = null, ?string $encoding = null): string
|
|
975
|
-
{
|
|
976
|
-
return self::mb_internal_trim('{^[%s]+|[%1$s]+$}Du', $string, $characters, $encoding, __FUNCTION__);
|
|
977
|
-
}
|
|
978
|
-
|
|
979
|
-
public static function mb_ltrim(string $string, ?string $characters = null, ?string $encoding = null): string
|
|
980
|
-
{
|
|
981
|
-
return self::mb_internal_trim('{^[%s]+}Du', $string, $characters, $encoding, __FUNCTION__);
|
|
982
|
-
}
|
|
983
|
-
|
|
984
|
-
public static function mb_rtrim(string $string, ?string $characters = null, ?string $encoding = null): string
|
|
985
|
-
{
|
|
986
|
-
return self::mb_internal_trim('{[%s]+$}Du', $string, $characters, $encoding, __FUNCTION__);
|
|
987
|
-
}
|
|
988
|
-
|
|
989
|
-
private static function mb_internal_trim(string $regex, string $string, ?string $characters, ?string $encoding, string $function): string
|
|
990
|
-
{
|
|
991
|
-
if (null === $encoding) {
|
|
992
|
-
$encoding = self::mb_internal_encoding();
|
|
993
|
-
} else {
|
|
994
|
-
self::assertEncoding($encoding, $function.'(): Argument #3 ($encoding) must be a valid encoding, "%s" given');
|
|
995
|
-
}
|
|
996
|
-
|
|
997
|
-
if ('' === $characters) {
|
|
998
|
-
return null === $encoding ? $string : self::mb_convert_encoding($string, $encoding);
|
|
999
|
-
}
|
|
1000
|
-
|
|
1001
|
-
if ('UTF-8' === $encoding) {
|
|
1002
|
-
$encoding = null;
|
|
1003
|
-
if (!preg_match('//u', $string)) {
|
|
1004
|
-
$string = @iconv('UTF-8', 'UTF-8//IGNORE', $string);
|
|
1005
|
-
}
|
|
1006
|
-
if (null !== $characters && !preg_match('//u', $characters)) {
|
|
1007
|
-
$characters = @iconv('UTF-8', 'UTF-8//IGNORE', $characters);
|
|
1008
|
-
}
|
|
1009
|
-
} else {
|
|
1010
|
-
$string = iconv($encoding, 'UTF-8//IGNORE', $string);
|
|
1011
|
-
|
|
1012
|
-
if (null !== $characters) {
|
|
1013
|
-
$characters = iconv($encoding, 'UTF-8//IGNORE', $characters);
|
|
1014
|
-
}
|
|
1015
|
-
}
|
|
1016
|
-
|
|
1017
|
-
if (null === $characters) {
|
|
1018
|
-
$characters = "\\0 \f\n\r\t\v\u{00A0}\u{1680}\u{2000}\u{2001}\u{2002}\u{2003}\u{2004}\u{2005}\u{2006}\u{2007}\u{2008}\u{2009}\u{200A}\u{2028}\u{2029}\u{202F}\u{205F}\u{3000}\u{0085}\u{180E}";
|
|
1019
|
-
} else {
|
|
1020
|
-
$characters = preg_quote($characters);
|
|
1021
|
-
}
|
|
1022
|
-
|
|
1023
|
-
$string = preg_replace(sprintf($regex, $characters), '', $string);
|
|
1024
|
-
|
|
1025
|
-
if (null === $encoding) {
|
|
1026
|
-
return $string;
|
|
1027
|
-
}
|
|
1028
|
-
|
|
1029
|
-
return iconv('UTF-8', $encoding.'//IGNORE', $string);
|
|
1030
|
-
}
|
|
1031
|
-
|
|
1032
|
-
private static function assertEncoding(string $encoding, string $errorFormat): void
|
|
1033
|
-
{
|
|
1034
|
-
try {
|
|
1035
|
-
$validEncoding = @self::mb_check_encoding('', $encoding);
|
|
1036
|
-
} catch (\ValueError $e) {
|
|
1037
|
-
throw new \ValueError(sprintf($errorFormat, $encoding));
|
|
1038
|
-
}
|
|
1039
|
-
|
|
1040
|
-
// BC for PHP 7.3 and lower
|
|
1041
|
-
if (!$validEncoding) {
|
|
1042
|
-
throw new \ValueError(sprintf($errorFormat, $encoding));
|
|
1043
|
-
}
|
|
1044
|
-
}
|
|
1045
|
-
}
|