dependabot-composer 0.90.0 → 0.90.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- metadata +4 -902
- 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/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 -9
- data/helpers/vendor/composer/autoload_files.php +0 -11
- data/helpers/vendor/composer/autoload_namespaces.php +0 -9
- data/helpers/vendor/composer/autoload_psr4.php +0 -26
- data/helpers/vendor/composer/autoload_real.php +0 -70
- data/helpers/vendor/composer/autoload_static.php +0 -128
- 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 -3240
- data/helpers/vendor/composer/ca-bundle/src/CaBundle.php +0 -308
- data/helpers/vendor/composer/composer/.gitattributes +0 -12
- data/helpers/vendor/composer/composer/.github/CONTRIBUTING.md +0 -59
- data/helpers/vendor/composer/composer/.github/ISSUE_TEMPLATE.md +0 -25
- data/helpers/vendor/composer/composer/.gitignore +0 -11
- data/helpers/vendor/composer/composer/.php_cs +0 -58
- data/helpers/vendor/composer/composer/.travis.yml +0 -76
- data/helpers/vendor/composer/composer/CHANGELOG.md +0 -767
- 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 -62
- data/helpers/vendor/composer/composer/appveyor.yml +0 -33
- data/helpers/vendor/composer/composer/bin/compile +0 -31
- data/helpers/vendor/composer/composer/bin/composer +0 -57
- data/helpers/vendor/composer/composer/composer.json +0 -81
- data/helpers/vendor/composer/composer/composer.lock +0 -1800
- data/helpers/vendor/composer/composer/doc/00-intro.md +0 -156
- data/helpers/vendor/composer/composer/doc/01-basic-usage.md +0 -266
- data/helpers/vendor/composer/composer/doc/02-libraries.md +0 -153
- data/helpers/vendor/composer/composer/doc/03-cli.md +0 -931
- data/helpers/vendor/composer/composer/doc/04-schema.md +0 -924
- data/helpers/vendor/composer/composer/doc/05-repositories.md +0 -713
- data/helpers/vendor/composer/composer/doc/06-config.md +0 -277
- data/helpers/vendor/composer/composer/doc/07-community.md +0 -35
- data/helpers/vendor/composer/composer/doc/articles/aliases.md +0 -105
- 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 -343
- data/helpers/vendor/composer/composer/doc/articles/http-basic-authentication.md +0 -59
- data/helpers/vendor/composer/composer/doc/articles/plugins.md +0 -285
- data/helpers/vendor/composer/composer/doc/articles/scripts.md +0 -304
- data/helpers/vendor/composer/composer/doc/articles/troubleshooting.md +0 -309
- 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 -50
- 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/phpunit.xml.dist +0 -35
- data/helpers/vendor/composer/composer/res/composer-repository-schema.json +0 -110
- data/helpers/vendor/composer/composer/res/composer-schema.json +0 -843
- data/helpers/vendor/composer/composer/src/Composer/Autoload/AutoloadGenerator.php +0 -1057
- data/helpers/vendor/composer/composer/src/Composer/Autoload/ClassLoader.php +0 -445
- data/helpers/vendor/composer/composer/src/Composer/Autoload/ClassMapGenerator.php +0 -222
- data/helpers/vendor/composer/composer/src/Composer/Cache.php +0 -251
- data/helpers/vendor/composer/composer/src/Composer/Command/AboutCommand.php +0 -46
- data/helpers/vendor/composer/composer/src/Composer/Command/ArchiveCommand.php +0 -165
- data/helpers/vendor/composer/composer/src/Composer/Command/BaseCommand.php +0 -181
- data/helpers/vendor/composer/composer/src/Composer/Command/BaseDependencyCommand.php +0 -255
- data/helpers/vendor/composer/composer/src/Composer/Command/CheckPlatformReqsCommand.php +0 -156
- data/helpers/vendor/composer/composer/src/Composer/Command/ClearCacheCommand.php +0 -72
- data/helpers/vendor/composer/composer/src/Composer/Command/ConfigCommand.php +0 -704
- data/helpers/vendor/composer/composer/src/Composer/Command/CreateProjectCommand.php +0 -384
- data/helpers/vendor/composer/composer/src/Composer/Command/DependsCommand.php +0 -56
- data/helpers/vendor/composer/composer/src/Composer/Command/DiagnoseCommand.php +0 -728
- data/helpers/vendor/composer/composer/src/Composer/Command/DumpAutoloadCommand.php +0 -86
- data/helpers/vendor/composer/composer/src/Composer/Command/ExecCommand.php +0 -90
- data/helpers/vendor/composer/composer/src/Composer/Command/GlobalCommand.php +0 -110
- data/helpers/vendor/composer/composer/src/Composer/Command/HomeCommand.php +0 -166
- data/helpers/vendor/composer/composer/src/Composer/Command/InitCommand.php +0 -795
- data/helpers/vendor/composer/composer/src/Composer/Command/InstallCommand.php +0 -123
- data/helpers/vendor/composer/composer/src/Composer/Command/LicensesCommand.php +0 -158
- data/helpers/vendor/composer/composer/src/Composer/Command/OutdatedCommand.php +0 -95
- data/helpers/vendor/composer/composer/src/Composer/Command/ProhibitsCommand.php +0 -56
- data/helpers/vendor/composer/composer/src/Composer/Command/RemoveCommand.php +0 -162
- data/helpers/vendor/composer/composer/src/Composer/Command/RequireCommand.php +0 -243
- data/helpers/vendor/composer/composer/src/Composer/Command/RunScriptCommand.php +0 -139
- data/helpers/vendor/composer/composer/src/Composer/Command/ScriptAliasCommand.php +0 -64
- data/helpers/vendor/composer/composer/src/Composer/Command/SearchCommand.php +0 -82
- data/helpers/vendor/composer/composer/src/Composer/Command/SelfUpdateCommand.php +0 -404
- data/helpers/vendor/composer/composer/src/Composer/Command/ShowCommand.php +0 -1014
- data/helpers/vendor/composer/composer/src/Composer/Command/StatusCommand.php +0 -213
- data/helpers/vendor/composer/composer/src/Composer/Command/SuggestsCommand.php +0 -151
- data/helpers/vendor/composer/composer/src/Composer/Command/UpdateCommand.php +0 -227
- data/helpers/vendor/composer/composer/src/Composer/Command/ValidateCommand.php +0 -171
- data/helpers/vendor/composer/composer/src/Composer/Compiler.php +0 -283
- data/helpers/vendor/composer/composer/src/Composer/Composer.php +0 -246
- data/helpers/vendor/composer/composer/src/Composer/Config.php +0 -455
- data/helpers/vendor/composer/composer/src/Composer/Config/ConfigSourceInterface.php +0 -91
- data/helpers/vendor/composer/composer/src/Composer/Config/JsonConfigSource.php +0 -267
- data/helpers/vendor/composer/composer/src/Composer/Console/Application.php +0 -481
- data/helpers/vendor/composer/composer/src/Composer/Console/HtmlOutputFormatter.php +0 -90
- data/helpers/vendor/composer/composer/src/Composer/DependencyResolver/Decisions.php +0 -199
- 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 -80
- data/helpers/vendor/composer/composer/src/Composer/DependencyResolver/PolicyInterface.php +0 -27
- data/helpers/vendor/composer/composer/src/Composer/DependencyResolver/Pool.php +0 -378
- data/helpers/vendor/composer/composer/src/Composer/DependencyResolver/Problem.php +0 -253
- data/helpers/vendor/composer/composer/src/Composer/DependencyResolver/Request.php +0 -78
- data/helpers/vendor/composer/composer/src/Composer/DependencyResolver/Rule.php +0 -263
- 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 -372
- 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 -868
- 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 -516
- 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 -175
- data/helpers/vendor/composer/composer/src/Composer/Downloader/PearPackageExtractor.php +0 -266
- data/helpers/vendor/composer/composer/src/Composer/Downloader/PerforceDownloader.php +0 -114
- 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 -536
- 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 -255
- data/helpers/vendor/composer/composer/src/Composer/IO/BufferIO.php +0 -59
- data/helpers/vendor/composer/composer/src/Composer/IO/ConsoleIO.php +0 -322
- 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 -1793
- data/helpers/vendor/composer/composer/src/Composer/Installer/BinaryInstaller.php +0 -210
- 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 -81
- 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 -301
- data/helpers/vendor/composer/composer/src/Composer/Json/JsonFormatter.php +0 -134
- data/helpers/vendor/composer/composer/src/Composer/Json/JsonManipulator.php +0 -521
- data/helpers/vendor/composer/composer/src/Composer/Json/JsonValidationException.php +0 -34
- data/helpers/vendor/composer/composer/src/Composer/Package/AliasPackage.php +0 -404
- 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 -178
- 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 -74
- data/helpers/vendor/composer/composer/src/Composer/Package/BasePackage.php +0 -250
- data/helpers/vendor/composer/composer/src/Composer/Package/Comparer/Comparer.php +0 -129
- data/helpers/vendor/composer/composer/src/Composer/Package/CompletePackage.php +0 -199
- data/helpers/vendor/composer/composer/src/Composer/Package/CompletePackageInterface.php +0 -95
- data/helpers/vendor/composer/composer/src/Composer/Package/Dumper/ArrayDumper.php +0 -145
- 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 -290
- 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 -241
- data/helpers/vendor/composer/composer/src/Composer/Package/Loader/ValidatingArrayLoader.php +0 -461
- data/helpers/vendor/composer/composer/src/Composer/Package/Locker.php +0 -438
- data/helpers/vendor/composer/composer/src/Composer/Package/Package.php +0 -612
- data/helpers/vendor/composer/composer/src/Composer/Package/PackageInterface.php +0 -361
- 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 -302
- 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 -176
- 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 -403
- 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 -208
- data/helpers/vendor/composer/composer/src/Composer/Repository/ArtifactRepository.php +0 -167
- data/helpers/vendor/composer/composer/src/Composer/Repository/BaseRepository.php +0 -157
- data/helpers/vendor/composer/composer/src/Composer/Repository/ComposerRepository.php +0 -838
- 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 -92
- 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 -190
- 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 -315
- data/helpers/vendor/composer/composer/src/Composer/Repository/RepositoryFactory.php +0 -166
- data/helpers/vendor/composer/composer/src/Composer/Repository/RepositoryInterface.php +0 -74
- data/helpers/vendor/composer/composer/src/Composer/Repository/RepositoryManager.php +0 -177
- data/helpers/vendor/composer/composer/src/Composer/Repository/RepositorySecurityException.php +0 -22
- data/helpers/vendor/composer/composer/src/Composer/Repository/Vcs/BitbucketDriver.php +0 -443
- data/helpers/vendor/composer/composer/src/Composer/Repository/Vcs/FossilDriver.php +0 -238
- 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 -222
- data/helpers/vendor/composer/composer/src/Composer/Repository/Vcs/GitHubDriver.php +0 -472
- data/helpers/vendor/composer/composer/src/Composer/Repository/Vcs/GitLabDriver.php +0 -511
- 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 -230
- data/helpers/vendor/composer/composer/src/Composer/Repository/Vcs/PerforceDriver.php +0 -181
- 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 -377
- 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 -89
- 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 -75
- 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 -79
- data/helpers/vendor/composer/composer/src/Composer/Util/Filesystem.php +0 -700
- data/helpers/vendor/composer/composer/src/Composer/Util/Git.php +0 -347
- data/helpers/vendor/composer/composer/src/Composer/Util/GitHub.php +0 -180
- data/helpers/vendor/composer/composer/src/Composer/Util/GitLab.php +0 -163
- 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 -147
- data/helpers/vendor/composer/composer/src/Composer/Util/Perforce.php +0 -575
- data/helpers/vendor/composer/composer/src/Composer/Util/Platform.php +0 -92
- data/helpers/vendor/composer/composer/src/Composer/Util/ProcessExecutor.php +0 -186
- data/helpers/vendor/composer/composer/src/Composer/Util/RemoteFilesystem.php +0 -1093
- 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 -204
- data/helpers/vendor/composer/composer/src/Composer/Util/Url.php +0 -55
- 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 -945
- data/helpers/vendor/composer/semver/CHANGELOG.md +0 -66
- 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 -58
- 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 -219
- 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 -548
- data/helpers/vendor/composer/spdx-licenses/.php_cs.dist +0 -59
- data/helpers/vendor/composer/spdx-licenses/CHANGELOG.md +0 -84
- 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 -57
- data/helpers/vendor/composer/spdx-licenses/res/spdx-exceptions.json +0 -101
- data/helpers/vendor/composer/spdx-licenses/res/spdx-licenses.json +0 -1907
- data/helpers/vendor/composer/spdx-licenses/src/SpdxLicenses.php +0 -343
- data/helpers/vendor/composer/xdebug-handler/CHANGELOG.md +0 -51
- data/helpers/vendor/composer/xdebug-handler/LICENSE +0 -21
- data/helpers/vendor/composer/xdebug-handler/README.md +0 -280
- 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 -160
- data/helpers/vendor/composer/xdebug-handler/src/Status.php +0 -163
- data/helpers/vendor/composer/xdebug-handler/src/XdebugHandler.php +0 -540
- data/helpers/vendor/justinrainbow/json-schema/.gitattributes +0 -5
- 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 -65
- 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 -147
- 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 -86
- 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 -36
- 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 -413
- 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 -330
- 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 -90
- data/helpers/vendor/psr/log/.gitignore +0 -1
- 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 -123
- data/helpers/vendor/psr/log/Psr/Log/LoggerTrait.php +0 -140
- data/helpers/vendor/psr/log/Psr/Log/NullLogger.php +0 -28
- data/helpers/vendor/psr/log/Psr/Log/Test/LoggerInterfaceTest.php +0 -144
- data/helpers/vendor/psr/log/Psr/Log/Test/TestLogger.php +0 -146
- data/helpers/vendor/psr/log/README.md +0 -52
- data/helpers/vendor/psr/log/composer.json +0 -26
- data/helpers/vendor/seld/jsonlint/.gitignore +0 -3
- data/helpers/vendor/seld/jsonlint/.travis.yml +0 -25
- data/helpers/vendor/seld/jsonlint/CHANGELOG.md +0 -66
- data/helpers/vendor/seld/jsonlint/LICENSE +0 -19
- data/helpers/vendor/seld/jsonlint/README.md +0 -89
- 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 -217
- 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 -230
- 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 -39
- 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/Timestamps.php +0 -192
- data/helpers/vendor/symfony/console/.gitignore +0 -3
- data/helpers/vendor/symfony/console/Application.php +0 -1174
- data/helpers/vendor/symfony/console/CHANGELOG.md +0 -140
- data/helpers/vendor/symfony/console/Command/Command.php +0 -654
- 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 -71
- data/helpers/vendor/symfony/console/CommandLoader/CommandLoaderInterface.php +0 -37
- data/helpers/vendor/symfony/console/CommandLoader/ContainerCommandLoader.php +0 -55
- data/helpers/vendor/symfony/console/CommandLoader/FactoryCommandLoader.php +0 -62
- data/helpers/vendor/symfony/console/ConsoleEvents.php +0 -47
- data/helpers/vendor/symfony/console/DependencyInjection/AddConsoleCommandPass.php +0 -98
- data/helpers/vendor/symfony/console/Descriptor/ApplicationDescription.php +0 -144
- data/helpers/vendor/symfony/console/Descriptor/Descriptor.php +0 -107
- data/helpers/vendor/symfony/console/Descriptor/DescriptorInterface.php +0 -31
- 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 -245
- data/helpers/vendor/symfony/console/Event/ConsoleCommandEvent.php +0 -60
- data/helpers/vendor/symfony/console/Event/ConsoleErrorEvent.php +0 -58
- data/helpers/vendor/symfony/console/Event/ConsoleEvent.php +0 -67
- data/helpers/vendor/symfony/console/Event/ConsoleTerminateEvent.php +0 -53
- data/helpers/vendor/symfony/console/EventListener/ErrorListener.php +0 -91
- 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/NamespaceNotFoundException.php +0 -21
- data/helpers/vendor/symfony/console/Exception/RuntimeException.php +0 -19
- data/helpers/vendor/symfony/console/Formatter/OutputFormatter.php +0 -278
- data/helpers/vendor/symfony/console/Formatter/OutputFormatterInterface.php +0 -71
- data/helpers/vendor/symfony/console/Formatter/OutputFormatterStyle.php +0 -203
- data/helpers/vendor/symfony/console/Formatter/OutputFormatterStyleInterface.php +0 -62
- data/helpers/vendor/symfony/console/Formatter/OutputFormatterStyleStack.php +0 -110
- data/helpers/vendor/symfony/console/Formatter/WrappableOutputFormatterInterface.php +0 -25
- data/helpers/vendor/symfony/console/Helper/DebugFormatterHelper.php +0 -127
- data/helpers/vendor/symfony/console/Helper/DescriptorHelper.php +0 -94
- data/helpers/vendor/symfony/console/Helper/FormatterHelper.php +0 -106
- 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 -156
- data/helpers/vendor/symfony/console/Helper/ProgressBar.php +0 -530
- data/helpers/vendor/symfony/console/Helper/ProgressIndicator.php +0 -269
- data/helpers/vendor/symfony/console/Helper/QuestionHelper.php +0 -434
- data/helpers/vendor/symfony/console/Helper/SymfonyQuestionHelper.php +0 -96
- data/helpers/vendor/symfony/console/Helper/Table.php +0 -808
- data/helpers/vendor/symfony/console/Helper/TableCell.php +0 -68
- data/helpers/vendor/symfony/console/Helper/TableRows.php +0 -32
- data/helpers/vendor/symfony/console/Helper/TableSeparator.php +0 -25
- data/helpers/vendor/symfony/console/Helper/TableStyle.php +0 -458
- data/helpers/vendor/symfony/console/Input/ArgvInput.php +0 -346
- data/helpers/vendor/symfony/console/Input/ArrayInput.php +0 -206
- 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 -402
- 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 -124
- data/helpers/vendor/symfony/console/Output/BufferedOutput.php +0 -45
- data/helpers/vendor/symfony/console/Output/ConsoleOutput.php +0 -161
- data/helpers/vendor/symfony/console/Output/ConsoleOutputInterface.php +0 -32
- data/helpers/vendor/symfony/console/Output/ConsoleSectionOutput.php +0 -141
- data/helpers/vendor/symfony/console/Output/NullOutput.php +0 -123
- data/helpers/vendor/symfony/console/Output/Output.php +0 -177
- data/helpers/vendor/symfony/console/Output/OutputInterface.php +0 -114
- data/helpers/vendor/symfony/console/Output/StreamOutput.php +0 -124
- data/helpers/vendor/symfony/console/Question/ChoiceQuestion.php +0 -184
- data/helpers/vendor/symfony/console/Question/ConfirmationQuestion.php +0 -59
- data/helpers/vendor/symfony/console/Question/Question.php +0 -246
- 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 -154
- data/helpers/vendor/symfony/console/Style/SymfonyStyle.php +0 -438
- data/helpers/vendor/symfony/console/Terminal.php +0 -137
- data/helpers/vendor/symfony/console/Tester/ApplicationTester.php +0 -77
- data/helpers/vendor/symfony/console/Tester/CommandTester.php +0 -79
- data/helpers/vendor/symfony/console/Tester/TesterTrait.php +0 -173
- data/helpers/vendor/symfony/console/Tests/ApplicationTest.php +0 -1791
- data/helpers/vendor/symfony/console/Tests/Command/CommandTest.php +0 -436
- 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 -61
- data/helpers/vendor/symfony/console/Tests/CommandLoader/FactoryCommandLoaderTest.php +0 -60
- data/helpers/vendor/symfony/console/Tests/DependencyInjection/AddConsoleCommandPassTest.php +0 -258
- data/helpers/vendor/symfony/console/Tests/Descriptor/AbstractDescriptorTest.php +0 -107
- 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/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/FooWithoutAliasCommand.php +0 -21
- 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_4_with_iterators.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_4_with_iterators.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/TestCommand.php +0 -28
- data/helpers/vendor/symfony/console/Tests/Fixtures/TestTiti.php +0 -21
- data/helpers/vendor/symfony/console/Tests/Fixtures/TestToto.php +0 -22
- 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 -29
- data/helpers/vendor/symfony/console/Tests/Fixtures/application_run3.txt +0 -29
- 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 -10
- 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 -16
- 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 -16
- 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/Formatter/OutputFormatterStyleStackTest.php +0 -71
- data/helpers/vendor/symfony/console/Tests/Formatter/OutputFormatterStyleTest.php +0 -100
- data/helpers/vendor/symfony/console/Tests/Formatter/OutputFormatterTest.php +0 -352
- 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 -133
- data/helpers/vendor/symfony/console/Tests/Helper/ProgressBarTest.php +0 -899
- data/helpers/vendor/symfony/console/Tests/Helper/ProgressIndicatorTest.php +0 -183
- data/helpers/vendor/symfony/console/Tests/Helper/QuestionHelperTest.php +0 -665
- data/helpers/vendor/symfony/console/Tests/Helper/SymfonyQuestionHelperTest.php +0 -168
- data/helpers/vendor/symfony/console/Tests/Helper/TableStyleTest.php +0 -28
- data/helpers/vendor/symfony/console/Tests/Helper/TableTest.php +0 -1127
- data/helpers/vendor/symfony/console/Tests/Input/ArgvInputTest.php +0 -458
- data/helpers/vendor/symfony/console/Tests/Input/ArrayInputTest.php +0 -177
- data/helpers/vendor/symfony/console/Tests/Input/InputArgumentTest.php +0 -103
- data/helpers/vendor/symfony/console/Tests/Input/InputDefinitionTest.php +0 -407
- data/helpers/vendor/symfony/console/Tests/Input/InputOptionTest.php +0 -196
- data/helpers/vendor/symfony/console/Tests/Input/InputTest.php +0 -149
- data/helpers/vendor/symfony/console/Tests/Input/StringInputTest.php +0 -87
- data/helpers/vendor/symfony/console/Tests/Logger/ConsoleLoggerTest.php +0 -215
- data/helpers/vendor/symfony/console/Tests/Output/ConsoleOutputTest.php +0 -42
- data/helpers/vendor/symfony/console/Tests/Output/ConsoleSectionOutputTest.php +0 -163
- data/helpers/vendor/symfony/console/Tests/Output/NullOutputTest.php +0 -88
- data/helpers/vendor/symfony/console/Tests/Output/OutputTest.php +0 -189
- data/helpers/vendor/symfony/console/Tests/Output/StreamOutputTest.php +0 -61
- data/helpers/vendor/symfony/console/Tests/Style/SymfonyStyleTest.php +0 -116
- data/helpers/vendor/symfony/console/Tests/TerminalTest.php +0 -44
- data/helpers/vendor/symfony/console/Tests/Tester/ApplicationTesterTest.php +0 -113
- data/helpers/vendor/symfony/console/Tests/Tester/CommandTesterTest.php +0 -207
- data/helpers/vendor/symfony/console/composer.json +0 -53
- data/helpers/vendor/symfony/console/phpunit.xml.dist +0 -41
- data/helpers/vendor/symfony/contracts/.gitignore +0 -3
- data/helpers/vendor/symfony/contracts/CHANGELOG.md +0 -12
- data/helpers/vendor/symfony/contracts/Cache/CacheInterface.php +0 -57
- data/helpers/vendor/symfony/contracts/Cache/CacheTrait.php +0 -71
- data/helpers/vendor/symfony/contracts/Cache/CallbackInterface.php +0 -30
- data/helpers/vendor/symfony/contracts/Cache/ItemInterface.php +0 -60
- data/helpers/vendor/symfony/contracts/Cache/TagAwareCacheInterface.php +0 -38
- data/helpers/vendor/symfony/contracts/LICENSE +0 -19
- data/helpers/vendor/symfony/contracts/README.md +0 -70
- data/helpers/vendor/symfony/contracts/Service/ResetInterface.php +0 -30
- data/helpers/vendor/symfony/contracts/Service/ServiceLocatorTrait.php +0 -97
- data/helpers/vendor/symfony/contracts/Service/ServiceSubscriberInterface.php +0 -53
- data/helpers/vendor/symfony/contracts/Service/ServiceSubscriberTrait.php +0 -61
- data/helpers/vendor/symfony/contracts/Tests/Cache/CacheTraitTest.php +0 -165
- data/helpers/vendor/symfony/contracts/Tests/Service/ServiceLocatorTest.php +0 -94
- data/helpers/vendor/symfony/contracts/Tests/Service/ServiceSubscriberTraitTest.php +0 -65
- data/helpers/vendor/symfony/contracts/Tests/Translation/TranslatorTest.php +0 -353
- data/helpers/vendor/symfony/contracts/Translation/LocaleAwareInterface.php +0 -31
- data/helpers/vendor/symfony/contracts/Translation/TranslatorInterface.php +0 -65
- data/helpers/vendor/symfony/contracts/Translation/TranslatorTrait.php +0 -255
- data/helpers/vendor/symfony/contracts/composer.json +0 -44
- data/helpers/vendor/symfony/contracts/phpunit.xml.dist +0 -31
- data/helpers/vendor/symfony/filesystem/.gitignore +0 -3
- data/helpers/vendor/symfony/filesystem/CHANGELOG.md +0 -59
- 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/Exception/InvalidArgumentException.php +0 -19
- data/helpers/vendor/symfony/filesystem/Filesystem.php +0 -767
- data/helpers/vendor/symfony/filesystem/LICENSE +0 -19
- 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 -1686
- data/helpers/vendor/symfony/filesystem/Tests/FilesystemTestCase.php +0 -166
- data/helpers/vendor/symfony/filesystem/Tests/Fixtures/MockStream/MockStream.php +0 -46
- 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 -69
- 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/Finder.php +0 -780
- 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/MultiplePcreFilterIterator.php +0 -112
- data/helpers/vendor/symfony/finder/Iterator/PathFilterIterator.php +0 -56
- data/helpers/vendor/symfony/finder/Iterator/RecursiveDirectoryIterator.php +0 -140
- data/helpers/vendor/symfony/finder/Iterator/SizeRangeFilterIterator.php +0 -57
- data/helpers/vendor/symfony/finder/Iterator/SortableIterator.php +0 -98
- 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 -1280
- 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 -46
- data/helpers/vendor/symfony/finder/Tests/Iterator/DateRangeFilterIteratorTest.php +0 -92
- data/helpers/vendor/symfony/finder/Tests/Iterator/DepthRangeFilterIteratorTest.php +0 -103
- data/helpers/vendor/symfony/finder/Tests/Iterator/ExcludeDirectoryFilterIteratorTest.php +0 -107
- data/helpers/vendor/symfony/finder/Tests/Iterator/FileTypeFilterIteratorTest.php +0 -82
- 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/Iterator.php +0 -55
- data/helpers/vendor/symfony/finder/Tests/Iterator/IteratorTestCase.php +0 -100
- 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 -128
- data/helpers/vendor/symfony/finder/Tests/Iterator/RecursiveDirectoryIteratorTest.php +0 -59
- data/helpers/vendor/symfony/finder/Tests/Iterator/SizeRangeFilterIteratorTest.php +0 -70
- data/helpers/vendor/symfony/finder/Tests/Iterator/SortableIteratorTest.php +0 -262
- data/helpers/vendor/symfony/finder/composer.json +0 -33
- data/helpers/vendor/symfony/finder/phpunit.xml.dist +0 -30
- 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 -26
- data/helpers/vendor/symfony/polyfill-ctype/composer.json +0 -34
- data/helpers/vendor/symfony/polyfill-mbstring/LICENSE +0 -19
- data/helpers/vendor/symfony/polyfill-mbstring/Mbstring.php +0 -800
- data/helpers/vendor/symfony/polyfill-mbstring/README.md +0 -13
- data/helpers/vendor/symfony/polyfill-mbstring/Resources/unidata/lowerCase.php +0 -1096
- data/helpers/vendor/symfony/polyfill-mbstring/Resources/unidata/titleCaseRegexp.php +0 -5
- data/helpers/vendor/symfony/polyfill-mbstring/Resources/unidata/upperCase.php +0 -1104
- data/helpers/vendor/symfony/polyfill-mbstring/bootstrap.php +0 -58
- data/helpers/vendor/symfony/polyfill-mbstring/composer.json +0 -34
- data/helpers/vendor/symfony/process/.gitignore +0 -3
- data/helpers/vendor/symfony/process/CHANGELOG.md +0 -90
- 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/ProcessSignaledException.php +0 -41
- 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 -90
- data/helpers/vendor/symfony/process/LICENSE +0 -19
- data/helpers/vendor/symfony/process/PhpExecutableFinder.php +0 -101
- data/helpers/vendor/symfony/process/PhpProcess.php +0 -76
- data/helpers/vendor/symfony/process/Pipes/AbstractPipes.php +0 -178
- 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 -1652
- data/helpers/vendor/symfony/process/ProcessUtils.php +0 -69
- data/helpers/vendor/symfony/process/README.md +0 -13
- data/helpers/vendor/symfony/process/Tests/ExecutableFinderTest.php +0 -178
- data/helpers/vendor/symfony/process/Tests/KillableProcessWithOutput.php +0 -25
- data/helpers/vendor/symfony/process/Tests/NonStopableProcess.php +0 -47
- data/helpers/vendor/symfony/process/Tests/PhpExecutableFinderTest.php +0 -49
- 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/ProcessFailedExceptionTest.php +0 -137
- data/helpers/vendor/symfony/process/Tests/ProcessTest.php +0 -1533
- 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
@@ -1,343 +0,0 @@
|
|
1
|
-
<?php
|
2
|
-
|
3
|
-
/*
|
4
|
-
* This file is part of composer/spdx-licenses.
|
5
|
-
*
|
6
|
-
* (c) Composer <https://github.com/composer>
|
7
|
-
*
|
8
|
-
* For the full copyright and license information, please view
|
9
|
-
* the LICENSE file that was distributed with this source code.
|
10
|
-
*/
|
11
|
-
|
12
|
-
namespace Composer\Spdx;
|
13
|
-
|
14
|
-
class SpdxLicenses
|
15
|
-
{
|
16
|
-
/** @var string */
|
17
|
-
const LICENSES_FILE = 'spdx-licenses.json';
|
18
|
-
|
19
|
-
/** @var string */
|
20
|
-
const EXCEPTIONS_FILE = 'spdx-exceptions.json';
|
21
|
-
|
22
|
-
/**
|
23
|
-
* Contains all the licenses.
|
24
|
-
*
|
25
|
-
* The array is indexed by license identifiers, which contain
|
26
|
-
* a numerically indexed array with license details.
|
27
|
-
*
|
28
|
-
* [ lowercased license identifier =>
|
29
|
-
* [ 0 => identifier (string), 1 => full name (string), 2 => osi certified (bool), 3 => deprecated (bool) ]
|
30
|
-
* , ...
|
31
|
-
* ]
|
32
|
-
*
|
33
|
-
* @var array
|
34
|
-
*/
|
35
|
-
private $licenses;
|
36
|
-
|
37
|
-
/**
|
38
|
-
* @var string
|
39
|
-
*/
|
40
|
-
private $licensesExpression;
|
41
|
-
|
42
|
-
/**
|
43
|
-
* Contains all the license exceptions.
|
44
|
-
*
|
45
|
-
* The array is indexed by license exception identifiers, which contain
|
46
|
-
* a numerically indexed array with license exception details.
|
47
|
-
*
|
48
|
-
* [ lowercased exception identifier =>
|
49
|
-
* [ 0 => exception identifier (string), 1 => full name (string) ]
|
50
|
-
* , ...
|
51
|
-
* ]
|
52
|
-
*
|
53
|
-
* @var array
|
54
|
-
*/
|
55
|
-
private $exceptions;
|
56
|
-
|
57
|
-
/**
|
58
|
-
* @var string
|
59
|
-
*/
|
60
|
-
private $exceptionsExpression;
|
61
|
-
|
62
|
-
public function __construct()
|
63
|
-
{
|
64
|
-
$this->loadLicenses();
|
65
|
-
$this->loadExceptions();
|
66
|
-
}
|
67
|
-
|
68
|
-
/**
|
69
|
-
* Returns license metadata by license identifier.
|
70
|
-
*
|
71
|
-
* This function adds a link to the full license text to the license metadata.
|
72
|
-
* The array returned is in the form of:
|
73
|
-
*
|
74
|
-
* [ 0 => full name (string), 1 => osi certified, 2 => link to license text (string), 3 => deprecation status (bool) ]
|
75
|
-
*
|
76
|
-
* @param string $identifier
|
77
|
-
*
|
78
|
-
* @return array|null
|
79
|
-
*/
|
80
|
-
public function getLicenseByIdentifier($identifier)
|
81
|
-
{
|
82
|
-
$key = strtolower($identifier);
|
83
|
-
|
84
|
-
if (!isset($this->licenses[$key])) {
|
85
|
-
return;
|
86
|
-
}
|
87
|
-
|
88
|
-
list($identifier, $name, $isOsiApproved, $isDeprecatedLicenseId) = $this->licenses[$key];
|
89
|
-
|
90
|
-
return array(
|
91
|
-
$name,
|
92
|
-
$isOsiApproved,
|
93
|
-
'https://spdx.org/licenses/' . $identifier . '.html#licenseText',
|
94
|
-
$isDeprecatedLicenseId,
|
95
|
-
);
|
96
|
-
}
|
97
|
-
|
98
|
-
/**
|
99
|
-
* Returns all licenses information, keyed by the lowercased license identifier.
|
100
|
-
*
|
101
|
-
* @return array[] Each item is [ 0 => identifier (string), 1 => full name (string), 2 => osi certified (bool), 3 => deprecated (bool) ]
|
102
|
-
*/
|
103
|
-
public function getLicenses()
|
104
|
-
{
|
105
|
-
return $this->licenses;
|
106
|
-
}
|
107
|
-
|
108
|
-
/**
|
109
|
-
* Returns license exception metadata by license exception identifier.
|
110
|
-
*
|
111
|
-
* This function adds a link to the full license exception text to the license exception metadata.
|
112
|
-
* The array returned is in the form of:
|
113
|
-
*
|
114
|
-
* [ 0 => full name (string), 1 => link to license text (string) ]
|
115
|
-
*
|
116
|
-
* @param string $identifier
|
117
|
-
*
|
118
|
-
* @return array|null
|
119
|
-
*/
|
120
|
-
public function getExceptionByIdentifier($identifier)
|
121
|
-
{
|
122
|
-
$key = strtolower($identifier);
|
123
|
-
|
124
|
-
if (!isset($this->exceptions[$key])) {
|
125
|
-
return;
|
126
|
-
}
|
127
|
-
|
128
|
-
list($identifier, $name) = $this->exceptions[$key];
|
129
|
-
|
130
|
-
return array(
|
131
|
-
$name,
|
132
|
-
'https://spdx.org/licenses/' . $identifier . '.html#licenseExceptionText',
|
133
|
-
);
|
134
|
-
}
|
135
|
-
|
136
|
-
/**
|
137
|
-
* Returns the short identifier of a license (or license exception) by full name.
|
138
|
-
*
|
139
|
-
* @param string $name
|
140
|
-
*
|
141
|
-
* @return string|null
|
142
|
-
*/
|
143
|
-
public function getIdentifierByName($name)
|
144
|
-
{
|
145
|
-
foreach ($this->licenses as $licenseData) {
|
146
|
-
if ($licenseData[1] === $name) {
|
147
|
-
return $licenseData[0];
|
148
|
-
}
|
149
|
-
}
|
150
|
-
|
151
|
-
foreach ($this->exceptions as $licenseData) {
|
152
|
-
if ($licenseData[1] === $name) {
|
153
|
-
return $licenseData[0];
|
154
|
-
}
|
155
|
-
}
|
156
|
-
}
|
157
|
-
|
158
|
-
/**
|
159
|
-
* Returns the OSI Approved status for a license by identifier.
|
160
|
-
*
|
161
|
-
* @param string $identifier
|
162
|
-
*
|
163
|
-
* @return bool
|
164
|
-
*/
|
165
|
-
public function isOsiApprovedByIdentifier($identifier)
|
166
|
-
{
|
167
|
-
return $this->licenses[strtolower($identifier)][2];
|
168
|
-
}
|
169
|
-
|
170
|
-
/**
|
171
|
-
* Returns the deprecation status for a license by identifier.
|
172
|
-
*
|
173
|
-
* @param string $identifier
|
174
|
-
*
|
175
|
-
* @return bool
|
176
|
-
*/
|
177
|
-
public function isDeprecatedByIdentifier($identifier)
|
178
|
-
{
|
179
|
-
return $this->licenses[strtolower($identifier)][3];
|
180
|
-
}
|
181
|
-
|
182
|
-
/**
|
183
|
-
* @param array|string $license
|
184
|
-
*
|
185
|
-
* @throws \InvalidArgumentException
|
186
|
-
*
|
187
|
-
* @return bool
|
188
|
-
*/
|
189
|
-
public function validate($license)
|
190
|
-
{
|
191
|
-
if (is_array($license)) {
|
192
|
-
$count = count($license);
|
193
|
-
if ($count !== count(array_filter($license, 'is_string'))) {
|
194
|
-
throw new \InvalidArgumentException('Array of strings expected.');
|
195
|
-
}
|
196
|
-
$license = $count > 1 ? '(' . implode(' OR ', $license) . ')' : (string) reset($license);
|
197
|
-
}
|
198
|
-
|
199
|
-
if (!is_string($license)) {
|
200
|
-
throw new \InvalidArgumentException(sprintf(
|
201
|
-
'Array or String expected, %s given.',
|
202
|
-
gettype($license)
|
203
|
-
));
|
204
|
-
}
|
205
|
-
|
206
|
-
return $this->isValidLicenseString($license);
|
207
|
-
}
|
208
|
-
|
209
|
-
/**
|
210
|
-
* @return string
|
211
|
-
*/
|
212
|
-
public static function getResourcesDir()
|
213
|
-
{
|
214
|
-
return dirname(__DIR__) . '/res';
|
215
|
-
}
|
216
|
-
|
217
|
-
private function loadLicenses()
|
218
|
-
{
|
219
|
-
if (null !== $this->licenses) {
|
220
|
-
return;
|
221
|
-
}
|
222
|
-
|
223
|
-
$json = file_get_contents(self::getResourcesDir() . '/' . self::LICENSES_FILE);
|
224
|
-
$this->licenses = array();
|
225
|
-
|
226
|
-
foreach (json_decode($json, true) as $identifier => $license) {
|
227
|
-
$this->licenses[strtolower($identifier)] = array($identifier, $license[0], $license[1], $license[2]);
|
228
|
-
}
|
229
|
-
}
|
230
|
-
|
231
|
-
private function loadExceptions()
|
232
|
-
{
|
233
|
-
if (null !== $this->exceptions) {
|
234
|
-
return;
|
235
|
-
}
|
236
|
-
|
237
|
-
$json = file_get_contents(self::getResourcesDir() . '/' . self::EXCEPTIONS_FILE);
|
238
|
-
$this->exceptions = array();
|
239
|
-
|
240
|
-
foreach (json_decode($json, true) as $identifier => $exception) {
|
241
|
-
$this->exceptions[strtolower($identifier)] = array($identifier, $exception[0]);
|
242
|
-
}
|
243
|
-
}
|
244
|
-
|
245
|
-
/**
|
246
|
-
* @return string
|
247
|
-
*/
|
248
|
-
private function getLicensesExpression()
|
249
|
-
{
|
250
|
-
if (null === $this->licensesExpression) {
|
251
|
-
$licenses = array_map('preg_quote', array_keys($this->licenses));
|
252
|
-
rsort($licenses);
|
253
|
-
$licenses = implode('|', $licenses);
|
254
|
-
$this->licensesExpression = $licenses;
|
255
|
-
}
|
256
|
-
|
257
|
-
return $this->licensesExpression;
|
258
|
-
}
|
259
|
-
|
260
|
-
/**
|
261
|
-
* @return string
|
262
|
-
*/
|
263
|
-
private function getExceptionsExpression()
|
264
|
-
{
|
265
|
-
if (null === $this->exceptionsExpression) {
|
266
|
-
$exceptions = array_map('preg_quote', array_keys($this->exceptions));
|
267
|
-
rsort($exceptions);
|
268
|
-
$exceptions = implode('|', $exceptions);
|
269
|
-
$this->exceptionsExpression = $exceptions;
|
270
|
-
}
|
271
|
-
|
272
|
-
return $this->exceptionsExpression;
|
273
|
-
}
|
274
|
-
|
275
|
-
/**
|
276
|
-
* @param string $license
|
277
|
-
*
|
278
|
-
* @throws \RuntimeException
|
279
|
-
*
|
280
|
-
* @return bool
|
281
|
-
*/
|
282
|
-
private function isValidLicenseString($license)
|
283
|
-
{
|
284
|
-
if (isset($this->licenses[strtolower($license)])) {
|
285
|
-
return true;
|
286
|
-
}
|
287
|
-
|
288
|
-
$licenses = $this->getLicensesExpression();
|
289
|
-
$exceptions = $this->getExceptionsExpression();
|
290
|
-
|
291
|
-
$regex = <<<REGEX
|
292
|
-
{
|
293
|
-
(?(DEFINE)
|
294
|
-
# idstring: 1*( ALPHA / DIGIT / - / . )
|
295
|
-
(?<idstring>[\pL\pN.-]{1,})
|
296
|
-
|
297
|
-
# license-id: taken from list
|
298
|
-
(?<licenseid>${licenses})
|
299
|
-
|
300
|
-
# license-exception-id: taken from list
|
301
|
-
(?<licenseexceptionid>${exceptions})
|
302
|
-
|
303
|
-
# license-ref: [DocumentRef-1*(idstring):]LicenseRef-1*(idstring)
|
304
|
-
(?<licenseref>(?:DocumentRef-(?&idstring):)?LicenseRef-(?&idstring))
|
305
|
-
|
306
|
-
# simple-expresssion: license-id / license-id+ / license-ref
|
307
|
-
(?<simple_expression>(?&licenseid)\+? | (?&licenseid) | (?&licenseref))
|
308
|
-
|
309
|
-
# compound-expression: 1*(
|
310
|
-
# simple-expression /
|
311
|
-
# simple-expression WITH license-exception-id /
|
312
|
-
# compound-expression AND compound-expression /
|
313
|
-
# compound-expression OR compound-expression
|
314
|
-
# ) / ( compound-expression ) )
|
315
|
-
(?<compound_head>
|
316
|
-
(?&simple_expression) ( \s+ WITH \s+ (?&licenseexceptionid))?
|
317
|
-
| \( \s* (?&compound_expression) \s* \)
|
318
|
-
)
|
319
|
-
(?<compound_expression>
|
320
|
-
(?&compound_head) (?: \s+ (?:AND|OR) \s+ (?&compound_expression))?
|
321
|
-
)
|
322
|
-
|
323
|
-
# license-expression: 1*1(simple-expression / compound-expression)
|
324
|
-
(?<license_expression>(?&compound_expression) | (?&simple_expression))
|
325
|
-
) # end of define
|
326
|
-
|
327
|
-
^(NONE | NOASSERTION | (?&license_expression))$
|
328
|
-
}xi
|
329
|
-
REGEX;
|
330
|
-
|
331
|
-
$match = preg_match($regex, $license);
|
332
|
-
|
333
|
-
if (0 === $match) {
|
334
|
-
return false;
|
335
|
-
}
|
336
|
-
|
337
|
-
if (false === $match) {
|
338
|
-
throw new \RuntimeException('Regex failed to compile/run.');
|
339
|
-
}
|
340
|
-
|
341
|
-
return true;
|
342
|
-
}
|
343
|
-
}
|
@@ -1,51 +0,0 @@
|
|
1
|
-
## [Unreleased]
|
2
|
-
|
3
|
-
## [1.3.1] - 2018-11-29
|
4
|
-
* Fixed: fail restart if `passthru` has been disabled in `disable_functions`.
|
5
|
-
* Fixed: fail restart if an ini file cannot be opened, otherwise settings will be missing.
|
6
|
-
|
7
|
-
## [1.3.0] - 2018-08-31
|
8
|
-
* Added: `setPersistent` method to use environment variables for the restart.
|
9
|
-
* Fixed: improved debugging by writing output to stderr.
|
10
|
-
* Fixed: no restart when `php_ini_scanned_files` is not functional and is needed.
|
11
|
-
|
12
|
-
## [1.2.1] - 2018-08-23
|
13
|
-
* Fixed: fatal error with apc, when using `apc.mmap_file_mask`.
|
14
|
-
|
15
|
-
## [1.2.0] - 2018-08-16
|
16
|
-
* Added: debug information using `XDEBUG_HANDLER_DEBUG`.
|
17
|
-
* Added: fluent interface for setters.
|
18
|
-
* Added: `PhpConfig` helper class for calling PHP sub-processes.
|
19
|
-
* Added: `PHPRC` original value to restart stettings, for use in a restarted process.
|
20
|
-
* Changed: internal procedure to disable ini-scanning, using `-n` command-line option.
|
21
|
-
* Fixed: replaced `escapeshellarg` usage to avoid locale problems.
|
22
|
-
* Fixed: improved color-option handling to respect double-dash delimiter.
|
23
|
-
* Fixed: color-option handling regression from main script changes.
|
24
|
-
* Fixed: improved handling when checking main script.
|
25
|
-
* Fixed: handling for standard input, that never actually did anything.
|
26
|
-
* Fixed: fatal error when ctype extension is not available.
|
27
|
-
|
28
|
-
## [1.1.0] - 2018-04-11
|
29
|
-
* Added: `getRestartSettings` method for calling PHP processes in a restarted process.
|
30
|
-
* Added: API definition and @internal class annotations.
|
31
|
-
* Added: protected `requiresRestart` method for extending classes.
|
32
|
-
* Added: `setMainScript` method for applications that change the working directory.
|
33
|
-
* Changed: private `tmpIni` variable to protected for extending classes.
|
34
|
-
* Fixed: environment variables not available in $_SERVER when restored in the restart.
|
35
|
-
* Fixed: relative path problems caused by Phar::interceptFileFuncs.
|
36
|
-
* Fixed: incorrect handling when script file cannot be found.
|
37
|
-
|
38
|
-
## [1.0.0] - 2018-03-08
|
39
|
-
* Added: PSR3 logging for optional status output.
|
40
|
-
* Added: existing ini settings are merged to catch command-line overrides.
|
41
|
-
* Added: code, tests and other artefacts to decouple from Composer.
|
42
|
-
* Break: the following class was renamed:
|
43
|
-
- `Composer\XdebugHandler` -> `Composer\XdebugHandler\XdebugHandler`
|
44
|
-
|
45
|
-
[Unreleased]: https://github.com/composer/xdebug-handler/compare/1.3.1...HEAD
|
46
|
-
[1.3.1]: https://github.com/composer/xdebug-handler/compare/1.3.0...1.3.1
|
47
|
-
[1.3.0]: https://github.com/composer/xdebug-handler/compare/1.2.1...1.3.0
|
48
|
-
[1.2.1]: https://github.com/composer/xdebug-handler/compare/1.2.0...1.2.1
|
49
|
-
[1.2.0]: https://github.com/composer/xdebug-handler/compare/1.1.0...1.2.0
|
50
|
-
[1.1.0]: https://github.com/composer/xdebug-handler/compare/1.0.0...1.1.0
|
51
|
-
[1.0.0]: https://github.com/composer/xdebug-handler/compare/d66f0d15cb57...1.0.0
|
@@ -1,21 +0,0 @@
|
|
1
|
-
MIT License
|
2
|
-
|
3
|
-
Copyright (c) 2017 Composer
|
4
|
-
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
7
|
-
in the Software without restriction, including without limitation the rights
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
10
|
-
furnished to do so, subject to the following conditions:
|
11
|
-
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
13
|
-
copies or substantial portions of the Software.
|
14
|
-
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
-
SOFTWARE.
|
@@ -1,280 +0,0 @@
|
|
1
|
-
# composer/xdebug-handler
|
2
|
-
|
3
|
-
[![packagist](https://img.shields.io/packagist/v/composer/xdebug-handler.svg)](https://packagist.org/packages/composer/xdebug-handler)
|
4
|
-
[![linux build](https://img.shields.io/travis/composer/xdebug-handler/master.svg?label=linux+build)](https://travis-ci.org/composer/xdebug-handler)
|
5
|
-
[![windows build](https://img.shields.io/appveyor/ci/Seldaek/xdebug-handler/master.svg?label=windows+build)](https://ci.appveyor.com/project/Seldaek/xdebug-handler)
|
6
|
-
![license](https://img.shields.io/github/license/composer/xdebug-handler.svg)
|
7
|
-
![php](https://img.shields.io/packagist/php-v/composer/xdebug-handler.svg?colorB=8892BF&label=php)
|
8
|
-
|
9
|
-
Restart a CLI process without loading the xdebug extension.
|
10
|
-
|
11
|
-
Originally written as part of [composer/composer](https://github.com/composer/composer),
|
12
|
-
now extracted and made available as a stand-alone library.
|
13
|
-
|
14
|
-
## Installation
|
15
|
-
|
16
|
-
Install the latest version with:
|
17
|
-
|
18
|
-
```bash
|
19
|
-
$ composer require composer/xdebug-handler
|
20
|
-
```
|
21
|
-
|
22
|
-
## Requirements
|
23
|
-
|
24
|
-
* PHP 5.3.2 minimum, although functionality is disabled below PHP 5.4.0. Using the latest PHP version is highly recommended.
|
25
|
-
|
26
|
-
## Basic Usage
|
27
|
-
```php
|
28
|
-
use Composer\XdebugHandler\XdebugHandler;
|
29
|
-
|
30
|
-
$xdebug = new XdebugHandler('myapp');
|
31
|
-
$xdebug->check();
|
32
|
-
unset($xdebug);
|
33
|
-
```
|
34
|
-
|
35
|
-
The constructor takes two parameters:
|
36
|
-
|
37
|
-
#### _$envPrefix_
|
38
|
-
This is used to create distinct environment variables and is upper-cased and prepended to default base values. The above example enables the use of:
|
39
|
-
|
40
|
-
- `MYAPP_ALLOW_XDEBUG=1` to override automatic restart and allow xdebug
|
41
|
-
- `MYAPP_ORIGINAL_INIS` to obtain ini file locations in a restarted process
|
42
|
-
|
43
|
-
#### _$colorOption_
|
44
|
-
This optional value is added to the restart command-line and is needed to force color output in a piped child process. Only long-options are supported, for example `--ansi` or `--colors=always` etc.
|
45
|
-
|
46
|
-
If the original command-line contains an argument that pattern matches this value (for example `--no-ansi`, `--colors=never`) then _$colorOption_ is ignored.
|
47
|
-
|
48
|
-
If the pattern match ends with `=auto` (for example `--colors=auto`), the argument is replaced by _$colorOption_. Otherwise it is added at either the end of the command-line, or preceding the first double-dash `--` delimiter.
|
49
|
-
|
50
|
-
## Advanced Usage
|
51
|
-
|
52
|
-
* [How it works](#how-it-works)
|
53
|
-
* [Limitations](#limitations)
|
54
|
-
* [Helper methods](#helper-methods)
|
55
|
-
* [Setter methods](#setter-methods)
|
56
|
-
* [Process configuration](#process-configuration)
|
57
|
-
* [Troubleshooting](#troubleshooting)
|
58
|
-
* [Extending the library](#extending-the-library)
|
59
|
-
|
60
|
-
### How it works
|
61
|
-
|
62
|
-
A temporary ini file is created from the loaded (and scanned) ini files, with any references to the xdebug extension commented out. Current ini settings are merged, so that most ini settings made on the command-line or by the application are included (see [Limitations](#limitations))
|
63
|
-
|
64
|
-
* `MYAPP_ALLOW_XDEBUG` is set with internal data to flag and use in the restart.
|
65
|
-
* The command-line and environment are [configured](#process-configuration) for the restart.
|
66
|
-
* The application is restarted in a new process using `passthru`.
|
67
|
-
* The restart settings are stored in the environment.
|
68
|
-
* `MYAPP_ALLOW_XDEBUG` is unset.
|
69
|
-
* The application runs and exits.
|
70
|
-
* The main process exits with the exit code from the restarted process.
|
71
|
-
|
72
|
-
### Limitations
|
73
|
-
There are a few things to be aware of when running inside a restarted process.
|
74
|
-
|
75
|
-
* Extensions set on the command-line will not be loaded.
|
76
|
-
* Ini file locations will be reported as per the restart - see [getAllIniFiles()](#getallinifiles).
|
77
|
-
* Php sub-processes may be loaded with xdebug enabled - see [Process configuration](#process-configuration).
|
78
|
-
|
79
|
-
### Helper methods
|
80
|
-
These static methods provide information from the current process, regardless of whether it has been restarted or not.
|
81
|
-
|
82
|
-
#### _getAllIniFiles()_
|
83
|
-
Returns an array of the original ini file locations. Use this instead of calling `php_ini_loaded_file` and `php_ini_scanned_files`, which will report the wrong values in a restarted process.
|
84
|
-
|
85
|
-
```php
|
86
|
-
use Composer\XdebugHandler\XdebugHandler;
|
87
|
-
|
88
|
-
$files = XdebugHandler::getAllIniFiles();
|
89
|
-
|
90
|
-
# $files[0] always exists, it could be an empty string
|
91
|
-
$loadedIni = array_shift($files);
|
92
|
-
$scannedInis = $files;
|
93
|
-
```
|
94
|
-
|
95
|
-
These locations are also available in the `MYAPP_ORIGINAL_INIS` environment variable. This is a path-separated string comprising the location returned from `php_ini_loaded_file`, which could be empty, followed by locations parsed from calling `php_ini_scanned_files`.
|
96
|
-
|
97
|
-
#### _getRestartSettings()_
|
98
|
-
Returns an array of settings that can be used with PHP [sub-processes](#sub-processes), or null if the process was not restarted.
|
99
|
-
|
100
|
-
```php
|
101
|
-
use Composer\XdebugHandler\XdebugHandler;
|
102
|
-
|
103
|
-
$settings = XdebugHandler::getRestartSettings();
|
104
|
-
/**
|
105
|
-
* $settings: array (if the current process was restarted,
|
106
|
-
* or called with the settings from a previous restart), or null
|
107
|
-
*
|
108
|
-
* 'tmpIni' => the temporary ini file used in the restart (string)
|
109
|
-
* 'scannedInis' => if there were any scanned inis (bool)
|
110
|
-
* 'scanDir' => the original PHP_INI_SCAN_DIR value (false|string)
|
111
|
-
* 'phprc' => the original PHPRC value (false|string)
|
112
|
-
* 'inis' => the original inis from getAllIniFiles (array)
|
113
|
-
* 'skipped' => the skipped version from getSkippedVersion (string)
|
114
|
-
*/
|
115
|
-
```
|
116
|
-
|
117
|
-
#### _getSkippedVersion()_
|
118
|
-
Returns the xdebug version string that was skipped by the restart, or an empty value if there was no restart (or xdebug is still loaded, perhaps by an extending class restarting for a reason other than removing xdebug).
|
119
|
-
|
120
|
-
```php
|
121
|
-
use Composer\XdebugHandler\XdebugHandler;
|
122
|
-
|
123
|
-
$version = XdebugHandler::getSkippedVersion();
|
124
|
-
# $version: '2.6.0' (for example), or an empty string
|
125
|
-
```
|
126
|
-
|
127
|
-
### Setter methods
|
128
|
-
These methods implement a fluent interface and must be called before the main `check()` method.
|
129
|
-
|
130
|
-
#### _setLogger($logger)_
|
131
|
-
Enables the output of status messages to an external PSR3 logger. All messages are reported with either `DEBUG` or `WARNING` log levels. For example (showing the level and message):
|
132
|
-
|
133
|
-
```
|
134
|
-
// Restart overridden
|
135
|
-
DEBUG Checking MYAPP_ALLOW_XDEBUG
|
136
|
-
DEBUG The xdebug extension is loaded (2.5.0)
|
137
|
-
DEBUG No restart (MYAPP_ALLOW_XDEBUG=1)
|
138
|
-
|
139
|
-
// Failed restart
|
140
|
-
DEBUG Checking MYAPP_ALLOW_XDEBUG
|
141
|
-
DEBUG The xdebug extension is loaded (2.5.0)
|
142
|
-
WARNING No restart (Unable to create temp ini file at: ...)
|
143
|
-
```
|
144
|
-
|
145
|
-
Status messages can also be output with `XDEBUG_HANDLER_DEBUG`. See [Troubleshooting](#troubleshooting).
|
146
|
-
|
147
|
-
#### _setMainScript($script)_
|
148
|
-
Sets the location of the main script to run in the restart. This is only needed in more esoteric use-cases, or if the `argv[0]` location is inaccessible. The script name `--` is supported for standard input.
|
149
|
-
|
150
|
-
#### _setPersistent()_
|
151
|
-
Configures the restart using [persistent settings](#persistent-settings), so that xdebug is not loaded in any sub-process.
|
152
|
-
|
153
|
-
Use this method if your application invokes one or more PHP sub-process and the xdebug extension is not needed. This avoids the overhead of implementing specific [sub-process](#sub-processes) strategies.
|
154
|
-
|
155
|
-
Alternatively, this method can be used to set up a _default_ xdebug-free environment which can be changed if a sub-process requires xdebug, then restored afterwards:
|
156
|
-
|
157
|
-
```php
|
158
|
-
function SubProcessWithXdebug()
|
159
|
-
{
|
160
|
-
$phpConfig = new Composer\XdebugHandler\PhpConfig();
|
161
|
-
|
162
|
-
# Set the environment to the original configuration
|
163
|
-
$phpConfig->useOriginal();
|
164
|
-
|
165
|
-
# run the process with xdebug loaded
|
166
|
-
...
|
167
|
-
|
168
|
-
# Restore xdebug-free environment
|
169
|
-
$phpConfig->usePersistent();
|
170
|
-
}
|
171
|
-
```
|
172
|
-
|
173
|
-
### Process configuration
|
174
|
-
The library offers two strategies to invoke a new PHP process without loading xdebug, using either _standard_ or _persistent_ settings. Note that this is only important if the application calls a PHP sub-process.
|
175
|
-
|
176
|
-
#### Standard settings
|
177
|
-
Uses command-line options to remove xdebug from the new process only.
|
178
|
-
|
179
|
-
* The -n option is added to the command-line. This tells PHP not to scan for additional inis.
|
180
|
-
* The temporary ini is added to the command-line with the -c option.
|
181
|
-
|
182
|
-
>_If the new process calls a PHP sub-process, xdebug will be loaded in that sub-process (unless it implements xdebug-handler, in which case there will be another restart)._
|
183
|
-
|
184
|
-
This is the default strategy used in the restart.
|
185
|
-
|
186
|
-
#### Persistent settings
|
187
|
-
Uses environment variables to remove xdebug from the new process and persist these settings to any sub-process.
|
188
|
-
|
189
|
-
* `PHP_INI_SCAN_DIR` is set to an empty string. This tells PHP not to scan for additional inis.
|
190
|
-
* `PHPRC` is set to the temporary ini.
|
191
|
-
|
192
|
-
>_If the new process calls a PHP sub-process, xdebug will not be loaded in that sub-process._
|
193
|
-
|
194
|
-
This strategy can be used in the restart by calling [setPersistent()](#setpersistent).
|
195
|
-
|
196
|
-
#### Sub-processes
|
197
|
-
The `PhpConfig` helper class makes it easy to invoke a PHP sub-process (with or without xdebug loaded), regardless of whether there has been a restart.
|
198
|
-
|
199
|
-
Each of its methods returns an array of PHP options (to add to the command-line) and sets up the environment for the required strategy. The [getRestartSettings()](#getrestartsettings) method is used internally.
|
200
|
-
|
201
|
-
* `useOriginal()` - xdebug will be loaded in the new process.
|
202
|
-
* `useStandard()` - xdebug will **not** be loaded in the new process - see [standard settings](#standard-settings).
|
203
|
-
* `userPersistent()` - xdebug will **not** be loaded in the new process - see [persistent settings](#persistent-settings)
|
204
|
-
|
205
|
-
If there was no restart, an empty options array is returned and the environment is not changed.
|
206
|
-
|
207
|
-
```php
|
208
|
-
use Composer\XdebugHandler\PhpConfig;
|
209
|
-
|
210
|
-
$config = new PhpConfig;
|
211
|
-
|
212
|
-
$options = $config->useOriginal();
|
213
|
-
# $options: empty array
|
214
|
-
# environment: PHPRC and PHP_INI_SCAN_DIR set to original values
|
215
|
-
|
216
|
-
$options = $config->useStandard();
|
217
|
-
# $options: [-n, -c, tmpIni]
|
218
|
-
# environment: PHPRC and PHP_INI_SCAN_DIR set to original values
|
219
|
-
|
220
|
-
$options = $config->usePersistent();
|
221
|
-
# $options: empty array
|
222
|
-
# environment: PHPRC=tmpIni, PHP_INI_SCAN_DIR=''
|
223
|
-
```
|
224
|
-
|
225
|
-
### Troubleshooting
|
226
|
-
The following environment settings can be used to troubleshoot unexpected behavior:
|
227
|
-
|
228
|
-
* `XDEBUG_HANDLER_DEBUG=1` Outputs status messages to `STDERR`, if it is defined, irrespective of any PSR3 logger. Each message is prefixed `xdebug-handler[pid]`, where pid is the process identifier.
|
229
|
-
|
230
|
-
* `XDEBUG_HANDLER_DEBUG=2` As above, but additionally saves the temporary ini file and reports its location in a status message.
|
231
|
-
|
232
|
-
### Extending the library
|
233
|
-
The API is defined by classes and their accessible elements that are not annotated as @internal. The main class has two protected methods that can be overridden to provide additional functionality:
|
234
|
-
|
235
|
-
#### _requiresRestart($isLoaded)_
|
236
|
-
By default the process will restart if xdebug is loaded. Extending this method allows an application to decide, by returning a boolean (or equivalent) value. It is only called if `MYAPP_ALLOW_XDEBUG` is empty, so it will not be called in the restarted process (where this variable contains internal data), or if the restart has been overridden.
|
237
|
-
|
238
|
-
Note that the [setMainScript()](#setmainscriptscript) and [setPersistent()](#setpersistent) setters can be used here, if required.
|
239
|
-
|
240
|
-
#### _restart($command)_
|
241
|
-
An application can extend this to modify the temporary ini file, its location given in the `tmpIni` property. Remember to finish with `parent::restart($command)`.
|
242
|
-
|
243
|
-
Note that the `$command` parameter is the escaped command-line string that will be used for the new process and must be treated accordingly.
|
244
|
-
|
245
|
-
#### Example
|
246
|
-
This either forces a restart if `phar.readonly` is set (even when xdebug is not loaded) and unsets it in the temporary ini file for the new process, or skips the restart if a help command has been called.
|
247
|
-
|
248
|
-
```php
|
249
|
-
use Composer\XdebugHandler\XdebugHandler;
|
250
|
-
use MyApp\Command;
|
251
|
-
|
252
|
-
class MyRestarter extends XdebugHandler
|
253
|
-
{
|
254
|
-
private $required;
|
255
|
-
|
256
|
-
protected function requiresRestart($isLoaded)
|
257
|
-
{
|
258
|
-
if (Command::isHelp()) {
|
259
|
-
return false;
|
260
|
-
}
|
261
|
-
|
262
|
-
$this->required = (bool) ini_get('phar.readonly');
|
263
|
-
return $isLoaded || $this->required;
|
264
|
-
}
|
265
|
-
|
266
|
-
protected function restart($command)
|
267
|
-
{
|
268
|
-
if ($this->required) {
|
269
|
-
$content = file_get_contents($this->tmpIni);
|
270
|
-
$content .= 'phar.readonly=0'.PHP_EOL;
|
271
|
-
file_put_contents($this->tmpIni, $content);
|
272
|
-
}
|
273
|
-
|
274
|
-
parent::restart($command);
|
275
|
-
}
|
276
|
-
}
|
277
|
-
```
|
278
|
-
|
279
|
-
## License
|
280
|
-
composer/xdebug-handler is licensed under the MIT License, see the LICENSE file for details.
|