dependabot-composer 0.119.0.beta1 → 0.119.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- metadata +8 -1564
- data/helpers/.php_cs.cache +0 -1
- data/helpers/vendor/autoload.php +0 -7
- data/helpers/vendor/bin/composer +0 -1
- data/helpers/vendor/bin/jsonlint +0 -1
- data/helpers/vendor/bin/php-cs-fixer +0 -1
- data/helpers/vendor/bin/phpstan +0 -1
- data/helpers/vendor/bin/phpstan.phar +0 -1
- data/helpers/vendor/bin/validate-json +0 -1
- data/helpers/vendor/composer/ClassLoader.php +0 -445
- data/helpers/vendor/composer/LICENSE +0 -21
- data/helpers/vendor/composer/autoload_classmap.php +0 -66
- data/helpers/vendor/composer/autoload_files.php +0 -14
- data/helpers/vendor/composer/autoload_namespaces.php +0 -9
- data/helpers/vendor/composer/autoload_psr4.php +0 -34
- data/helpers/vendor/composer/autoload_real.php +0 -73
- data/helpers/vendor/composer/autoload_static.php +0 -232
- data/helpers/vendor/composer/ca-bundle/LICENSE +0 -19
- data/helpers/vendor/composer/ca-bundle/README.md +0 -85
- data/helpers/vendor/composer/ca-bundle/composer.json +0 -54
- data/helpers/vendor/composer/ca-bundle/res/cacert.pem +0 -3466
- data/helpers/vendor/composer/ca-bundle/src/CaBundle.php +0 -325
- data/helpers/vendor/composer/composer/.editorconfig +0 -11
- data/helpers/vendor/composer/composer/.gitattributes +0 -17
- data/helpers/vendor/composer/composer/.gitignore +0 -11
- data/helpers/vendor/composer/composer/CHANGELOG.md +0 -952
- data/helpers/vendor/composer/composer/LICENSE +0 -19
- data/helpers/vendor/composer/composer/PORTING_INFO +0 -39
- data/helpers/vendor/composer/composer/README.md +0 -63
- data/helpers/vendor/composer/composer/bin/compile +0 -31
- data/helpers/vendor/composer/composer/bin/composer +0 -62
- data/helpers/vendor/composer/composer/composer.json +0 -86
- data/helpers/vendor/composer/composer/composer.lock +0 -1425
- data/helpers/vendor/composer/composer/doc/00-intro.md +0 -166
- data/helpers/vendor/composer/composer/doc/01-basic-usage.md +0 -273
- data/helpers/vendor/composer/composer/doc/02-libraries.md +0 -153
- data/helpers/vendor/composer/composer/doc/03-cli.md +0 -957
- data/helpers/vendor/composer/composer/doc/04-schema.md +0 -958
- data/helpers/vendor/composer/composer/doc/05-repositories.md +0 -719
- data/helpers/vendor/composer/composer/doc/06-config.md +0 -310
- data/helpers/vendor/composer/composer/doc/07-community.md +0 -35
- data/helpers/vendor/composer/composer/doc/articles/aliases.md +0 -111
- data/helpers/vendor/composer/composer/doc/articles/autoloader-optimization.md +0 -111
- data/helpers/vendor/composer/composer/doc/articles/custom-installers.md +0 -204
- data/helpers/vendor/composer/composer/doc/articles/handling-private-packages-with-satis.md +0 -356
- data/helpers/vendor/composer/composer/doc/articles/http-basic-authentication.md +0 -59
- data/helpers/vendor/composer/composer/doc/articles/plugins.md +0 -290
- data/helpers/vendor/composer/composer/doc/articles/scripts.md +0 -372
- data/helpers/vendor/composer/composer/doc/articles/troubleshooting.md +0 -322
- data/helpers/vendor/composer/composer/doc/articles/vendor-binaries.md +0 -110
- data/helpers/vendor/composer/composer/doc/articles/versions.md +0 -230
- data/helpers/vendor/composer/composer/doc/dev/DefaultPolicy.md +0 -55
- data/helpers/vendor/composer/composer/doc/faqs/how-do-i-install-a-package-to-a-custom-path-for-my-framework.md +0 -55
- data/helpers/vendor/composer/composer/doc/faqs/how-to-install-composer-programmatically.md +0 -42
- data/helpers/vendor/composer/composer/doc/faqs/how-to-install-untrusted-packages-safely.md +0 -19
- data/helpers/vendor/composer/composer/doc/faqs/should-i-commit-the-dependencies-in-my-vendor-directory.md +0 -32
- data/helpers/vendor/composer/composer/doc/faqs/which-version-numbering-system-does-composer-itself-use.md +0 -4
- data/helpers/vendor/composer/composer/doc/faqs/why-are-unbound-version-constraints-a-bad-idea.md +0 -21
- data/helpers/vendor/composer/composer/doc/faqs/why-are-version-constraints-combining-comparisons-and-wildcards-a-bad-idea.md +0 -21
- data/helpers/vendor/composer/composer/doc/faqs/why-can't-composer-load-repositories-recursively.md +0 -35
- data/helpers/vendor/composer/composer/doc/fixtures/fixtures.md +0 -22
- data/helpers/vendor/composer/composer/doc/fixtures/repo-composer-plain/packages.json +0 -158
- data/helpers/vendor/composer/composer/doc/fixtures/repo-composer-with-providers/p/bar/baz$923363b3c22e73abb2e3fd891c8156dd4d0821a97fd3e428bc910833e3e46dbe.json +0 -50
- data/helpers/vendor/composer/composer/doc/fixtures/repo-composer-with-providers/p/foo/bar$4baabb3303afa3e34a4d3af18fb138e5f3b79029c1f8d9ab5b477ea15776ba0a.json +0 -77
- data/helpers/vendor/composer/composer/doc/fixtures/repo-composer-with-providers/p/gar/nix$5d210670cb46c8364c8e3fb449967b9bea558b971e5b082f330ae4f1d484c321.json +0 -50
- data/helpers/vendor/composer/composer/doc/fixtures/repo-composer-with-providers/p/provider-active$1893a061e579543822389ecd12d791c612db0c05e22d90e9286e233cacd86ed8.json +0 -16
- data/helpers/vendor/composer/composer/doc/fixtures/repo-composer-with-providers/p/qux/quux$c142d1a07ca354be46b613f59f1d601923a5a00ccc5fcce50a77ecdd461eb72d.json +0 -22
- data/helpers/vendor/composer/composer/doc/fixtures/repo-composer-with-providers/packages.json +0 -9
- data/helpers/vendor/composer/composer/res/composer-repository-schema.json +0 -110
- data/helpers/vendor/composer/composer/res/composer-schema.json +0 -880
- data/helpers/vendor/composer/composer/src/Composer/Autoload/AutoloadGenerator.php +0 -1070
- data/helpers/vendor/composer/composer/src/Composer/Autoload/ClassLoader.php +0 -445
- data/helpers/vendor/composer/composer/src/Composer/Autoload/ClassMapGenerator.php +0 -312
- data/helpers/vendor/composer/composer/src/Composer/Cache.php +0 -257
- data/helpers/vendor/composer/composer/src/Composer/Command/AboutCommand.php +0 -48
- data/helpers/vendor/composer/composer/src/Composer/Command/ArchiveCommand.php +0 -172
- data/helpers/vendor/composer/composer/src/Composer/Command/BaseCommand.php +0 -181
- data/helpers/vendor/composer/composer/src/Composer/Command/BaseDependencyCommand.php +0 -259
- data/helpers/vendor/composer/composer/src/Composer/Command/CheckPlatformReqsCommand.php +0 -166
- data/helpers/vendor/composer/composer/src/Composer/Command/ClearCacheCommand.php +0 -76
- data/helpers/vendor/composer/composer/src/Composer/Command/ConfigCommand.php +0 -803
- data/helpers/vendor/composer/composer/src/Composer/Command/CreateProjectCommand.php +0 -423
- data/helpers/vendor/composer/composer/src/Composer/Command/DependsCommand.php +0 -57
- data/helpers/vendor/composer/composer/src/Composer/Command/DiagnoseCommand.php +0 -747
- data/helpers/vendor/composer/composer/src/Composer/Command/DumpAutoloadCommand.php +0 -90
- data/helpers/vendor/composer/composer/src/Composer/Command/ExecCommand.php +0 -108
- data/helpers/vendor/composer/composer/src/Composer/Command/FundCommand.php +0 -107
- data/helpers/vendor/composer/composer/src/Composer/Command/GlobalCommand.php +0 -111
- data/helpers/vendor/composer/composer/src/Composer/Command/HomeCommand.php +0 -168
- data/helpers/vendor/composer/composer/src/Composer/Command/InitCommand.php +0 -854
- data/helpers/vendor/composer/composer/src/Composer/Command/InstallCommand.php +0 -124
- data/helpers/vendor/composer/composer/src/Composer/Command/LicensesCommand.php +0 -165
- data/helpers/vendor/composer/composer/src/Composer/Command/OutdatedCommand.php +0 -95
- data/helpers/vendor/composer/composer/src/Composer/Command/ProhibitsCommand.php +0 -57
- data/helpers/vendor/composer/composer/src/Composer/Command/RemoveCommand.php +0 -163
- data/helpers/vendor/composer/composer/src/Composer/Command/RequireCommand.php +0 -297
- data/helpers/vendor/composer/composer/src/Composer/Command/RunScriptCommand.php +0 -146
- data/helpers/vendor/composer/composer/src/Composer/Command/ScriptAliasCommand.php +0 -66
- data/helpers/vendor/composer/composer/src/Composer/Command/SearchCommand.php +0 -85
- data/helpers/vendor/composer/composer/src/Composer/Command/SelfUpdateCommand.php +0 -556
- data/helpers/vendor/composer/composer/src/Composer/Command/ShowCommand.php +0 -1211
- data/helpers/vendor/composer/composer/src/Composer/Command/StatusCommand.php +0 -228
- data/helpers/vendor/composer/composer/src/Composer/Command/SuggestsCommand.php +0 -154
- data/helpers/vendor/composer/composer/src/Composer/Command/UpdateCommand.php +0 -228
- data/helpers/vendor/composer/composer/src/Composer/Command/ValidateCommand.php +0 -178
- data/helpers/vendor/composer/composer/src/Composer/Compiler.php +0 -287
- data/helpers/vendor/composer/composer/src/Composer/Composer.php +0 -294
- data/helpers/vendor/composer/composer/src/Composer/Config.php +0 -483
- data/helpers/vendor/composer/composer/src/Composer/Config/ConfigSourceInterface.php +0 -91
- data/helpers/vendor/composer/composer/src/Composer/Config/JsonConfigSource.php +0 -277
- data/helpers/vendor/composer/composer/src/Composer/Console/Application.php +0 -519
- data/helpers/vendor/composer/composer/src/Composer/Console/HtmlOutputFormatter.php +0 -90
- data/helpers/vendor/composer/composer/src/Composer/DependencyResolver/Decisions.php +0 -211
- data/helpers/vendor/composer/composer/src/Composer/DependencyResolver/DefaultPolicy.php +0 -285
- data/helpers/vendor/composer/composer/src/Composer/DependencyResolver/GenericRule.php +0 -91
- data/helpers/vendor/composer/composer/src/Composer/DependencyResolver/Operation/InstallOperation.php +0 -66
- data/helpers/vendor/composer/composer/src/Composer/DependencyResolver/Operation/MarkAliasInstalledOperation.php +0 -67
- data/helpers/vendor/composer/composer/src/Composer/DependencyResolver/Operation/MarkAliasUninstalledOperation.php +0 -67
- data/helpers/vendor/composer/composer/src/Composer/DependencyResolver/Operation/OperationInterface.php +0 -42
- data/helpers/vendor/composer/composer/src/Composer/DependencyResolver/Operation/SolverOperation.php +0 -50
- data/helpers/vendor/composer/composer/src/Composer/DependencyResolver/Operation/UninstallOperation.php +0 -66
- data/helpers/vendor/composer/composer/src/Composer/DependencyResolver/Operation/UpdateOperation.php +0 -83
- data/helpers/vendor/composer/composer/src/Composer/DependencyResolver/PolicyInterface.php +0 -27
- data/helpers/vendor/composer/composer/src/Composer/DependencyResolver/Pool.php +0 -387
- data/helpers/vendor/composer/composer/src/Composer/DependencyResolver/Problem.php +0 -257
- data/helpers/vendor/composer/composer/src/Composer/DependencyResolver/Request.php +0 -78
- data/helpers/vendor/composer/composer/src/Composer/DependencyResolver/Rule.php +0 -268
- data/helpers/vendor/composer/composer/src/Composer/DependencyResolver/Rule2Literals.php +0 -113
- data/helpers/vendor/composer/composer/src/Composer/DependencyResolver/RuleSet.php +0 -176
- data/helpers/vendor/composer/composer/src/Composer/DependencyResolver/RuleSetGenerator.php +0 -394
- data/helpers/vendor/composer/composer/src/Composer/DependencyResolver/RuleSetIterator.php +0 -94
- data/helpers/vendor/composer/composer/src/Composer/DependencyResolver/RuleWatchChain.php +0 -52
- data/helpers/vendor/composer/composer/src/Composer/DependencyResolver/RuleWatchGraph.php +0 -144
- data/helpers/vendor/composer/composer/src/Composer/DependencyResolver/RuleWatchNode.php +0 -113
- data/helpers/vendor/composer/composer/src/Composer/DependencyResolver/Solver.php +0 -872
- data/helpers/vendor/composer/composer/src/Composer/DependencyResolver/SolverBugException.php +0 -27
- data/helpers/vendor/composer/composer/src/Composer/DependencyResolver/SolverProblemsException.php +0 -88
- data/helpers/vendor/composer/composer/src/Composer/DependencyResolver/Transaction.php +0 -244
- data/helpers/vendor/composer/composer/src/Composer/Downloader/ArchiveDownloader.php +0 -135
- data/helpers/vendor/composer/composer/src/Composer/Downloader/ChangeReportInterface.php +0 -32
- data/helpers/vendor/composer/composer/src/Composer/Downloader/DownloadManager.php +0 -325
- data/helpers/vendor/composer/composer/src/Composer/Downloader/DownloaderInterface.php +0 -64
- data/helpers/vendor/composer/composer/src/Composer/Downloader/DvcsDownloaderInterface.php +0 -32
- data/helpers/vendor/composer/composer/src/Composer/Downloader/FileDownloader.php +0 -322
- data/helpers/vendor/composer/composer/src/Composer/Downloader/FilesystemException.php +0 -26
- data/helpers/vendor/composer/composer/src/Composer/Downloader/FossilDownloader.php +0 -116
- data/helpers/vendor/composer/composer/src/Composer/Downloader/GitDownloader.php +0 -528
- data/helpers/vendor/composer/composer/src/Composer/Downloader/GzipDownloader.php +0 -84
- data/helpers/vendor/composer/composer/src/Composer/Downloader/HgDownloader.php +0 -100
- data/helpers/vendor/composer/composer/src/Composer/Downloader/PathDownloader.php +0 -228
- data/helpers/vendor/composer/composer/src/Composer/Downloader/PearPackageExtractor.php +0 -266
- data/helpers/vendor/composer/composer/src/Composer/Downloader/PerforceDownloader.php +0 -112
- data/helpers/vendor/composer/composer/src/Composer/Downloader/PharDownloader.php +0 -36
- data/helpers/vendor/composer/composer/src/Composer/Downloader/RarDownloader.php +0 -91
- data/helpers/vendor/composer/composer/src/Composer/Downloader/SvnDownloader.php +0 -225
- data/helpers/vendor/composer/composer/src/Composer/Downloader/TarDownloader.php +0 -31
- data/helpers/vendor/composer/composer/src/Composer/Downloader/TransportException.php +0 -53
- data/helpers/vendor/composer/composer/src/Composer/Downloader/VcsCapableDownloaderInterface.php +0 -32
- data/helpers/vendor/composer/composer/src/Composer/Downloader/VcsDownloader.php +0 -293
- data/helpers/vendor/composer/composer/src/Composer/Downloader/XzDownloader.php +0 -60
- data/helpers/vendor/composer/composer/src/Composer/Downloader/ZipDownloader.php +0 -230
- data/helpers/vendor/composer/composer/src/Composer/EventDispatcher/Event.php +0 -103
- data/helpers/vendor/composer/composer/src/Composer/EventDispatcher/EventDispatcher.php +0 -571
- data/helpers/vendor/composer/composer/src/Composer/EventDispatcher/EventSubscriberInterface.php +0 -48
- data/helpers/vendor/composer/composer/src/Composer/EventDispatcher/ScriptExecutionException.php +0 -20
- data/helpers/vendor/composer/composer/src/Composer/Exception/NoSslException.php +0 -20
- data/helpers/vendor/composer/composer/src/Composer/Factory.php +0 -653
- data/helpers/vendor/composer/composer/src/Composer/IO/BaseIO.php +0 -284
- data/helpers/vendor/composer/composer/src/Composer/IO/BufferIO.php +0 -86
- data/helpers/vendor/composer/composer/src/Composer/IO/ConsoleIO.php +0 -346
- data/helpers/vendor/composer/composer/src/Composer/IO/IOInterface.php +0 -207
- data/helpers/vendor/composer/composer/src/Composer/IO/NullIO.php +0 -129
- data/helpers/vendor/composer/composer/src/Composer/Installer.php +0 -1876
- data/helpers/vendor/composer/composer/src/Composer/Installer/BinaryInstaller.php +0 -214
- data/helpers/vendor/composer/composer/src/Composer/Installer/BinaryPresenceInterface.php +0 -30
- data/helpers/vendor/composer/composer/src/Composer/Installer/InstallationManager.php +0 -326
- data/helpers/vendor/composer/composer/src/Composer/Installer/InstallerEvent.php +0 -161
- data/helpers/vendor/composer/composer/src/Composer/Installer/InstallerEvents.php +0 -43
- data/helpers/vendor/composer/composer/src/Composer/Installer/InstallerInterface.php +0 -79
- data/helpers/vendor/composer/composer/src/Composer/Installer/LibraryInstaller.php +0 -232
- data/helpers/vendor/composer/composer/src/Composer/Installer/MetapackageInstaller.php +0 -100
- data/helpers/vendor/composer/composer/src/Composer/Installer/NoopInstaller.php +0 -88
- data/helpers/vendor/composer/composer/src/Composer/Installer/PackageEvent.php +0 -65
- data/helpers/vendor/composer/composer/src/Composer/Installer/PackageEvents.php +0 -75
- data/helpers/vendor/composer/composer/src/Composer/Installer/PearBinaryInstaller.php +0 -144
- data/helpers/vendor/composer/composer/src/Composer/Installer/PearInstaller.php +0 -84
- data/helpers/vendor/composer/composer/src/Composer/Installer/PluginInstaller.php +0 -84
- data/helpers/vendor/composer/composer/src/Composer/Installer/ProjectInstaller.php +0 -99
- data/helpers/vendor/composer/composer/src/Composer/Installer/SuggestedPackagesReporter.php +0 -151
- data/helpers/vendor/composer/composer/src/Composer/Json/JsonFile.php +0 -319
- data/helpers/vendor/composer/composer/src/Composer/Json/JsonFormatter.php +0 -134
- data/helpers/vendor/composer/composer/src/Composer/Json/JsonManipulator.php +0 -530
- data/helpers/vendor/composer/composer/src/Composer/Json/JsonValidationException.php +0 -34
- data/helpers/vendor/composer/composer/src/Composer/Package/AliasPackage.php +0 -419
- data/helpers/vendor/composer/composer/src/Composer/Package/Archiver/ArchivableFilesFilter.php +0 -44
- data/helpers/vendor/composer/composer/src/Composer/Package/Archiver/ArchivableFilesFinder.php +0 -105
- data/helpers/vendor/composer/composer/src/Composer/Package/Archiver/ArchiveManager.php +0 -183
- data/helpers/vendor/composer/composer/src/Composer/Package/Archiver/ArchiverInterface.php +0 -43
- data/helpers/vendor/composer/composer/src/Composer/Package/Archiver/BaseExcludeFilter.php +0 -148
- data/helpers/vendor/composer/composer/src/Composer/Package/Archiver/ComposerExcludeFilter.php +0 -31
- data/helpers/vendor/composer/composer/src/Composer/Package/Archiver/GitExcludeFilter.php +0 -79
- data/helpers/vendor/composer/composer/src/Composer/Package/Archiver/HgExcludeFilter.php +0 -107
- data/helpers/vendor/composer/composer/src/Composer/Package/Archiver/PharArchiver.php +0 -97
- data/helpers/vendor/composer/composer/src/Composer/Package/Archiver/ZipArchiver.php +0 -86
- data/helpers/vendor/composer/composer/src/Composer/Package/BasePackage.php +0 -251
- data/helpers/vendor/composer/composer/src/Composer/Package/Comparer/Comparer.php +0 -129
- data/helpers/vendor/composer/composer/src/Composer/Package/CompletePackage.php +0 -218
- data/helpers/vendor/composer/composer/src/Composer/Package/CompletePackageInterface.php +0 -104
- data/helpers/vendor/composer/composer/src/Composer/Package/Dumper/ArrayDumper.php +0 -152
- data/helpers/vendor/composer/composer/src/Composer/Package/Link.php +0 -128
- data/helpers/vendor/composer/composer/src/Composer/Package/LinkConstraint/EmptyConstraint.php +0 -24
- data/helpers/vendor/composer/composer/src/Composer/Package/LinkConstraint/LinkConstraintInterface.php +0 -24
- data/helpers/vendor/composer/composer/src/Composer/Package/LinkConstraint/MultiConstraint.php +0 -24
- data/helpers/vendor/composer/composer/src/Composer/Package/LinkConstraint/SpecificConstraint.php +0 -24
- data/helpers/vendor/composer/composer/src/Composer/Package/LinkConstraint/VersionConstraint.php +0 -24
- data/helpers/vendor/composer/composer/src/Composer/Package/Loader/ArrayLoader.php +0 -294
- data/helpers/vendor/composer/composer/src/Composer/Package/Loader/InvalidPackageException.php +0 -46
- data/helpers/vendor/composer/composer/src/Composer/Package/Loader/JsonLoader.php +0 -45
- data/helpers/vendor/composer/composer/src/Composer/Package/Loader/LoaderInterface.php +0 -30
- data/helpers/vendor/composer/composer/src/Composer/Package/Loader/RootPackageLoader.php +0 -264
- data/helpers/vendor/composer/composer/src/Composer/Package/Loader/ValidatingArrayLoader.php +0 -525
- data/helpers/vendor/composer/composer/src/Composer/Package/Locker.php +0 -440
- data/helpers/vendor/composer/composer/src/Composer/Package/Package.php +0 -612
- data/helpers/vendor/composer/composer/src/Composer/Package/PackageInterface.php +0 -389
- data/helpers/vendor/composer/composer/src/Composer/Package/RootAliasPackage.php +0 -173
- data/helpers/vendor/composer/composer/src/Composer/Package/RootPackage.php +0 -136
- data/helpers/vendor/composer/composer/src/Composer/Package/RootPackageInterface.php +0 -142
- data/helpers/vendor/composer/composer/src/Composer/Package/Version/VersionGuesser.php +0 -326
- data/helpers/vendor/composer/composer/src/Composer/Package/Version/VersionParser.php +0 -81
- data/helpers/vendor/composer/composer/src/Composer/Package/Version/VersionSelector.php +0 -182
- data/helpers/vendor/composer/composer/src/Composer/Plugin/Capability/Capability.php +0 -23
- data/helpers/vendor/composer/composer/src/Composer/Plugin/Capability/CommandProvider.php +0 -33
- data/helpers/vendor/composer/composer/src/Composer/Plugin/Capable.php +0 -43
- data/helpers/vendor/composer/composer/src/Composer/Plugin/CommandEvent.php +0 -88
- data/helpers/vendor/composer/composer/src/Composer/Plugin/PluginEvents.php +0 -61
- data/helpers/vendor/composer/composer/src/Composer/Plugin/PluginInterface.php +0 -39
- data/helpers/vendor/composer/composer/src/Composer/Plugin/PluginManager.php +0 -406
- data/helpers/vendor/composer/composer/src/Composer/Plugin/PreCommandRunEvent.php +0 -68
- data/helpers/vendor/composer/composer/src/Composer/Plugin/PreFileDownloadEvent.php +0 -78
- data/helpers/vendor/composer/composer/src/Composer/Question/StrictConfirmationQuestion.php +0 -94
- data/helpers/vendor/composer/composer/src/Composer/Repository/ArrayRepository.php +0 -218
- data/helpers/vendor/composer/composer/src/Composer/Repository/ArtifactRepository.php +0 -107
- data/helpers/vendor/composer/composer/src/Composer/Repository/BaseRepository.php +0 -178
- data/helpers/vendor/composer/composer/src/Composer/Repository/ComposerRepository.php +0 -841
- data/helpers/vendor/composer/composer/src/Composer/Repository/CompositeRepository.php +0 -164
- data/helpers/vendor/composer/composer/src/Composer/Repository/ConfigurableRepositoryInterface.php +0 -23
- data/helpers/vendor/composer/composer/src/Composer/Repository/FilesystemRepository.php +0 -97
- data/helpers/vendor/composer/composer/src/Composer/Repository/InstalledArrayRepository.php +0 -24
- data/helpers/vendor/composer/composer/src/Composer/Repository/InstalledFilesystemRepository.php +0 -22
- data/helpers/vendor/composer/composer/src/Composer/Repository/InstalledRepositoryInterface.php +0 -24
- data/helpers/vendor/composer/composer/src/Composer/Repository/InvalidRepositoryException.php +0 -22
- data/helpers/vendor/composer/composer/src/Composer/Repository/PackageRepository.php +0 -61
- data/helpers/vendor/composer/composer/src/Composer/Repository/PathRepository.php +0 -224
- data/helpers/vendor/composer/composer/src/Composer/Repository/Pear/BaseChannelReader.php +0 -82
- data/helpers/vendor/composer/composer/src/Composer/Repository/Pear/ChannelInfo.php +0 -67
- data/helpers/vendor/composer/composer/src/Composer/Repository/Pear/ChannelReader.php +0 -101
- data/helpers/vendor/composer/composer/src/Composer/Repository/Pear/ChannelRest10Reader.php +0 -164
- data/helpers/vendor/composer/composer/src/Composer/Repository/Pear/ChannelRest11Reader.php +0 -139
- data/helpers/vendor/composer/composer/src/Composer/Repository/Pear/DependencyConstraint.php +0 -60
- data/helpers/vendor/composer/composer/src/Composer/Repository/Pear/DependencyInfo.php +0 -50
- data/helpers/vendor/composer/composer/src/Composer/Repository/Pear/PackageDependencyParser.php +0 -317
- data/helpers/vendor/composer/composer/src/Composer/Repository/Pear/PackageInfo.php +0 -94
- data/helpers/vendor/composer/composer/src/Composer/Repository/Pear/ReleaseInfo.php +0 -50
- data/helpers/vendor/composer/composer/src/Composer/Repository/PearRepository.php +0 -198
- data/helpers/vendor/composer/composer/src/Composer/Repository/PlatformRepository.php +0 -349
- data/helpers/vendor/composer/composer/src/Composer/Repository/RepositoryFactory.php +0 -177
- data/helpers/vendor/composer/composer/src/Composer/Repository/RepositoryInterface.php +0 -74
- data/helpers/vendor/composer/composer/src/Composer/Repository/RepositoryManager.php +0 -189
- data/helpers/vendor/composer/composer/src/Composer/Repository/RepositorySecurityException.php +0 -22
- data/helpers/vendor/composer/composer/src/Composer/Repository/Vcs/BitbucketDriver.php +0 -452
- data/helpers/vendor/composer/composer/src/Composer/Repository/Vcs/FossilDriver.php +0 -243
- data/helpers/vendor/composer/composer/src/Composer/Repository/Vcs/GitBitbucketDriver.php +0 -91
- data/helpers/vendor/composer/composer/src/Composer/Repository/Vcs/GitDriver.php +0 -235
- data/helpers/vendor/composer/composer/src/Composer/Repository/Vcs/GitHubDriver.php +0 -567
- data/helpers/vendor/composer/composer/src/Composer/Repository/Vcs/GitLabDriver.php +0 -579
- data/helpers/vendor/composer/composer/src/Composer/Repository/Vcs/HgBitbucketDriver.php +0 -91
- data/helpers/vendor/composer/composer/src/Composer/Repository/Vcs/HgDriver.php +0 -236
- data/helpers/vendor/composer/composer/src/Composer/Repository/Vcs/PerforceDriver.php +0 -186
- data/helpers/vendor/composer/composer/src/Composer/Repository/Vcs/SvnDriver.php +0 -397
- data/helpers/vendor/composer/composer/src/Composer/Repository/Vcs/VcsDriver.php +0 -175
- data/helpers/vendor/composer/composer/src/Composer/Repository/Vcs/VcsDriverInterface.php +0 -117
- data/helpers/vendor/composer/composer/src/Composer/Repository/VcsRepository.php +0 -430
- data/helpers/vendor/composer/composer/src/Composer/Repository/VersionCacheInterface.php +0 -23
- data/helpers/vendor/composer/composer/src/Composer/Repository/WritableArrayRepository.php +0 -66
- data/helpers/vendor/composer/composer/src/Composer/Repository/WritableRepositoryInterface.php +0 -54
- data/helpers/vendor/composer/composer/src/Composer/Script/CommandEvent.php +0 -22
- data/helpers/vendor/composer/composer/src/Composer/Script/Event.php +0 -133
- data/helpers/vendor/composer/composer/src/Composer/Script/PackageEvent.php +0 -24
- data/helpers/vendor/composer/composer/src/Composer/Script/ScriptEvents.php +0 -193
- data/helpers/vendor/composer/composer/src/Composer/SelfUpdate/Keys.php +0 -36
- data/helpers/vendor/composer/composer/src/Composer/SelfUpdate/Versions.php +0 -82
- data/helpers/vendor/composer/composer/src/Composer/Util/AuthHelper.php +0 -63
- data/helpers/vendor/composer/composer/src/Composer/Util/Bitbucket.php +0 -245
- data/helpers/vendor/composer/composer/src/Composer/Util/ComposerMirror.php +0 -57
- data/helpers/vendor/composer/composer/src/Composer/Util/ConfigValidator.php +0 -191
- data/helpers/vendor/composer/composer/src/Composer/Util/ErrorHandler.php +0 -82
- data/helpers/vendor/composer/composer/src/Composer/Util/Filesystem.php +0 -719
- data/helpers/vendor/composer/composer/src/Composer/Util/Git.php +0 -425
- data/helpers/vendor/composer/composer/src/Composer/Util/GitHub.php +0 -180
- data/helpers/vendor/composer/composer/src/Composer/Util/GitLab.php +0 -177
- data/helpers/vendor/composer/composer/src/Composer/Util/Hg.php +0 -94
- data/helpers/vendor/composer/composer/src/Composer/Util/IniHelper.php +0 -64
- data/helpers/vendor/composer/composer/src/Composer/Util/NoProxyPattern.php +0 -435
- data/helpers/vendor/composer/composer/src/Composer/Util/PackageSorter.php +0 -92
- data/helpers/vendor/composer/composer/src/Composer/Util/Perforce.php +0 -579
- data/helpers/vendor/composer/composer/src/Composer/Util/Platform.php +0 -92
- data/helpers/vendor/composer/composer/src/Composer/Util/ProcessExecutor.php +0 -201
- data/helpers/vendor/composer/composer/src/Composer/Util/RemoteFilesystem.php +0 -1147
- data/helpers/vendor/composer/composer/src/Composer/Util/Silencer.php +0 -78
- data/helpers/vendor/composer/composer/src/Composer/Util/SpdxLicense.php +0 -24
- data/helpers/vendor/composer/composer/src/Composer/Util/StreamContextFactory.php +0 -177
- data/helpers/vendor/composer/composer/src/Composer/Util/Svn.php +0 -381
- data/helpers/vendor/composer/composer/src/Composer/Util/TlsHelper.php +0 -202
- data/helpers/vendor/composer/composer/src/Composer/Util/Url.php +0 -55
- data/helpers/vendor/composer/composer/src/Composer/Util/Zip.php +0 -107
- data/helpers/vendor/composer/composer/src/Composer/XdebugHandler.php +0 -31
- data/helpers/vendor/composer/composer/src/bootstrap.php +0 -24
- data/helpers/vendor/composer/installed.json +0 -1860
- data/helpers/vendor/composer/semver/CHANGELOG.md +0 -78
- data/helpers/vendor/composer/semver/LICENSE +0 -19
- data/helpers/vendor/composer/semver/README.md +0 -70
- data/helpers/vendor/composer/semver/composer.json +0 -57
- data/helpers/vendor/composer/semver/src/Comparator.php +0 -111
- data/helpers/vendor/composer/semver/src/Constraint/AbstractConstraint.php +0 -63
- data/helpers/vendor/composer/semver/src/Constraint/Constraint.php +0 -215
- data/helpers/vendor/composer/semver/src/Constraint/ConstraintInterface.php +0 -32
- data/helpers/vendor/composer/semver/src/Constraint/EmptyConstraint.php +0 -59
- data/helpers/vendor/composer/semver/src/Constraint/MultiConstraint.php +0 -120
- data/helpers/vendor/composer/semver/src/Semver.php +0 -127
- data/helpers/vendor/composer/semver/src/VersionParser.php +0 -545
- data/helpers/vendor/composer/spdx-licenses/CHANGELOG.md +0 -104
- data/helpers/vendor/composer/spdx-licenses/LICENSE +0 -19
- data/helpers/vendor/composer/spdx-licenses/README.md +0 -69
- data/helpers/vendor/composer/spdx-licenses/composer.json +0 -56
- data/helpers/vendor/composer/spdx-licenses/res/spdx-exceptions.json +0 -125
- data/helpers/vendor/composer/spdx-licenses/res/spdx-licenses.json +0 -2112
- data/helpers/vendor/composer/spdx-licenses/src/SpdxLicenses.php +0 -343
- data/helpers/vendor/composer/xdebug-handler/CHANGELOG.md +0 -74
- data/helpers/vendor/composer/xdebug-handler/LICENSE +0 -21
- data/helpers/vendor/composer/xdebug-handler/README.md +0 -289
- data/helpers/vendor/composer/xdebug-handler/composer.json +0 -40
- data/helpers/vendor/composer/xdebug-handler/src/PhpConfig.php +0 -73
- data/helpers/vendor/composer/xdebug-handler/src/Process.php +0 -181
- data/helpers/vendor/composer/xdebug-handler/src/Status.php +0 -163
- data/helpers/vendor/composer/xdebug-handler/src/XdebugHandler.php +0 -572
- data/helpers/vendor/doctrine/annotations/.doctrine-project.json +0 -40
- data/helpers/vendor/doctrine/annotations/CHANGELOG.md +0 -162
- data/helpers/vendor/doctrine/annotations/LICENSE +0 -19
- data/helpers/vendor/doctrine/annotations/README.md +0 -17
- data/helpers/vendor/doctrine/annotations/composer.json +0 -44
- data/helpers/vendor/doctrine/annotations/docs/en/annotations.rst +0 -271
- data/helpers/vendor/doctrine/annotations/docs/en/custom.rst +0 -353
- data/helpers/vendor/doctrine/annotations/docs/en/index.rst +0 -97
- data/helpers/vendor/doctrine/annotations/docs/en/sidebar.rst +0 -6
- data/helpers/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/Annotation.php +0 -79
- data/helpers/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/Annotation/Attribute.php +0 -47
- data/helpers/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/Annotation/Attributes.php +0 -37
- data/helpers/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/Annotation/Enum.php +0 -84
- data/helpers/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/Annotation/IgnoreAnnotation.php +0 -54
- data/helpers/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/Annotation/Required.php +0 -33
- data/helpers/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/Annotation/Target.php +0 -107
- data/helpers/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/AnnotationException.php +0 -197
- data/helpers/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/AnnotationReader.php +0 -418
- data/helpers/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/AnnotationRegistry.php +0 -180
- data/helpers/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/CachedReader.php +0 -278
- data/helpers/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/DocLexer.php +0 -147
- data/helpers/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/DocParser.php +0 -1221
- data/helpers/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/FileCacheReader.php +0 -290
- data/helpers/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/IndexedReader.php +0 -119
- data/helpers/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/PhpParser.php +0 -91
- data/helpers/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/Reader.php +0 -89
- data/helpers/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/SimpleAnnotationReader.php +0 -127
- data/helpers/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/TokenParser.php +0 -194
- data/helpers/vendor/doctrine/annotations/phpbench.json.dist +0 -4
- data/helpers/vendor/doctrine/annotations/phpstan.neon +0 -14
- data/helpers/vendor/doctrine/lexer/.doctrine-project.json +0 -17
- data/helpers/vendor/doctrine/lexer/.github/FUNDING.yml +0 -3
- data/helpers/vendor/doctrine/lexer/.gitignore +0 -2
- data/helpers/vendor/doctrine/lexer/LICENSE +0 -19
- data/helpers/vendor/doctrine/lexer/README.md +0 -7
- data/helpers/vendor/doctrine/lexer/composer.json +0 -36
- data/helpers/vendor/doctrine/lexer/docs/en/dql-parser.rst +0 -294
- data/helpers/vendor/doctrine/lexer/docs/en/index.rst +0 -53
- data/helpers/vendor/doctrine/lexer/docs/en/sidebar.rst +0 -6
- data/helpers/vendor/doctrine/lexer/docs/en/simple-parser-example.rst +0 -102
- data/helpers/vendor/doctrine/lexer/lib/Doctrine/Common/Lexer/AbstractLexer.php +0 -332
- data/helpers/vendor/doctrine/lexer/phpunit.xml.dist +0 -26
- data/helpers/vendor/doctrine/lexer/tests/Doctrine/Common/Lexer/AbstractLexerTest.php +0 -268
- data/helpers/vendor/doctrine/lexer/tests/Doctrine/Common/Lexer/ConcreteLexer.php +0 -49
- data/helpers/vendor/friendsofphp/php-cs-fixer/CHANGELOG.md +0 -3249
- data/helpers/vendor/friendsofphp/php-cs-fixer/CONTRIBUTING.md +0 -43
- data/helpers/vendor/friendsofphp/php-cs-fixer/LICENSE +0 -20
- data/helpers/vendor/friendsofphp/php-cs-fixer/README.rst +0 -2203
- data/helpers/vendor/friendsofphp/php-cs-fixer/UPGRADE.md +0 -184
- data/helpers/vendor/friendsofphp/php-cs-fixer/ci-integration.sh +0 -8
- data/helpers/vendor/friendsofphp/php-cs-fixer/composer.json +0 -83
- data/helpers/vendor/friendsofphp/php-cs-fixer/doc/COOKBOOK-FIXERS.md +0 -530
- data/helpers/vendor/friendsofphp/php-cs-fixer/doc/checkstyle.xsd +0 -44
- data/helpers/vendor/friendsofphp/php-cs-fixer/doc/junit-10.xsd +0 -135
- data/helpers/vendor/friendsofphp/php-cs-fixer/doc/schema.json +0 -47
- data/helpers/vendor/friendsofphp/php-cs-fixer/doc/xml.xsd +0 -83
- data/helpers/vendor/friendsofphp/php-cs-fixer/php-cs-fixer +0 -99
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/AbstractAlignFixerHelper.php +0 -122
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/AbstractDoctrineAnnotationFixer.php +0 -221
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/AbstractFixer.php +0 -227
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/AbstractFopenFlagFixer.php +0 -127
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/AbstractFunctionReferenceFixer.php +0 -67
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/AbstractLinesBeforeNamespaceFixer.php +0 -110
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/AbstractNoUselessElseFixer.php +0 -207
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/AbstractPhpdocTypesFixer.php +0 -135
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/AbstractProxyFixer.php +0 -122
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/AbstractPsrAutoloadingFixer.php +0 -87
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Cache/Cache.php +0 -138
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Cache/CacheInterface.php +0 -56
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Cache/CacheManagerInterface.php +0 -35
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Cache/Directory.php +0 -53
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Cache/DirectoryInterface.php +0 -26
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Cache/FileCacheManager.php +0 -122
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Cache/FileHandler.php +0 -99
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Cache/FileHandlerInterface.php +0 -33
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Cache/NullCacheManager.php +0 -30
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Cache/Signature.php +0 -110
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Cache/SignatureInterface.php +0 -53
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Config.php +0 -280
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/ConfigInterface.php +0 -194
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/ConfigurationException/InvalidConfigurationException.php +0 -40
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/ConfigurationException/InvalidFixerConfigurationException.php +0 -54
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/ConfigurationException/InvalidForEnvFixerConfigurationException.php +0 -22
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/ConfigurationException/RequiredFixerConfigurationException.php +0 -22
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Console/Application.php +0 -122
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Console/Command/DescribeCommand.php +0 -415
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Console/Command/DescribeNameNotFoundException.php +0 -59
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Console/Command/FixCommand.php +0 -270
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Console/Command/FixCommandExitStatusCalculator.php +0 -58
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Console/Command/HelpCommand.php +0 -637
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Console/Command/ReadmeCommand.php +0 -279
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Console/Command/SelfUpdateCommand.php +0 -177
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Console/ConfigurationResolver.php +0 -941
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Console/Output/ErrorOutput.php +0 -154
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Console/Output/NullOutput.php +0 -23
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Console/Output/ProcessOutput.php +0 -145
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Console/Output/ProcessOutputInterface.php +0 -21
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Console/SelfUpdate/GithubClient.php +0 -52
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Console/SelfUpdate/GithubClientInterface.php +0 -24
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Console/SelfUpdate/NewVersionChecker.php +0 -114
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Console/SelfUpdate/NewVersionCheckerInterface.php +0 -46
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Console/WarningsDetector.php +0 -74
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Differ/DiffConsoleFormatter.php +0 -102
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Differ/DifferInterface.php +0 -31
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Differ/FullDiffer.php +0 -48
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Differ/NullDiffer.php +0 -27
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Differ/SebastianBergmannDiffer.php +0 -39
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Differ/SebastianBergmannShortDiffer.php +0 -39
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Differ/UnifiedDiffer.php +0 -43
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/DocBlock/Annotation.php +0 -323
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/DocBlock/DocBlock.php +0 -269
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/DocBlock/Line.php +0 -144
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/DocBlock/ShortDescription.php +0 -65
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/DocBlock/Tag.php +0 -111
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/DocBlock/TagComparator.php +0 -57
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Doctrine/Annotation/Token.php +0 -99
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Doctrine/Annotation/Tokens.php +0 -377
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Error/Error.php +0 -118
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Error/ErrorsManager.php +0 -79
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Event/Event.php +0 -29
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/FileReader.php +0 -87
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/FileRemoval.php +0 -80
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Finder.php +0 -35
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Alias/BacktickToShellExecFixer.php +0 -145
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Alias/EregToPregFixer.php +0 -184
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Alias/MbStrFunctionsFixer.php +0 -130
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Alias/NoAliasFunctionsFixer.php +0 -227
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Alias/NoMixedEchoPrintFixer.php +0 -162
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Alias/PowToExponentiationFixer.php +0 -211
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Alias/RandomApiMigrationFixer.php +0 -167
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Alias/SetTypeToCastFixer.php +0 -249
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/ArrayNotation/ArraySyntaxFixer.php +0 -149
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/ArrayNotation/NoMultilineWhitespaceAroundDoubleArrowFixer.php +0 -86
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/ArrayNotation/NoTrailingCommaInSinglelineArrayFixer.php +0 -89
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/ArrayNotation/NoWhitespaceBeforeCommaInArrayFixer.php +0 -152
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/ArrayNotation/NormalizeIndexBraceFixer.php +0 -59
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/ArrayNotation/TrailingCommaInMultilineArrayFixer.php +0 -147
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/ArrayNotation/TrimArraySpacesFixer.php +0 -103
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/ArrayNotation/WhitespaceAfterCommaInArrayFixer.php +0 -104
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Basic/BracesFixer.php +0 -1070
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Basic/EncodingFixer.php +0 -94
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Basic/NonPrintableCharacterFixer.php +0 -180
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Basic/Psr0Fixer.php +0 -171
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Basic/Psr4Fixer.php +0 -100
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Casing/ConstantCaseFixer.php +0 -146
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Casing/LowercaseConstantsFixer.php +0 -60
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Casing/LowercaseKeywordsFixer.php +0 -75
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Casing/LowercaseStaticReferenceFixer.php +0 -105
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Casing/MagicConstantCasingFixer.php +0 -98
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Casing/MagicMethodCasingFixer.php +0 -228
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Casing/NativeFunctionCasingFixer.php +0 -117
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Casing/NativeFunctionTypeDeclarationCasingFixer.php +0 -177
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/CastNotation/CastSpacesFixer.php +0 -129
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/CastNotation/LowercaseCastFixer.php +0 -95
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/CastNotation/ModernizeTypesCastingFixer.php +0 -159
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/CastNotation/NoShortBoolCastFixer.php +0 -106
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/CastNotation/NoUnsetCastFixer.php +0 -90
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/CastNotation/ShortScalarCastFixer.php +0 -86
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/ClassNotation/ClassAttributesSeparationFixer.php +0 -392
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/ClassNotation/ClassDefinitionFixer.php +0 -436
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/ClassNotation/FinalClassFixer.php +0 -60
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/ClassNotation/FinalInternalClassFixer.php +0 -214
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/ClassNotation/FinalPublicMethodForAbstractClassFixer.php +0 -168
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/ClassNotation/FinalStaticAccessFixer.php +0 -154
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/ClassNotation/MethodSeparationFixer.php +0 -84
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/ClassNotation/NoBlankLinesAfterClassOpeningFixer.php +0 -101
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/ClassNotation/NoNullPropertyInitializationFixer.php +0 -98
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/ClassNotation/NoPhp4ConstructorFixer.php +0 -390
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/ClassNotation/NoUnneededFinalMethodFixer.php +0 -143
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/ClassNotation/OrderedClassElementsFixer.php +0 -500
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/ClassNotation/OrderedInterfacesFixer.php +0 -231
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/ClassNotation/ProtectedToPrivateFixer.php +0 -140
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/ClassNotation/SelfAccessorFixer.php +0 -191
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/ClassNotation/SelfStaticAccessorFixer.php +0 -206
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/ClassNotation/SingleClassElementPerStatementFixer.php +0 -242
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/ClassNotation/SingleTraitInsertPerStatementFixer.php +0 -119
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/ClassNotation/VisibilityRequiredFixer.php +0 -202
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/ClassUsage/DateTimeImmutableFixer.php +0 -162
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Comment/CommentToPhpdocFixer.php +0 -232
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Comment/HashToSlashCommentFixer.php +0 -58
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Comment/HeaderCommentFixer.php +0 -452
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Comment/MultilineCommentOpeningClosingFixer.php +0 -95
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Comment/NoEmptyCommentFixer.php +0 -173
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Comment/NoTrailingWhitespaceInCommentFixer.php +0 -85
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Comment/SingleLineCommentStyleFixer.php +0 -168
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/ConfigurableFixerInterface.php +0 -51
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/ConfigurationDefinitionFixerInterface.php +0 -28
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/ConstantNotation/NativeConstantInvocationFixer.php +0 -284
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/ControlStructure/ElseifFixer.php +0 -102
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/ControlStructure/IncludeFixer.php +0 -153
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/ControlStructure/NoAlternativeSyntaxFixer.php +0 -227
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/ControlStructure/NoBreakCommentFixer.php +0 -369
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/ControlStructure/NoSuperfluousElseifFixer.php +0 -113
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/ControlStructure/NoTrailingCommaInListCallFixer.php +0 -74
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/ControlStructure/NoUnneededControlParenthesesFixer.php +0 -189
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/ControlStructure/NoUnneededCurlyBracesFixer.php +0 -177
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/ControlStructure/NoUselessElseFixer.php +0 -127
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/ControlStructure/SwitchCaseSemicolonToColonFixer.php +0 -113
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/ControlStructure/SwitchCaseSpaceFixer.php +0 -92
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/ControlStructure/YodaStyleFixer.php +0 -750
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/DefinedFixerInterface.php +0 -29
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/DeprecatedFixerInterface.php +0 -26
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/DoctrineAnnotation/DoctrineAnnotationArrayAssignmentFixer.php +0 -104
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/DoctrineAnnotation/DoctrineAnnotationBracesFixer.php +0 -123
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/DoctrineAnnotation/DoctrineAnnotationIndentationFixer.php +0 -199
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/DoctrineAnnotation/DoctrineAnnotationSpacesFixer.php +0 -349
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/FixerInterface.php +0 -77
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/FunctionNotation/CombineNestedDirnameFixer.php +0 -234
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/FunctionNotation/FopenFlagOrderFixer.php +0 -130
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/FunctionNotation/FopenFlagsFixer.php +0 -114
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/FunctionNotation/FunctionDeclarationFixer.php +0 -217
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/FunctionNotation/FunctionTypehintSpaceFixer.php +0 -94
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/FunctionNotation/ImplodeCallFixer.php +0 -150
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/FunctionNotation/MethodArgumentSpaceFixer.php +0 -511
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/FunctionNotation/NativeFunctionInvocationFixer.php +0 -424
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/FunctionNotation/NoSpacesAfterFunctionNameFixer.php +0 -184
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/FunctionNotation/NoUnreachableDefaultArgumentValueFixer.php +0 -218
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/FunctionNotation/NullableTypeDeclarationForDefaultNullValueFixer.php +0 -151
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/FunctionNotation/PhpdocToParamTypeFixer.php +0 -420
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/FunctionNotation/PhpdocToReturnTypeFixer.php +0 -378
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/FunctionNotation/ReturnTypeDeclarationFixer.php +0 -133
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/FunctionNotation/SingleLineThrowFixer.php +0 -149
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/FunctionNotation/StaticLambdaFixer.php +0 -149
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/FunctionNotation/VoidReturnFixer.php +0 -259
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Import/FullyQualifiedStrictTypesFixer.php +0 -178
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Import/GlobalNamespaceImportFixer.php +0 -751
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Import/NoLeadingImportSlashFixer.php +0 -99
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Import/NoUnusedImportsFixer.php +0 -277
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Import/OrderedImportsFixer.php +0 -534
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Import/SingleImportPerStatementFixer.php +0 -252
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Import/SingleLineAfterImportsFixer.php +0 -158
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/LanguageConstruct/ClassKeywordRemoveFixer.php +0 -248
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/LanguageConstruct/CombineConsecutiveIssetsFixer.php +0 -172
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/LanguageConstruct/CombineConsecutiveUnsetsFixer.php +0 -191
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/LanguageConstruct/DeclareEqualNormalizeFixer.php +0 -140
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/LanguageConstruct/DirConstantFixer.php +0 -131
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/LanguageConstruct/ErrorSuppressionFixer.php +0 -175
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/LanguageConstruct/ExplicitIndirectVariableFixer.php +0 -91
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/LanguageConstruct/FunctionToConstantFixer.php +0 -320
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/LanguageConstruct/IsNullFixer.php +0 -203
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/LanguageConstruct/NoUnsetOnPropertyFixer.php +0 -231
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/LanguageConstruct/SilencedDeprecationErrorFixer.php +0 -55
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/ListNotation/ListSyntaxFixer.php +0 -149
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/NamespaceNotation/BlankLineAfterNamespaceFixer.php +0 -144
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/NamespaceNotation/NoBlankLinesBeforeNamespaceFixer.php +0 -73
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/NamespaceNotation/NoLeadingNamespaceWhitespaceFixer.php +0 -101
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/NamespaceNotation/SingleBlankLineBeforeNamespaceFixer.php +0 -70
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Naming/NoHomoglyphNamesFixer.php +0 -244
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Operator/AlignDoubleArrowFixerHelper.php +0 -151
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Operator/AlignEqualsFixerHelper.php +0 -78
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Operator/BinaryOperatorSpacesFixer.php +0 -833
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Operator/ConcatSpaceFixer.php +0 -161
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Operator/IncrementStyleFixer.php +0 -217
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Operator/LogicalOperatorsFixer.php +0 -76
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Operator/NewWithBracesFixer.php +0 -150
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Operator/NotOperatorWithSpaceFixer.php +0 -81
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Operator/NotOperatorWithSuccessorSpaceFixer.php +0 -79
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Operator/ObjectOperatorWithoutWhitespaceFixer.php +0 -67
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Operator/PreIncrementFixer.php +0 -56
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Operator/StandardizeIncrementFixer.php +0 -167
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Operator/StandardizeNotEqualsFixer.php +0 -66
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Operator/TernaryOperatorSpacesFixer.php +0 -121
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Operator/TernaryToNullCoalescingFixer.php +0 -215
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Operator/UnaryOperatorSpacesFixer.php +0 -78
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpTag/BlankLineAfterOpeningTagFixer.php +0 -98
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpTag/FullOpeningTagFixer.php +0 -131
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpTag/LinebreakAfterOpeningTagFixer.php +0 -73
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpTag/NoClosingTagFixer.php +0 -69
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpTag/NoShortEchoTagFixer.php +0 -80
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitConstructFixer.php +0 -218
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitDedicateAssertFixer.php +0 -443
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitDedicateAssertInternalTypeFixer.php +0 -200
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitExpectationFixer.php +0 -282
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitFqcnAnnotationFixer.php +0 -104
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitInternalClassFixer.php +0 -234
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitMethodCasingFixer.php +0 -278
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitMockFixer.php +0 -150
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitMockShortWillReturnFixer.php +0 -145
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitNamespacedFixer.php +0 -225
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitNoExpectationAnnotationFixer.php +0 -302
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitOrderedCoversFixer.php +0 -107
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitSetUpTearDownVisibilityFixer.php +0 -140
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitSizeClassFixer.php +0 -270
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitStrictFixer.php +0 -154
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitTargetVersion.php +0 -61
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitTestAnnotationFixer.php +0 -533
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitTestCaseStaticMethodCallsFixer.php +0 -474
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitTestClassRequiresCoversFixer.php +0 -150
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/AlignMultilineCommentFixer.php +0 -171
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/GeneralPhpdocAnnotationRemoveFixer.php +0 -130
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/NoBlankLinesAfterPhpdocFixer.php +0 -113
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/NoEmptyPhpdocFixer.php +0 -71
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/NoSuperfluousPhpdocTagsFixer.php +0 -506
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocAddMissingParamAnnotationFixer.php +0 -278
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocAlignFixer.php +0 -434
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocAnnotationWithoutDotFixer.php +0 -132
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocIndentFixer.php +0 -139
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocInlineTagFixer.php +0 -107
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocLineSpanFixer.php +0 -168
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocNoAccessFixer.php +0 -70
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocNoAliasTagFixer.php +0 -178
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocNoEmptyReturnFixer.php +0 -123
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocNoPackageFixer.php +0 -70
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocNoUselessInheritdocFixer.php +0 -190
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocOrderFixer.php +0 -171
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocReturnSelfReferenceFixer.php +0 -228
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocScalarFixer.php +0 -125
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocSeparationFixer.php +0 -172
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocSingleLineVarSpacingFixer.php +0 -108
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocSummaryFixer.php +0 -104
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocToCommentFixer.php +0 -97
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocTrimConsecutiveBlankLineSeparationFixer.php +0 -217
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocTrimFixer.php +0 -129
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocTypesFixer.php +0 -163
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocTypesOrderFixer.php +0 -223
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocVarAnnotationCorrectOrderFixer.php +0 -78
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocVarWithoutNameFixer.php +0 -151
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/ReturnNotation/BlankLineBeforeReturnFixer.php +0 -71
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/ReturnNotation/NoUselessReturnFixer.php +0 -112
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/ReturnNotation/ReturnAssignmentFixer.php +0 -374
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/ReturnNotation/SimplifiedNullReturnFixer.php +0 -170
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Semicolon/MultilineWhitespaceBeforeSemicolonsFixer.php +0 -304
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Semicolon/NoEmptyStatementFixer.php +0 -162
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Semicolon/NoMultilineWhitespaceBeforeSemicolonsFixer.php +0 -68
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Semicolon/NoSinglelineWhitespaceBeforeSemicolonsFixer.php +0 -75
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Semicolon/SemicolonAfterInstructionFixer.php +0 -63
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Semicolon/SpaceAfterSemicolonFixer.php +0 -145
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Strict/DeclareStrictTypesFixer.php +0 -152
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Strict/StrictComparisonFixer.php +0 -86
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Strict/StrictParamFixer.php +0 -164
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/StringNotation/EscapeImplicitBackslashesFixer.php +0 -167
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/StringNotation/ExplicitStringVariableFixer.php +0 -172
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/StringNotation/HeredocToNowdocFixer.php +0 -115
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/StringNotation/NoBinaryStringFixer.php +0 -65
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/StringNotation/SimpleToComplexStringVariableFixer.php +0 -113
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/StringNotation/SingleQuoteFixer.php +0 -116
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/StringNotation/StringLineEndingFixer.php +0 -85
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Whitespace/ArrayIndentationFixer.php +0 -400
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Whitespace/BlankLineBeforeStatementFixer.php +0 -367
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Whitespace/CompactNullableTypehintFixer.php +0 -79
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Whitespace/HeredocIndentationFixer.php +0 -167
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Whitespace/IndentationTypeFixer.php +0 -163
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Whitespace/LineEndingFixer.php +0 -102
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Whitespace/MethodChainingIndentationFixer.php +0 -202
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Whitespace/NoExtraBlankLinesFixer.php +0 -484
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Whitespace/NoExtraConsecutiveBlankLinesFixer.php +0 -73
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Whitespace/NoSpacesAroundOffsetFixer.php +0 -107
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Whitespace/NoSpacesInsideParenthesisFixer.php +0 -110
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Whitespace/NoTrailingWhitespaceFixer.php +0 -114
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Whitespace/NoWhitespaceInBlankLineFixer.php +0 -103
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Whitespace/SingleBlankLineAtEofFixer.php +0 -73
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/WhitespacesAwareFixerInterface.php +0 -23
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/FixerConfiguration/AliasedFixerOption.php +0 -103
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/FixerConfiguration/AliasedFixerOptionBuilder.php +0 -94
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/FixerConfiguration/AllowedValueSubset.php +0 -53
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/FixerConfiguration/DeprecatedFixerOption.php +0 -99
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/FixerConfiguration/DeprecatedFixerOptionInterface.php +0 -21
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/FixerConfiguration/FixerConfigurationResolver.php +0 -128
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/FixerConfiguration/FixerConfigurationResolverInterface.php +0 -28
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/FixerConfiguration/FixerConfigurationResolverRootless.php +0 -99
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/FixerConfiguration/FixerOption.php +0 -172
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/FixerConfiguration/FixerOptionBuilder.php +0 -145
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/FixerConfiguration/FixerOptionInterface.php +0 -53
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/FixerConfiguration/InvalidOptionsForEnvException.php +0 -24
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/FixerDefinition/CodeSample.php +0 -54
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/FixerDefinition/CodeSampleInterface.php +0 -29
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/FixerDefinition/FileSpecificCodeSample.php +0 -67
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/FixerDefinition/FileSpecificCodeSampleInterface.php +0 -26
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/FixerDefinition/FixerDefinition.php +0 -93
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/FixerDefinition/FixerDefinitionInterface.php +0 -55
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/FixerDefinition/VersionSpecificCodeSample.php +0 -65
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/FixerDefinition/VersionSpecificCodeSampleInterface.php +0 -26
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/FixerDefinition/VersionSpecification.php +0 -75
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/FixerDefinition/VersionSpecificationInterface.php +0 -26
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/FixerFactory.php +0 -254
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/FixerFileProcessedEvent.php +0 -59
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/FixerNameValidator.php +0 -36
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Indicator/PhpUnitTestCaseIndicator.php +0 -75
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Linter/CachingLinter.php +0 -72
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Linter/Linter.php +0 -64
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Linter/LinterInterface.php +0 -44
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Linter/LintingException.php +0 -20
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Linter/LintingResultInterface.php +0 -24
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Linter/ProcessLinter.php +0 -149
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Linter/ProcessLinterProcessBuilder.php +0 -50
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Linter/ProcessLintingResult.php +0 -59
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Linter/TokenizerLinter.php +0 -70
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Linter/TokenizerLintingResult.php +0 -45
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Linter/UnavailableLinterException.php +0 -22
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/PharChecker.php +0 -39
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/PharCheckerInterface.php +0 -26
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Preg.php +0 -233
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/PregException.php +0 -24
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Report/CheckstyleReporter.php +0 -74
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Report/GitlabReporter.php +0 -60
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Report/JsonReporter.php +0 -71
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Report/JunitReporter.php +0 -141
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Report/ReportSummary.php +0 -122
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Report/ReporterFactory.php +0 -100
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Report/ReporterInterface.php +0 -31
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Report/TextReporter.php +0 -108
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Report/XmlReporter.php +0 -140
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/RuleSet.php +0 -534
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/RuleSetInterface.php +0 -59
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Runner/FileCachingLintingIterator.php +0 -80
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Runner/FileFilterIterator.php +0 -122
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Runner/FileLintingIterator.php +0 -68
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Runner/Runner.php +0 -307
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/StdinFileInfo.php +0 -172
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Test/AbstractFixerTestCase.php +0 -36
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Test/AbstractIntegrationTestCase.php +0 -36
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Test/AccessibleObject.php +0 -93
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Test/IntegrationCase.php +0 -136
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/AbstractTransformer.php +0 -42
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/Analysis/ArgumentAnalysis.php +0 -108
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/Analysis/NamespaceAnalysis.php +0 -127
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/Analysis/NamespaceUseAnalysis.php +0 -147
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/Analysis/StartEndTokenAwareAnalysis.php +0 -30
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/Analysis/TypeAnalysis.php +0 -125
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/ArgumentsAnalyzer.php +0 -140
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/BlocksAnalyzer.php +0 -67
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/ClassyAnalyzer.php +0 -82
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/CommentsAnalyzer.php +0 -314
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/FunctionsAnalyzer.php +0 -262
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/NamespaceUsesAnalyzer.php +0 -105
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/NamespacesAnalyzer.php +0 -71
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/CT.php +0 -95
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/CodeHasher.php +0 -38
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Generator/NamespacedStringTokenGenerator.php +0 -43
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Resolver/TypeShortNameResolver.php +0 -94
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Token.php +0 -618
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Tokens.php +0 -1453
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/TokensAnalyzer.php +0 -743
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Transformer/ArrayTypehintTransformer.php +0 -61
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Transformer/BraceClassInstantiationTransformer.php +0 -88
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Transformer/ClassConstantTransformer.php +0 -64
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Transformer/CurlyBraceTransformer.php +0 -221
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Transformer/ImportTransformer.php +0 -67
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Transformer/NamespaceOperatorTransformer.php +0 -61
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Transformer/NullableTypeTransformer.php +0 -70
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Transformer/ReturnRefTransformer.php +0 -62
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Transformer/SquareBraceTransformer.php +0 -196
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Transformer/TypeAlternationTransformer.php +0 -86
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Transformer/TypeColonTransformer.php +0 -88
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Transformer/UseTransformer.php +0 -110
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Transformer/WhitespacyCommentTransformer.php +0 -71
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/TransformerInterface.php +0 -72
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Transformers.php +0 -113
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/ToolInfo.php +0 -111
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/ToolInfoInterface.php +0 -31
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Utils.php +0 -185
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/WhitespacesFixerConfig.php +0 -56
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/WordMatcher.php +0 -57
- data/helpers/vendor/friendsofphp/php-cs-fixer/tests/Test/AbstractFixerTestCase.php +0 -259
- data/helpers/vendor/friendsofphp/php-cs-fixer/tests/Test/AbstractIntegrationCaseFactory.php +0 -254
- data/helpers/vendor/friendsofphp/php-cs-fixer/tests/Test/AbstractIntegrationTestCase.php +0 -402
- data/helpers/vendor/friendsofphp/php-cs-fixer/tests/Test/Assert/AssertTokensTrait.php +0 -48
- data/helpers/vendor/friendsofphp/php-cs-fixer/tests/Test/IntegrationCase.php +0 -153
- data/helpers/vendor/friendsofphp/php-cs-fixer/tests/Test/IntegrationCaseFactory.php +0 -22
- data/helpers/vendor/friendsofphp/php-cs-fixer/tests/Test/IntegrationCaseFactoryInterface.php +0 -28
- data/helpers/vendor/friendsofphp/php-cs-fixer/tests/Test/InternalIntegrationCaseFactory.php +0 -35
- data/helpers/vendor/friendsofphp/php-cs-fixer/tests/Test/IsIdenticalConstraint.php +0 -56
- data/helpers/vendor/friendsofphp/php-cs-fixer/tests/TestCase.php +0 -49
- data/helpers/vendor/justinrainbow/json-schema/.php_cs.dist +0 -33
- data/helpers/vendor/justinrainbow/json-schema/LICENSE +0 -21
- data/helpers/vendor/justinrainbow/json-schema/README.md +0 -206
- data/helpers/vendor/justinrainbow/json-schema/bin/validate-json +0 -251
- data/helpers/vendor/justinrainbow/json-schema/composer.json +0 -76
- data/helpers/vendor/justinrainbow/json-schema/demo/README.md +0 -14
- data/helpers/vendor/justinrainbow/json-schema/demo/data.json +0 -3
- data/helpers/vendor/justinrainbow/json-schema/demo/demo.php +0 -18
- data/helpers/vendor/justinrainbow/json-schema/demo/schema.json +0 -3
- data/helpers/vendor/justinrainbow/json-schema/dist/schema/json-schema-draft-03.json +0 -174
- data/helpers/vendor/justinrainbow/json-schema/dist/schema/json-schema-draft-04.json +0 -150
- data/helpers/vendor/justinrainbow/json-schema/phpunit.xml.dist +0 -26
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/BaseConstraint.php +0 -148
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/CollectionConstraint.php +0 -121
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/Constraint.php +0 -213
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/ConstraintInterface.php +0 -65
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/EnumConstraint.php +0 -54
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/Factory.php +0 -220
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/FormatConstraint.php +0 -214
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/NumberConstraint.php +0 -81
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/ObjectConstraint.php +0 -192
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/SchemaConstraint.php +0 -94
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/StringConstraint.php +0 -60
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/TypeCheck/LooseTypeCheck.php +0 -68
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/TypeCheck/StrictTypeCheck.php +0 -40
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/TypeCheck/TypeCheckInterface.php +0 -18
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/TypeConstraint.php +0 -261
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/UndefinedConstraint.php +0 -419
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Entity/JsonPointer.php +0 -161
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Exception/ExceptionInterface.php +0 -7
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Exception/InvalidArgumentException.php +0 -17
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Exception/InvalidConfigException.php +0 -17
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Exception/InvalidSchemaException.php +0 -17
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Exception/InvalidSchemaMediaTypeException.php +0 -17
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Exception/InvalidSourceUriException.php +0 -17
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Exception/JsonDecodingException.php +0 -40
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Exception/ResourceNotFoundException.php +0 -17
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Exception/RuntimeException.php +0 -17
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Exception/UnresolvableJsonPointerException.php +0 -19
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Exception/UriResolverException.php +0 -17
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Exception/ValidationException.php +0 -14
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Iterator/ObjectIterator.php +0 -149
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Rfc3339.php +0 -30
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/SchemaStorage.php +0 -169
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/SchemaStorageInterface.php +0 -41
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Uri/Retrievers/AbstractRetriever.php +0 -34
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Uri/Retrievers/Curl.php +0 -83
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Uri/Retrievers/FileGetContents.php +0 -93
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Uri/Retrievers/PredefinedArray.php +0 -56
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Uri/Retrievers/UriRetrieverInterface.php +0 -36
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Uri/UriResolver.php +0 -175
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Uri/UriRetriever.php +0 -349
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/UriResolverInterface.php +0 -26
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/UriRetrieverInterface.php +0 -26
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Validator.php +0 -88
- data/helpers/vendor/paragonie/random_compat/LICENSE +0 -22
- data/helpers/vendor/paragonie/random_compat/build-phar.sh +0 -5
- data/helpers/vendor/paragonie/random_compat/composer.json +0 -34
- data/helpers/vendor/paragonie/random_compat/dist/random_compat.phar.pubkey +0 -5
- data/helpers/vendor/paragonie/random_compat/dist/random_compat.phar.pubkey.asc +0 -11
- data/helpers/vendor/paragonie/random_compat/lib/random.php +0 -32
- data/helpers/vendor/paragonie/random_compat/other/build_phar.php +0 -57
- data/helpers/vendor/paragonie/random_compat/psalm-autoload.php +0 -9
- data/helpers/vendor/paragonie/random_compat/psalm.xml +0 -19
- data/helpers/vendor/php-cs-fixer/diff/ChangeLog.md +0 -7
- data/helpers/vendor/php-cs-fixer/diff/LICENSE +0 -5
- data/helpers/vendor/php-cs-fixer/diff/LICENSE_DIFF +0 -31
- data/helpers/vendor/php-cs-fixer/diff/LICENSE_GECKO +0 -19
- data/helpers/vendor/php-cs-fixer/diff/README.md +0 -13
- data/helpers/vendor/php-cs-fixer/diff/composer.json +0 -41
- data/helpers/vendor/php-cs-fixer/diff/src/GeckoPackages/DiffOutputBuilder/ConfigurationException.php +0 -36
- data/helpers/vendor/php-cs-fixer/diff/src/GeckoPackages/DiffOutputBuilder/UnifiedDiffOutputBuilder.php +0 -295
- data/helpers/vendor/php-cs-fixer/diff/src/v1_4/Chunk.php +0 -103
- data/helpers/vendor/php-cs-fixer/diff/src/v1_4/Diff.php +0 -73
- data/helpers/vendor/php-cs-fixer/diff/src/v1_4/Differ.php +0 -399
- data/helpers/vendor/php-cs-fixer/diff/src/v1_4/LCS/LongestCommonSubsequence.php +0 -27
- data/helpers/vendor/php-cs-fixer/diff/src/v1_4/LCS/MemoryEfficientLongestCommonSubsequenceImplementation.php +0 -95
- data/helpers/vendor/php-cs-fixer/diff/src/v1_4/LCS/TimeEfficientLongestCommonSubsequenceImplementation.php +0 -74
- data/helpers/vendor/php-cs-fixer/diff/src/v1_4/Line.php +0 -54
- data/helpers/vendor/php-cs-fixer/diff/src/v1_4/Parser.php +0 -110
- data/helpers/vendor/php-cs-fixer/diff/src/v2_0/Chunk.php +0 -78
- data/helpers/vendor/php-cs-fixer/diff/src/v2_0/Diff.php +0 -67
- data/helpers/vendor/php-cs-fixer/diff/src/v2_0/Differ.php +0 -321
- data/helpers/vendor/php-cs-fixer/diff/src/v2_0/Exception/Exception.php +0 -15
- data/helpers/vendor/php-cs-fixer/diff/src/v2_0/Exception/InvalidArgumentException.php +0 -15
- data/helpers/vendor/php-cs-fixer/diff/src/v2_0/Line.php +0 -44
- data/helpers/vendor/php-cs-fixer/diff/src/v2_0/LongestCommonSubsequenceCalculator.php +0 -24
- data/helpers/vendor/php-cs-fixer/diff/src/v2_0/MemoryEfficientLongestCommonSubsequenceCalculator.php +0 -81
- data/helpers/vendor/php-cs-fixer/diff/src/v2_0/Output/AbstractChunkOutputBuilder.php +0 -56
- data/helpers/vendor/php-cs-fixer/diff/src/v2_0/Output/DiffOnlyOutputBuilder.php +0 -63
- data/helpers/vendor/php-cs-fixer/diff/src/v2_0/Output/DiffOutputBuilderInterface.php +0 -19
- data/helpers/vendor/php-cs-fixer/diff/src/v2_0/Output/UnifiedDiffOutputBuilder.php +0 -165
- data/helpers/vendor/php-cs-fixer/diff/src/v2_0/Parser.php +0 -106
- data/helpers/vendor/php-cs-fixer/diff/src/v2_0/TimeEfficientLongestCommonSubsequenceCalculator.php +0 -66
- data/helpers/vendor/php-cs-fixer/diff/src/v3_0/Chunk.php +0 -78
- data/helpers/vendor/php-cs-fixer/diff/src/v3_0/Diff.php +0 -67
- data/helpers/vendor/php-cs-fixer/diff/src/v3_0/Differ.php +0 -329
- data/helpers/vendor/php-cs-fixer/diff/src/v3_0/Exception/ConfigurationException.php +0 -40
- data/helpers/vendor/php-cs-fixer/diff/src/v3_0/Exception/Exception.php +0 -15
- data/helpers/vendor/php-cs-fixer/diff/src/v3_0/Exception/InvalidArgumentException.php +0 -15
- data/helpers/vendor/php-cs-fixer/diff/src/v3_0/Line.php +0 -44
- data/helpers/vendor/php-cs-fixer/diff/src/v3_0/LongestCommonSubsequenceCalculator.php +0 -24
- data/helpers/vendor/php-cs-fixer/diff/src/v3_0/MemoryEfficientLongestCommonSubsequenceCalculator.php +0 -81
- data/helpers/vendor/php-cs-fixer/diff/src/v3_0/Output/AbstractChunkOutputBuilder.php +0 -56
- data/helpers/vendor/php-cs-fixer/diff/src/v3_0/Output/DiffOnlyOutputBuilder.php +0 -66
- data/helpers/vendor/php-cs-fixer/diff/src/v3_0/Output/DiffOutputBuilderInterface.php +0 -20
- data/helpers/vendor/php-cs-fixer/diff/src/v3_0/Output/StrictUnifiedDiffOutputBuilder.php +0 -315
- data/helpers/vendor/php-cs-fixer/diff/src/v3_0/Output/UnifiedDiffOutputBuilder.php +0 -259
- data/helpers/vendor/php-cs-fixer/diff/src/v3_0/Parser.php +0 -106
- data/helpers/vendor/php-cs-fixer/diff/src/v3_0/TimeEfficientLongestCommonSubsequenceCalculator.php +0 -66
- data/helpers/vendor/phpstan/phpstan/.gitattributes +0 -10
- data/helpers/vendor/phpstan/phpstan/.gitignore +0 -9
- data/helpers/vendor/phpstan/phpstan/LICENSE +0 -21
- data/helpers/vendor/phpstan/phpstan/README.md +0 -64
- data/helpers/vendor/phpstan/phpstan/bootstrap.php +0 -43
- data/helpers/vendor/phpstan/phpstan/composer.json +0 -23
- data/helpers/vendor/phpstan/phpstan/conf/bleedingEdge.neon +0 -2
- data/helpers/vendor/phpstan/phpstan/phpstan +0 -0
- data/helpers/vendor/phpstan/phpstan/phpstan.phar +0 -0
- data/helpers/vendor/phpstan/phpstan/phpstan.phar.asc +0 -17
- data/helpers/vendor/psr/log/LICENSE +0 -19
- data/helpers/vendor/psr/log/Psr/Log/AbstractLogger.php +0 -128
- data/helpers/vendor/psr/log/Psr/Log/InvalidArgumentException.php +0 -7
- data/helpers/vendor/psr/log/Psr/Log/LogLevel.php +0 -18
- data/helpers/vendor/psr/log/Psr/Log/LoggerAwareInterface.php +0 -18
- data/helpers/vendor/psr/log/Psr/Log/LoggerAwareTrait.php +0 -26
- data/helpers/vendor/psr/log/Psr/Log/LoggerInterface.php +0 -125
- data/helpers/vendor/psr/log/Psr/Log/LoggerTrait.php +0 -142
- data/helpers/vendor/psr/log/Psr/Log/NullLogger.php +0 -30
- data/helpers/vendor/psr/log/Psr/Log/Test/DummyTest.php +0 -18
- data/helpers/vendor/psr/log/Psr/Log/Test/LoggerInterfaceTest.php +0 -138
- data/helpers/vendor/psr/log/Psr/Log/Test/TestLogger.php +0 -147
- data/helpers/vendor/psr/log/README.md +0 -58
- data/helpers/vendor/psr/log/composer.json +0 -26
- data/helpers/vendor/seld/jsonlint/.github/FUNDING.yml +0 -2
- data/helpers/vendor/seld/jsonlint/.github/SECURITY.md +0 -6
- data/helpers/vendor/seld/jsonlint/.gitignore +0 -3
- data/helpers/vendor/seld/jsonlint/.travis.yml +0 -31
- data/helpers/vendor/seld/jsonlint/CHANGELOG.md +0 -76
- data/helpers/vendor/seld/jsonlint/LICENSE +0 -19
- data/helpers/vendor/seld/jsonlint/README.md +0 -94
- data/helpers/vendor/seld/jsonlint/bin/jsonlint +0 -117
- data/helpers/vendor/seld/jsonlint/composer.json +0 -24
- data/helpers/vendor/seld/jsonlint/phpunit.xml.dist +0 -25
- data/helpers/vendor/seld/jsonlint/src/Seld/JsonLint/DuplicateKeyException.php +0 -26
- data/helpers/vendor/seld/jsonlint/src/Seld/JsonLint/JsonParser.php +0 -502
- data/helpers/vendor/seld/jsonlint/src/Seld/JsonLint/Lexer.php +0 -231
- data/helpers/vendor/seld/jsonlint/src/Seld/JsonLint/ParsingException.php +0 -28
- data/helpers/vendor/seld/jsonlint/src/Seld/JsonLint/Undefined.php +0 -16
- data/helpers/vendor/seld/jsonlint/tests/JsonParserTest.php +0 -272
- data/helpers/vendor/seld/jsonlint/tests/bom.json +0 -6
- data/helpers/vendor/seld/jsonlint/tests/bootstrap.php +0 -13
- data/helpers/vendor/seld/phar-utils/.gitignore +0 -1
- data/helpers/vendor/seld/phar-utils/LICENSE +0 -19
- data/helpers/vendor/seld/phar-utils/README.md +0 -45
- data/helpers/vendor/seld/phar-utils/composer.json +0 -26
- data/helpers/vendor/seld/phar-utils/composer.lock +0 -19
- data/helpers/vendor/seld/phar-utils/src/Linter.php +0 -110
- data/helpers/vendor/seld/phar-utils/src/Timestamps.php +0 -192
- data/helpers/vendor/symfony/console/.gitignore +0 -3
- data/helpers/vendor/symfony/console/Application.php +0 -1271
- data/helpers/vendor/symfony/console/CHANGELOG.md +0 -112
- data/helpers/vendor/symfony/console/Command/Command.php +0 -668
- data/helpers/vendor/symfony/console/Command/HelpCommand.php +0 -81
- data/helpers/vendor/symfony/console/Command/ListCommand.php +0 -90
- data/helpers/vendor/symfony/console/Command/LockableTrait.php +0 -72
- data/helpers/vendor/symfony/console/CommandLoader/CommandLoaderInterface.php +0 -46
- data/helpers/vendor/symfony/console/CommandLoader/ContainerCommandLoader.php +0 -64
- data/helpers/vendor/symfony/console/CommandLoader/FactoryCommandLoader.php +0 -62
- data/helpers/vendor/symfony/console/ConsoleEvents.php +0 -60
- data/helpers/vendor/symfony/console/DependencyInjection/AddConsoleCommandPass.php +0 -106
- data/helpers/vendor/symfony/console/Descriptor/ApplicationDescription.php +0 -157
- data/helpers/vendor/symfony/console/Descriptor/Descriptor.php +0 -107
- data/helpers/vendor/symfony/console/Descriptor/DescriptorInterface.php +0 -29
- data/helpers/vendor/symfony/console/Descriptor/JsonDescriptor.php +0 -168
- data/helpers/vendor/symfony/console/Descriptor/MarkdownDescriptor.php +0 -182
- data/helpers/vendor/symfony/console/Descriptor/TextDescriptor.php +0 -342
- data/helpers/vendor/symfony/console/Descriptor/XmlDescriptor.php +0 -248
- data/helpers/vendor/symfony/console/Event/ConsoleCommandEvent.php +0 -60
- data/helpers/vendor/symfony/console/Event/ConsoleErrorEvent.php +0 -83
- data/helpers/vendor/symfony/console/Event/ConsoleEvent.php +0 -67
- data/helpers/vendor/symfony/console/Event/ConsoleExceptionEvent.php +0 -71
- data/helpers/vendor/symfony/console/Event/ConsoleTerminateEvent.php +0 -58
- data/helpers/vendor/symfony/console/EventListener/ErrorListener.php +0 -95
- data/helpers/vendor/symfony/console/Exception/CommandNotFoundException.php +0 -43
- data/helpers/vendor/symfony/console/Exception/ExceptionInterface.php +0 -21
- data/helpers/vendor/symfony/console/Exception/InvalidArgumentException.php +0 -19
- data/helpers/vendor/symfony/console/Exception/InvalidOptionException.php +0 -21
- data/helpers/vendor/symfony/console/Exception/LogicException.php +0 -19
- data/helpers/vendor/symfony/console/Exception/RuntimeException.php +0 -19
- data/helpers/vendor/symfony/console/Formatter/OutputFormatter.php +0 -243
- data/helpers/vendor/symfony/console/Formatter/OutputFormatterInterface.php +0 -71
- data/helpers/vendor/symfony/console/Formatter/OutputFormatterStyle.php +0 -183
- data/helpers/vendor/symfony/console/Formatter/OutputFormatterStyleInterface.php +0 -62
- data/helpers/vendor/symfony/console/Formatter/OutputFormatterStyleStack.php +0 -109
- data/helpers/vendor/symfony/console/Helper/DebugFormatterHelper.php +0 -127
- data/helpers/vendor/symfony/console/Helper/DescriptorHelper.php +0 -91
- data/helpers/vendor/symfony/console/Helper/FormatterHelper.php +0 -102
- data/helpers/vendor/symfony/console/Helper/Helper.php +0 -138
- data/helpers/vendor/symfony/console/Helper/HelperInterface.php +0 -39
- data/helpers/vendor/symfony/console/Helper/HelperSet.php +0 -108
- data/helpers/vendor/symfony/console/Helper/InputAwareHelper.php +0 -33
- data/helpers/vendor/symfony/console/Helper/ProcessHelper.php +0 -145
- data/helpers/vendor/symfony/console/Helper/ProgressBar.php +0 -614
- data/helpers/vendor/symfony/console/Helper/ProgressIndicator.php +0 -270
- data/helpers/vendor/symfony/console/Helper/QuestionHelper.php +0 -513
- data/helpers/vendor/symfony/console/Helper/SymfonyQuestionHelper.php +0 -124
- data/helpers/vendor/symfony/console/Helper/Table.php +0 -698
- data/helpers/vendor/symfony/console/Helper/TableCell.php +0 -75
- data/helpers/vendor/symfony/console/Helper/TableSeparator.php +0 -25
- data/helpers/vendor/symfony/console/Helper/TableStyle.php +0 -258
- data/helpers/vendor/symfony/console/Input/ArgvInput.php +0 -372
- data/helpers/vendor/symfony/console/Input/ArrayInput.php +0 -208
- data/helpers/vendor/symfony/console/Input/Input.php +0 -203
- data/helpers/vendor/symfony/console/Input/InputArgument.php +0 -129
- data/helpers/vendor/symfony/console/Input/InputAwareInterface.php +0 -26
- data/helpers/vendor/symfony/console/Input/InputDefinition.php +0 -404
- data/helpers/vendor/symfony/console/Input/InputInterface.php +0 -163
- data/helpers/vendor/symfony/console/Input/InputOption.php +0 -208
- data/helpers/vendor/symfony/console/Input/StreamableInputInterface.php +0 -37
- data/helpers/vendor/symfony/console/Input/StringInput.php +0 -72
- data/helpers/vendor/symfony/console/LICENSE +0 -19
- data/helpers/vendor/symfony/console/Logger/ConsoleLogger.php +0 -128
- data/helpers/vendor/symfony/console/Output/BufferedOutput.php +0 -45
- data/helpers/vendor/symfony/console/Output/ConsoleOutput.php +0 -152
- data/helpers/vendor/symfony/console/Output/ConsoleOutputInterface.php +0 -30
- data/helpers/vendor/symfony/console/Output/NullOutput.php +0 -123
- data/helpers/vendor/symfony/console/Output/Output.php +0 -175
- data/helpers/vendor/symfony/console/Output/OutputInterface.php +0 -114
- data/helpers/vendor/symfony/console/Output/StreamOutput.php +0 -120
- data/helpers/vendor/symfony/console/Question/ChoiceQuestion.php +0 -187
- data/helpers/vendor/symfony/console/Question/ConfirmationQuestion.php +0 -59
- data/helpers/vendor/symfony/console/Question/Question.php +0 -242
- data/helpers/vendor/symfony/console/README.md +0 -20
- data/helpers/vendor/symfony/console/Resources/bin/hiddeninput.exe +0 -0
- data/helpers/vendor/symfony/console/Style/OutputStyle.php +0 -155
- data/helpers/vendor/symfony/console/Style/StyleInterface.php +0 -153
- data/helpers/vendor/symfony/console/Style/SymfonyStyle.php +0 -431
- data/helpers/vendor/symfony/console/Terminal.php +0 -176
- data/helpers/vendor/symfony/console/Tester/ApplicationTester.php +0 -176
- data/helpers/vendor/symfony/console/Tester/CommandTester.php +0 -162
- data/helpers/vendor/symfony/console/Tests/ApplicationTest.php +0 -1772
- data/helpers/vendor/symfony/console/Tests/Command/CommandTest.php +0 -430
- data/helpers/vendor/symfony/console/Tests/Command/HelpCommandTest.php +0 -71
- data/helpers/vendor/symfony/console/Tests/Command/ListCommandTest.php +0 -113
- data/helpers/vendor/symfony/console/Tests/Command/LockableTraitTest.php +0 -67
- data/helpers/vendor/symfony/console/Tests/CommandLoader/ContainerCommandLoaderTest.php +0 -59
- data/helpers/vendor/symfony/console/Tests/CommandLoader/FactoryCommandLoaderTest.php +0 -58
- data/helpers/vendor/symfony/console/Tests/DependencyInjection/AddConsoleCommandPassTest.php +0 -256
- data/helpers/vendor/symfony/console/Tests/Descriptor/AbstractDescriptorTest.php +0 -107
- data/helpers/vendor/symfony/console/Tests/Descriptor/ApplicationDescriptionTest.php +0 -53
- data/helpers/vendor/symfony/console/Tests/Descriptor/JsonDescriptorTest.php +0 -35
- data/helpers/vendor/symfony/console/Tests/Descriptor/MarkdownDescriptorTest.php +0 -45
- data/helpers/vendor/symfony/console/Tests/Descriptor/ObjectsProvider.php +0 -82
- data/helpers/vendor/symfony/console/Tests/Descriptor/TextDescriptorTest.php +0 -53
- data/helpers/vendor/symfony/console/Tests/Descriptor/XmlDescriptorTest.php +0 -27
- data/helpers/vendor/symfony/console/Tests/EventListener/ErrorListenerTest.php +0 -156
- data/helpers/vendor/symfony/console/Tests/Fixtures/BarBucCommand.php +0 -11
- data/helpers/vendor/symfony/console/Tests/Fixtures/DescriptorApplication1.php +0 -18
- data/helpers/vendor/symfony/console/Tests/Fixtures/DescriptorApplication2.php +0 -26
- data/helpers/vendor/symfony/console/Tests/Fixtures/DescriptorApplicationMbString.php +0 -24
- data/helpers/vendor/symfony/console/Tests/Fixtures/DescriptorCommand1.php +0 -27
- data/helpers/vendor/symfony/console/Tests/Fixtures/DescriptorCommand2.php +0 -32
- data/helpers/vendor/symfony/console/Tests/Fixtures/DescriptorCommand3.php +0 -27
- data/helpers/vendor/symfony/console/Tests/Fixtures/DescriptorCommand4.php +0 -25
- data/helpers/vendor/symfony/console/Tests/Fixtures/DescriptorCommandMbString.php +0 -32
- data/helpers/vendor/symfony/console/Tests/Fixtures/DummyOutput.php +0 -36
- data/helpers/vendor/symfony/console/Tests/Fixtures/Foo1Command.php +0 -26
- data/helpers/vendor/symfony/console/Tests/Fixtures/Foo2Command.php +0 -21
- data/helpers/vendor/symfony/console/Tests/Fixtures/Foo3Command.php +0 -29
- data/helpers/vendor/symfony/console/Tests/Fixtures/Foo4Command.php +0 -11
- data/helpers/vendor/symfony/console/Tests/Fixtures/Foo5Command.php +0 -10
- data/helpers/vendor/symfony/console/Tests/Fixtures/Foo6Command.php +0 -11
- data/helpers/vendor/symfony/console/Tests/Fixtures/FooCommand.php +0 -33
- data/helpers/vendor/symfony/console/Tests/Fixtures/FooHiddenCommand.php +0 -21
- data/helpers/vendor/symfony/console/Tests/Fixtures/FooLock2Command.php +0 -28
- data/helpers/vendor/symfony/console/Tests/Fixtures/FooLockCommand.php +0 -27
- data/helpers/vendor/symfony/console/Tests/Fixtures/FooOptCommand.php +0 -36
- data/helpers/vendor/symfony/console/Tests/Fixtures/FooSameCaseLowercaseCommand.php +0 -11
- data/helpers/vendor/symfony/console/Tests/Fixtures/FooSameCaseUppercaseCommand.php +0 -11
- data/helpers/vendor/symfony/console/Tests/Fixtures/FooSubnamespaced1Command.php +0 -26
- data/helpers/vendor/symfony/console/Tests/Fixtures/FooSubnamespaced2Command.php +0 -26
- data/helpers/vendor/symfony/console/Tests/Fixtures/FoobarCommand.php +0 -25
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_0.php +0 -11
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_1.php +0 -13
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_10.php +0 -17
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_11.php +0 -12
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_12.php +0 -13
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_13.php +0 -14
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_14.php +0 -17
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_15.php +0 -14
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_16.php +0 -15
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_17.php +0 -13
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_2.php +0 -16
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_3.php +0 -12
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_4.php +0 -34
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_5.php +0 -37
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_6.php +0 -16
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_7.php +0 -15
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_8.php +0 -26
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_9.php +0 -11
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/interactive_command_1.php +0 -19
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/output/interactive_output_1.txt +0 -7
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/output/output_0.txt +0 -3
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/output/output_1.txt +0 -9
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/output/output_10.txt +0 -7
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/output/output_11.txt +0 -4
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/output/output_12.txt +0 -6
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/output/output_13.txt +0 -7
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/output/output_14.txt +0 -6
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/output/output_15.txt +0 -7
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/output/output_16.txt +0 -8
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/output/output_17.txt +0 -7
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/output/output_2.txt +0 -13
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/output/output_3.txt +0 -7
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/output/output_4.txt +0 -32
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/output/output_5.txt +0 -18
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/output/output_6.txt +0 -6
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/output/output_7.txt +0 -5
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/output/output_8.txt +0 -9
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/output/output_9.txt +0 -5
- data/helpers/vendor/symfony/console/Tests/Fixtures/TestAmbiguousCommandRegistering.php +0 -22
- data/helpers/vendor/symfony/console/Tests/Fixtures/TestAmbiguousCommandRegistering2.php +0 -21
- data/helpers/vendor/symfony/console/Tests/Fixtures/TestCommand.php +0 -28
- data/helpers/vendor/symfony/console/Tests/Fixtures/application_1.json +0 -156
- data/helpers/vendor/symfony/console/Tests/Fixtures/application_1.md +0 -172
- data/helpers/vendor/symfony/console/Tests/Fixtures/application_1.txt +0 -17
- data/helpers/vendor/symfony/console/Tests/Fixtures/application_1.xml +0 -104
- data/helpers/vendor/symfony/console/Tests/Fixtures/application_2.json +0 -509
- data/helpers/vendor/symfony/console/Tests/Fixtures/application_2.md +0 -431
- data/helpers/vendor/symfony/console/Tests/Fixtures/application_2.txt +0 -21
- data/helpers/vendor/symfony/console/Tests/Fixtures/application_2.xml +0 -254
- data/helpers/vendor/symfony/console/Tests/Fixtures/application_filtered_namespace.txt +0 -16
- data/helpers/vendor/symfony/console/Tests/Fixtures/application_gethelp.txt +0 -1
- data/helpers/vendor/symfony/console/Tests/Fixtures/application_mbstring.md +0 -269
- data/helpers/vendor/symfony/console/Tests/Fixtures/application_mbstring.txt +0 -19
- data/helpers/vendor/symfony/console/Tests/Fixtures/application_renderexception1.txt +0 -5
- data/helpers/vendor/symfony/console/Tests/Fixtures/application_renderexception2.txt +0 -7
- data/helpers/vendor/symfony/console/Tests/Fixtures/application_renderexception3.txt +0 -18
- data/helpers/vendor/symfony/console/Tests/Fixtures/application_renderexception3decorated.txt +0 -18
- data/helpers/vendor/symfony/console/Tests/Fixtures/application_renderexception4.txt +0 -6
- data/helpers/vendor/symfony/console/Tests/Fixtures/application_renderexception_doublewidth1.txt +0 -8
- data/helpers/vendor/symfony/console/Tests/Fixtures/application_renderexception_doublewidth1decorated.txt +0 -8
- data/helpers/vendor/symfony/console/Tests/Fixtures/application_renderexception_doublewidth2.txt +0 -9
- data/helpers/vendor/symfony/console/Tests/Fixtures/application_renderexception_escapeslines.txt +0 -9
- data/helpers/vendor/symfony/console/Tests/Fixtures/application_renderexception_linebreaks.txt +0 -11
- data/helpers/vendor/symfony/console/Tests/Fixtures/application_run1.txt +0 -17
- data/helpers/vendor/symfony/console/Tests/Fixtures/application_run2.txt +0 -26
- data/helpers/vendor/symfony/console/Tests/Fixtures/application_run3.txt +0 -26
- data/helpers/vendor/symfony/console/Tests/Fixtures/application_run4.txt +0 -1
- data/helpers/vendor/symfony/console/Tests/Fixtures/command_1.json +0 -15
- data/helpers/vendor/symfony/console/Tests/Fixtures/command_1.md +0 -12
- data/helpers/vendor/symfony/console/Tests/Fixtures/command_1.txt +0 -7
- data/helpers/vendor/symfony/console/Tests/Fixtures/command_1.xml +0 -12
- data/helpers/vendor/symfony/console/Tests/Fixtures/command_2.json +0 -33
- data/helpers/vendor/symfony/console/Tests/Fixtures/command_2.md +0 -29
- data/helpers/vendor/symfony/console/Tests/Fixtures/command_2.txt +0 -13
- data/helpers/vendor/symfony/console/Tests/Fixtures/command_2.xml +0 -21
- data/helpers/vendor/symfony/console/Tests/Fixtures/command_mbstring.md +0 -29
- data/helpers/vendor/symfony/console/Tests/Fixtures/command_mbstring.txt +0 -13
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_argument_1.json +0 -7
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_argument_1.md +0 -5
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_argument_1.txt +0 -1
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_argument_1.xml +0 -5
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_argument_2.json +0 -7
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_argument_2.md +0 -7
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_argument_2.txt +0 -1
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_argument_2.xml +0 -5
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_argument_3.json +0 -7
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_argument_3.md +0 -7
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_argument_3.txt +0 -1
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_argument_3.xml +0 -7
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_argument_4.json +0 -7
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_argument_4.md +0 -8
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_argument_4.txt +0 -2
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_argument_4.xml +0 -6
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_argument_with_default_inf_value.json +0 -7
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_argument_with_default_inf_value.md +0 -7
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_argument_with_default_inf_value.txt +0 -1
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_argument_with_default_inf_value.xml +0 -7
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_argument_with_style.json +0 -7
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_argument_with_style.md +0 -7
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_argument_with_style.txt +0 -1
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_argument_with_style.xml +0 -7
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_definition_1.json +0 -4
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_definition_1.md +0 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_definition_1.txt +0 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_definition_1.xml +0 -5
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_definition_2.json +0 -12
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_definition_2.md +0 -7
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_definition_2.txt +0 -2
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_definition_2.xml +0 -10
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_definition_3.json +0 -14
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_definition_3.md +0 -8
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_definition_3.txt +0 -2
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_definition_3.xml +0 -9
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_definition_4.json +0 -22
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_definition_4.md +0 -16
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_definition_4.txt +0 -5
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_definition_4.xml +0 -14
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_1.json +0 -9
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_1.md +0 -6
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_1.txt +0 -1
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_1.xml +0 -4
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_2.json +0 -9
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_2.md +0 -8
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_2.txt +0 -1
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_2.xml +0 -7
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_3.json +0 -9
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_3.md +0 -8
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_3.txt +0 -1
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_3.xml +0 -5
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_4.json +0 -9
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_4.md +0 -8
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_4.txt +0 -1
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_4.xml +0 -5
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_5.json +0 -9
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_5.md +0 -9
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_5.txt +0 -2
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_5.xml +0 -6
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_6.json +0 -9
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_6.md +0 -8
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_6.txt +0 -1
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_6.xml +0 -5
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_with_default_inf_value.json +0 -9
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_with_default_inf_value.md +0 -8
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_with_default_inf_value.txt +0 -1
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_with_default_inf_value.xml +0 -7
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_with_style.json +0 -9
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_with_style.md +0 -8
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_with_style.txt +0 -1
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_with_style.xml +0 -7
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_with_style_array.json +0 -12
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_with_style_array.md +0 -8
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_with_style_array.txt +0 -1
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_with_style_array.xml +0 -8
- data/helpers/vendor/symfony/console/Tests/Fixtures/stream_output_file.txt +0 -0
- data/helpers/vendor/symfony/console/Tests/Formatter/OutputFormatterStyleStackTest.php +0 -69
- data/helpers/vendor/symfony/console/Tests/Formatter/OutputFormatterStyleTest.php +0 -100
- data/helpers/vendor/symfony/console/Tests/Formatter/OutputFormatterTest.php +0 -344
- data/helpers/vendor/symfony/console/Tests/Helper/AbstractQuestionHelperTest.php +0 -34
- data/helpers/vendor/symfony/console/Tests/Helper/FormatterHelperTest.php +0 -129
- data/helpers/vendor/symfony/console/Tests/Helper/HelperSetTest.php +0 -127
- data/helpers/vendor/symfony/console/Tests/Helper/HelperTest.php +0 -55
- data/helpers/vendor/symfony/console/Tests/Helper/ProcessHelperTest.php +0 -118
- data/helpers/vendor/symfony/console/Tests/Helper/ProgressBarTest.php +0 -805
- data/helpers/vendor/symfony/console/Tests/Helper/ProgressIndicatorTest.php +0 -175
- data/helpers/vendor/symfony/console/Tests/Helper/QuestionHelperTest.php +0 -1115
- data/helpers/vendor/symfony/console/Tests/Helper/SymfonyQuestionHelperTest.php +0 -214
- data/helpers/vendor/symfony/console/Tests/Helper/TableStyleTest.php +0 -26
- data/helpers/vendor/symfony/console/Tests/Helper/TableTest.php +0 -868
- data/helpers/vendor/symfony/console/Tests/Input/ArgvInputTest.php +0 -462
- data/helpers/vendor/symfony/console/Tests/Input/ArrayInputTest.php +0 -173
- data/helpers/vendor/symfony/console/Tests/Input/InputArgumentTest.php +0 -109
- data/helpers/vendor/symfony/console/Tests/Input/InputDefinitionTest.php +0 -389
- data/helpers/vendor/symfony/console/Tests/Input/InputOptionTest.php +0 -194
- data/helpers/vendor/symfony/console/Tests/Input/InputTest.php +0 -137
- data/helpers/vendor/symfony/console/Tests/Input/StringInputTest.php +0 -87
- data/helpers/vendor/symfony/console/Tests/Logger/ConsoleLoggerTest.php +0 -213
- data/helpers/vendor/symfony/console/Tests/Output/ConsoleOutputTest.php +0 -42
- data/helpers/vendor/symfony/console/Tests/Output/NullOutputTest.php +0 -88
- data/helpers/vendor/symfony/console/Tests/Output/OutputTest.php +0 -176
- data/helpers/vendor/symfony/console/Tests/Output/StreamOutputTest.php +0 -67
- data/helpers/vendor/symfony/console/Tests/Question/ChoiceQuestionTest.php +0 -64
- data/helpers/vendor/symfony/console/Tests/Question/ConfirmationQuestionTest.php +0 -62
- data/helpers/vendor/symfony/console/Tests/Style/SymfonyStyleTest.php +0 -118
- data/helpers/vendor/symfony/console/Tests/TerminalTest.php +0 -97
- data/helpers/vendor/symfony/console/Tests/Tester/ApplicationTesterTest.php +0 -70
- data/helpers/vendor/symfony/console/Tests/Tester/CommandTesterTest.php +0 -212
- data/helpers/vendor/symfony/console/composer.json +0 -56
- data/helpers/vendor/symfony/console/phpunit.xml.dist +0 -41
- data/helpers/vendor/symfony/debug/.gitignore +0 -3
- data/helpers/vendor/symfony/debug/BufferingLogger.php +0 -37
- data/helpers/vendor/symfony/debug/CHANGELOG.md +0 -64
- data/helpers/vendor/symfony/debug/Debug.php +0 -60
- data/helpers/vendor/symfony/debug/DebugClassLoader.php +0 -455
- data/helpers/vendor/symfony/debug/ErrorHandler.php +0 -787
- data/helpers/vendor/symfony/debug/Exception/ClassNotFoundException.php +0 -36
- data/helpers/vendor/symfony/debug/Exception/ContextErrorException.php +0 -40
- data/helpers/vendor/symfony/debug/Exception/FatalErrorException.php +0 -82
- data/helpers/vendor/symfony/debug/Exception/FatalThrowableError.php +0 -45
- data/helpers/vendor/symfony/debug/Exception/FlattenException.php +0 -263
- data/helpers/vendor/symfony/debug/Exception/OutOfMemoryException.php +0 -21
- data/helpers/vendor/symfony/debug/Exception/SilencedErrorContext.php +0 -67
- data/helpers/vendor/symfony/debug/Exception/UndefinedFunctionException.php +0 -36
- data/helpers/vendor/symfony/debug/Exception/UndefinedMethodException.php +0 -36
- data/helpers/vendor/symfony/debug/ExceptionHandler.php +0 -444
- data/helpers/vendor/symfony/debug/FatalErrorHandler/ClassNotFoundFatalErrorHandler.php +0 -214
- data/helpers/vendor/symfony/debug/FatalErrorHandler/FatalErrorHandlerInterface.php +0 -32
- data/helpers/vendor/symfony/debug/FatalErrorHandler/UndefinedFunctionFatalErrorHandler.php +0 -84
- data/helpers/vendor/symfony/debug/FatalErrorHandler/UndefinedMethodFatalErrorHandler.php +0 -66
- data/helpers/vendor/symfony/debug/LICENSE +0 -19
- data/helpers/vendor/symfony/debug/README.md +0 -25
- data/helpers/vendor/symfony/debug/Resources/ext/README.md +0 -134
- data/helpers/vendor/symfony/debug/Resources/ext/config.m4 +0 -63
- data/helpers/vendor/symfony/debug/Resources/ext/config.w32 +0 -13
- data/helpers/vendor/symfony/debug/Resources/ext/php_symfony_debug.h +0 -60
- data/helpers/vendor/symfony/debug/Resources/ext/symfony_debug.c +0 -283
- data/helpers/vendor/symfony/debug/Resources/ext/tests/001.phpt +0 -155
- data/helpers/vendor/symfony/debug/Resources/ext/tests/002.phpt +0 -65
- data/helpers/vendor/symfony/debug/Resources/ext/tests/002_1.phpt +0 -48
- data/helpers/vendor/symfony/debug/Resources/ext/tests/003.phpt +0 -87
- data/helpers/vendor/symfony/debug/Tests/DebugClassLoaderTest.php +0 -448
- data/helpers/vendor/symfony/debug/Tests/ErrorHandlerTest.php +0 -660
- data/helpers/vendor/symfony/debug/Tests/Exception/FlattenExceptionTest.php +0 -314
- data/helpers/vendor/symfony/debug/Tests/ExceptionHandlerTest.php +0 -163
- data/helpers/vendor/symfony/debug/Tests/FatalErrorHandler/ClassNotFoundFatalErrorHandlerTest.php +0 -184
- data/helpers/vendor/symfony/debug/Tests/FatalErrorHandler/UndefinedFunctionFatalErrorHandlerTest.php +0 -81
- data/helpers/vendor/symfony/debug/Tests/FatalErrorHandler/UndefinedMethodFatalErrorHandlerTest.php +0 -76
- data/helpers/vendor/symfony/debug/Tests/Fixtures/AnnotatedClass.php +0 -13
- data/helpers/vendor/symfony/debug/Tests/Fixtures/ClassAlias.php +0 -3
- data/helpers/vendor/symfony/debug/Tests/Fixtures/DefinitionInEvaluatedCode.php +0 -11
- data/helpers/vendor/symfony/debug/Tests/Fixtures/DeprecatedClass.php +0 -12
- data/helpers/vendor/symfony/debug/Tests/Fixtures/DeprecatedInterface.php +0 -12
- data/helpers/vendor/symfony/debug/Tests/Fixtures/ErrorHandlerThatUsesThePreviousOne.php +0 -22
- data/helpers/vendor/symfony/debug/Tests/Fixtures/ExtendedFinalMethod.php +0 -19
- data/helpers/vendor/symfony/debug/Tests/Fixtures/FinalClasses.php +0 -85
- data/helpers/vendor/symfony/debug/Tests/Fixtures/FinalMethod.php +0 -26
- data/helpers/vendor/symfony/debug/Tests/Fixtures/FinalMethod2Trait.php +0 -10
- data/helpers/vendor/symfony/debug/Tests/Fixtures/InternalClass.php +0 -15
- data/helpers/vendor/symfony/debug/Tests/Fixtures/InternalInterface.php +0 -10
- data/helpers/vendor/symfony/debug/Tests/Fixtures/InternalTrait.php +0 -10
- data/helpers/vendor/symfony/debug/Tests/Fixtures/InternalTrait2.php +0 -23
- data/helpers/vendor/symfony/debug/Tests/Fixtures/LoggerThatSetAnErrorHandler.php +0 -15
- data/helpers/vendor/symfony/debug/Tests/Fixtures/NonDeprecatedInterface.php +0 -7
- data/helpers/vendor/symfony/debug/Tests/Fixtures/PEARClass.php +0 -5
- data/helpers/vendor/symfony/debug/Tests/Fixtures/Throwing.php +0 -3
- data/helpers/vendor/symfony/debug/Tests/Fixtures/ToStringThrower.php +0 -24
- data/helpers/vendor/symfony/debug/Tests/Fixtures/TraitWithInternalMethod.php +0 -13
- data/helpers/vendor/symfony/debug/Tests/Fixtures/casemismatch.php +0 -7
- data/helpers/vendor/symfony/debug/Tests/Fixtures/notPsr0Bis.php +0 -7
- data/helpers/vendor/symfony/debug/Tests/Fixtures/psr4/Psr4CaseMismatch.php +0 -7
- data/helpers/vendor/symfony/debug/Tests/Fixtures/reallyNotPsr0.php +0 -7
- data/helpers/vendor/symfony/debug/Tests/Fixtures2/RequiredTwice.php +0 -7
- data/helpers/vendor/symfony/debug/Tests/HeaderMock.php +0 -38
- data/helpers/vendor/symfony/debug/Tests/phpt/debug_class_loader.phpt +0 -27
- data/helpers/vendor/symfony/debug/Tests/phpt/decorate_exception_hander.phpt +0 -47
- data/helpers/vendor/symfony/debug/Tests/phpt/exception_rethrown.phpt +0 -35
- data/helpers/vendor/symfony/debug/Tests/phpt/fatal_with_nested_handlers.phpt +0 -42
- data/helpers/vendor/symfony/debug/composer.json +0 -40
- data/helpers/vendor/symfony/debug/phpunit.xml.dist +0 -33
- data/helpers/vendor/symfony/event-dispatcher/.gitignore +0 -3
- data/helpers/vendor/symfony/event-dispatcher/CHANGELOG.md +0 -42
- data/helpers/vendor/symfony/event-dispatcher/ContainerAwareEventDispatcher.php +0 -198
- data/helpers/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php +0 -332
- data/helpers/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcherInterface.php +0 -36
- data/helpers/vendor/symfony/event-dispatcher/Debug/WrappedListener.php +0 -125
- data/helpers/vendor/symfony/event-dispatcher/DependencyInjection/RegisterListenersPass.php +0 -137
- data/helpers/vendor/symfony/event-dispatcher/Event.php +0 -58
- data/helpers/vendor/symfony/event-dispatcher/EventDispatcher.php +0 -238
- data/helpers/vendor/symfony/event-dispatcher/EventDispatcherInterface.php +0 -93
- data/helpers/vendor/symfony/event-dispatcher/EventSubscriberInterface.php +0 -49
- data/helpers/vendor/symfony/event-dispatcher/GenericEvent.php +0 -175
- data/helpers/vendor/symfony/event-dispatcher/ImmutableEventDispatcher.php +0 -91
- data/helpers/vendor/symfony/event-dispatcher/LICENSE +0 -19
- data/helpers/vendor/symfony/event-dispatcher/README.md +0 -15
- data/helpers/vendor/symfony/event-dispatcher/Tests/AbstractEventDispatcherTest.php +0 -442
- data/helpers/vendor/symfony/event-dispatcher/Tests/ContainerAwareEventDispatcherTest.php +0 -210
- data/helpers/vendor/symfony/event-dispatcher/Tests/Debug/TraceableEventDispatcherTest.php +0 -269
- data/helpers/vendor/symfony/event-dispatcher/Tests/Debug/WrappedListenerTest.php +0 -64
- data/helpers/vendor/symfony/event-dispatcher/Tests/DependencyInjection/RegisterListenersPassTest.php +0 -143
- data/helpers/vendor/symfony/event-dispatcher/Tests/EventDispatcherTest.php +0 -22
- data/helpers/vendor/symfony/event-dispatcher/Tests/EventTest.php +0 -55
- data/helpers/vendor/symfony/event-dispatcher/Tests/GenericEventTest.php +0 -134
- data/helpers/vendor/symfony/event-dispatcher/Tests/ImmutableEventDispatcherTest.php +0 -100
- data/helpers/vendor/symfony/event-dispatcher/composer.json +0 -47
- data/helpers/vendor/symfony/event-dispatcher/phpunit.xml.dist +0 -31
- data/helpers/vendor/symfony/filesystem/.gitignore +0 -3
- data/helpers/vendor/symfony/filesystem/CHANGELOG.md +0 -53
- data/helpers/vendor/symfony/filesystem/Exception/ExceptionInterface.php +0 -21
- data/helpers/vendor/symfony/filesystem/Exception/FileNotFoundException.php +0 -34
- data/helpers/vendor/symfony/filesystem/Exception/IOException.php +0 -39
- data/helpers/vendor/symfony/filesystem/Exception/IOExceptionInterface.php +0 -27
- data/helpers/vendor/symfony/filesystem/Filesystem.php +0 -774
- data/helpers/vendor/symfony/filesystem/LICENSE +0 -19
- data/helpers/vendor/symfony/filesystem/LockHandler.php +0 -121
- data/helpers/vendor/symfony/filesystem/README.md +0 -13
- data/helpers/vendor/symfony/filesystem/Tests/ExceptionTest.php +0 -47
- data/helpers/vendor/symfony/filesystem/Tests/FilesystemTest.php +0 -1660
- data/helpers/vendor/symfony/filesystem/Tests/FilesystemTestCase.php +0 -165
- data/helpers/vendor/symfony/filesystem/Tests/Fixtures/MockStream/MockStream.php +0 -46
- data/helpers/vendor/symfony/filesystem/Tests/LockHandlerTest.php +0 -144
- data/helpers/vendor/symfony/filesystem/composer.json +0 -34
- data/helpers/vendor/symfony/filesystem/phpunit.xml.dist +0 -30
- data/helpers/vendor/symfony/finder/.gitignore +0 -3
- data/helpers/vendor/symfony/finder/CHANGELOG.md +0 -55
- data/helpers/vendor/symfony/finder/Comparator/Comparator.php +0 -98
- data/helpers/vendor/symfony/finder/Comparator/DateComparator.php +0 -51
- data/helpers/vendor/symfony/finder/Comparator/NumberComparator.php +0 -79
- data/helpers/vendor/symfony/finder/Exception/AccessDeniedException.php +0 -19
- data/helpers/vendor/symfony/finder/Exception/ExceptionInterface.php +0 -25
- data/helpers/vendor/symfony/finder/Finder.php +0 -759
- data/helpers/vendor/symfony/finder/Glob.php +0 -116
- data/helpers/vendor/symfony/finder/Iterator/CustomFilterIterator.php +0 -61
- data/helpers/vendor/symfony/finder/Iterator/DateRangeFilterIterator.php +0 -58
- data/helpers/vendor/symfony/finder/Iterator/DepthRangeFilterIterator.php +0 -45
- data/helpers/vendor/symfony/finder/Iterator/ExcludeDirectoryFilterIterator.php +0 -84
- data/helpers/vendor/symfony/finder/Iterator/FileTypeFilterIterator.php +0 -53
- data/helpers/vendor/symfony/finder/Iterator/FilecontentFilterIterator.php +0 -58
- data/helpers/vendor/symfony/finder/Iterator/FilenameFilterIterator.php +0 -47
- data/helpers/vendor/symfony/finder/Iterator/FilterIterator.php +0 -60
- data/helpers/vendor/symfony/finder/Iterator/MultiplePcreFilterIterator.php +0 -112
- data/helpers/vendor/symfony/finder/Iterator/PathFilterIterator.php +0 -56
- data/helpers/vendor/symfony/finder/Iterator/RecursiveDirectoryIterator.php +0 -158
- data/helpers/vendor/symfony/finder/Iterator/SizeRangeFilterIterator.php +0 -57
- data/helpers/vendor/symfony/finder/Iterator/SortableIterator.php +0 -80
- data/helpers/vendor/symfony/finder/LICENSE +0 -19
- data/helpers/vendor/symfony/finder/README.md +0 -14
- data/helpers/vendor/symfony/finder/SplFileInfo.php +0 -78
- data/helpers/vendor/symfony/finder/Tests/Comparator/ComparatorTest.php +0 -65
- data/helpers/vendor/symfony/finder/Tests/Comparator/DateComparatorTest.php +0 -64
- data/helpers/vendor/symfony/finder/Tests/Comparator/NumberComparatorTest.php +0 -108
- data/helpers/vendor/symfony/finder/Tests/FinderTest.php +0 -752
- data/helpers/vendor/symfony/finder/Tests/Fixtures/.dot/a +0 -0
- data/helpers/vendor/symfony/finder/Tests/Fixtures/.dot/b/c.neon +0 -0
- data/helpers/vendor/symfony/finder/Tests/Fixtures/.dot/b/d.neon +0 -0
- data/helpers/vendor/symfony/finder/Tests/Fixtures/A/B/C/abc.dat +0 -0
- data/helpers/vendor/symfony/finder/Tests/Fixtures/A/B/ab.dat +0 -0
- data/helpers/vendor/symfony/finder/Tests/Fixtures/A/a.dat +0 -0
- data/helpers/vendor/symfony/finder/Tests/Fixtures/copy/A/B/C/abc.dat.copy +0 -0
- data/helpers/vendor/symfony/finder/Tests/Fixtures/copy/A/B/ab.dat.copy +0 -0
- data/helpers/vendor/symfony/finder/Tests/Fixtures/copy/A/a.dat.copy +0 -0
- data/helpers/vendor/symfony/finder/Tests/Fixtures/dolor.txt +0 -2
- data/helpers/vendor/symfony/finder/Tests/Fixtures/ipsum.txt +0 -2
- data/helpers/vendor/symfony/finder/Tests/Fixtures/lorem.txt +0 -2
- data/helpers/vendor/symfony/finder/Tests/Fixtures/one/.dot +0 -1
- data/helpers/vendor/symfony/finder/Tests/Fixtures/one/a +0 -0
- data/helpers/vendor/symfony/finder/Tests/Fixtures/one/b/c.neon +0 -0
- data/helpers/vendor/symfony/finder/Tests/Fixtures/one/b/d.neon +0 -0
- data/helpers/vendor/symfony/finder/Tests/Fixtures/r+e.gex[c]a(r)s/dir/bar.dat +0 -0
- data/helpers/vendor/symfony/finder/Tests/Fixtures/with space/foo.txt b/data/helpers/vendor/symfony/finder/Tests/Fixtures/with → space/foo.txt +0 -0
- data/helpers/vendor/symfony/finder/Tests/GlobTest.php +0 -95
- data/helpers/vendor/symfony/finder/Tests/Iterator/CustomFilterIteratorTest.php +0 -44
- data/helpers/vendor/symfony/finder/Tests/Iterator/DateRangeFilterIteratorTest.php +0 -74
- data/helpers/vendor/symfony/finder/Tests/Iterator/DepthRangeFilterIteratorTest.php +0 -83
- data/helpers/vendor/symfony/finder/Tests/Iterator/ExcludeDirectoryFilterIteratorTest.php +0 -80
- data/helpers/vendor/symfony/finder/Tests/Iterator/FileTypeFilterIteratorTest.php +0 -73
- data/helpers/vendor/symfony/finder/Tests/Iterator/FilecontentFilterIteratorTest.php +0 -86
- data/helpers/vendor/symfony/finder/Tests/Iterator/FilenameFilterIteratorTest.php +0 -54
- data/helpers/vendor/symfony/finder/Tests/Iterator/FilterIteratorTest.php +0 -53
- data/helpers/vendor/symfony/finder/Tests/Iterator/Iterator.php +0 -55
- data/helpers/vendor/symfony/finder/Tests/Iterator/IteratorTestCase.php +0 -93
- data/helpers/vendor/symfony/finder/Tests/Iterator/MockFileListIterator.php +0 -21
- data/helpers/vendor/symfony/finder/Tests/Iterator/MockSplFileInfo.php +0 -132
- data/helpers/vendor/symfony/finder/Tests/Iterator/MultiplePcreFilterIteratorTest.php +0 -71
- data/helpers/vendor/symfony/finder/Tests/Iterator/PathFilterIteratorTest.php +0 -82
- data/helpers/vendor/symfony/finder/Tests/Iterator/RealIteratorTestCase.php +0 -119
- data/helpers/vendor/symfony/finder/Tests/Iterator/RecursiveDirectoryIteratorTest.php +0 -59
- data/helpers/vendor/symfony/finder/Tests/Iterator/SizeRangeFilterIteratorTest.php +0 -69
- data/helpers/vendor/symfony/finder/Tests/Iterator/SortableIteratorTest.php +0 -179
- data/helpers/vendor/symfony/finder/composer.json +0 -33
- data/helpers/vendor/symfony/finder/phpunit.xml.dist +0 -30
- data/helpers/vendor/symfony/options-resolver/.gitignore +0 -3
- data/helpers/vendor/symfony/options-resolver/CHANGELOG.md +0 -52
- data/helpers/vendor/symfony/options-resolver/Debug/OptionsResolverIntrospector.php +0 -102
- data/helpers/vendor/symfony/options-resolver/Exception/AccessException.php +0 -22
- data/helpers/vendor/symfony/options-resolver/Exception/ExceptionInterface.php +0 -21
- data/helpers/vendor/symfony/options-resolver/Exception/InvalidArgumentException.php +0 -21
- data/helpers/vendor/symfony/options-resolver/Exception/InvalidOptionsException.php +0 -23
- data/helpers/vendor/symfony/options-resolver/Exception/MissingOptionsException.php +0 -23
- data/helpers/vendor/symfony/options-resolver/Exception/NoConfigurationException.php +0 -26
- data/helpers/vendor/symfony/options-resolver/Exception/NoSuchOptionException.php +0 -26
- data/helpers/vendor/symfony/options-resolver/Exception/OptionDefinitionException.php +0 -21
- data/helpers/vendor/symfony/options-resolver/Exception/UndefinedOptionsException.php +0 -24
- data/helpers/vendor/symfony/options-resolver/LICENSE +0 -19
- data/helpers/vendor/symfony/options-resolver/Options.php +0 -22
- data/helpers/vendor/symfony/options-resolver/OptionsResolver.php +0 -1085
- data/helpers/vendor/symfony/options-resolver/README.md +0 -15
- data/helpers/vendor/symfony/options-resolver/Tests/Debug/OptionsResolverIntrospectorTest.php +0 -183
- data/helpers/vendor/symfony/options-resolver/Tests/OptionsResolverTest.php +0 -1626
- data/helpers/vendor/symfony/options-resolver/composer.json +0 -33
- data/helpers/vendor/symfony/options-resolver/phpunit.xml.dist +0 -31
- data/helpers/vendor/symfony/polyfill-ctype/Ctype.php +0 -227
- data/helpers/vendor/symfony/polyfill-ctype/LICENSE +0 -19
- data/helpers/vendor/symfony/polyfill-ctype/README.md +0 -12
- data/helpers/vendor/symfony/polyfill-ctype/bootstrap.php +0 -46
- data/helpers/vendor/symfony/polyfill-ctype/composer.json +0 -38
- data/helpers/vendor/symfony/polyfill-mbstring/LICENSE +0 -19
- data/helpers/vendor/symfony/polyfill-mbstring/Mbstring.php +0 -847
- data/helpers/vendor/symfony/polyfill-mbstring/README.md +0 -13
- data/helpers/vendor/symfony/polyfill-mbstring/Resources/unidata/lowerCase.php +0 -1397
- data/helpers/vendor/symfony/polyfill-mbstring/Resources/unidata/titleCaseRegexp.php +0 -5
- data/helpers/vendor/symfony/polyfill-mbstring/Resources/unidata/upperCase.php +0 -1414
- data/helpers/vendor/symfony/polyfill-mbstring/bootstrap.php +0 -141
- data/helpers/vendor/symfony/polyfill-mbstring/composer.json +0 -38
- data/helpers/vendor/symfony/polyfill-php70/LICENSE +0 -19
- data/helpers/vendor/symfony/polyfill-php70/Php70.php +0 -74
- data/helpers/vendor/symfony/polyfill-php70/README.md +0 -28
- data/helpers/vendor/symfony/polyfill-php70/Resources/stubs/ArithmeticError.php +0 -5
- data/helpers/vendor/symfony/polyfill-php70/Resources/stubs/AssertionError.php +0 -5
- data/helpers/vendor/symfony/polyfill-php70/Resources/stubs/DivisionByZeroError.php +0 -5
- data/helpers/vendor/symfony/polyfill-php70/Resources/stubs/Error.php +0 -5
- data/helpers/vendor/symfony/polyfill-php70/Resources/stubs/ParseError.php +0 -5
- data/helpers/vendor/symfony/polyfill-php70/Resources/stubs/SessionUpdateTimestampHandlerInterface.php +0 -23
- data/helpers/vendor/symfony/polyfill-php70/Resources/stubs/TypeError.php +0 -5
- data/helpers/vendor/symfony/polyfill-php70/bootstrap.php +0 -30
- data/helpers/vendor/symfony/polyfill-php70/composer.json +0 -37
- data/helpers/vendor/symfony/polyfill-php72/LICENSE +0 -19
- data/helpers/vendor/symfony/polyfill-php72/Php72.php +0 -217
- data/helpers/vendor/symfony/polyfill-php72/README.md +0 -28
- data/helpers/vendor/symfony/polyfill-php72/bootstrap.php +0 -57
- data/helpers/vendor/symfony/polyfill-php72/composer.json +0 -35
- data/helpers/vendor/symfony/process/.gitignore +0 -3
- data/helpers/vendor/symfony/process/CHANGELOG.md +0 -57
- data/helpers/vendor/symfony/process/Exception/ExceptionInterface.php +0 -21
- data/helpers/vendor/symfony/process/Exception/InvalidArgumentException.php +0 -21
- data/helpers/vendor/symfony/process/Exception/LogicException.php +0 -21
- data/helpers/vendor/symfony/process/Exception/ProcessFailedException.php +0 -54
- data/helpers/vendor/symfony/process/Exception/ProcessTimedOutException.php +0 -69
- data/helpers/vendor/symfony/process/Exception/RuntimeException.php +0 -21
- data/helpers/vendor/symfony/process/ExecutableFinder.php +0 -88
- data/helpers/vendor/symfony/process/InputStream.php +0 -92
- data/helpers/vendor/symfony/process/LICENSE +0 -19
- data/helpers/vendor/symfony/process/PhpExecutableFinder.php +0 -94
- data/helpers/vendor/symfony/process/PhpProcess.php +0 -76
- data/helpers/vendor/symfony/process/Pipes/AbstractPipes.php +0 -182
- data/helpers/vendor/symfony/process/Pipes/PipesInterface.php +0 -67
- data/helpers/vendor/symfony/process/Pipes/UnixPipes.php +0 -153
- data/helpers/vendor/symfony/process/Pipes/WindowsPipes.php +0 -191
- data/helpers/vendor/symfony/process/Process.php +0 -1746
- data/helpers/vendor/symfony/process/ProcessBuilder.php +0 -280
- data/helpers/vendor/symfony/process/ProcessUtils.php +0 -123
- data/helpers/vendor/symfony/process/README.md +0 -13
- data/helpers/vendor/symfony/process/Tests/ErrorProcessInitiator.php +0 -36
- data/helpers/vendor/symfony/process/Tests/ExecutableFinderTest.php +0 -175
- data/helpers/vendor/symfony/process/Tests/NonStopableProcess.php +0 -47
- data/helpers/vendor/symfony/process/Tests/PhpExecutableFinderTest.php +0 -72
- data/helpers/vendor/symfony/process/Tests/PhpProcessTest.php +0 -48
- data/helpers/vendor/symfony/process/Tests/PipeStdinInStdoutStdErrStreamSelect.php +0 -72
- data/helpers/vendor/symfony/process/Tests/ProcessBuilderTest.php +0 -220
- data/helpers/vendor/symfony/process/Tests/ProcessFailedExceptionTest.php +0 -133
- data/helpers/vendor/symfony/process/Tests/ProcessTest.php +0 -1596
- data/helpers/vendor/symfony/process/Tests/ProcessUtilsTest.php +0 -53
- data/helpers/vendor/symfony/process/Tests/SignalListener.php +0 -21
- data/helpers/vendor/symfony/process/composer.json +0 -33
- data/helpers/vendor/symfony/process/phpunit.xml.dist +0 -30
- data/helpers/vendor/symfony/stopwatch/.gitignore +0 -3
- data/helpers/vendor/symfony/stopwatch/CHANGELOG.md +0 -9
- data/helpers/vendor/symfony/stopwatch/LICENSE +0 -19
- data/helpers/vendor/symfony/stopwatch/README.md +0 -13
- data/helpers/vendor/symfony/stopwatch/Section.php +0 -200
- data/helpers/vendor/symfony/stopwatch/Stopwatch.php +0 -176
- data/helpers/vendor/symfony/stopwatch/StopwatchEvent.php +0 -254
- data/helpers/vendor/symfony/stopwatch/StopwatchPeriod.php +0 -76
- data/helpers/vendor/symfony/stopwatch/Tests/StopwatchEventTest.php +0 -210
- data/helpers/vendor/symfony/stopwatch/Tests/StopwatchPeriodTest.php +0 -67
- data/helpers/vendor/symfony/stopwatch/Tests/StopwatchTest.php +0 -182
- data/helpers/vendor/symfony/stopwatch/composer.json +0 -33
- data/helpers/vendor/symfony/stopwatch/phpunit.xml.dist +0 -30
@@ -1,133 +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\Component\Process\Tests;
|
13
|
-
|
14
|
-
use PHPUnit\Framework\TestCase;
|
15
|
-
use Symfony\Component\Process\Exception\ProcessFailedException;
|
16
|
-
|
17
|
-
/**
|
18
|
-
* @author Sebastian Marek <proofek@gmail.com>
|
19
|
-
*/
|
20
|
-
class ProcessFailedExceptionTest extends TestCase
|
21
|
-
{
|
22
|
-
/**
|
23
|
-
* tests ProcessFailedException throws exception if the process was successful.
|
24
|
-
*/
|
25
|
-
public function testProcessFailedExceptionThrowsException()
|
26
|
-
{
|
27
|
-
$process = $this->getMockBuilder('Symfony\Component\Process\Process')->setMethods(['isSuccessful'])->setConstructorArgs(['php'])->getMock();
|
28
|
-
$process->expects($this->once())
|
29
|
-
->method('isSuccessful')
|
30
|
-
->willReturn(true);
|
31
|
-
|
32
|
-
$this->expectException(\InvalidArgumentException::class);
|
33
|
-
$this->expectExceptionMessage('Expected a failed process, but the given process was successful.');
|
34
|
-
|
35
|
-
new ProcessFailedException($process);
|
36
|
-
}
|
37
|
-
|
38
|
-
/**
|
39
|
-
* tests ProcessFailedException uses information from process output
|
40
|
-
* to generate exception message.
|
41
|
-
*/
|
42
|
-
public function testProcessFailedExceptionPopulatesInformationFromProcessOutput()
|
43
|
-
{
|
44
|
-
$cmd = 'php';
|
45
|
-
$exitCode = 1;
|
46
|
-
$exitText = 'General error';
|
47
|
-
$output = 'Command output';
|
48
|
-
$errorOutput = 'FATAL: Unexpected error';
|
49
|
-
$workingDirectory = getcwd();
|
50
|
-
|
51
|
-
$process = $this->getMockBuilder('Symfony\Component\Process\Process')->setMethods(['isSuccessful', 'getOutput', 'getErrorOutput', 'getExitCode', 'getExitCodeText', 'isOutputDisabled', 'getWorkingDirectory'])->setConstructorArgs([$cmd])->getMock();
|
52
|
-
$process->expects($this->once())
|
53
|
-
->method('isSuccessful')
|
54
|
-
->willReturn(false);
|
55
|
-
|
56
|
-
$process->expects($this->once())
|
57
|
-
->method('getOutput')
|
58
|
-
->willReturn($output);
|
59
|
-
|
60
|
-
$process->expects($this->once())
|
61
|
-
->method('getErrorOutput')
|
62
|
-
->willReturn($errorOutput);
|
63
|
-
|
64
|
-
$process->expects($this->once())
|
65
|
-
->method('getExitCode')
|
66
|
-
->willReturn($exitCode);
|
67
|
-
|
68
|
-
$process->expects($this->once())
|
69
|
-
->method('getExitCodeText')
|
70
|
-
->willReturn($exitText);
|
71
|
-
|
72
|
-
$process->expects($this->once())
|
73
|
-
->method('isOutputDisabled')
|
74
|
-
->willReturn(false);
|
75
|
-
|
76
|
-
$process->expects($this->once())
|
77
|
-
->method('getWorkingDirectory')
|
78
|
-
->willReturn($workingDirectory);
|
79
|
-
|
80
|
-
$exception = new ProcessFailedException($process);
|
81
|
-
|
82
|
-
$this->assertEquals(
|
83
|
-
"The command \"$cmd\" failed.\n\nExit Code: $exitCode($exitText)\n\nWorking directory: {$workingDirectory}\n\nOutput:\n================\n{$output}\n\nError Output:\n================\n{$errorOutput}",
|
84
|
-
$exception->getMessage()
|
85
|
-
);
|
86
|
-
}
|
87
|
-
|
88
|
-
/**
|
89
|
-
* Tests that ProcessFailedException does not extract information from
|
90
|
-
* process output if it was previously disabled.
|
91
|
-
*/
|
92
|
-
public function testDisabledOutputInFailedExceptionDoesNotPopulateOutput()
|
93
|
-
{
|
94
|
-
$cmd = 'php';
|
95
|
-
$exitCode = 1;
|
96
|
-
$exitText = 'General error';
|
97
|
-
$workingDirectory = getcwd();
|
98
|
-
|
99
|
-
$process = $this->getMockBuilder('Symfony\Component\Process\Process')->setMethods(['isSuccessful', 'isOutputDisabled', 'getExitCode', 'getExitCodeText', 'getOutput', 'getErrorOutput', 'getWorkingDirectory'])->setConstructorArgs([$cmd])->getMock();
|
100
|
-
$process->expects($this->once())
|
101
|
-
->method('isSuccessful')
|
102
|
-
->willReturn(false);
|
103
|
-
|
104
|
-
$process->expects($this->never())
|
105
|
-
->method('getOutput');
|
106
|
-
|
107
|
-
$process->expects($this->never())
|
108
|
-
->method('getErrorOutput');
|
109
|
-
|
110
|
-
$process->expects($this->once())
|
111
|
-
->method('getExitCode')
|
112
|
-
->willReturn($exitCode);
|
113
|
-
|
114
|
-
$process->expects($this->once())
|
115
|
-
->method('getExitCodeText')
|
116
|
-
->willReturn($exitText);
|
117
|
-
|
118
|
-
$process->expects($this->once())
|
119
|
-
->method('isOutputDisabled')
|
120
|
-
->willReturn(true);
|
121
|
-
|
122
|
-
$process->expects($this->once())
|
123
|
-
->method('getWorkingDirectory')
|
124
|
-
->willReturn($workingDirectory);
|
125
|
-
|
126
|
-
$exception = new ProcessFailedException($process);
|
127
|
-
|
128
|
-
$this->assertEquals(
|
129
|
-
"The command \"$cmd\" failed.\n\nExit Code: $exitCode($exitText)\n\nWorking directory: {$workingDirectory}",
|
130
|
-
$exception->getMessage()
|
131
|
-
);
|
132
|
-
}
|
133
|
-
}
|
@@ -1,1596 +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\Component\Process\Tests;
|
13
|
-
|
14
|
-
use PHPUnit\Framework\TestCase;
|
15
|
-
use Symfony\Component\Process\Exception\LogicException;
|
16
|
-
use Symfony\Component\Process\Exception\ProcessTimedOutException;
|
17
|
-
use Symfony\Component\Process\Exception\RuntimeException;
|
18
|
-
use Symfony\Component\Process\InputStream;
|
19
|
-
use Symfony\Component\Process\PhpExecutableFinder;
|
20
|
-
use Symfony\Component\Process\Pipes\PipesInterface;
|
21
|
-
use Symfony\Component\Process\Process;
|
22
|
-
|
23
|
-
/**
|
24
|
-
* @author Robert Schönthal <seroscho@googlemail.com>
|
25
|
-
*/
|
26
|
-
class ProcessTest extends TestCase
|
27
|
-
{
|
28
|
-
private static $phpBin;
|
29
|
-
private static $process;
|
30
|
-
private static $sigchild;
|
31
|
-
private static $notEnhancedSigchild = false;
|
32
|
-
|
33
|
-
public static function setUpBeforeClass()
|
34
|
-
{
|
35
|
-
$phpBin = new PhpExecutableFinder();
|
36
|
-
self::$phpBin = getenv('SYMFONY_PROCESS_PHP_TEST_BINARY') ?: ('phpdbg' === \PHP_SAPI ? 'php' : $phpBin->find());
|
37
|
-
|
38
|
-
ob_start();
|
39
|
-
phpinfo(INFO_GENERAL);
|
40
|
-
self::$sigchild = false !== strpos(ob_get_clean(), '--enable-sigchild');
|
41
|
-
}
|
42
|
-
|
43
|
-
protected function tearDown()
|
44
|
-
{
|
45
|
-
if (self::$process) {
|
46
|
-
self::$process->stop(0);
|
47
|
-
self::$process = null;
|
48
|
-
}
|
49
|
-
}
|
50
|
-
|
51
|
-
/**
|
52
|
-
* @group legacy
|
53
|
-
* @expectedDeprecation The provided cwd does not exist. Command is currently ran against getcwd(). This behavior is deprecated since Symfony 3.4 and will be removed in 4.0.
|
54
|
-
*/
|
55
|
-
public function testInvalidCwd()
|
56
|
-
{
|
57
|
-
if ('\\' === \DIRECTORY_SEPARATOR) {
|
58
|
-
$this->markTestSkipped('False-positive on Windows/appveyor.');
|
59
|
-
}
|
60
|
-
|
61
|
-
// Check that it works fine if the CWD exists
|
62
|
-
$cmd = new Process('echo test', __DIR__);
|
63
|
-
$cmd->run();
|
64
|
-
|
65
|
-
$cmd = new Process('echo test', __DIR__.'/notfound/');
|
66
|
-
$cmd->run();
|
67
|
-
}
|
68
|
-
|
69
|
-
public function testThatProcessDoesNotThrowWarningDuringRun()
|
70
|
-
{
|
71
|
-
if ('\\' === \DIRECTORY_SEPARATOR) {
|
72
|
-
$this->markTestSkipped('This test is transient on Windows');
|
73
|
-
}
|
74
|
-
@trigger_error('Test Error', E_USER_NOTICE);
|
75
|
-
$process = $this->getProcessForCode('sleep(3)');
|
76
|
-
$process->run();
|
77
|
-
$actualError = error_get_last();
|
78
|
-
$this->assertEquals('Test Error', $actualError['message']);
|
79
|
-
$this->assertEquals(E_USER_NOTICE, $actualError['type']);
|
80
|
-
}
|
81
|
-
|
82
|
-
public function testNegativeTimeoutFromConstructor()
|
83
|
-
{
|
84
|
-
$this->expectException('Symfony\Component\Process\Exception\InvalidArgumentException');
|
85
|
-
$this->getProcess('', null, null, null, -1);
|
86
|
-
}
|
87
|
-
|
88
|
-
public function testNegativeTimeoutFromSetter()
|
89
|
-
{
|
90
|
-
$this->expectException('Symfony\Component\Process\Exception\InvalidArgumentException');
|
91
|
-
$p = $this->getProcess('');
|
92
|
-
$p->setTimeout(-1);
|
93
|
-
}
|
94
|
-
|
95
|
-
public function testFloatAndNullTimeout()
|
96
|
-
{
|
97
|
-
$p = $this->getProcess('');
|
98
|
-
|
99
|
-
$p->setTimeout(10);
|
100
|
-
$this->assertSame(10.0, $p->getTimeout());
|
101
|
-
|
102
|
-
$p->setTimeout(null);
|
103
|
-
$this->assertNull($p->getTimeout());
|
104
|
-
|
105
|
-
$p->setTimeout(0.0);
|
106
|
-
$this->assertNull($p->getTimeout());
|
107
|
-
}
|
108
|
-
|
109
|
-
/**
|
110
|
-
* @requires extension pcntl
|
111
|
-
*/
|
112
|
-
public function testStopWithTimeoutIsActuallyWorking()
|
113
|
-
{
|
114
|
-
$p = $this->getProcess([self::$phpBin, __DIR__.'/NonStopableProcess.php', 30]);
|
115
|
-
$p->start();
|
116
|
-
|
117
|
-
while (false === strpos($p->getOutput(), 'received')) {
|
118
|
-
usleep(1000);
|
119
|
-
}
|
120
|
-
$start = microtime(true);
|
121
|
-
$p->stop(0.1);
|
122
|
-
|
123
|
-
$p->wait();
|
124
|
-
|
125
|
-
$this->assertLessThan(15, microtime(true) - $start);
|
126
|
-
}
|
127
|
-
|
128
|
-
public function testAllOutputIsActuallyReadOnTermination()
|
129
|
-
{
|
130
|
-
// this code will result in a maximum of 2 reads of 8192 bytes by calling
|
131
|
-
// start() and isRunning(). by the time getOutput() is called the process
|
132
|
-
// has terminated so the internal pipes array is already empty. normally
|
133
|
-
// the call to start() will not read any data as the process will not have
|
134
|
-
// generated output, but this is non-deterministic so we must count it as
|
135
|
-
// a possibility. therefore we need 2 * PipesInterface::CHUNK_SIZE plus
|
136
|
-
// another byte which will never be read.
|
137
|
-
$expectedOutputSize = PipesInterface::CHUNK_SIZE * 2 + 2;
|
138
|
-
|
139
|
-
$code = sprintf('echo str_repeat(\'*\', %d);', $expectedOutputSize);
|
140
|
-
$p = $this->getProcessForCode($code);
|
141
|
-
|
142
|
-
$p->start();
|
143
|
-
|
144
|
-
// Don't call Process::run nor Process::wait to avoid any read of pipes
|
145
|
-
$h = new \ReflectionProperty($p, 'process');
|
146
|
-
$h->setAccessible(true);
|
147
|
-
$h = $h->getValue($p);
|
148
|
-
$s = @proc_get_status($h);
|
149
|
-
|
150
|
-
while (!empty($s['running'])) {
|
151
|
-
usleep(1000);
|
152
|
-
$s = proc_get_status($h);
|
153
|
-
}
|
154
|
-
|
155
|
-
$o = $p->getOutput();
|
156
|
-
|
157
|
-
$this->assertEquals($expectedOutputSize, \strlen($o));
|
158
|
-
}
|
159
|
-
|
160
|
-
public function testCallbacksAreExecutedWithStart()
|
161
|
-
{
|
162
|
-
$process = $this->getProcess('echo foo');
|
163
|
-
$process->start(function ($type, $buffer) use (&$data) {
|
164
|
-
$data .= $buffer;
|
165
|
-
});
|
166
|
-
|
167
|
-
$process->wait();
|
168
|
-
|
169
|
-
$this->assertSame('foo'.PHP_EOL, $data);
|
170
|
-
}
|
171
|
-
|
172
|
-
/**
|
173
|
-
* tests results from sub processes.
|
174
|
-
*
|
175
|
-
* @dataProvider responsesCodeProvider
|
176
|
-
*/
|
177
|
-
public function testProcessResponses($expected, $getter, $code)
|
178
|
-
{
|
179
|
-
$p = $this->getProcessForCode($code);
|
180
|
-
$p->run();
|
181
|
-
|
182
|
-
$this->assertSame($expected, $p->$getter());
|
183
|
-
}
|
184
|
-
|
185
|
-
/**
|
186
|
-
* tests results from sub processes.
|
187
|
-
*
|
188
|
-
* @dataProvider pipesCodeProvider
|
189
|
-
*/
|
190
|
-
public function testProcessPipes($code, $size)
|
191
|
-
{
|
192
|
-
$expected = str_repeat(str_repeat('*', 1024), $size).'!';
|
193
|
-
$expectedLength = (1024 * $size) + 1;
|
194
|
-
|
195
|
-
$p = $this->getProcessForCode($code);
|
196
|
-
$p->setInput($expected);
|
197
|
-
$p->run();
|
198
|
-
|
199
|
-
$this->assertEquals($expectedLength, \strlen($p->getOutput()));
|
200
|
-
$this->assertEquals($expectedLength, \strlen($p->getErrorOutput()));
|
201
|
-
}
|
202
|
-
|
203
|
-
/**
|
204
|
-
* @dataProvider pipesCodeProvider
|
205
|
-
*/
|
206
|
-
public function testSetStreamAsInput($code, $size)
|
207
|
-
{
|
208
|
-
$expected = str_repeat(str_repeat('*', 1024), $size).'!';
|
209
|
-
$expectedLength = (1024 * $size) + 1;
|
210
|
-
|
211
|
-
$stream = fopen('php://temporary', 'w+');
|
212
|
-
fwrite($stream, $expected);
|
213
|
-
rewind($stream);
|
214
|
-
|
215
|
-
$p = $this->getProcessForCode($code);
|
216
|
-
$p->setInput($stream);
|
217
|
-
$p->run();
|
218
|
-
|
219
|
-
fclose($stream);
|
220
|
-
|
221
|
-
$this->assertEquals($expectedLength, \strlen($p->getOutput()));
|
222
|
-
$this->assertEquals($expectedLength, \strlen($p->getErrorOutput()));
|
223
|
-
}
|
224
|
-
|
225
|
-
public function testLiveStreamAsInput()
|
226
|
-
{
|
227
|
-
$stream = fopen('php://memory', 'r+');
|
228
|
-
fwrite($stream, 'hello');
|
229
|
-
rewind($stream);
|
230
|
-
|
231
|
-
$p = $this->getProcessForCode('stream_copy_to_stream(STDIN, STDOUT);');
|
232
|
-
$p->setInput($stream);
|
233
|
-
$p->start(function ($type, $data) use ($stream) {
|
234
|
-
if ('hello' === $data) {
|
235
|
-
fclose($stream);
|
236
|
-
}
|
237
|
-
});
|
238
|
-
$p->wait();
|
239
|
-
|
240
|
-
$this->assertSame('hello', $p->getOutput());
|
241
|
-
}
|
242
|
-
|
243
|
-
public function testSetInputWhileRunningThrowsAnException()
|
244
|
-
{
|
245
|
-
$this->expectException('Symfony\Component\Process\Exception\LogicException');
|
246
|
-
$this->expectExceptionMessage('Input can not be set while the process is running.');
|
247
|
-
$process = $this->getProcessForCode('sleep(30);');
|
248
|
-
$process->start();
|
249
|
-
try {
|
250
|
-
$process->setInput('foobar');
|
251
|
-
$process->stop();
|
252
|
-
$this->fail('A LogicException should have been raised.');
|
253
|
-
} catch (LogicException $e) {
|
254
|
-
}
|
255
|
-
$process->stop();
|
256
|
-
|
257
|
-
throw $e;
|
258
|
-
}
|
259
|
-
|
260
|
-
/**
|
261
|
-
* @dataProvider provideInvalidInputValues
|
262
|
-
*/
|
263
|
-
public function testInvalidInput($value)
|
264
|
-
{
|
265
|
-
$this->expectException('Symfony\Component\Process\Exception\InvalidArgumentException');
|
266
|
-
$this->expectExceptionMessage('"Symfony\Component\Process\Process::setInput" only accepts strings, Traversable objects or stream resources.');
|
267
|
-
$process = $this->getProcess('foo');
|
268
|
-
$process->setInput($value);
|
269
|
-
}
|
270
|
-
|
271
|
-
public function provideInvalidInputValues()
|
272
|
-
{
|
273
|
-
return [
|
274
|
-
[[]],
|
275
|
-
[new NonStringifiable()],
|
276
|
-
];
|
277
|
-
}
|
278
|
-
|
279
|
-
/**
|
280
|
-
* @dataProvider provideInputValues
|
281
|
-
*/
|
282
|
-
public function testValidInput($expected, $value)
|
283
|
-
{
|
284
|
-
$process = $this->getProcess('foo');
|
285
|
-
$process->setInput($value);
|
286
|
-
$this->assertSame($expected, $process->getInput());
|
287
|
-
}
|
288
|
-
|
289
|
-
public function provideInputValues()
|
290
|
-
{
|
291
|
-
return [
|
292
|
-
[null, null],
|
293
|
-
['24.5', 24.5],
|
294
|
-
['input data', 'input data'],
|
295
|
-
];
|
296
|
-
}
|
297
|
-
|
298
|
-
public function chainedCommandsOutputProvider()
|
299
|
-
{
|
300
|
-
if ('\\' === \DIRECTORY_SEPARATOR) {
|
301
|
-
return [
|
302
|
-
["2 \r\n2\r\n", '&&', '2'],
|
303
|
-
];
|
304
|
-
}
|
305
|
-
|
306
|
-
return [
|
307
|
-
["1\n1\n", ';', '1'],
|
308
|
-
["2\n2\n", '&&', '2'],
|
309
|
-
];
|
310
|
-
}
|
311
|
-
|
312
|
-
/**
|
313
|
-
* @dataProvider chainedCommandsOutputProvider
|
314
|
-
*/
|
315
|
-
public function testChainedCommandsOutput($expected, $operator, $input)
|
316
|
-
{
|
317
|
-
$process = $this->getProcess(sprintf('echo %s %s echo %s', $input, $operator, $input));
|
318
|
-
$process->run();
|
319
|
-
$this->assertEquals($expected, $process->getOutput());
|
320
|
-
}
|
321
|
-
|
322
|
-
public function testCallbackIsExecutedForOutput()
|
323
|
-
{
|
324
|
-
$p = $this->getProcessForCode('echo \'foo\';');
|
325
|
-
|
326
|
-
$called = false;
|
327
|
-
$p->run(function ($type, $buffer) use (&$called) {
|
328
|
-
$called = 'foo' === $buffer;
|
329
|
-
});
|
330
|
-
|
331
|
-
$this->assertTrue($called, 'The callback should be executed with the output');
|
332
|
-
}
|
333
|
-
|
334
|
-
public function testCallbackIsExecutedForOutputWheneverOutputIsDisabled()
|
335
|
-
{
|
336
|
-
$p = $this->getProcessForCode('echo \'foo\';');
|
337
|
-
$p->disableOutput();
|
338
|
-
|
339
|
-
$called = false;
|
340
|
-
$p->run(function ($type, $buffer) use (&$called) {
|
341
|
-
$called = 'foo' === $buffer;
|
342
|
-
});
|
343
|
-
|
344
|
-
$this->assertTrue($called, 'The callback should be executed with the output');
|
345
|
-
}
|
346
|
-
|
347
|
-
public function testGetErrorOutput()
|
348
|
-
{
|
349
|
-
$p = $this->getProcessForCode('$n = 0; while ($n < 3) { file_put_contents(\'php://stderr\', \'ERROR\'); $n++; }');
|
350
|
-
|
351
|
-
$p->run();
|
352
|
-
$this->assertEquals(3, preg_match_all('/ERROR/', $p->getErrorOutput(), $matches));
|
353
|
-
}
|
354
|
-
|
355
|
-
public function testFlushErrorOutput()
|
356
|
-
{
|
357
|
-
$p = $this->getProcessForCode('$n = 0; while ($n < 3) { file_put_contents(\'php://stderr\', \'ERROR\'); $n++; }');
|
358
|
-
|
359
|
-
$p->run();
|
360
|
-
$p->clearErrorOutput();
|
361
|
-
$this->assertEmpty($p->getErrorOutput());
|
362
|
-
}
|
363
|
-
|
364
|
-
/**
|
365
|
-
* @dataProvider provideIncrementalOutput
|
366
|
-
*/
|
367
|
-
public function testIncrementalOutput($getOutput, $getIncrementalOutput, $uri)
|
368
|
-
{
|
369
|
-
$lock = tempnam(sys_get_temp_dir(), __FUNCTION__);
|
370
|
-
|
371
|
-
$p = $this->getProcessForCode('file_put_contents($s = \''.$uri.'\', \'foo\'); flock(fopen('.var_export($lock, true).', \'r\'), LOCK_EX); file_put_contents($s, \'bar\');');
|
372
|
-
|
373
|
-
$h = fopen($lock, 'w');
|
374
|
-
flock($h, LOCK_EX);
|
375
|
-
|
376
|
-
$p->start();
|
377
|
-
|
378
|
-
foreach (['foo', 'bar'] as $s) {
|
379
|
-
while (false === strpos($p->$getOutput(), $s)) {
|
380
|
-
usleep(1000);
|
381
|
-
}
|
382
|
-
|
383
|
-
$this->assertSame($s, $p->$getIncrementalOutput());
|
384
|
-
$this->assertSame('', $p->$getIncrementalOutput());
|
385
|
-
|
386
|
-
flock($h, LOCK_UN);
|
387
|
-
}
|
388
|
-
|
389
|
-
fclose($h);
|
390
|
-
}
|
391
|
-
|
392
|
-
public function provideIncrementalOutput()
|
393
|
-
{
|
394
|
-
return [
|
395
|
-
['getOutput', 'getIncrementalOutput', 'php://stdout'],
|
396
|
-
['getErrorOutput', 'getIncrementalErrorOutput', 'php://stderr'],
|
397
|
-
];
|
398
|
-
}
|
399
|
-
|
400
|
-
public function testGetOutput()
|
401
|
-
{
|
402
|
-
$p = $this->getProcessForCode('$n = 0; while ($n < 3) { echo \' foo \'; $n++; }');
|
403
|
-
|
404
|
-
$p->run();
|
405
|
-
$this->assertEquals(3, preg_match_all('/foo/', $p->getOutput(), $matches));
|
406
|
-
}
|
407
|
-
|
408
|
-
public function testFlushOutput()
|
409
|
-
{
|
410
|
-
$p = $this->getProcessForCode('$n=0;while ($n<3) {echo \' foo \';$n++;}');
|
411
|
-
|
412
|
-
$p->run();
|
413
|
-
$p->clearOutput();
|
414
|
-
$this->assertEmpty($p->getOutput());
|
415
|
-
}
|
416
|
-
|
417
|
-
public function testZeroAsOutput()
|
418
|
-
{
|
419
|
-
if ('\\' === \DIRECTORY_SEPARATOR) {
|
420
|
-
// see http://stackoverflow.com/questions/7105433/windows-batch-echo-without-new-line
|
421
|
-
$p = $this->getProcess('echo | set /p dummyName=0');
|
422
|
-
} else {
|
423
|
-
$p = $this->getProcess('printf 0');
|
424
|
-
}
|
425
|
-
|
426
|
-
$p->run();
|
427
|
-
$this->assertSame('0', $p->getOutput());
|
428
|
-
}
|
429
|
-
|
430
|
-
public function testExitCodeCommandFailed()
|
431
|
-
{
|
432
|
-
if ('\\' === \DIRECTORY_SEPARATOR) {
|
433
|
-
$this->markTestSkipped('Windows does not support POSIX exit code');
|
434
|
-
}
|
435
|
-
$this->skipIfNotEnhancedSigchild();
|
436
|
-
|
437
|
-
// such command run in bash return an exitcode 127
|
438
|
-
$process = $this->getProcess('nonexistingcommandIhopeneversomeonewouldnameacommandlikethis');
|
439
|
-
$process->run();
|
440
|
-
|
441
|
-
$this->assertGreaterThan(0, $process->getExitCode());
|
442
|
-
}
|
443
|
-
|
444
|
-
public function testTTYCommand()
|
445
|
-
{
|
446
|
-
if ('\\' === \DIRECTORY_SEPARATOR) {
|
447
|
-
$this->markTestSkipped('Windows does not have /dev/tty support');
|
448
|
-
}
|
449
|
-
|
450
|
-
$process = $this->getProcess('echo "foo" >> /dev/null && '.$this->getProcessForCode('usleep(100000);')->getCommandLine());
|
451
|
-
$process->setTty(true);
|
452
|
-
$process->start();
|
453
|
-
$this->assertTrue($process->isRunning());
|
454
|
-
$process->wait();
|
455
|
-
|
456
|
-
$this->assertSame(Process::STATUS_TERMINATED, $process->getStatus());
|
457
|
-
}
|
458
|
-
|
459
|
-
public function testTTYCommandExitCode()
|
460
|
-
{
|
461
|
-
if ('\\' === \DIRECTORY_SEPARATOR) {
|
462
|
-
$this->markTestSkipped('Windows does have /dev/tty support');
|
463
|
-
}
|
464
|
-
$this->skipIfNotEnhancedSigchild();
|
465
|
-
|
466
|
-
$process = $this->getProcess('echo "foo" >> /dev/null');
|
467
|
-
$process->setTty(true);
|
468
|
-
$process->run();
|
469
|
-
|
470
|
-
$this->assertTrue($process->isSuccessful());
|
471
|
-
}
|
472
|
-
|
473
|
-
public function testTTYInWindowsEnvironment()
|
474
|
-
{
|
475
|
-
$this->expectException('Symfony\Component\Process\Exception\RuntimeException');
|
476
|
-
$this->expectExceptionMessage('TTY mode is not supported on Windows platform.');
|
477
|
-
if ('\\' !== \DIRECTORY_SEPARATOR) {
|
478
|
-
$this->markTestSkipped('This test is for Windows platform only');
|
479
|
-
}
|
480
|
-
|
481
|
-
$process = $this->getProcess('echo "foo" >> /dev/null');
|
482
|
-
$process->setTty(false);
|
483
|
-
$process->setTty(true);
|
484
|
-
}
|
485
|
-
|
486
|
-
public function testExitCodeTextIsNullWhenExitCodeIsNull()
|
487
|
-
{
|
488
|
-
$this->skipIfNotEnhancedSigchild();
|
489
|
-
|
490
|
-
$process = $this->getProcess('');
|
491
|
-
$this->assertNull($process->getExitCodeText());
|
492
|
-
}
|
493
|
-
|
494
|
-
public function testPTYCommand()
|
495
|
-
{
|
496
|
-
if (!Process::isPtySupported()) {
|
497
|
-
$this->markTestSkipped('PTY is not supported on this operating system.');
|
498
|
-
}
|
499
|
-
|
500
|
-
$process = $this->getProcess('echo "foo"');
|
501
|
-
$process->setPty(true);
|
502
|
-
$process->run();
|
503
|
-
|
504
|
-
$this->assertSame(Process::STATUS_TERMINATED, $process->getStatus());
|
505
|
-
$this->assertEquals("foo\r\n", $process->getOutput());
|
506
|
-
}
|
507
|
-
|
508
|
-
public function testMustRun()
|
509
|
-
{
|
510
|
-
$this->skipIfNotEnhancedSigchild();
|
511
|
-
|
512
|
-
$process = $this->getProcess('echo foo');
|
513
|
-
|
514
|
-
$this->assertSame($process, $process->mustRun());
|
515
|
-
$this->assertEquals('foo'.PHP_EOL, $process->getOutput());
|
516
|
-
}
|
517
|
-
|
518
|
-
public function testSuccessfulMustRunHasCorrectExitCode()
|
519
|
-
{
|
520
|
-
$this->skipIfNotEnhancedSigchild();
|
521
|
-
|
522
|
-
$process = $this->getProcess('echo foo')->mustRun();
|
523
|
-
$this->assertEquals(0, $process->getExitCode());
|
524
|
-
}
|
525
|
-
|
526
|
-
public function testMustRunThrowsException()
|
527
|
-
{
|
528
|
-
$this->expectException('Symfony\Component\Process\Exception\ProcessFailedException');
|
529
|
-
$this->skipIfNotEnhancedSigchild();
|
530
|
-
|
531
|
-
$process = $this->getProcess('exit 1');
|
532
|
-
$process->mustRun();
|
533
|
-
}
|
534
|
-
|
535
|
-
public function testExitCodeText()
|
536
|
-
{
|
537
|
-
$this->skipIfNotEnhancedSigchild();
|
538
|
-
|
539
|
-
$process = $this->getProcess('');
|
540
|
-
$r = new \ReflectionObject($process);
|
541
|
-
$p = $r->getProperty('exitcode');
|
542
|
-
$p->setAccessible(true);
|
543
|
-
|
544
|
-
$p->setValue($process, 2);
|
545
|
-
$this->assertEquals('Misuse of shell builtins', $process->getExitCodeText());
|
546
|
-
}
|
547
|
-
|
548
|
-
public function testStartIsNonBlocking()
|
549
|
-
{
|
550
|
-
$process = $this->getProcessForCode('usleep(500000);');
|
551
|
-
$start = microtime(true);
|
552
|
-
$process->start();
|
553
|
-
$end = microtime(true);
|
554
|
-
$this->assertLessThan(0.4, $end - $start);
|
555
|
-
$process->stop();
|
556
|
-
}
|
557
|
-
|
558
|
-
public function testUpdateStatus()
|
559
|
-
{
|
560
|
-
$process = $this->getProcess('echo foo');
|
561
|
-
$process->run();
|
562
|
-
$this->assertGreaterThan(0, \strlen($process->getOutput()));
|
563
|
-
}
|
564
|
-
|
565
|
-
public function testGetExitCodeIsNullOnStart()
|
566
|
-
{
|
567
|
-
$this->skipIfNotEnhancedSigchild();
|
568
|
-
|
569
|
-
$process = $this->getProcessForCode('usleep(100000);');
|
570
|
-
$this->assertNull($process->getExitCode());
|
571
|
-
$process->start();
|
572
|
-
$this->assertNull($process->getExitCode());
|
573
|
-
$process->wait();
|
574
|
-
$this->assertEquals(0, $process->getExitCode());
|
575
|
-
}
|
576
|
-
|
577
|
-
public function testGetExitCodeIsNullOnWhenStartingAgain()
|
578
|
-
{
|
579
|
-
$this->skipIfNotEnhancedSigchild();
|
580
|
-
|
581
|
-
$process = $this->getProcessForCode('usleep(100000);');
|
582
|
-
$process->run();
|
583
|
-
$this->assertEquals(0, $process->getExitCode());
|
584
|
-
$process->start();
|
585
|
-
$this->assertNull($process->getExitCode());
|
586
|
-
$process->wait();
|
587
|
-
$this->assertEquals(0, $process->getExitCode());
|
588
|
-
}
|
589
|
-
|
590
|
-
public function testGetExitCode()
|
591
|
-
{
|
592
|
-
$this->skipIfNotEnhancedSigchild();
|
593
|
-
|
594
|
-
$process = $this->getProcess('echo foo');
|
595
|
-
$process->run();
|
596
|
-
$this->assertSame(0, $process->getExitCode());
|
597
|
-
}
|
598
|
-
|
599
|
-
public function testStatus()
|
600
|
-
{
|
601
|
-
$process = $this->getProcessForCode('usleep(100000);');
|
602
|
-
$this->assertFalse($process->isRunning());
|
603
|
-
$this->assertFalse($process->isStarted());
|
604
|
-
$this->assertFalse($process->isTerminated());
|
605
|
-
$this->assertSame(Process::STATUS_READY, $process->getStatus());
|
606
|
-
$process->start();
|
607
|
-
$this->assertTrue($process->isRunning());
|
608
|
-
$this->assertTrue($process->isStarted());
|
609
|
-
$this->assertFalse($process->isTerminated());
|
610
|
-
$this->assertSame(Process::STATUS_STARTED, $process->getStatus());
|
611
|
-
$process->wait();
|
612
|
-
$this->assertFalse($process->isRunning());
|
613
|
-
$this->assertTrue($process->isStarted());
|
614
|
-
$this->assertTrue($process->isTerminated());
|
615
|
-
$this->assertSame(Process::STATUS_TERMINATED, $process->getStatus());
|
616
|
-
}
|
617
|
-
|
618
|
-
public function testStop()
|
619
|
-
{
|
620
|
-
$process = $this->getProcessForCode('sleep(31);');
|
621
|
-
$process->start();
|
622
|
-
$this->assertTrue($process->isRunning());
|
623
|
-
$process->stop();
|
624
|
-
$this->assertFalse($process->isRunning());
|
625
|
-
}
|
626
|
-
|
627
|
-
public function testIsSuccessful()
|
628
|
-
{
|
629
|
-
$this->skipIfNotEnhancedSigchild();
|
630
|
-
|
631
|
-
$process = $this->getProcess('echo foo');
|
632
|
-
$process->run();
|
633
|
-
$this->assertTrue($process->isSuccessful());
|
634
|
-
}
|
635
|
-
|
636
|
-
public function testIsSuccessfulOnlyAfterTerminated()
|
637
|
-
{
|
638
|
-
$this->skipIfNotEnhancedSigchild();
|
639
|
-
|
640
|
-
$process = $this->getProcessForCode('usleep(100000);');
|
641
|
-
$process->start();
|
642
|
-
|
643
|
-
$this->assertFalse($process->isSuccessful());
|
644
|
-
|
645
|
-
$process->wait();
|
646
|
-
|
647
|
-
$this->assertTrue($process->isSuccessful());
|
648
|
-
}
|
649
|
-
|
650
|
-
public function testIsNotSuccessful()
|
651
|
-
{
|
652
|
-
$this->skipIfNotEnhancedSigchild();
|
653
|
-
|
654
|
-
$process = $this->getProcessForCode('throw new \Exception(\'BOUM\');');
|
655
|
-
$process->run();
|
656
|
-
$this->assertFalse($process->isSuccessful());
|
657
|
-
}
|
658
|
-
|
659
|
-
public function testProcessIsNotSignaled()
|
660
|
-
{
|
661
|
-
if ('\\' === \DIRECTORY_SEPARATOR) {
|
662
|
-
$this->markTestSkipped('Windows does not support POSIX signals');
|
663
|
-
}
|
664
|
-
$this->skipIfNotEnhancedSigchild();
|
665
|
-
|
666
|
-
$process = $this->getProcess('echo foo');
|
667
|
-
$process->run();
|
668
|
-
$this->assertFalse($process->hasBeenSignaled());
|
669
|
-
}
|
670
|
-
|
671
|
-
public function testProcessWithoutTermSignal()
|
672
|
-
{
|
673
|
-
if ('\\' === \DIRECTORY_SEPARATOR) {
|
674
|
-
$this->markTestSkipped('Windows does not support POSIX signals');
|
675
|
-
}
|
676
|
-
$this->skipIfNotEnhancedSigchild();
|
677
|
-
|
678
|
-
$process = $this->getProcess('echo foo');
|
679
|
-
$process->run();
|
680
|
-
$this->assertEquals(0, $process->getTermSignal());
|
681
|
-
}
|
682
|
-
|
683
|
-
public function testProcessIsSignaledIfStopped()
|
684
|
-
{
|
685
|
-
if ('\\' === \DIRECTORY_SEPARATOR) {
|
686
|
-
$this->markTestSkipped('Windows does not support POSIX signals');
|
687
|
-
}
|
688
|
-
$this->skipIfNotEnhancedSigchild();
|
689
|
-
|
690
|
-
$process = $this->getProcessForCode('sleep(32);');
|
691
|
-
$process->start();
|
692
|
-
$process->stop();
|
693
|
-
$this->assertTrue($process->hasBeenSignaled());
|
694
|
-
$this->assertEquals(15, $process->getTermSignal()); // SIGTERM
|
695
|
-
}
|
696
|
-
|
697
|
-
public function testProcessThrowsExceptionWhenExternallySignaled()
|
698
|
-
{
|
699
|
-
$this->expectException('Symfony\Component\Process\Exception\RuntimeException');
|
700
|
-
$this->expectExceptionMessage('The process has been signaled');
|
701
|
-
if (!\function_exists('posix_kill')) {
|
702
|
-
$this->markTestSkipped('Function posix_kill is required.');
|
703
|
-
}
|
704
|
-
$this->skipIfNotEnhancedSigchild(false);
|
705
|
-
|
706
|
-
$process = $this->getProcessForCode('sleep(32.1);');
|
707
|
-
$process->start();
|
708
|
-
posix_kill($process->getPid(), 9); // SIGKILL
|
709
|
-
|
710
|
-
$process->wait();
|
711
|
-
}
|
712
|
-
|
713
|
-
public function testRestart()
|
714
|
-
{
|
715
|
-
$process1 = $this->getProcessForCode('echo getmypid();');
|
716
|
-
$process1->run();
|
717
|
-
$process2 = $process1->restart();
|
718
|
-
|
719
|
-
$process2->wait(); // wait for output
|
720
|
-
|
721
|
-
// Ensure that both processed finished and the output is numeric
|
722
|
-
$this->assertFalse($process1->isRunning());
|
723
|
-
$this->assertFalse($process2->isRunning());
|
724
|
-
$this->assertIsNumeric($process1->getOutput());
|
725
|
-
$this->assertIsNumeric($process2->getOutput());
|
726
|
-
|
727
|
-
// Ensure that restart returned a new process by check that the output is different
|
728
|
-
$this->assertNotEquals($process1->getOutput(), $process2->getOutput());
|
729
|
-
}
|
730
|
-
|
731
|
-
public function testRunProcessWithTimeout()
|
732
|
-
{
|
733
|
-
$this->expectException('Symfony\Component\Process\Exception\ProcessTimedOutException');
|
734
|
-
$this->expectExceptionMessage('exceeded the timeout of 0.1 seconds.');
|
735
|
-
$process = $this->getProcessForCode('sleep(30);');
|
736
|
-
$process->setTimeout(0.1);
|
737
|
-
$start = microtime(true);
|
738
|
-
try {
|
739
|
-
$process->run();
|
740
|
-
$this->fail('A RuntimeException should have been raised');
|
741
|
-
} catch (RuntimeException $e) {
|
742
|
-
}
|
743
|
-
|
744
|
-
$this->assertLessThan(15, microtime(true) - $start);
|
745
|
-
|
746
|
-
throw $e;
|
747
|
-
}
|
748
|
-
|
749
|
-
public function testIterateOverProcessWithTimeout()
|
750
|
-
{
|
751
|
-
$this->expectException('Symfony\Component\Process\Exception\ProcessTimedOutException');
|
752
|
-
$this->expectExceptionMessage('exceeded the timeout of 0.1 seconds.');
|
753
|
-
$process = $this->getProcessForCode('sleep(30);');
|
754
|
-
$process->setTimeout(0.1);
|
755
|
-
$start = microtime(true);
|
756
|
-
try {
|
757
|
-
$process->start();
|
758
|
-
foreach ($process as $buffer);
|
759
|
-
$this->fail('A RuntimeException should have been raised');
|
760
|
-
} catch (RuntimeException $e) {
|
761
|
-
}
|
762
|
-
|
763
|
-
$this->assertLessThan(15, microtime(true) - $start);
|
764
|
-
|
765
|
-
throw $e;
|
766
|
-
}
|
767
|
-
|
768
|
-
public function testCheckTimeoutOnNonStartedProcess()
|
769
|
-
{
|
770
|
-
$process = $this->getProcess('echo foo');
|
771
|
-
$this->assertNull($process->checkTimeout());
|
772
|
-
}
|
773
|
-
|
774
|
-
public function testCheckTimeoutOnTerminatedProcess()
|
775
|
-
{
|
776
|
-
$process = $this->getProcess('echo foo');
|
777
|
-
$process->run();
|
778
|
-
$this->assertNull($process->checkTimeout());
|
779
|
-
}
|
780
|
-
|
781
|
-
public function testCheckTimeoutOnStartedProcess()
|
782
|
-
{
|
783
|
-
$this->expectException('Symfony\Component\Process\Exception\ProcessTimedOutException');
|
784
|
-
$this->expectExceptionMessage('exceeded the timeout of 0.1 seconds.');
|
785
|
-
$process = $this->getProcessForCode('sleep(33);');
|
786
|
-
$process->setTimeout(0.1);
|
787
|
-
|
788
|
-
$process->start();
|
789
|
-
$start = microtime(true);
|
790
|
-
|
791
|
-
try {
|
792
|
-
while ($process->isRunning()) {
|
793
|
-
$process->checkTimeout();
|
794
|
-
usleep(100000);
|
795
|
-
}
|
796
|
-
$this->fail('A ProcessTimedOutException should have been raised');
|
797
|
-
} catch (ProcessTimedOutException $e) {
|
798
|
-
}
|
799
|
-
|
800
|
-
$this->assertLessThan(15, microtime(true) - $start);
|
801
|
-
|
802
|
-
throw $e;
|
803
|
-
}
|
804
|
-
|
805
|
-
public function testIdleTimeout()
|
806
|
-
{
|
807
|
-
$process = $this->getProcessForCode('sleep(34);');
|
808
|
-
$process->setTimeout(60);
|
809
|
-
$process->setIdleTimeout(0.1);
|
810
|
-
|
811
|
-
try {
|
812
|
-
$process->run();
|
813
|
-
|
814
|
-
$this->fail('A timeout exception was expected.');
|
815
|
-
} catch (ProcessTimedOutException $e) {
|
816
|
-
$this->assertTrue($e->isIdleTimeout());
|
817
|
-
$this->assertFalse($e->isGeneralTimeout());
|
818
|
-
$this->assertEquals(0.1, $e->getExceededTimeout());
|
819
|
-
}
|
820
|
-
}
|
821
|
-
|
822
|
-
public function testIdleTimeoutNotExceededWhenOutputIsSent()
|
823
|
-
{
|
824
|
-
$process = $this->getProcessForCode('while (true) {echo \'foo \'; usleep(1000);}');
|
825
|
-
$process->setTimeout(1);
|
826
|
-
$process->start();
|
827
|
-
|
828
|
-
while (false === strpos($process->getOutput(), 'foo')) {
|
829
|
-
usleep(1000);
|
830
|
-
}
|
831
|
-
|
832
|
-
$process->setIdleTimeout(0.5);
|
833
|
-
|
834
|
-
try {
|
835
|
-
$process->wait();
|
836
|
-
$this->fail('A timeout exception was expected.');
|
837
|
-
} catch (ProcessTimedOutException $e) {
|
838
|
-
$this->assertTrue($e->isGeneralTimeout(), 'A general timeout is expected.');
|
839
|
-
$this->assertFalse($e->isIdleTimeout(), 'No idle timeout is expected.');
|
840
|
-
$this->assertEquals(1, $e->getExceededTimeout());
|
841
|
-
}
|
842
|
-
}
|
843
|
-
|
844
|
-
public function testStartAfterATimeout()
|
845
|
-
{
|
846
|
-
$this->expectException('Symfony\Component\Process\Exception\ProcessTimedOutException');
|
847
|
-
$this->expectExceptionMessage('exceeded the timeout of 0.1 seconds.');
|
848
|
-
$process = $this->getProcessForCode('sleep(35);');
|
849
|
-
$process->setTimeout(0.1);
|
850
|
-
|
851
|
-
try {
|
852
|
-
$process->run();
|
853
|
-
$this->fail('A ProcessTimedOutException should have been raised.');
|
854
|
-
} catch (ProcessTimedOutException $e) {
|
855
|
-
}
|
856
|
-
$this->assertFalse($process->isRunning());
|
857
|
-
$process->start();
|
858
|
-
$this->assertTrue($process->isRunning());
|
859
|
-
$process->stop(0);
|
860
|
-
|
861
|
-
throw $e;
|
862
|
-
}
|
863
|
-
|
864
|
-
public function testGetPid()
|
865
|
-
{
|
866
|
-
$process = $this->getProcessForCode('sleep(36);');
|
867
|
-
$process->start();
|
868
|
-
$this->assertGreaterThan(0, $process->getPid());
|
869
|
-
$process->stop(0);
|
870
|
-
}
|
871
|
-
|
872
|
-
public function testGetPidIsNullBeforeStart()
|
873
|
-
{
|
874
|
-
$process = $this->getProcess('foo');
|
875
|
-
$this->assertNull($process->getPid());
|
876
|
-
}
|
877
|
-
|
878
|
-
public function testGetPidIsNullAfterRun()
|
879
|
-
{
|
880
|
-
$process = $this->getProcess('echo foo');
|
881
|
-
$process->run();
|
882
|
-
$this->assertNull($process->getPid());
|
883
|
-
}
|
884
|
-
|
885
|
-
/**
|
886
|
-
* @requires extension pcntl
|
887
|
-
*/
|
888
|
-
public function testSignal()
|
889
|
-
{
|
890
|
-
$process = $this->getProcess([self::$phpBin, __DIR__.'/SignalListener.php']);
|
891
|
-
$process->start();
|
892
|
-
|
893
|
-
while (false === strpos($process->getOutput(), 'Caught')) {
|
894
|
-
usleep(1000);
|
895
|
-
}
|
896
|
-
$process->signal(SIGUSR1);
|
897
|
-
$process->wait();
|
898
|
-
|
899
|
-
$this->assertEquals('Caught SIGUSR1', $process->getOutput());
|
900
|
-
}
|
901
|
-
|
902
|
-
/**
|
903
|
-
* @requires extension pcntl
|
904
|
-
*/
|
905
|
-
public function testExitCodeIsAvailableAfterSignal()
|
906
|
-
{
|
907
|
-
$this->skipIfNotEnhancedSigchild();
|
908
|
-
|
909
|
-
$process = $this->getProcess('sleep 4');
|
910
|
-
$process->start();
|
911
|
-
$process->signal(SIGKILL);
|
912
|
-
|
913
|
-
while ($process->isRunning()) {
|
914
|
-
usleep(10000);
|
915
|
-
}
|
916
|
-
|
917
|
-
$this->assertFalse($process->isRunning());
|
918
|
-
$this->assertTrue($process->hasBeenSignaled());
|
919
|
-
$this->assertFalse($process->isSuccessful());
|
920
|
-
$this->assertEquals(137, $process->getExitCode());
|
921
|
-
}
|
922
|
-
|
923
|
-
public function testSignalProcessNotRunning()
|
924
|
-
{
|
925
|
-
$this->expectException('Symfony\Component\Process\Exception\LogicException');
|
926
|
-
$this->expectExceptionMessage('Can not send signal on a non running process.');
|
927
|
-
$process = $this->getProcess('foo');
|
928
|
-
$process->signal(1); // SIGHUP
|
929
|
-
}
|
930
|
-
|
931
|
-
/**
|
932
|
-
* @dataProvider provideMethodsThatNeedARunningProcess
|
933
|
-
*/
|
934
|
-
public function testMethodsThatNeedARunningProcess($method)
|
935
|
-
{
|
936
|
-
$process = $this->getProcess('foo');
|
937
|
-
|
938
|
-
$this->expectException('Symfony\Component\Process\Exception\LogicException');
|
939
|
-
$this->expectExceptionMessage(sprintf('Process must be started before calling "%s()".', $method));
|
940
|
-
|
941
|
-
$process->{$method}();
|
942
|
-
}
|
943
|
-
|
944
|
-
public function provideMethodsThatNeedARunningProcess()
|
945
|
-
{
|
946
|
-
return [
|
947
|
-
['getOutput'],
|
948
|
-
['getIncrementalOutput'],
|
949
|
-
['getErrorOutput'],
|
950
|
-
['getIncrementalErrorOutput'],
|
951
|
-
['wait'],
|
952
|
-
];
|
953
|
-
}
|
954
|
-
|
955
|
-
/**
|
956
|
-
* @dataProvider provideMethodsThatNeedATerminatedProcess
|
957
|
-
*/
|
958
|
-
public function testMethodsThatNeedATerminatedProcess($method)
|
959
|
-
{
|
960
|
-
$this->expectException('Symfony\Component\Process\Exception\LogicException');
|
961
|
-
$this->expectExceptionMessage('Process must be terminated before calling');
|
962
|
-
$process = $this->getProcessForCode('sleep(37);');
|
963
|
-
$process->start();
|
964
|
-
try {
|
965
|
-
$process->{$method}();
|
966
|
-
$process->stop(0);
|
967
|
-
$this->fail('A LogicException must have been thrown');
|
968
|
-
} catch (\Exception $e) {
|
969
|
-
}
|
970
|
-
$process->stop(0);
|
971
|
-
|
972
|
-
throw $e;
|
973
|
-
}
|
974
|
-
|
975
|
-
public function provideMethodsThatNeedATerminatedProcess()
|
976
|
-
{
|
977
|
-
return [
|
978
|
-
['hasBeenSignaled'],
|
979
|
-
['getTermSignal'],
|
980
|
-
['hasBeenStopped'],
|
981
|
-
['getStopSignal'],
|
982
|
-
];
|
983
|
-
}
|
984
|
-
|
985
|
-
/**
|
986
|
-
* @dataProvider provideWrongSignal
|
987
|
-
*/
|
988
|
-
public function testWrongSignal($signal)
|
989
|
-
{
|
990
|
-
if ('\\' === \DIRECTORY_SEPARATOR) {
|
991
|
-
$this->markTestSkipped('POSIX signals do not work on Windows');
|
992
|
-
}
|
993
|
-
|
994
|
-
if (\PHP_VERSION_ID < 80000 || \is_int($signal)) {
|
995
|
-
$this->expectException(RuntimeException::class);
|
996
|
-
} else {
|
997
|
-
$this->expectException('TypeError');
|
998
|
-
}
|
999
|
-
|
1000
|
-
$process = $this->getProcessForCode('sleep(38);');
|
1001
|
-
$process->start();
|
1002
|
-
try {
|
1003
|
-
$process->signal($signal);
|
1004
|
-
$this->fail('A RuntimeException must have been thrown');
|
1005
|
-
} catch (\TypeError $e) {
|
1006
|
-
$process->stop(0);
|
1007
|
-
} catch (RuntimeException $e) {
|
1008
|
-
$process->stop(0);
|
1009
|
-
}
|
1010
|
-
|
1011
|
-
throw $e;
|
1012
|
-
}
|
1013
|
-
|
1014
|
-
public function provideWrongSignal()
|
1015
|
-
{
|
1016
|
-
return [
|
1017
|
-
[-4],
|
1018
|
-
['Céphalopodes'],
|
1019
|
-
];
|
1020
|
-
}
|
1021
|
-
|
1022
|
-
public function testDisableOutputDisablesTheOutput()
|
1023
|
-
{
|
1024
|
-
$p = $this->getProcess('foo');
|
1025
|
-
$this->assertFalse($p->isOutputDisabled());
|
1026
|
-
$p->disableOutput();
|
1027
|
-
$this->assertTrue($p->isOutputDisabled());
|
1028
|
-
$p->enableOutput();
|
1029
|
-
$this->assertFalse($p->isOutputDisabled());
|
1030
|
-
}
|
1031
|
-
|
1032
|
-
public function testDisableOutputWhileRunningThrowsException()
|
1033
|
-
{
|
1034
|
-
$this->expectException('Symfony\Component\Process\Exception\RuntimeException');
|
1035
|
-
$this->expectExceptionMessage('Disabling output while the process is running is not possible.');
|
1036
|
-
$p = $this->getProcessForCode('sleep(39);');
|
1037
|
-
$p->start();
|
1038
|
-
$p->disableOutput();
|
1039
|
-
}
|
1040
|
-
|
1041
|
-
public function testEnableOutputWhileRunningThrowsException()
|
1042
|
-
{
|
1043
|
-
$this->expectException('Symfony\Component\Process\Exception\RuntimeException');
|
1044
|
-
$this->expectExceptionMessage('Enabling output while the process is running is not possible.');
|
1045
|
-
$p = $this->getProcessForCode('sleep(40);');
|
1046
|
-
$p->disableOutput();
|
1047
|
-
$p->start();
|
1048
|
-
$p->enableOutput();
|
1049
|
-
}
|
1050
|
-
|
1051
|
-
public function testEnableOrDisableOutputAfterRunDoesNotThrowException()
|
1052
|
-
{
|
1053
|
-
$p = $this->getProcess('echo foo');
|
1054
|
-
$p->disableOutput();
|
1055
|
-
$p->run();
|
1056
|
-
$p->enableOutput();
|
1057
|
-
$p->disableOutput();
|
1058
|
-
$this->assertTrue($p->isOutputDisabled());
|
1059
|
-
}
|
1060
|
-
|
1061
|
-
public function testDisableOutputWhileIdleTimeoutIsSet()
|
1062
|
-
{
|
1063
|
-
$this->expectException('Symfony\Component\Process\Exception\LogicException');
|
1064
|
-
$this->expectExceptionMessage('Output can not be disabled while an idle timeout is set.');
|
1065
|
-
$process = $this->getProcess('foo');
|
1066
|
-
$process->setIdleTimeout(1);
|
1067
|
-
$process->disableOutput();
|
1068
|
-
}
|
1069
|
-
|
1070
|
-
public function testSetIdleTimeoutWhileOutputIsDisabled()
|
1071
|
-
{
|
1072
|
-
$this->expectException('Symfony\Component\Process\Exception\LogicException');
|
1073
|
-
$this->expectExceptionMessage('timeout can not be set while the output is disabled.');
|
1074
|
-
$process = $this->getProcess('foo');
|
1075
|
-
$process->disableOutput();
|
1076
|
-
$process->setIdleTimeout(1);
|
1077
|
-
}
|
1078
|
-
|
1079
|
-
public function testSetNullIdleTimeoutWhileOutputIsDisabled()
|
1080
|
-
{
|
1081
|
-
$process = $this->getProcess('foo');
|
1082
|
-
$process->disableOutput();
|
1083
|
-
$this->assertSame($process, $process->setIdleTimeout(null));
|
1084
|
-
}
|
1085
|
-
|
1086
|
-
/**
|
1087
|
-
* @dataProvider provideOutputFetchingMethods
|
1088
|
-
*/
|
1089
|
-
public function testGetOutputWhileDisabled($fetchMethod)
|
1090
|
-
{
|
1091
|
-
$this->expectException('Symfony\Component\Process\Exception\LogicException');
|
1092
|
-
$this->expectExceptionMessage('Output has been disabled.');
|
1093
|
-
$p = $this->getProcessForCode('sleep(41);');
|
1094
|
-
$p->disableOutput();
|
1095
|
-
$p->start();
|
1096
|
-
$p->{$fetchMethod}();
|
1097
|
-
}
|
1098
|
-
|
1099
|
-
public function provideOutputFetchingMethods()
|
1100
|
-
{
|
1101
|
-
return [
|
1102
|
-
['getOutput'],
|
1103
|
-
['getIncrementalOutput'],
|
1104
|
-
['getErrorOutput'],
|
1105
|
-
['getIncrementalErrorOutput'],
|
1106
|
-
];
|
1107
|
-
}
|
1108
|
-
|
1109
|
-
public function testStopTerminatesProcessCleanly()
|
1110
|
-
{
|
1111
|
-
$process = $this->getProcessForCode('echo 123; sleep(42);');
|
1112
|
-
$process->run(function () use ($process) {
|
1113
|
-
$process->stop();
|
1114
|
-
});
|
1115
|
-
$this->assertTrue(true, 'A call to stop() is not expected to cause wait() to throw a RuntimeException');
|
1116
|
-
}
|
1117
|
-
|
1118
|
-
public function testKillSignalTerminatesProcessCleanly()
|
1119
|
-
{
|
1120
|
-
$process = $this->getProcessForCode('echo 123; sleep(43);');
|
1121
|
-
$process->run(function () use ($process) {
|
1122
|
-
$process->signal(9); // SIGKILL
|
1123
|
-
});
|
1124
|
-
$this->assertTrue(true, 'A call to signal() is not expected to cause wait() to throw a RuntimeException');
|
1125
|
-
}
|
1126
|
-
|
1127
|
-
public function testTermSignalTerminatesProcessCleanly()
|
1128
|
-
{
|
1129
|
-
$process = $this->getProcessForCode('echo 123; sleep(44);');
|
1130
|
-
$process->run(function () use ($process) {
|
1131
|
-
$process->signal(15); // SIGTERM
|
1132
|
-
});
|
1133
|
-
$this->assertTrue(true, 'A call to signal() is not expected to cause wait() to throw a RuntimeException');
|
1134
|
-
}
|
1135
|
-
|
1136
|
-
public function responsesCodeProvider()
|
1137
|
-
{
|
1138
|
-
return [
|
1139
|
-
//expected output / getter / code to execute
|
1140
|
-
//[1,'getExitCode','exit(1);'],
|
1141
|
-
//[true,'isSuccessful','exit();'],
|
1142
|
-
['output', 'getOutput', 'echo \'output\';'],
|
1143
|
-
];
|
1144
|
-
}
|
1145
|
-
|
1146
|
-
public function pipesCodeProvider()
|
1147
|
-
{
|
1148
|
-
$variations = [
|
1149
|
-
'fwrite(STDOUT, $in = file_get_contents(\'php://stdin\')); fwrite(STDERR, $in);',
|
1150
|
-
'include \''.__DIR__.'/PipeStdinInStdoutStdErrStreamSelect.php\';',
|
1151
|
-
];
|
1152
|
-
|
1153
|
-
if ('\\' === \DIRECTORY_SEPARATOR) {
|
1154
|
-
// Avoid XL buffers on Windows because of https://bugs.php.net/65650
|
1155
|
-
$sizes = [1, 2, 4, 8];
|
1156
|
-
} else {
|
1157
|
-
$sizes = [1, 16, 64, 1024, 4096];
|
1158
|
-
}
|
1159
|
-
|
1160
|
-
$codes = [];
|
1161
|
-
foreach ($sizes as $size) {
|
1162
|
-
foreach ($variations as $code) {
|
1163
|
-
$codes[] = [$code, $size];
|
1164
|
-
}
|
1165
|
-
}
|
1166
|
-
|
1167
|
-
return $codes;
|
1168
|
-
}
|
1169
|
-
|
1170
|
-
/**
|
1171
|
-
* @dataProvider provideVariousIncrementals
|
1172
|
-
*/
|
1173
|
-
public function testIncrementalOutputDoesNotRequireAnotherCall($stream, $method)
|
1174
|
-
{
|
1175
|
-
$process = $this->getProcessForCode('$n = 0; while ($n < 3) { file_put_contents(\''.$stream.'\', $n, 1); $n++; usleep(1000); }', null, null, null, null);
|
1176
|
-
$process->start();
|
1177
|
-
$result = '';
|
1178
|
-
$limit = microtime(true) + 3;
|
1179
|
-
$expected = '012';
|
1180
|
-
|
1181
|
-
while ($result !== $expected && microtime(true) < $limit) {
|
1182
|
-
$result .= $process->$method();
|
1183
|
-
}
|
1184
|
-
|
1185
|
-
$this->assertSame($expected, $result);
|
1186
|
-
$process->stop();
|
1187
|
-
}
|
1188
|
-
|
1189
|
-
public function provideVariousIncrementals()
|
1190
|
-
{
|
1191
|
-
return [
|
1192
|
-
['php://stdout', 'getIncrementalOutput'],
|
1193
|
-
['php://stderr', 'getIncrementalErrorOutput'],
|
1194
|
-
];
|
1195
|
-
}
|
1196
|
-
|
1197
|
-
public function testIteratorInput()
|
1198
|
-
{
|
1199
|
-
$input = function () {
|
1200
|
-
yield 'ping';
|
1201
|
-
yield 'pong';
|
1202
|
-
};
|
1203
|
-
|
1204
|
-
$process = $this->getProcessForCode('stream_copy_to_stream(STDIN, STDOUT);', null, null, $input());
|
1205
|
-
$process->run();
|
1206
|
-
$this->assertSame('pingpong', $process->getOutput());
|
1207
|
-
}
|
1208
|
-
|
1209
|
-
public function testSimpleInputStream()
|
1210
|
-
{
|
1211
|
-
$input = new InputStream();
|
1212
|
-
|
1213
|
-
$process = $this->getProcessForCode('echo \'ping\'; echo fread(STDIN, 4); echo fread(STDIN, 4);');
|
1214
|
-
$process->setInput($input);
|
1215
|
-
|
1216
|
-
$process->start(function ($type, $data) use ($input) {
|
1217
|
-
if ('ping' === $data) {
|
1218
|
-
$input->write('pang');
|
1219
|
-
} elseif (!$input->isClosed()) {
|
1220
|
-
$input->write('pong');
|
1221
|
-
$input->close();
|
1222
|
-
}
|
1223
|
-
});
|
1224
|
-
|
1225
|
-
$process->wait();
|
1226
|
-
$this->assertSame('pingpangpong', $process->getOutput());
|
1227
|
-
}
|
1228
|
-
|
1229
|
-
public function testInputStreamWithCallable()
|
1230
|
-
{
|
1231
|
-
$i = 0;
|
1232
|
-
$stream = fopen('php://memory', 'w+');
|
1233
|
-
$stream = function () use ($stream, &$i) {
|
1234
|
-
if ($i < 3) {
|
1235
|
-
rewind($stream);
|
1236
|
-
fwrite($stream, ++$i);
|
1237
|
-
rewind($stream);
|
1238
|
-
|
1239
|
-
return $stream;
|
1240
|
-
}
|
1241
|
-
|
1242
|
-
return null;
|
1243
|
-
};
|
1244
|
-
|
1245
|
-
$input = new InputStream();
|
1246
|
-
$input->onEmpty($stream);
|
1247
|
-
$input->write($stream());
|
1248
|
-
|
1249
|
-
$process = $this->getProcessForCode('echo fread(STDIN, 3);');
|
1250
|
-
$process->setInput($input);
|
1251
|
-
$process->start(function ($type, $data) use ($input) {
|
1252
|
-
$input->close();
|
1253
|
-
});
|
1254
|
-
|
1255
|
-
$process->wait();
|
1256
|
-
$this->assertSame('123', $process->getOutput());
|
1257
|
-
}
|
1258
|
-
|
1259
|
-
public function testInputStreamWithGenerator()
|
1260
|
-
{
|
1261
|
-
$input = new InputStream();
|
1262
|
-
$input->onEmpty(function ($input) {
|
1263
|
-
yield 'pong';
|
1264
|
-
$input->close();
|
1265
|
-
});
|
1266
|
-
|
1267
|
-
$process = $this->getProcessForCode('stream_copy_to_stream(STDIN, STDOUT);');
|
1268
|
-
$process->setInput($input);
|
1269
|
-
$process->start();
|
1270
|
-
$input->write('ping');
|
1271
|
-
$process->wait();
|
1272
|
-
$this->assertSame('pingpong', $process->getOutput());
|
1273
|
-
}
|
1274
|
-
|
1275
|
-
public function testInputStreamOnEmpty()
|
1276
|
-
{
|
1277
|
-
$i = 0;
|
1278
|
-
$input = new InputStream();
|
1279
|
-
$input->onEmpty(function () use (&$i) { ++$i; });
|
1280
|
-
|
1281
|
-
$process = $this->getProcessForCode('echo 123; echo fread(STDIN, 1); echo 456;');
|
1282
|
-
$process->setInput($input);
|
1283
|
-
$process->start(function ($type, $data) use ($input) {
|
1284
|
-
if ('123' === $data) {
|
1285
|
-
$input->close();
|
1286
|
-
}
|
1287
|
-
});
|
1288
|
-
$process->wait();
|
1289
|
-
|
1290
|
-
$this->assertSame(0, $i, 'InputStream->onEmpty callback should be called only when the input *becomes* empty');
|
1291
|
-
$this->assertSame('123456', $process->getOutput());
|
1292
|
-
}
|
1293
|
-
|
1294
|
-
public function testIteratorOutput()
|
1295
|
-
{
|
1296
|
-
$input = new InputStream();
|
1297
|
-
|
1298
|
-
$process = $this->getProcessForCode('fwrite(STDOUT, 123); fwrite(STDERR, 234); flush(); usleep(10000); fwrite(STDOUT, fread(STDIN, 3)); fwrite(STDERR, 456);');
|
1299
|
-
$process->setInput($input);
|
1300
|
-
$process->start();
|
1301
|
-
$output = [];
|
1302
|
-
|
1303
|
-
foreach ($process as $type => $data) {
|
1304
|
-
$output[] = [$type, $data];
|
1305
|
-
break;
|
1306
|
-
}
|
1307
|
-
$expectedOutput = [
|
1308
|
-
[$process::OUT, '123'],
|
1309
|
-
];
|
1310
|
-
$this->assertSame($expectedOutput, $output);
|
1311
|
-
|
1312
|
-
$input->write(345);
|
1313
|
-
|
1314
|
-
foreach ($process as $type => $data) {
|
1315
|
-
$output[] = [$type, $data];
|
1316
|
-
}
|
1317
|
-
|
1318
|
-
$this->assertSame('', $process->getOutput());
|
1319
|
-
$this->assertFalse($process->isRunning());
|
1320
|
-
|
1321
|
-
$expectedOutput = [
|
1322
|
-
[$process::OUT, '123'],
|
1323
|
-
[$process::ERR, '234'],
|
1324
|
-
[$process::OUT, '345'],
|
1325
|
-
[$process::ERR, '456'],
|
1326
|
-
];
|
1327
|
-
$this->assertSame($expectedOutput, $output);
|
1328
|
-
}
|
1329
|
-
|
1330
|
-
public function testNonBlockingNorClearingIteratorOutput()
|
1331
|
-
{
|
1332
|
-
$input = new InputStream();
|
1333
|
-
|
1334
|
-
$process = $this->getProcessForCode('fwrite(STDOUT, fread(STDIN, 3));');
|
1335
|
-
$process->setInput($input);
|
1336
|
-
$process->start();
|
1337
|
-
$output = [];
|
1338
|
-
|
1339
|
-
foreach ($process->getIterator($process::ITER_NON_BLOCKING | $process::ITER_KEEP_OUTPUT) as $type => $data) {
|
1340
|
-
$output[] = [$type, $data];
|
1341
|
-
break;
|
1342
|
-
}
|
1343
|
-
$expectedOutput = [
|
1344
|
-
[$process::OUT, ''],
|
1345
|
-
];
|
1346
|
-
$this->assertSame($expectedOutput, $output);
|
1347
|
-
|
1348
|
-
$input->write(123);
|
1349
|
-
|
1350
|
-
foreach ($process->getIterator($process::ITER_NON_BLOCKING | $process::ITER_KEEP_OUTPUT) as $type => $data) {
|
1351
|
-
if ('' !== $data) {
|
1352
|
-
$output[] = [$type, $data];
|
1353
|
-
}
|
1354
|
-
}
|
1355
|
-
|
1356
|
-
$this->assertSame('123', $process->getOutput());
|
1357
|
-
$this->assertFalse($process->isRunning());
|
1358
|
-
|
1359
|
-
$expectedOutput = [
|
1360
|
-
[$process::OUT, ''],
|
1361
|
-
[$process::OUT, '123'],
|
1362
|
-
];
|
1363
|
-
$this->assertSame($expectedOutput, $output);
|
1364
|
-
}
|
1365
|
-
|
1366
|
-
public function testChainedProcesses()
|
1367
|
-
{
|
1368
|
-
$p1 = $this->getProcessForCode('fwrite(STDERR, 123); fwrite(STDOUT, 456);');
|
1369
|
-
$p2 = $this->getProcessForCode('stream_copy_to_stream(STDIN, STDOUT);');
|
1370
|
-
$p2->setInput($p1);
|
1371
|
-
|
1372
|
-
$p1->start();
|
1373
|
-
$p2->run();
|
1374
|
-
|
1375
|
-
$this->assertSame('123', $p1->getErrorOutput());
|
1376
|
-
$this->assertSame('', $p1->getOutput());
|
1377
|
-
$this->assertSame('', $p2->getErrorOutput());
|
1378
|
-
$this->assertSame('456', $p2->getOutput());
|
1379
|
-
}
|
1380
|
-
|
1381
|
-
public function testSetBadEnv()
|
1382
|
-
{
|
1383
|
-
$process = $this->getProcess('echo hello');
|
1384
|
-
$process->setEnv(['bad%%' => '123']);
|
1385
|
-
$process->inheritEnvironmentVariables(true);
|
1386
|
-
|
1387
|
-
$process->run();
|
1388
|
-
|
1389
|
-
$this->assertSame('hello'.PHP_EOL, $process->getOutput());
|
1390
|
-
$this->assertSame('', $process->getErrorOutput());
|
1391
|
-
}
|
1392
|
-
|
1393
|
-
public function testEnvBackupDoesNotDeleteExistingVars()
|
1394
|
-
{
|
1395
|
-
putenv('existing_var=foo');
|
1396
|
-
$_ENV['existing_var'] = 'foo';
|
1397
|
-
$process = $this->getProcess('php -r "echo getenv(\'new_test_var\');"');
|
1398
|
-
$process->setEnv(['existing_var' => 'bar', 'new_test_var' => 'foo']);
|
1399
|
-
$process->inheritEnvironmentVariables();
|
1400
|
-
|
1401
|
-
$process->run();
|
1402
|
-
|
1403
|
-
$this->assertSame('foo', $process->getOutput());
|
1404
|
-
$this->assertSame('foo', getenv('existing_var'));
|
1405
|
-
$this->assertFalse(getenv('new_test_var'));
|
1406
|
-
|
1407
|
-
putenv('existing_var');
|
1408
|
-
unset($_ENV['existing_var']);
|
1409
|
-
}
|
1410
|
-
|
1411
|
-
public function testEnvIsInherited()
|
1412
|
-
{
|
1413
|
-
$process = $this->getProcessForCode('echo serialize($_SERVER);', null, ['BAR' => 'BAZ', 'EMPTY' => '']);
|
1414
|
-
|
1415
|
-
putenv('FOO=BAR');
|
1416
|
-
$_ENV['FOO'] = 'BAR';
|
1417
|
-
|
1418
|
-
$process->run();
|
1419
|
-
|
1420
|
-
$expected = ['BAR' => 'BAZ', 'EMPTY' => '', 'FOO' => 'BAR'];
|
1421
|
-
$env = array_intersect_key(unserialize($process->getOutput()), $expected);
|
1422
|
-
|
1423
|
-
$this->assertEquals($expected, $env);
|
1424
|
-
|
1425
|
-
putenv('FOO');
|
1426
|
-
unset($_ENV['FOO']);
|
1427
|
-
}
|
1428
|
-
|
1429
|
-
/**
|
1430
|
-
* @group legacy
|
1431
|
-
*/
|
1432
|
-
public function testInheritEnvDisabled()
|
1433
|
-
{
|
1434
|
-
$process = $this->getProcessForCode('echo serialize($_SERVER);', null, ['BAR' => 'BAZ']);
|
1435
|
-
|
1436
|
-
putenv('FOO=BAR');
|
1437
|
-
$_ENV['FOO'] = 'BAR';
|
1438
|
-
|
1439
|
-
$this->assertSame($process, $process->inheritEnvironmentVariables(false));
|
1440
|
-
$this->assertFalse($process->areEnvironmentVariablesInherited());
|
1441
|
-
|
1442
|
-
$process->run();
|
1443
|
-
|
1444
|
-
$expected = ['BAR' => 'BAZ', 'FOO' => 'BAR'];
|
1445
|
-
$env = array_intersect_key(unserialize($process->getOutput()), $expected);
|
1446
|
-
unset($expected['FOO']);
|
1447
|
-
|
1448
|
-
$this->assertSame($expected, $env);
|
1449
|
-
|
1450
|
-
putenv('FOO');
|
1451
|
-
unset($_ENV['FOO']);
|
1452
|
-
}
|
1453
|
-
|
1454
|
-
public function testGetCommandLine()
|
1455
|
-
{
|
1456
|
-
$p = new Process(['/usr/bin/php']);
|
1457
|
-
|
1458
|
-
$expected = '\\' === \DIRECTORY_SEPARATOR ? '"/usr/bin/php"' : "'/usr/bin/php'";
|
1459
|
-
$this->assertSame($expected, $p->getCommandLine());
|
1460
|
-
}
|
1461
|
-
|
1462
|
-
/**
|
1463
|
-
* @dataProvider provideEscapeArgument
|
1464
|
-
*/
|
1465
|
-
public function testEscapeArgument($arg)
|
1466
|
-
{
|
1467
|
-
$p = new Process([self::$phpBin, '-r', 'echo $argv[1];', $arg]);
|
1468
|
-
$p->run();
|
1469
|
-
|
1470
|
-
$this->assertSame((string) $arg, $p->getOutput());
|
1471
|
-
}
|
1472
|
-
|
1473
|
-
/**
|
1474
|
-
* @dataProvider provideEscapeArgument
|
1475
|
-
* @group legacy
|
1476
|
-
*/
|
1477
|
-
public function testEscapeArgumentWhenInheritEnvDisabled($arg)
|
1478
|
-
{
|
1479
|
-
$p = new Process([self::$phpBin, '-r', 'echo $argv[1];', $arg], null, ['BAR' => 'BAZ']);
|
1480
|
-
$p->inheritEnvironmentVariables(false);
|
1481
|
-
$p->run();
|
1482
|
-
|
1483
|
-
$this->assertSame((string) $arg, $p->getOutput());
|
1484
|
-
}
|
1485
|
-
|
1486
|
-
public function testRawCommandLine()
|
1487
|
-
{
|
1488
|
-
$p = new Process(sprintf('"%s" -r %s "a" "" "b"', self::$phpBin, escapeshellarg('print_r($argv);')));
|
1489
|
-
$p->run();
|
1490
|
-
|
1491
|
-
$expected = <<<EOTXT
|
1492
|
-
Array
|
1493
|
-
(
|
1494
|
-
[0] => -
|
1495
|
-
[1] => a
|
1496
|
-
[2] =>
|
1497
|
-
[3] => b
|
1498
|
-
)
|
1499
|
-
|
1500
|
-
EOTXT;
|
1501
|
-
$this->assertSame($expected, str_replace('Standard input code', '-', $p->getOutput()));
|
1502
|
-
}
|
1503
|
-
|
1504
|
-
public function provideEscapeArgument()
|
1505
|
-
{
|
1506
|
-
yield ['a"b%c%'];
|
1507
|
-
yield ['a"b^c^'];
|
1508
|
-
yield ["a\nb'c"];
|
1509
|
-
yield ['a^b c!'];
|
1510
|
-
yield ["a!b\tc"];
|
1511
|
-
yield ['a\\\\"\\"'];
|
1512
|
-
yield ['éÉèÈàÀöä'];
|
1513
|
-
yield [null];
|
1514
|
-
yield [1];
|
1515
|
-
yield [1.1];
|
1516
|
-
}
|
1517
|
-
|
1518
|
-
public function testEnvArgument()
|
1519
|
-
{
|
1520
|
-
$env = ['FOO' => 'Foo', 'BAR' => 'Bar'];
|
1521
|
-
$cmd = '\\' === \DIRECTORY_SEPARATOR ? 'echo !FOO! !BAR! !BAZ!' : 'echo $FOO $BAR $BAZ';
|
1522
|
-
$p = new Process($cmd, null, $env);
|
1523
|
-
$p->run(null, ['BAR' => 'baR', 'BAZ' => 'baZ']);
|
1524
|
-
|
1525
|
-
$this->assertSame('Foo baR baZ', rtrim($p->getOutput()));
|
1526
|
-
$this->assertSame($env, $p->getEnv());
|
1527
|
-
}
|
1528
|
-
|
1529
|
-
public function testWaitStoppedDeadProcess()
|
1530
|
-
{
|
1531
|
-
$process = $this->getProcess(self::$phpBin.' '.__DIR__.'/ErrorProcessInitiator.php -e '.self::$phpBin);
|
1532
|
-
$process->start();
|
1533
|
-
$process->setTimeout(2);
|
1534
|
-
$process->wait();
|
1535
|
-
$this->assertFalse($process->isRunning());
|
1536
|
-
}
|
1537
|
-
|
1538
|
-
/**
|
1539
|
-
* @param string $commandline
|
1540
|
-
* @param string|null $cwd
|
1541
|
-
* @param string|null $input
|
1542
|
-
* @param int $timeout
|
1543
|
-
*
|
1544
|
-
* @return Process
|
1545
|
-
*/
|
1546
|
-
private function getProcess($commandline, $cwd = null, array $env = null, $input = null, $timeout = 60)
|
1547
|
-
{
|
1548
|
-
$process = new Process($commandline, $cwd, $env, $input, $timeout);
|
1549
|
-
$process->inheritEnvironmentVariables();
|
1550
|
-
|
1551
|
-
if (false !== $enhance = getenv('ENHANCE_SIGCHLD')) {
|
1552
|
-
try {
|
1553
|
-
$process->setEnhanceSigchildCompatibility(false);
|
1554
|
-
$process->getExitCode();
|
1555
|
-
$this->fail('ENHANCE_SIGCHLD must be used together with a sigchild-enabled PHP.');
|
1556
|
-
} catch (RuntimeException $e) {
|
1557
|
-
$this->assertSame('This PHP has been compiled with --enable-sigchild. You must use setEnhanceSigchildCompatibility() to use this method.', $e->getMessage());
|
1558
|
-
if ($enhance) {
|
1559
|
-
$process->setEnhanceSigchildCompatibility(true);
|
1560
|
-
} else {
|
1561
|
-
self::$notEnhancedSigchild = true;
|
1562
|
-
}
|
1563
|
-
}
|
1564
|
-
}
|
1565
|
-
|
1566
|
-
if (self::$process) {
|
1567
|
-
self::$process->stop(0);
|
1568
|
-
}
|
1569
|
-
|
1570
|
-
return self::$process = $process;
|
1571
|
-
}
|
1572
|
-
|
1573
|
-
/**
|
1574
|
-
* @return Process
|
1575
|
-
*/
|
1576
|
-
private function getProcessForCode($code, $cwd = null, array $env = null, $input = null, $timeout = 60)
|
1577
|
-
{
|
1578
|
-
return $this->getProcess([self::$phpBin, '-r', $code], $cwd, $env, $input, $timeout);
|
1579
|
-
}
|
1580
|
-
|
1581
|
-
private function skipIfNotEnhancedSigchild($expectException = true)
|
1582
|
-
{
|
1583
|
-
if (self::$sigchild) {
|
1584
|
-
if (!$expectException) {
|
1585
|
-
$this->markTestSkipped('PHP is compiled with --enable-sigchild.');
|
1586
|
-
} elseif (self::$notEnhancedSigchild) {
|
1587
|
-
$this->expectException('Symfony\Component\Process\Exception\RuntimeException');
|
1588
|
-
$this->expectExceptionMessage('This PHP has been compiled with --enable-sigchild.');
|
1589
|
-
}
|
1590
|
-
}
|
1591
|
-
}
|
1592
|
-
}
|
1593
|
-
|
1594
|
-
class NonStringifiable
|
1595
|
-
{
|
1596
|
-
}
|