dependabot-composer 0.113.18 → 0.113.19
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/helpers/.php_cs.cache +1 -0
- data/helpers/composer.lock +48 -48
- data/helpers/vendor/autoload.php +7 -0
- data/helpers/vendor/bin/composer +1 -0
- data/helpers/vendor/bin/jsonlint +1 -0
- data/helpers/vendor/bin/php-cs-fixer +1 -0
- data/helpers/vendor/bin/php-parse +1 -0
- data/helpers/vendor/bin/phpstan +1 -0
- data/helpers/vendor/bin/validate-json +1 -0
- data/helpers/vendor/composer/ClassLoader.php +445 -0
- data/helpers/vendor/composer/LICENSE +21 -0
- data/helpers/vendor/composer/autoload_classmap.php +180 -0
- data/helpers/vendor/composer/autoload_files.php +14 -0
- data/helpers/vendor/composer/autoload_namespaces.php +9 -0
- data/helpers/vendor/composer/autoload_psr4.php +39 -0
- data/helpers/vendor/composer/autoload_real.php +70 -0
- data/helpers/vendor/composer/autoload_static.php +371 -0
- data/helpers/vendor/composer/ca-bundle/LICENSE +19 -0
- data/helpers/vendor/composer/ca-bundle/README.md +85 -0
- data/helpers/vendor/composer/ca-bundle/composer.json +54 -0
- data/helpers/vendor/composer/ca-bundle/res/cacert.pem +3507 -0
- data/helpers/vendor/composer/ca-bundle/src/CaBundle.php +310 -0
- data/helpers/vendor/composer/composer/.editorconfig +11 -0
- data/helpers/vendor/composer/composer/.gitattributes +17 -0
- data/helpers/vendor/composer/composer/.gitignore +11 -0
- data/helpers/vendor/composer/composer/CHANGELOG.md +828 -0
- data/helpers/vendor/composer/composer/LICENSE +19 -0
- data/helpers/vendor/composer/composer/PORTING_INFO +39 -0
- data/helpers/vendor/composer/composer/README.md +62 -0
- data/helpers/vendor/composer/composer/bin/compile +31 -0
- data/helpers/vendor/composer/composer/bin/composer +62 -0
- data/helpers/vendor/composer/composer/composer.json +86 -0
- data/helpers/vendor/composer/composer/composer.lock +1800 -0
- data/helpers/vendor/composer/composer/doc/00-intro.md +156 -0
- data/helpers/vendor/composer/composer/doc/01-basic-usage.md +266 -0
- data/helpers/vendor/composer/composer/doc/02-libraries.md +153 -0
- data/helpers/vendor/composer/composer/doc/03-cli.md +941 -0
- data/helpers/vendor/composer/composer/doc/04-schema.md +924 -0
- data/helpers/vendor/composer/composer/doc/05-repositories.md +717 -0
- data/helpers/vendor/composer/composer/doc/06-config.md +299 -0
- data/helpers/vendor/composer/composer/doc/07-community.md +35 -0
- data/helpers/vendor/composer/composer/doc/articles/aliases.md +111 -0
- data/helpers/vendor/composer/composer/doc/articles/autoloader-optimization.md +111 -0
- data/helpers/vendor/composer/composer/doc/articles/custom-installers.md +204 -0
- data/helpers/vendor/composer/composer/doc/articles/handling-private-packages-with-satis.md +356 -0
- data/helpers/vendor/composer/composer/doc/articles/http-basic-authentication.md +59 -0
- data/helpers/vendor/composer/composer/doc/articles/plugins.md +290 -0
- data/helpers/vendor/composer/composer/doc/articles/scripts.md +357 -0
- data/helpers/vendor/composer/composer/doc/articles/troubleshooting.md +309 -0
- data/helpers/vendor/composer/composer/doc/articles/vendor-binaries.md +110 -0
- data/helpers/vendor/composer/composer/doc/articles/versions.md +230 -0
- data/helpers/vendor/composer/composer/doc/dev/DefaultPolicy.md +55 -0
- data/helpers/vendor/composer/composer/doc/faqs/how-do-i-install-a-package-to-a-custom-path-for-my-framework.md +50 -0
- data/helpers/vendor/composer/composer/doc/faqs/how-to-install-composer-programmatically.md +42 -0
- data/helpers/vendor/composer/composer/doc/faqs/how-to-install-untrusted-packages-safely.md +19 -0
- data/helpers/vendor/composer/composer/doc/faqs/should-i-commit-the-dependencies-in-my-vendor-directory.md +32 -0
- data/helpers/vendor/composer/composer/doc/faqs/which-version-numbering-system-does-composer-itself-use.md +4 -0
- data/helpers/vendor/composer/composer/doc/faqs/why-are-unbound-version-constraints-a-bad-idea.md +21 -0
- data/helpers/vendor/composer/composer/doc/faqs/why-are-version-constraints-combining-comparisons-and-wildcards-a-bad-idea.md +21 -0
- data/helpers/vendor/composer/composer/doc/faqs/why-can't-composer-load-repositories-recursively.md +35 -0
- data/helpers/vendor/composer/composer/doc/fixtures/fixtures.md +22 -0
- data/helpers/vendor/composer/composer/doc/fixtures/repo-composer-plain/packages.json +158 -0
- data/helpers/vendor/composer/composer/doc/fixtures/repo-composer-with-providers/p/bar/baz$923363b3c22e73abb2e3fd891c8156dd4d0821a97fd3e428bc910833e3e46dbe.json +50 -0
- data/helpers/vendor/composer/composer/doc/fixtures/repo-composer-with-providers/p/foo/bar$4baabb3303afa3e34a4d3af18fb138e5f3b79029c1f8d9ab5b477ea15776ba0a.json +77 -0
- data/helpers/vendor/composer/composer/doc/fixtures/repo-composer-with-providers/p/gar/nix$5d210670cb46c8364c8e3fb449967b9bea558b971e5b082f330ae4f1d484c321.json +50 -0
- data/helpers/vendor/composer/composer/doc/fixtures/repo-composer-with-providers/p/provider-active$1893a061e579543822389ecd12d791c612db0c05e22d90e9286e233cacd86ed8.json +16 -0
- data/helpers/vendor/composer/composer/doc/fixtures/repo-composer-with-providers/p/qux/quux$c142d1a07ca354be46b613f59f1d601923a5a00ccc5fcce50a77ecdd461eb72d.json +22 -0
- data/helpers/vendor/composer/composer/doc/fixtures/repo-composer-with-providers/packages.json +9 -0
- data/helpers/vendor/composer/composer/res/composer-repository-schema.json +110 -0
- data/helpers/vendor/composer/composer/res/composer-schema.json +847 -0
- data/helpers/vendor/composer/composer/src/Composer/Autoload/AutoloadGenerator.php +1013 -0
- data/helpers/vendor/composer/composer/src/Composer/Autoload/ClassLoader.php +445 -0
- data/helpers/vendor/composer/composer/src/Composer/Autoload/ClassMapGenerator.php +222 -0
- data/helpers/vendor/composer/composer/src/Composer/Cache.php +257 -0
- data/helpers/vendor/composer/composer/src/Composer/Command/AboutCommand.php +46 -0
- data/helpers/vendor/composer/composer/src/Composer/Command/ArchiveCommand.php +166 -0
- data/helpers/vendor/composer/composer/src/Composer/Command/BaseCommand.php +181 -0
- data/helpers/vendor/composer/composer/src/Composer/Command/BaseDependencyCommand.php +255 -0
- data/helpers/vendor/composer/composer/src/Composer/Command/CheckPlatformReqsCommand.php +162 -0
- data/helpers/vendor/composer/composer/src/Composer/Command/ClearCacheCommand.php +74 -0
- data/helpers/vendor/composer/composer/src/Composer/Command/ConfigCommand.php +722 -0
- data/helpers/vendor/composer/composer/src/Composer/Command/CreateProjectCommand.php +387 -0
- data/helpers/vendor/composer/composer/src/Composer/Command/DependsCommand.php +57 -0
- data/helpers/vendor/composer/composer/src/Composer/Command/DiagnoseCommand.php +729 -0
- data/helpers/vendor/composer/composer/src/Composer/Command/DumpAutoloadCommand.php +88 -0
- data/helpers/vendor/composer/composer/src/Composer/Command/ExecCommand.php +97 -0
- data/helpers/vendor/composer/composer/src/Composer/Command/GlobalCommand.php +111 -0
- data/helpers/vendor/composer/composer/src/Composer/Command/HomeCommand.php +168 -0
- data/helpers/vendor/composer/composer/src/Composer/Command/InitCommand.php +820 -0
- data/helpers/vendor/composer/composer/src/Composer/Command/InstallCommand.php +124 -0
- data/helpers/vendor/composer/composer/src/Composer/Command/LicensesCommand.php +159 -0
- data/helpers/vendor/composer/composer/src/Composer/Command/OutdatedCommand.php +95 -0
- data/helpers/vendor/composer/composer/src/Composer/Command/ProhibitsCommand.php +57 -0
- data/helpers/vendor/composer/composer/src/Composer/Command/RemoveCommand.php +163 -0
- data/helpers/vendor/composer/composer/src/Composer/Command/RequireCommand.php +267 -0
- data/helpers/vendor/composer/composer/src/Composer/Command/RunScriptCommand.php +142 -0
- data/helpers/vendor/composer/composer/src/Composer/Command/ScriptAliasCommand.php +66 -0
- data/helpers/vendor/composer/composer/src/Composer/Command/SearchCommand.php +83 -0
- data/helpers/vendor/composer/composer/src/Composer/Command/SelfUpdateCommand.php +405 -0
- data/helpers/vendor/composer/composer/src/Composer/Command/ShowCommand.php +1015 -0
- data/helpers/vendor/composer/composer/src/Composer/Command/StatusCommand.php +214 -0
- data/helpers/vendor/composer/composer/src/Composer/Command/SuggestsCommand.php +152 -0
- data/helpers/vendor/composer/composer/src/Composer/Command/UpdateCommand.php +228 -0
- data/helpers/vendor/composer/composer/src/Composer/Command/ValidateCommand.php +172 -0
- data/helpers/vendor/composer/composer/src/Composer/Compiler.php +284 -0
- data/helpers/vendor/composer/composer/src/Composer/Composer.php +283 -0
- data/helpers/vendor/composer/composer/src/Composer/Config.php +479 -0
- data/helpers/vendor/composer/composer/src/Composer/Config/ConfigSourceInterface.php +91 -0
- data/helpers/vendor/composer/composer/src/Composer/Config/JsonConfigSource.php +271 -0
- data/helpers/vendor/composer/composer/src/Composer/Console/Application.php +494 -0
- data/helpers/vendor/composer/composer/src/Composer/Console/HtmlOutputFormatter.php +90 -0
- data/helpers/vendor/composer/composer/src/Composer/DependencyResolver/Decisions.php +211 -0
- data/helpers/vendor/composer/composer/src/Composer/DependencyResolver/DefaultPolicy.php +285 -0
- data/helpers/vendor/composer/composer/src/Composer/DependencyResolver/GenericRule.php +91 -0
- data/helpers/vendor/composer/composer/src/Composer/DependencyResolver/Operation/InstallOperation.php +66 -0
- data/helpers/vendor/composer/composer/src/Composer/DependencyResolver/Operation/MarkAliasInstalledOperation.php +67 -0
- data/helpers/vendor/composer/composer/src/Composer/DependencyResolver/Operation/MarkAliasUninstalledOperation.php +67 -0
- data/helpers/vendor/composer/composer/src/Composer/DependencyResolver/Operation/OperationInterface.php +42 -0
- data/helpers/vendor/composer/composer/src/Composer/DependencyResolver/Operation/SolverOperation.php +50 -0
- data/helpers/vendor/composer/composer/src/Composer/DependencyResolver/Operation/UninstallOperation.php +66 -0
- data/helpers/vendor/composer/composer/src/Composer/DependencyResolver/Operation/UpdateOperation.php +80 -0
- data/helpers/vendor/composer/composer/src/Composer/DependencyResolver/PolicyInterface.php +27 -0
- data/helpers/vendor/composer/composer/src/Composer/DependencyResolver/Pool.php +378 -0
- data/helpers/vendor/composer/composer/src/Composer/DependencyResolver/Problem.php +257 -0
- data/helpers/vendor/composer/composer/src/Composer/DependencyResolver/Request.php +78 -0
- data/helpers/vendor/composer/composer/src/Composer/DependencyResolver/Rule.php +268 -0
- data/helpers/vendor/composer/composer/src/Composer/DependencyResolver/Rule2Literals.php +113 -0
- data/helpers/vendor/composer/composer/src/Composer/DependencyResolver/RuleSet.php +176 -0
- data/helpers/vendor/composer/composer/src/Composer/DependencyResolver/RuleSetGenerator.php +376 -0
- data/helpers/vendor/composer/composer/src/Composer/DependencyResolver/RuleSetIterator.php +94 -0
- data/helpers/vendor/composer/composer/src/Composer/DependencyResolver/RuleWatchChain.php +52 -0
- data/helpers/vendor/composer/composer/src/Composer/DependencyResolver/RuleWatchGraph.php +144 -0
- data/helpers/vendor/composer/composer/src/Composer/DependencyResolver/RuleWatchNode.php +113 -0
- data/helpers/vendor/composer/composer/src/Composer/DependencyResolver/Solver.php +874 -0
- data/helpers/vendor/composer/composer/src/Composer/DependencyResolver/SolverBugException.php +27 -0
- data/helpers/vendor/composer/composer/src/Composer/DependencyResolver/SolverProblemsException.php +88 -0
- data/helpers/vendor/composer/composer/src/Composer/DependencyResolver/Transaction.php +244 -0
- data/helpers/vendor/composer/composer/src/Composer/Downloader/ArchiveDownloader.php +135 -0
- data/helpers/vendor/composer/composer/src/Composer/Downloader/ChangeReportInterface.php +32 -0
- data/helpers/vendor/composer/composer/src/Composer/Downloader/DownloadManager.php +325 -0
- data/helpers/vendor/composer/composer/src/Composer/Downloader/DownloaderInterface.php +64 -0
- data/helpers/vendor/composer/composer/src/Composer/Downloader/DvcsDownloaderInterface.php +32 -0
- data/helpers/vendor/composer/composer/src/Composer/Downloader/FileDownloader.php +322 -0
- data/helpers/vendor/composer/composer/src/Composer/Downloader/FilesystemException.php +26 -0
- data/helpers/vendor/composer/composer/src/Composer/Downloader/FossilDownloader.php +116 -0
- data/helpers/vendor/composer/composer/src/Composer/Downloader/GitDownloader.php +517 -0
- data/helpers/vendor/composer/composer/src/Composer/Downloader/GzipDownloader.php +84 -0
- data/helpers/vendor/composer/composer/src/Composer/Downloader/HgDownloader.php +100 -0
- data/helpers/vendor/composer/composer/src/Composer/Downloader/PathDownloader.php +224 -0
- data/helpers/vendor/composer/composer/src/Composer/Downloader/PearPackageExtractor.php +266 -0
- data/helpers/vendor/composer/composer/src/Composer/Downloader/PerforceDownloader.php +112 -0
- data/helpers/vendor/composer/composer/src/Composer/Downloader/PharDownloader.php +36 -0
- data/helpers/vendor/composer/composer/src/Composer/Downloader/RarDownloader.php +91 -0
- data/helpers/vendor/composer/composer/src/Composer/Downloader/SvnDownloader.php +225 -0
- data/helpers/vendor/composer/composer/src/Composer/Downloader/TarDownloader.php +31 -0
- data/helpers/vendor/composer/composer/src/Composer/Downloader/TransportException.php +53 -0
- data/helpers/vendor/composer/composer/src/Composer/Downloader/VcsCapableDownloaderInterface.php +32 -0
- data/helpers/vendor/composer/composer/src/Composer/Downloader/VcsDownloader.php +293 -0
- data/helpers/vendor/composer/composer/src/Composer/Downloader/XzDownloader.php +60 -0
- data/helpers/vendor/composer/composer/src/Composer/Downloader/ZipDownloader.php +230 -0
- data/helpers/vendor/composer/composer/src/Composer/EventDispatcher/Event.php +103 -0
- data/helpers/vendor/composer/composer/src/Composer/EventDispatcher/EventDispatcher.php +544 -0
- data/helpers/vendor/composer/composer/src/Composer/EventDispatcher/EventSubscriberInterface.php +48 -0
- data/helpers/vendor/composer/composer/src/Composer/EventDispatcher/ScriptExecutionException.php +20 -0
- data/helpers/vendor/composer/composer/src/Composer/Exception/NoSslException.php +20 -0
- data/helpers/vendor/composer/composer/src/Composer/Factory.php +653 -0
- data/helpers/vendor/composer/composer/src/Composer/IO/BaseIO.php +263 -0
- data/helpers/vendor/composer/composer/src/Composer/IO/BufferIO.php +86 -0
- data/helpers/vendor/composer/composer/src/Composer/IO/ConsoleIO.php +322 -0
- data/helpers/vendor/composer/composer/src/Composer/IO/IOInterface.php +207 -0
- data/helpers/vendor/composer/composer/src/Composer/IO/NullIO.php +129 -0
- data/helpers/vendor/composer/composer/src/Composer/Installer.php +1803 -0
- data/helpers/vendor/composer/composer/src/Composer/Installer/BinaryInstaller.php +214 -0
- data/helpers/vendor/composer/composer/src/Composer/Installer/BinaryPresenceInterface.php +30 -0
- data/helpers/vendor/composer/composer/src/Composer/Installer/InstallationManager.php +326 -0
- data/helpers/vendor/composer/composer/src/Composer/Installer/InstallerEvent.php +161 -0
- data/helpers/vendor/composer/composer/src/Composer/Installer/InstallerEvents.php +43 -0
- data/helpers/vendor/composer/composer/src/Composer/Installer/InstallerInterface.php +79 -0
- data/helpers/vendor/composer/composer/src/Composer/Installer/LibraryInstaller.php +232 -0
- data/helpers/vendor/composer/composer/src/Composer/Installer/MetapackageInstaller.php +100 -0
- data/helpers/vendor/composer/composer/src/Composer/Installer/NoopInstaller.php +88 -0
- data/helpers/vendor/composer/composer/src/Composer/Installer/PackageEvent.php +65 -0
- data/helpers/vendor/composer/composer/src/Composer/Installer/PackageEvents.php +75 -0
- data/helpers/vendor/composer/composer/src/Composer/Installer/PearBinaryInstaller.php +144 -0
- data/helpers/vendor/composer/composer/src/Composer/Installer/PearInstaller.php +84 -0
- data/helpers/vendor/composer/composer/src/Composer/Installer/PluginInstaller.php +84 -0
- data/helpers/vendor/composer/composer/src/Composer/Installer/ProjectInstaller.php +99 -0
- data/helpers/vendor/composer/composer/src/Composer/Installer/SuggestedPackagesReporter.php +151 -0
- data/helpers/vendor/composer/composer/src/Composer/Json/JsonFile.php +306 -0
- data/helpers/vendor/composer/composer/src/Composer/Json/JsonFormatter.php +134 -0
- data/helpers/vendor/composer/composer/src/Composer/Json/JsonManipulator.php +522 -0
- data/helpers/vendor/composer/composer/src/Composer/Json/JsonValidationException.php +34 -0
- data/helpers/vendor/composer/composer/src/Composer/Package/AliasPackage.php +414 -0
- data/helpers/vendor/composer/composer/src/Composer/Package/Archiver/ArchivableFilesFilter.php +44 -0
- data/helpers/vendor/composer/composer/src/Composer/Package/Archiver/ArchivableFilesFinder.php +105 -0
- data/helpers/vendor/composer/composer/src/Composer/Package/Archiver/ArchiveManager.php +183 -0
- data/helpers/vendor/composer/composer/src/Composer/Package/Archiver/ArchiverInterface.php +43 -0
- data/helpers/vendor/composer/composer/src/Composer/Package/Archiver/BaseExcludeFilter.php +148 -0
- data/helpers/vendor/composer/composer/src/Composer/Package/Archiver/ComposerExcludeFilter.php +31 -0
- data/helpers/vendor/composer/composer/src/Composer/Package/Archiver/GitExcludeFilter.php +79 -0
- data/helpers/vendor/composer/composer/src/Composer/Package/Archiver/HgExcludeFilter.php +107 -0
- data/helpers/vendor/composer/composer/src/Composer/Package/Archiver/PharArchiver.php +97 -0
- data/helpers/vendor/composer/composer/src/Composer/Package/Archiver/ZipArchiver.php +74 -0
- data/helpers/vendor/composer/composer/src/Composer/Package/BasePackage.php +251 -0
- data/helpers/vendor/composer/composer/src/Composer/Package/Comparer/Comparer.php +129 -0
- data/helpers/vendor/composer/composer/src/Composer/Package/CompletePackage.php +199 -0
- data/helpers/vendor/composer/composer/src/Composer/Package/CompletePackageInterface.php +95 -0
- data/helpers/vendor/composer/composer/src/Composer/Package/Dumper/ArrayDumper.php +151 -0
- data/helpers/vendor/composer/composer/src/Composer/Package/Link.php +128 -0
- data/helpers/vendor/composer/composer/src/Composer/Package/LinkConstraint/EmptyConstraint.php +24 -0
- data/helpers/vendor/composer/composer/src/Composer/Package/LinkConstraint/LinkConstraintInterface.php +24 -0
- data/helpers/vendor/composer/composer/src/Composer/Package/LinkConstraint/MultiConstraint.php +24 -0
- data/helpers/vendor/composer/composer/src/Composer/Package/LinkConstraint/SpecificConstraint.php +24 -0
- data/helpers/vendor/composer/composer/src/Composer/Package/LinkConstraint/VersionConstraint.php +24 -0
- data/helpers/vendor/composer/composer/src/Composer/Package/Loader/ArrayLoader.php +290 -0
- data/helpers/vendor/composer/composer/src/Composer/Package/Loader/InvalidPackageException.php +46 -0
- data/helpers/vendor/composer/composer/src/Composer/Package/Loader/JsonLoader.php +45 -0
- data/helpers/vendor/composer/composer/src/Composer/Package/Loader/LoaderInterface.php +30 -0
- data/helpers/vendor/composer/composer/src/Composer/Package/Loader/RootPackageLoader.php +264 -0
- data/helpers/vendor/composer/composer/src/Composer/Package/Loader/ValidatingArrayLoader.php +499 -0
- data/helpers/vendor/composer/composer/src/Composer/Package/Locker.php +438 -0
- data/helpers/vendor/composer/composer/src/Composer/Package/Package.php +612 -0
- data/helpers/vendor/composer/composer/src/Composer/Package/PackageInterface.php +389 -0
- data/helpers/vendor/composer/composer/src/Composer/Package/RootAliasPackage.php +173 -0
- data/helpers/vendor/composer/composer/src/Composer/Package/RootPackage.php +136 -0
- data/helpers/vendor/composer/composer/src/Composer/Package/RootPackageInterface.php +142 -0
- data/helpers/vendor/composer/composer/src/Composer/Package/Version/VersionGuesser.php +302 -0
- data/helpers/vendor/composer/composer/src/Composer/Package/Version/VersionParser.php +81 -0
- data/helpers/vendor/composer/composer/src/Composer/Package/Version/VersionSelector.php +176 -0
- data/helpers/vendor/composer/composer/src/Composer/Plugin/Capability/Capability.php +23 -0
- data/helpers/vendor/composer/composer/src/Composer/Plugin/Capability/CommandProvider.php +33 -0
- data/helpers/vendor/composer/composer/src/Composer/Plugin/Capable.php +43 -0
- data/helpers/vendor/composer/composer/src/Composer/Plugin/CommandEvent.php +88 -0
- data/helpers/vendor/composer/composer/src/Composer/Plugin/PluginEvents.php +61 -0
- data/helpers/vendor/composer/composer/src/Composer/Plugin/PluginInterface.php +39 -0
- data/helpers/vendor/composer/composer/src/Composer/Plugin/PluginManager.php +406 -0
- data/helpers/vendor/composer/composer/src/Composer/Plugin/PreCommandRunEvent.php +68 -0
- data/helpers/vendor/composer/composer/src/Composer/Plugin/PreFileDownloadEvent.php +78 -0
- data/helpers/vendor/composer/composer/src/Composer/Question/StrictConfirmationQuestion.php +94 -0
- data/helpers/vendor/composer/composer/src/Composer/Repository/ArrayRepository.php +208 -0
- data/helpers/vendor/composer/composer/src/Composer/Repository/ArtifactRepository.php +107 -0
- data/helpers/vendor/composer/composer/src/Composer/Repository/BaseRepository.php +157 -0
- data/helpers/vendor/composer/composer/src/Composer/Repository/ComposerRepository.php +833 -0
- data/helpers/vendor/composer/composer/src/Composer/Repository/CompositeRepository.php +164 -0
- data/helpers/vendor/composer/composer/src/Composer/Repository/ConfigurableRepositoryInterface.php +23 -0
- data/helpers/vendor/composer/composer/src/Composer/Repository/FilesystemRepository.php +97 -0
- data/helpers/vendor/composer/composer/src/Composer/Repository/InstalledArrayRepository.php +24 -0
- data/helpers/vendor/composer/composer/src/Composer/Repository/InstalledFilesystemRepository.php +22 -0
- data/helpers/vendor/composer/composer/src/Composer/Repository/InstalledRepositoryInterface.php +24 -0
- data/helpers/vendor/composer/composer/src/Composer/Repository/InvalidRepositoryException.php +22 -0
- data/helpers/vendor/composer/composer/src/Composer/Repository/PackageRepository.php +61 -0
- data/helpers/vendor/composer/composer/src/Composer/Repository/PathRepository.php +190 -0
- data/helpers/vendor/composer/composer/src/Composer/Repository/Pear/BaseChannelReader.php +82 -0
- data/helpers/vendor/composer/composer/src/Composer/Repository/Pear/ChannelInfo.php +67 -0
- data/helpers/vendor/composer/composer/src/Composer/Repository/Pear/ChannelReader.php +101 -0
- data/helpers/vendor/composer/composer/src/Composer/Repository/Pear/ChannelRest10Reader.php +164 -0
- data/helpers/vendor/composer/composer/src/Composer/Repository/Pear/ChannelRest11Reader.php +139 -0
- data/helpers/vendor/composer/composer/src/Composer/Repository/Pear/DependencyConstraint.php +60 -0
- data/helpers/vendor/composer/composer/src/Composer/Repository/Pear/DependencyInfo.php +50 -0
- data/helpers/vendor/composer/composer/src/Composer/Repository/Pear/PackageDependencyParser.php +317 -0
- data/helpers/vendor/composer/composer/src/Composer/Repository/Pear/PackageInfo.php +94 -0
- data/helpers/vendor/composer/composer/src/Composer/Repository/Pear/ReleaseInfo.php +50 -0
- data/helpers/vendor/composer/composer/src/Composer/Repository/PearRepository.php +198 -0
- data/helpers/vendor/composer/composer/src/Composer/Repository/PlatformRepository.php +342 -0
- data/helpers/vendor/composer/composer/src/Composer/Repository/RepositoryFactory.php +169 -0
- data/helpers/vendor/composer/composer/src/Composer/Repository/RepositoryInterface.php +74 -0
- data/helpers/vendor/composer/composer/src/Composer/Repository/RepositoryManager.php +177 -0
- data/helpers/vendor/composer/composer/src/Composer/Repository/RepositorySecurityException.php +22 -0
- data/helpers/vendor/composer/composer/src/Composer/Repository/Vcs/BitbucketDriver.php +452 -0
- data/helpers/vendor/composer/composer/src/Composer/Repository/Vcs/FossilDriver.php +243 -0
- data/helpers/vendor/composer/composer/src/Composer/Repository/Vcs/GitBitbucketDriver.php +91 -0
- data/helpers/vendor/composer/composer/src/Composer/Repository/Vcs/GitDriver.php +226 -0
- data/helpers/vendor/composer/composer/src/Composer/Repository/Vcs/GitHubDriver.php +476 -0
- data/helpers/vendor/composer/composer/src/Composer/Repository/Vcs/GitLabDriver.php +518 -0
- data/helpers/vendor/composer/composer/src/Composer/Repository/Vcs/HgBitbucketDriver.php +91 -0
- data/helpers/vendor/composer/composer/src/Composer/Repository/Vcs/HgDriver.php +236 -0
- data/helpers/vendor/composer/composer/src/Composer/Repository/Vcs/PerforceDriver.php +186 -0
- data/helpers/vendor/composer/composer/src/Composer/Repository/Vcs/SvnDriver.php +397 -0
- data/helpers/vendor/composer/composer/src/Composer/Repository/Vcs/VcsDriver.php +175 -0
- data/helpers/vendor/composer/composer/src/Composer/Repository/Vcs/VcsDriverInterface.php +117 -0
- data/helpers/vendor/composer/composer/src/Composer/Repository/VcsRepository.php +410 -0
- data/helpers/vendor/composer/composer/src/Composer/Repository/VersionCacheInterface.php +23 -0
- data/helpers/vendor/composer/composer/src/Composer/Repository/WritableArrayRepository.php +66 -0
- data/helpers/vendor/composer/composer/src/Composer/Repository/WritableRepositoryInterface.php +54 -0
- data/helpers/vendor/composer/composer/src/Composer/Script/CommandEvent.php +22 -0
- data/helpers/vendor/composer/composer/src/Composer/Script/Event.php +133 -0
- data/helpers/vendor/composer/composer/src/Composer/Script/PackageEvent.php +24 -0
- data/helpers/vendor/composer/composer/src/Composer/Script/ScriptEvents.php +193 -0
- data/helpers/vendor/composer/composer/src/Composer/SelfUpdate/Keys.php +36 -0
- data/helpers/vendor/composer/composer/src/Composer/SelfUpdate/Versions.php +75 -0
- data/helpers/vendor/composer/composer/src/Composer/Util/AuthHelper.php +63 -0
- data/helpers/vendor/composer/composer/src/Composer/Util/Bitbucket.php +245 -0
- data/helpers/vendor/composer/composer/src/Composer/Util/ComposerMirror.php +57 -0
- data/helpers/vendor/composer/composer/src/Composer/Util/ConfigValidator.php +191 -0
- data/helpers/vendor/composer/composer/src/Composer/Util/ErrorHandler.php +82 -0
- data/helpers/vendor/composer/composer/src/Composer/Util/Filesystem.php +715 -0
- data/helpers/vendor/composer/composer/src/Composer/Util/Git.php +374 -0
- data/helpers/vendor/composer/composer/src/Composer/Util/GitHub.php +180 -0
- data/helpers/vendor/composer/composer/src/Composer/Util/GitLab.php +172 -0
- data/helpers/vendor/composer/composer/src/Composer/Util/Hg.php +94 -0
- data/helpers/vendor/composer/composer/src/Composer/Util/IniHelper.php +64 -0
- data/helpers/vendor/composer/composer/src/Composer/Util/NoProxyPattern.php +147 -0
- data/helpers/vendor/composer/composer/src/Composer/Util/PackageSorter.php +92 -0
- data/helpers/vendor/composer/composer/src/Composer/Util/Perforce.php +579 -0
- data/helpers/vendor/composer/composer/src/Composer/Util/Platform.php +92 -0
- data/helpers/vendor/composer/composer/src/Composer/Util/ProcessExecutor.php +193 -0
- data/helpers/vendor/composer/composer/src/Composer/Util/RemoteFilesystem.php +1126 -0
- data/helpers/vendor/composer/composer/src/Composer/Util/Silencer.php +78 -0
- data/helpers/vendor/composer/composer/src/Composer/Util/SpdxLicense.php +24 -0
- data/helpers/vendor/composer/composer/src/Composer/Util/StreamContextFactory.php +177 -0
- data/helpers/vendor/composer/composer/src/Composer/Util/Svn.php +381 -0
- data/helpers/vendor/composer/composer/src/Composer/Util/TlsHelper.php +202 -0
- data/helpers/vendor/composer/composer/src/Composer/Util/Url.php +55 -0
- data/helpers/vendor/composer/composer/src/Composer/Util/Zip.php +108 -0
- data/helpers/vendor/composer/composer/src/Composer/XdebugHandler.php +31 -0
- data/helpers/vendor/composer/composer/src/bootstrap.php +24 -0
- data/helpers/vendor/composer/installed.json +2375 -0
- data/helpers/vendor/composer/semver/CHANGELOG.md +72 -0
- data/helpers/vendor/composer/semver/LICENSE +19 -0
- data/helpers/vendor/composer/semver/README.md +70 -0
- data/helpers/vendor/composer/semver/composer.json +58 -0
- data/helpers/vendor/composer/semver/src/Comparator.php +111 -0
- data/helpers/vendor/composer/semver/src/Constraint/AbstractConstraint.php +63 -0
- data/helpers/vendor/composer/semver/src/Constraint/Constraint.php +219 -0
- data/helpers/vendor/composer/semver/src/Constraint/ConstraintInterface.php +32 -0
- data/helpers/vendor/composer/semver/src/Constraint/EmptyConstraint.php +59 -0
- data/helpers/vendor/composer/semver/src/Constraint/MultiConstraint.php +120 -0
- data/helpers/vendor/composer/semver/src/Semver.php +127 -0
- data/helpers/vendor/composer/semver/src/VersionParser.php +540 -0
- data/helpers/vendor/composer/spdx-licenses/.php_cs.dist +59 -0
- data/helpers/vendor/composer/spdx-licenses/CHANGELOG.md +94 -0
- data/helpers/vendor/composer/spdx-licenses/LICENSE +19 -0
- data/helpers/vendor/composer/spdx-licenses/README.md +69 -0
- data/helpers/vendor/composer/spdx-licenses/composer.json +56 -0
- data/helpers/vendor/composer/spdx-licenses/res/spdx-exceptions.json +110 -0
- data/helpers/vendor/composer/spdx-licenses/res/spdx-licenses.json +1982 -0
- data/helpers/vendor/composer/spdx-licenses/src/SpdxLicenses.php +343 -0
- data/helpers/vendor/composer/xdebug-handler/CHANGELOG.md +59 -0
- data/helpers/vendor/composer/xdebug-handler/LICENSE +21 -0
- data/helpers/vendor/composer/xdebug-handler/README.md +288 -0
- data/helpers/vendor/composer/xdebug-handler/composer.json +40 -0
- data/helpers/vendor/composer/xdebug-handler/src/PhpConfig.php +73 -0
- data/helpers/vendor/composer/xdebug-handler/src/Process.php +170 -0
- data/helpers/vendor/composer/xdebug-handler/src/Status.php +163 -0
- data/helpers/vendor/composer/xdebug-handler/src/XdebugHandler.php +565 -0
- data/helpers/vendor/doctrine/annotations/CHANGELOG.md +162 -0
- data/helpers/vendor/doctrine/annotations/LICENSE +19 -0
- data/helpers/vendor/doctrine/annotations/README.md +17 -0
- data/helpers/vendor/doctrine/annotations/composer.json +43 -0
- data/helpers/vendor/doctrine/annotations/docs/en/annotations.rst +223 -0
- data/helpers/vendor/doctrine/annotations/docs/en/custom.rst +341 -0
- data/helpers/vendor/doctrine/annotations/docs/en/index.rst +90 -0
- data/helpers/vendor/doctrine/annotations/docs/en/sidebar.rst +6 -0
- data/helpers/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/Annotation.php +79 -0
- data/helpers/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/Annotation/Attribute.php +47 -0
- data/helpers/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/Annotation/Attributes.php +37 -0
- data/helpers/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/Annotation/Enum.php +84 -0
- data/helpers/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/Annotation/IgnoreAnnotation.php +54 -0
- data/helpers/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/Annotation/Required.php +33 -0
- data/helpers/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/Annotation/Target.php +107 -0
- data/helpers/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/AnnotationException.php +197 -0
- data/helpers/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/AnnotationReader.php +409 -0
- data/helpers/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/AnnotationRegistry.php +174 -0
- data/helpers/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/CachedReader.php +262 -0
- data/helpers/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/DocLexer.php +147 -0
- data/helpers/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/DocParser.php +1197 -0
- data/helpers/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/FileCacheReader.php +290 -0
- data/helpers/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/IndexedReader.php +119 -0
- data/helpers/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/PhpParser.php +91 -0
- data/helpers/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/Reader.php +89 -0
- data/helpers/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/SimpleAnnotationReader.php +127 -0
- data/helpers/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/TokenParser.php +194 -0
- data/helpers/vendor/doctrine/annotations/phpbench.json.dist +4 -0
- data/helpers/vendor/doctrine/annotations/phpstan.neon +14 -0
- data/helpers/vendor/doctrine/lexer/.doctrine-project.json +17 -0
- data/helpers/vendor/doctrine/lexer/.github/FUNDING.yml +3 -0
- data/helpers/vendor/doctrine/lexer/.gitignore +2 -0
- data/helpers/vendor/doctrine/lexer/LICENSE +19 -0
- data/helpers/vendor/doctrine/lexer/README.md +7 -0
- data/helpers/vendor/doctrine/lexer/composer.json +36 -0
- data/helpers/vendor/doctrine/lexer/docs/en/dql-parser.rst +294 -0
- data/helpers/vendor/doctrine/lexer/docs/en/index.rst +53 -0
- data/helpers/vendor/doctrine/lexer/docs/en/sidebar.rst +6 -0
- data/helpers/vendor/doctrine/lexer/docs/en/simple-parser-example.rst +102 -0
- data/helpers/vendor/doctrine/lexer/lib/Doctrine/Common/Lexer/AbstractLexer.php +332 -0
- data/helpers/vendor/doctrine/lexer/phpunit.xml.dist +26 -0
- data/helpers/vendor/doctrine/lexer/tests/Doctrine/Common/Lexer/AbstractLexerTest.php +268 -0
- data/helpers/vendor/doctrine/lexer/tests/Doctrine/Common/Lexer/ConcreteLexer.php +49 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/.php_cs.dist +48 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/CHANGELOG.md +2844 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/CONTRIBUTING.md +41 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/LICENSE +20 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/README.rst +2079 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/UPGRADE.md +184 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/box.json.dist +34 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/composer.json +81 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/dev-tools/bin-download.sh +23 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/dev-tools/build.sh +22 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/dev-tools/check-shell-scripts.sh +21 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/dev-tools/ci-integration.sh +8 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/dev-tools/composer.json +19 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/dev-tools/info-extractor.php +14 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/dev-tools/trigger-website.sh +28 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/doc/COOKBOOK-FIXERS.md +523 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/doc/checkstyle.xsd +44 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/doc/junit-10.xsd +135 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/doc/schema.json +47 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/doc/xml.xsd +83 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/php-cs-fixer +79 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/AbstractAlignFixerHelper.php +125 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/AbstractDoctrineAnnotationFixer.php +224 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/AbstractFixer.php +227 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/AbstractFopenFlagFixer.php +127 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/AbstractFunctionReferenceFixer.php +68 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/AbstractLinesBeforeNamespaceFixer.php +110 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/AbstractNoUselessElseFixer.php +211 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/AbstractPhpdocTypesFixer.php +137 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/AbstractProxyFixer.php +122 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/AbstractPsrAutoloadingFixer.php +87 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Cache/Cache.php +145 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Cache/CacheInterface.php +56 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Cache/CacheManagerInterface.php +35 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Cache/Directory.php +53 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Cache/DirectoryInterface.php +26 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Cache/FileCacheManager.php +125 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Cache/FileHandler.php +99 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Cache/FileHandlerInterface.php +36 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Cache/NullCacheManager.php +30 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Cache/Signature.php +111 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Cache/SignatureInterface.php +53 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Config.php +280 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/ConfigInterface.php +196 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/ConfigurationException/InvalidConfigurationException.php +40 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/ConfigurationException/InvalidFixerConfigurationException.php +54 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/ConfigurationException/InvalidForEnvFixerConfigurationException.php +22 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/ConfigurationException/RequiredFixerConfigurationException.php +22 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Console/Application.php +114 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Console/Command/DescribeCommand.php +408 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Console/Command/DescribeNameNotFoundException.php +57 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Console/Command/FixCommand.php +270 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Console/Command/FixCommandExitStatusCalculator.php +57 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Console/Command/HelpCommand.php +622 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Console/Command/ReadmeCommand.php +294 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Console/Command/SelfUpdateCommand.php +176 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Console/ConfigurationResolver.php +936 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Console/Output/ErrorOutput.php +154 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Console/Output/NullOutput.php +23 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Console/Output/ProcessOutput.php +147 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Console/Output/ProcessOutputInterface.php +21 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Console/SelfUpdate/GithubClient.php +52 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Console/SelfUpdate/GithubClientInterface.php +24 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Console/SelfUpdate/NewVersionChecker.php +117 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Console/SelfUpdate/NewVersionCheckerInterface.php +46 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Console/WarningsDetector.php +74 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Differ/DiffConsoleFormatter.php +102 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Differ/DifferInterface.php +31 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Differ/FullDiffer.php +48 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Differ/NullDiffer.php +27 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Differ/SebastianBergmannDiffer.php +39 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Differ/SebastianBergmannShortDiffer.php +39 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Differ/UnifiedDiffer.php +43 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/DocBlock/Annotation.php +307 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/DocBlock/DocBlock.php +187 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/DocBlock/Line.php +144 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/DocBlock/ShortDescription.php +63 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/DocBlock/Tag.php +113 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/DocBlock/TagComparator.php +60 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Doctrine/Annotation/Token.php +99 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Doctrine/Annotation/Tokens.php +379 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Error/Error.php +119 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Error/ErrorsManager.php +82 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/FileReader.php +87 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/FileRemoval.php +80 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Finder.php +36 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Alias/BacktickToShellExecFixer.php +147 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Alias/EregToPregFixer.php +184 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Alias/MbStrFunctionsFixer.php +112 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Alias/NoAliasFunctionsFixer.php +217 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Alias/NoMixedEchoPrintFixer.php +163 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Alias/PowToExponentiationFixer.php +214 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Alias/RandomApiMigrationFixer.php +167 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Alias/SetTypeToCastFixer.php +255 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/ArrayNotation/ArraySyntaxFixer.php +150 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/ArrayNotation/NoMultilineWhitespaceAroundDoubleArrowFixer.php +86 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/ArrayNotation/NoTrailingCommaInSinglelineArrayFixer.php +90 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/ArrayNotation/NoWhitespaceBeforeCommaInArrayFixer.php +154 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/ArrayNotation/NormalizeIndexBraceFixer.php +59 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/ArrayNotation/TrailingCommaInMultilineArrayFixer.php +138 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/ArrayNotation/TrimArraySpacesFixer.php +104 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/ArrayNotation/WhitespaceAfterCommaInArrayFixer.php +106 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Basic/BracesFixer.php +1057 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Basic/EncodingFixer.php +93 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Basic/NonPrintableCharacterFixer.php +171 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Basic/Psr0Fixer.php +169 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Basic/Psr4Fixer.php +100 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Casing/LowercaseConstantsFixer.php +102 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Casing/LowercaseKeywordsFixer.php +75 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Casing/LowercaseStaticReferenceFixer.php +105 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Casing/MagicConstantCasingFixer.php +98 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Casing/MagicMethodCasingFixer.php +232 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Casing/NativeFunctionCasingFixer.php +107 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Casing/NativeFunctionTypeDeclarationCasingFixer.php +179 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/CastNotation/CastSpacesFixer.php +128 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/CastNotation/LowercaseCastFixer.php +76 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/CastNotation/ModernizeTypesCastingFixer.php +159 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/CastNotation/NoShortBoolCastFixer.php +107 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/CastNotation/NoUnsetCastFixer.php +91 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/CastNotation/ShortScalarCastFixer.php +76 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/ClassNotation/ClassAttributesSeparationFixer.php +394 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/ClassNotation/ClassDefinitionFixer.php +448 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/ClassNotation/FinalClassFixer.php +60 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/ClassNotation/FinalInternalClassFixer.php +198 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/ClassNotation/MethodSeparationFixer.php +73 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/ClassNotation/NoBlankLinesAfterClassOpeningFixer.php +92 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/ClassNotation/NoNullPropertyInitializationFixer.php +98 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/ClassNotation/NoPhp4ConstructorFixer.php +389 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/ClassNotation/NoUnneededFinalMethodFixer.php +139 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/ClassNotation/OrderedClassElementsFixer.php +502 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/ClassNotation/OrderedInterfacesFixer.php +231 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/ClassNotation/ProtectedToPrivateFixer.php +137 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/ClassNotation/SelfAccessorFixer.php +194 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/ClassNotation/SingleClassElementPerStatementFixer.php +226 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/ClassNotation/SingleTraitInsertPerStatementFixer.php +104 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/ClassNotation/VisibilityRequiredFixer.php +193 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/ClassUsage/DateTimeImmutableFixer.php +164 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Comment/CommentToPhpdocFixer.php +191 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Comment/HashToSlashCommentFixer.php +58 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Comment/HeaderCommentFixer.php +356 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Comment/MultilineCommentOpeningClosingFixer.php +95 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Comment/NoEmptyCommentFixer.php +168 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Comment/NoTrailingWhitespaceInCommentFixer.php +75 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Comment/SingleLineCommentStyleFixer.php +168 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/ConfigurableFixerInterface.php +51 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/ConfigurationDefinitionFixerInterface.php +28 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/ConstantNotation/NativeConstantInvocationFixer.php +275 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/ControlStructure/ElseifFixer.php +91 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/ControlStructure/IncludeFixer.php +151 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/ControlStructure/NoAlternativeSyntaxFixer.php +226 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/ControlStructure/NoBreakCommentFixer.php +366 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/ControlStructure/NoSuperfluousElseifFixer.php +101 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/ControlStructure/NoTrailingCommaInListCallFixer.php +74 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/ControlStructure/NoUnneededControlParenthesesFixer.php +189 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/ControlStructure/NoUnneededCurlyBracesFixer.php +110 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/ControlStructure/NoUselessElseFixer.php +118 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/ControlStructure/SwitchCaseSemicolonToColonFixer.php +104 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/ControlStructure/SwitchCaseSpaceFixer.php +92 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/ControlStructure/YodaStyleFixer.php +731 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/DefinedFixerInterface.php +29 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/DeprecatedFixerInterface.php +26 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/DoctrineAnnotation/DoctrineAnnotationArrayAssignmentFixer.php +103 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/DoctrineAnnotation/DoctrineAnnotationBracesFixer.php +129 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/DoctrineAnnotation/DoctrineAnnotationIndentationFixer.php +202 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/DoctrineAnnotation/DoctrineAnnotationSpacesFixer.php +347 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/FixerInterface.php +81 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/FunctionNotation/CombineNestedDirnameFixer.php +240 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/FunctionNotation/FopenFlagOrderFixer.php +131 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/FunctionNotation/FopenFlagsFixer.php +112 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/FunctionNotation/FunctionDeclarationFixer.php +200 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/FunctionNotation/FunctionTypehintSpaceFixer.php +87 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/FunctionNotation/ImplodeCallFixer.php +150 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/FunctionNotation/MethodArgumentSpaceFixer.php +512 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/FunctionNotation/NativeFunctionInvocationFixer.php +415 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/FunctionNotation/NoSpacesAfterFunctionNameFixer.php +182 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/FunctionNotation/NoUnreachableDefaultArgumentValueFixer.php +205 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/FunctionNotation/PhpdocToReturnTypeFixer.php +326 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/FunctionNotation/ReturnTypeDeclarationFixer.php +123 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/FunctionNotation/StaticLambdaFixer.php +134 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/FunctionNotation/VoidReturnFixer.php +263 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Import/FullyQualifiedStrictTypesFixer.php +178 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Import/NoLeadingImportSlashFixer.php +98 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Import/NoUnusedImportsFixer.php +255 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Import/OrderedImportsFixer.php +527 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Import/SingleImportPerStatementFixer.php +252 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Import/SingleLineAfterImportsFixer.php +145 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/LanguageConstruct/ClassKeywordRemoveFixer.php +252 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/LanguageConstruct/CombineConsecutiveIssetsFixer.php +164 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/LanguageConstruct/CombineConsecutiveUnsetsFixer.php +192 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/LanguageConstruct/DeclareEqualNormalizeFixer.php +132 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/LanguageConstruct/DirConstantFixer.php +130 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/LanguageConstruct/ErrorSuppressionFixer.php +176 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/LanguageConstruct/ExplicitIndirectVariableFixer.php +91 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/LanguageConstruct/FunctionToConstantFixer.php +238 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/LanguageConstruct/IsNullFixer.php +202 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/LanguageConstruct/NoUnsetOnPropertyFixer.php +232 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/LanguageConstruct/SilencedDeprecationErrorFixer.php +55 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/ListNotation/ListSyntaxFixer.php +150 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/NamespaceNotation/BlankLineAfterNamespaceFixer.php +144 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/NamespaceNotation/NoBlankLinesBeforeNamespaceFixer.php +63 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/NamespaceNotation/NoLeadingNamespaceWhitespaceFixer.php +101 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/NamespaceNotation/SingleBlankLineBeforeNamespaceFixer.php +69 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Naming/NoHomoglyphNamesFixer.php +244 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Operator/AlignDoubleArrowFixerHelper.php +152 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Operator/AlignEqualsFixerHelper.php +78 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Operator/BinaryOperatorSpacesFixer.php +839 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Operator/ConcatSpaceFixer.php +154 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Operator/IncrementStyleFixer.php +208 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Operator/LogicalOperatorsFixer.php +76 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Operator/NewWithBracesFixer.php +151 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Operator/NotOperatorWithSpaceFixer.php +80 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Operator/NotOperatorWithSuccessorSpaceFixer.php +78 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Operator/ObjectOperatorWithoutWhitespaceFixer.php +67 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Operator/PreIncrementFixer.php +56 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Operator/StandardizeIncrementFixer.php +169 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Operator/StandardizeNotEqualsFixer.php +56 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Operator/TernaryOperatorSpacesFixer.php +112 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Operator/TernaryToNullCoalescingFixer.php +218 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Operator/UnaryOperatorSpacesFixer.php +68 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpTag/BlankLineAfterOpeningTagFixer.php +96 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpTag/FullOpeningTagFixer.php +134 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpTag/LinebreakAfterOpeningTagFixer.php +73 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpTag/NoClosingTagFixer.php +73 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpTag/NoShortEchoTagFixer.php +70 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitConstructFixer.php +223 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitDedicateAssertFixer.php +454 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitDedicateAssertInternalTypeFixer.php +200 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitExpectationFixer.php +273 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitFqcnAnnotationFixer.php +104 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitInternalClassFixer.php +280 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitMethodCasingFixer.php +274 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitMockFixer.php +150 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitMockShortWillReturnFixer.php +146 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitNamespacedFixer.php +220 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitNoExpectationAnnotationFixer.php +300 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitOrderedCoversFixer.php +106 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitSetUpTearDownVisibilityFixer.php +142 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitSizeClassFixer.php +279 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitStrictFixer.php +158 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitTargetVersion.php +61 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitTestAnnotationFixer.php +561 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitTestCaseStaticMethodCallsFixer.php +474 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/PhpUnit/PhpUnitTestClassRequiresCoversFixer.php +152 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/AlignMultilineCommentFixer.php +170 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/GeneralPhpdocAnnotationRemoveFixer.php +117 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/NoBlankLinesAfterPhpdocFixer.php +112 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/NoEmptyPhpdocFixer.php +70 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/NoSuperfluousPhpdocTagsFixer.php +330 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocAddMissingParamAnnotationFixer.php +286 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocAlignFixer.php +431 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocAnnotationWithoutDotFixer.php +117 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocIndentFixer.php +144 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocInlineTagFixer.php +96 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocNoAccessFixer.php +59 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocNoAliasTagFixer.php +176 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocNoEmptyReturnFixer.php +125 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocNoPackageFixer.php +59 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocNoUselessInheritdocFixer.php +195 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocOrderFixer.php +175 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocReturnSelfReferenceFixer.php +227 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocScalarFixer.php +103 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocSeparationFixer.php +181 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocSingleLineVarSpacingFixer.php +106 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocSummaryFixer.php +93 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocToCommentFixer.php +94 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocTrimConsecutiveBlankLineSeparationFixer.php +215 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocTrimFixer.php +131 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocTypesFixer.php +147 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocTypesOrderFixer.php +212 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocVarAnnotationCorrectOrderFixer.php +67 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Phpdoc/PhpdocVarWithoutNameFixer.php +101 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/ReturnNotation/BlankLineBeforeReturnFixer.php +61 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/ReturnNotation/NoUselessReturnFixer.php +111 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/ReturnNotation/ReturnAssignmentFixer.php +362 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/ReturnNotation/SimplifiedNullReturnFixer.php +173 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Semicolon/MultilineWhitespaceBeforeSemicolonsFixer.php +293 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Semicolon/NoEmptyStatementFixer.php +163 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Semicolon/NoMultilineWhitespaceBeforeSemicolonsFixer.php +68 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Semicolon/NoSinglelineWhitespaceBeforeSemicolonsFixer.php +65 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Semicolon/SemicolonAfterInstructionFixer.php +63 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Semicolon/SpaceAfterSemicolonFixer.php +143 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Strict/DeclareStrictTypesFixer.php +166 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Strict/StrictComparisonFixer.php +76 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Strict/StrictParamFixer.php +154 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/StringNotation/EscapeImplicitBackslashesFixer.php +166 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/StringNotation/ExplicitStringVariableFixer.php +159 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/StringNotation/HeredocToNowdocFixer.php +107 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/StringNotation/NoBinaryStringFixer.php +65 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/StringNotation/SimpleToComplexStringVariableFixer.php +112 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/StringNotation/SingleQuoteFixer.php +106 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/StringNotation/StringLineEndingFixer.php +85 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Whitespace/ArrayIndentationFixer.php +376 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Whitespace/BlankLineBeforeStatementFixer.php +330 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Whitespace/CompactNullableTypehintFixer.php +79 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Whitespace/HeredocIndentationFixer.php +150 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Whitespace/IndentationTypeFixer.php +147 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Whitespace/LineEndingFixer.php +92 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Whitespace/MethodChainingIndentationFixer.php +205 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Whitespace/NoExtraBlankLinesFixer.php +465 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Whitespace/NoExtraConsecutiveBlankLinesFixer.php +73 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Whitespace/NoSpacesAroundOffsetFixer.php +107 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Whitespace/NoSpacesInsideParenthesisFixer.php +109 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Whitespace/NoTrailingWhitespaceFixer.php +113 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Whitespace/NoWhitespaceInBlankLineFixer.php +103 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/Whitespace/SingleBlankLineAtEofFixer.php +70 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/WhitespacesAwareFixerInterface.php +23 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/FixerConfiguration/AliasedFixerOption.php +103 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/FixerConfiguration/AliasedFixerOptionBuilder.php +98 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/FixerConfiguration/AllowedValueSubset.php +53 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/FixerConfiguration/DeprecatedFixerOption.php +100 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/FixerConfiguration/DeprecatedFixerOptionInterface.php +21 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/FixerConfiguration/FixerConfigurationResolver.php +129 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/FixerConfiguration/FixerConfigurationResolverInterface.php +28 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/FixerConfiguration/FixerConfigurationResolverRootless.php +99 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/FixerConfiguration/FixerOption.php +176 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/FixerConfiguration/FixerOptionBuilder.php +149 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/FixerConfiguration/FixerOptionInterface.php +53 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/FixerConfiguration/InvalidOptionsForEnvException.php +24 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/FixerDefinition/CodeSample.php +55 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/FixerDefinition/CodeSampleInterface.php +29 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/FixerDefinition/FileSpecificCodeSample.php +69 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/FixerDefinition/FileSpecificCodeSampleInterface.php +26 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/FixerDefinition/FixerDefinition.php +93 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/FixerDefinition/FixerDefinitionInterface.php +55 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/FixerDefinition/VersionSpecificCodeSample.php +67 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/FixerDefinition/VersionSpecificCodeSampleInterface.php +26 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/FixerDefinition/VersionSpecification.php +75 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/FixerDefinition/VersionSpecificationInterface.php +26 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/FixerFactory.php +259 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/FixerFileProcessedEvent.php +59 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/FixerNameValidator.php +36 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Indicator/PhpUnitTestCaseIndicator.php +76 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Linter/CachingLinter.php +75 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Linter/Linter.php +64 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Linter/LinterInterface.php +44 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Linter/LintingException.php +20 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Linter/LintingResultInterface.php +24 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Linter/ProcessLinter.php +149 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Linter/ProcessLinterProcessBuilder.php +50 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Linter/ProcessLintingResult.php +59 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Linter/TokenizerLinter.php +70 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Linter/TokenizerLintingResult.php +48 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Linter/UnavailableLinterException.php +22 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/PharChecker.php +39 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/PharCheckerInterface.php +26 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Preg.php +189 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/PregException.php +24 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Report/CheckstyleReporter.php +75 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Report/GitlabReporter.php +56 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Report/JsonReporter.php +71 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Report/JunitReporter.php +148 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Report/ReportSummary.php +123 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Report/ReporterFactory.php +102 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Report/ReporterInterface.php +33 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Report/TextReporter.php +110 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Report/XmlReporter.php +146 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/RuleSet.php +531 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/RuleSetInterface.php +59 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Runner/FileCachingLintingIterator.php +80 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Runner/FileFilterIterator.php +119 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Runner/FileLintingIterator.php +68 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Runner/Runner.php +308 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/StdinFileInfo.php +172 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Test/AbstractFixerTestCase.php +36 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Test/AbstractIntegrationTestCase.php +36 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Test/AccessibleObject.php +93 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Test/IntegrationCase.php +140 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/AbstractTransformer.php +42 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/Analysis/ArgumentAnalysis.php +109 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/Analysis/NamespaceAnalysis.php +127 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/Analysis/NamespaceUseAnalysis.php +147 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/Analysis/StartEndTokenAwareAnalysis.php +30 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/Analysis/TypeAnalysis.php +125 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/ArgumentsAnalyzer.php +143 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/CommentsAnalyzer.php +305 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/FunctionsAnalyzer.php +99 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/NamespaceUsesAnalyzer.php +111 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Analyzer/NamespacesAnalyzer.php +73 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/CT.php +95 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/CodeHasher.php +38 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Generator/NamespacedStringTokenGenerator.php +43 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Resolver/TypeShortNameResolver.php +99 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Token.php +618 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Tokens.php +1452 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/TokensAnalyzer.php +695 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Transformer/ArrayTypehintTransformer.php +61 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Transformer/BraceClassInstantiationTransformer.php +88 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Transformer/ClassConstantTransformer.php +64 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Transformer/CurlyBraceTransformer.php +223 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Transformer/ImportTransformer.php +67 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Transformer/NamespaceOperatorTransformer.php +61 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Transformer/NullableTypeTransformer.php +70 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Transformer/ReturnRefTransformer.php +57 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Transformer/SquareBraceTransformer.php +200 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Transformer/TypeAlternationTransformer.php +86 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Transformer/TypeColonTransformer.php +83 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Transformer/UseTransformer.php +111 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Transformer/WhitespacyCommentTransformer.php +71 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/TransformerInterface.php +74 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Tokenizer/Transformers.php +113 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/ToolInfo.php +109 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/ToolInfoInterface.php +31 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/Utils.php +193 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/WhitespacesFixerConfig.php +56 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/src/WordMatcher.php +57 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/tests/Test/AbstractFixerTestCase.php +232 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/tests/Test/AbstractIntegrationCaseFactory.php +263 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/tests/Test/AbstractIntegrationTestCase.php +431 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/tests/Test/Assert/AssertTokensTrait.php +48 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/tests/Test/IntegrationCase.php +164 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/tests/Test/IntegrationCaseFactory.php +22 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/tests/Test/IntegrationCaseFactoryInterface.php +30 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/tests/Test/InternalIntegrationCaseFactory.php +35 -0
- data/helpers/vendor/friendsofphp/php-cs-fixer/tests/TestCase.php +49 -0
- data/helpers/vendor/jean85/pretty-package-versions/composer.json +43 -0
- data/helpers/vendor/jean85/pretty-package-versions/src/PrettyVersions.php +15 -0
- data/helpers/vendor/jean85/pretty-package-versions/src/Version.php +78 -0
- data/helpers/vendor/justinrainbow/json-schema/.gitattributes +5 -0
- data/helpers/vendor/justinrainbow/json-schema/.php_cs.dist +30 -0
- data/helpers/vendor/justinrainbow/json-schema/LICENSE +21 -0
- data/helpers/vendor/justinrainbow/json-schema/README.md +206 -0
- data/helpers/vendor/justinrainbow/json-schema/bin/validate-json +251 -0
- data/helpers/vendor/justinrainbow/json-schema/composer.json +76 -0
- data/helpers/vendor/justinrainbow/json-schema/demo/README.md +14 -0
- data/helpers/vendor/justinrainbow/json-schema/demo/data.json +3 -0
- data/helpers/vendor/justinrainbow/json-schema/demo/demo.php +18 -0
- data/helpers/vendor/justinrainbow/json-schema/demo/schema.json +3 -0
- data/helpers/vendor/justinrainbow/json-schema/dist/schema/json-schema-draft-03.json +174 -0
- data/helpers/vendor/justinrainbow/json-schema/dist/schema/json-schema-draft-04.json +150 -0
- data/helpers/vendor/justinrainbow/json-schema/phpunit.xml.dist +26 -0
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/BaseConstraint.php +148 -0
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/CollectionConstraint.php +121 -0
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/Constraint.php +213 -0
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/ConstraintInterface.php +65 -0
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/EnumConstraint.php +54 -0
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/Factory.php +220 -0
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/FormatConstraint.php +214 -0
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/NumberConstraint.php +81 -0
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/ObjectConstraint.php +192 -0
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/SchemaConstraint.php +94 -0
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/StringConstraint.php +60 -0
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/TypeCheck/LooseTypeCheck.php +68 -0
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/TypeCheck/StrictTypeCheck.php +40 -0
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/TypeCheck/TypeCheckInterface.php +18 -0
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/TypeConstraint.php +261 -0
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/UndefinedConstraint.php +413 -0
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Entity/JsonPointer.php +161 -0
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Exception/ExceptionInterface.php +7 -0
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Exception/InvalidArgumentException.php +17 -0
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Exception/InvalidConfigException.php +17 -0
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Exception/InvalidSchemaException.php +17 -0
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Exception/InvalidSchemaMediaTypeException.php +17 -0
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Exception/InvalidSourceUriException.php +17 -0
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Exception/JsonDecodingException.php +40 -0
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Exception/ResourceNotFoundException.php +17 -0
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Exception/RuntimeException.php +17 -0
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Exception/UnresolvableJsonPointerException.php +19 -0
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Exception/UriResolverException.php +17 -0
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Exception/ValidationException.php +14 -0
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Iterator/ObjectIterator.php +149 -0
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Rfc3339.php +30 -0
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/SchemaStorage.php +169 -0
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/SchemaStorageInterface.php +41 -0
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Uri/Retrievers/AbstractRetriever.php +34 -0
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Uri/Retrievers/Curl.php +83 -0
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Uri/Retrievers/FileGetContents.php +93 -0
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Uri/Retrievers/PredefinedArray.php +56 -0
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Uri/Retrievers/UriRetrieverInterface.php +36 -0
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Uri/UriResolver.php +175 -0
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Uri/UriRetriever.php +349 -0
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/UriResolverInterface.php +26 -0
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/UriRetrieverInterface.php +26 -0
- data/helpers/vendor/justinrainbow/json-schema/src/JsonSchema/Validator.php +90 -0
- data/helpers/vendor/nette/bootstrap/composer.json +52 -0
- data/helpers/vendor/nette/bootstrap/contributing.md +33 -0
- data/helpers/vendor/nette/bootstrap/license.md +60 -0
- data/helpers/vendor/nette/bootstrap/readme.md +30 -0
- data/helpers/vendor/nette/bootstrap/src/Bootstrap/Configurator.php +327 -0
- data/helpers/vendor/nette/di/.phpstorm.meta.php +8 -0
- data/helpers/vendor/nette/di/composer.json +43 -0
- data/helpers/vendor/nette/di/contributing.md +33 -0
- data/helpers/vendor/nette/di/license.md +60 -0
- data/helpers/vendor/nette/di/readme.md +348 -0
- data/helpers/vendor/nette/di/src/Bridges/DITracy/ContainerPanel.php +90 -0
- data/helpers/vendor/nette/di/src/Bridges/DITracy/templates/ContainerPanel.panel.phtml +81 -0
- data/helpers/vendor/nette/di/src/Bridges/DITracy/templates/ContainerPanel.tab.phtml +11 -0
- data/helpers/vendor/nette/di/src/DI/Autowiring.php +151 -0
- data/helpers/vendor/nette/di/src/DI/Compiler.php +326 -0
- data/helpers/vendor/nette/di/src/DI/CompilerExtension.php +171 -0
- data/helpers/vendor/nette/di/src/DI/Config/Adapter.php +28 -0
- data/helpers/vendor/nette/di/src/DI/Config/Adapters/NeonAdapter.php +130 -0
- data/helpers/vendor/nette/di/src/DI/Config/Adapters/PhpAdapter.php +38 -0
- data/helpers/vendor/nette/di/src/DI/Config/DefinitionSchema.php +254 -0
- data/helpers/vendor/nette/di/src/DI/Config/Helpers.php +47 -0
- data/helpers/vendor/nette/di/src/DI/Config/Loader.php +135 -0
- data/helpers/vendor/nette/di/src/DI/Container.php +312 -0
- data/helpers/vendor/nette/di/src/DI/ContainerBuilder.php +415 -0
- data/helpers/vendor/nette/di/src/DI/ContainerLoader.php +125 -0
- data/helpers/vendor/nette/di/src/DI/Definitions/AccessorDefinition.php +122 -0
- data/helpers/vendor/nette/di/src/DI/Definitions/Definition.php +227 -0
- data/helpers/vendor/nette/di/src/DI/Definitions/FactoryDefinition.php +303 -0
- data/helpers/vendor/nette/di/src/DI/Definitions/ImportedDefinition.php +57 -0
- data/helpers/vendor/nette/di/src/DI/Definitions/LocatorDefinition.php +171 -0
- data/helpers/vendor/nette/di/src/DI/Definitions/Reference.php +65 -0
- data/helpers/vendor/nette/di/src/DI/Definitions/ServiceDefinition.php +274 -0
- data/helpers/vendor/nette/di/src/DI/Definitions/Statement.php +72 -0
- data/helpers/vendor/nette/di/src/DI/DependencyChecker.php +176 -0
- data/helpers/vendor/nette/di/src/DI/DynamicParameter.php +20 -0
- data/helpers/vendor/nette/di/src/DI/Extensions/ConstantsExtension.php +26 -0
- data/helpers/vendor/nette/di/src/DI/Extensions/DIExtension.php +134 -0
- data/helpers/vendor/nette/di/src/DI/Extensions/DecoratorExtension.php +77 -0
- data/helpers/vendor/nette/di/src/DI/Extensions/ExtensionsExtension.php +42 -0
- data/helpers/vendor/nette/di/src/DI/Extensions/InjectExtension.php +157 -0
- data/helpers/vendor/nette/di/src/DI/Extensions/ParametersExtension.php +64 -0
- data/helpers/vendor/nette/di/src/DI/Extensions/PhpExtension.php +53 -0
- data/helpers/vendor/nette/di/src/DI/Extensions/SearchExtension.php +144 -0
- data/helpers/vendor/nette/di/src/DI/Extensions/ServicesExtension.php +244 -0
- data/helpers/vendor/nette/di/src/DI/Helpers.php +190 -0
- data/helpers/vendor/nette/di/src/DI/PhpGenerator.php +204 -0
- data/helpers/vendor/nette/di/src/DI/Resolver.php +530 -0
- data/helpers/vendor/nette/di/src/DI/exceptions.php +49 -0
- data/helpers/vendor/nette/di/src/compatibility.php +12 -0
- data/helpers/vendor/nette/finder/composer.json +37 -0
- data/helpers/vendor/nette/finder/contributing.md +33 -0
- data/helpers/vendor/nette/finder/license.md +60 -0
- data/helpers/vendor/nette/finder/readme.md +181 -0
- data/helpers/vendor/nette/finder/src/Utils/Finder.php +380 -0
- data/helpers/vendor/nette/neon/composer.json +35 -0
- data/helpers/vendor/nette/neon/contributing.md +33 -0
- data/helpers/vendor/nette/neon/license.md +60 -0
- data/helpers/vendor/nette/neon/readme.md +96 -0
- data/helpers/vendor/nette/neon/src/Neon/Decoder.php +358 -0
- data/helpers/vendor/nette/neon/src/Neon/Encoder.php +84 -0
- data/helpers/vendor/nette/neon/src/Neon/Entity.php +36 -0
- data/helpers/vendor/nette/neon/src/Neon/Exception.php +18 -0
- data/helpers/vendor/nette/neon/src/Neon/Neon.php +42 -0
- data/helpers/vendor/nette/neon/src/neon.php +9 -0
- data/helpers/vendor/nette/neon/syntax.txt +32 -0
- data/helpers/vendor/nette/php-generator/composer.json +34 -0
- data/helpers/vendor/nette/php-generator/contributing.md +33 -0
- data/helpers/vendor/nette/php-generator/license.md +60 -0
- data/helpers/vendor/nette/php-generator/readme.md +521 -0
- data/helpers/vendor/nette/php-generator/src/PhpGenerator/ClassType.php +507 -0
- data/helpers/vendor/nette/php-generator/src/PhpGenerator/Closure.php +70 -0
- data/helpers/vendor/nette/php-generator/src/PhpGenerator/Constant.php +43 -0
- data/helpers/vendor/nette/php-generator/src/PhpGenerator/Factory.php +134 -0
- data/helpers/vendor/nette/php-generator/src/PhpGenerator/GlobalFunction.php +44 -0
- data/helpers/vendor/nette/php-generator/src/PhpGenerator/Helpers.php +269 -0
- data/helpers/vendor/nette/php-generator/src/PhpGenerator/Method.php +134 -0
- data/helpers/vendor/nette/php-generator/src/PhpGenerator/Parameter.php +122 -0
- data/helpers/vendor/nette/php-generator/src/PhpGenerator/PhpFile.php +115 -0
- data/helpers/vendor/nette/php-generator/src/PhpGenerator/PhpLiteral.php +32 -0
- data/helpers/vendor/nette/php-generator/src/PhpGenerator/PhpNamespace.php +199 -0
- data/helpers/vendor/nette/php-generator/src/PhpGenerator/Printer.php +252 -0
- data/helpers/vendor/nette/php-generator/src/PhpGenerator/Property.php +64 -0
- data/helpers/vendor/nette/php-generator/src/PhpGenerator/PsrPrinter.php +29 -0
- data/helpers/vendor/nette/php-generator/src/PhpGenerator/Traits/CommentAware.php +46 -0
- data/helpers/vendor/nette/php-generator/src/PhpGenerator/Traits/FunctionLike.php +189 -0
- data/helpers/vendor/nette/php-generator/src/PhpGenerator/Traits/NameAware.php +49 -0
- data/helpers/vendor/nette/php-generator/src/PhpGenerator/Traits/VisibilityAware.php +43 -0
- data/helpers/vendor/nette/robot-loader/composer.json +36 -0
- data/helpers/vendor/nette/robot-loader/contributing.md +33 -0
- data/helpers/vendor/nette/robot-loader/license.md +60 -0
- data/helpers/vendor/nette/robot-loader/readme.md +113 -0
- data/helpers/vendor/nette/robot-loader/src/RobotLoader/RobotLoader.php +474 -0
- data/helpers/vendor/nette/schema/composer.json +34 -0
- data/helpers/vendor/nette/schema/contributing.md +33 -0
- data/helpers/vendor/nette/schema/license.md +60 -0
- data/helpers/vendor/nette/schema/readme.md +304 -0
- data/helpers/vendor/nette/schema/src/Schema/Context.php +39 -0
- data/helpers/vendor/nette/schema/src/Schema/DynamicParameter.php +15 -0
- data/helpers/vendor/nette/schema/src/Schema/Elements/AnyOf.php +102 -0
- data/helpers/vendor/nette/schema/src/Schema/Elements/Base.php +137 -0
- data/helpers/vendor/nette/schema/src/Schema/Elements/Structure.php +175 -0
- data/helpers/vendor/nette/schema/src/Schema/Elements/Type.php +152 -0
- data/helpers/vendor/nette/schema/src/Schema/Expect.php +115 -0
- data/helpers/vendor/nette/schema/src/Schema/Helpers.php +86 -0
- data/helpers/vendor/nette/schema/src/Schema/Processor.php +93 -0
- data/helpers/vendor/nette/schema/src/Schema/Schema.php +37 -0
- data/helpers/vendor/nette/schema/src/Schema/ValidationException.php +35 -0
- data/helpers/vendor/nette/utils/.phpstorm.meta.php +19 -0
- data/helpers/vendor/nette/utils/composer.json +42 -0
- data/helpers/vendor/nette/utils/contributing.md +33 -0
- data/helpers/vendor/nette/utils/license.md +60 -0
- data/helpers/vendor/nette/utils/readme.md +41 -0
- data/helpers/vendor/nette/utils/src/Iterators/CachingIterator.php +166 -0
- data/helpers/vendor/nette/utils/src/Iterators/Mapper.php +34 -0
- data/helpers/vendor/nette/utils/src/Utils/ArrayHash.php +94 -0
- data/helpers/vendor/nette/utils/src/Utils/ArrayList.php +110 -0
- data/helpers/vendor/nette/utils/src/Utils/Arrays.php +300 -0
- data/helpers/vendor/nette/utils/src/Utils/Callback.php +164 -0
- data/helpers/vendor/nette/utils/src/Utils/DateTime.php +124 -0
- data/helpers/vendor/nette/utils/src/Utils/FileSystem.php +159 -0
- data/helpers/vendor/nette/utils/src/Utils/Html.php +614 -0
- data/helpers/vendor/nette/utils/src/Utils/IHtmlString.php +20 -0
- data/helpers/vendor/nette/utils/src/Utils/ITranslator.php +23 -0
- data/helpers/vendor/nette/utils/src/Utils/Image.php +623 -0
- data/helpers/vendor/nette/utils/src/Utils/Json.php +60 -0
- data/helpers/vendor/nette/utils/src/Utils/ObjectHelpers.php +186 -0
- data/helpers/vendor/nette/utils/src/Utils/ObjectMixin.php +43 -0
- data/helpers/vendor/nette/utils/src/Utils/Paginator.php +212 -0
- data/helpers/vendor/nette/utils/src/Utils/Random.php +44 -0
- data/helpers/vendor/nette/utils/src/Utils/Reflection.php +303 -0
- data/helpers/vendor/nette/utils/src/Utils/SmartObject.php +121 -0
- data/helpers/vendor/nette/utils/src/Utils/StaticClass.php +36 -0
- data/helpers/vendor/nette/utils/src/Utils/Strings.php +508 -0
- data/helpers/vendor/nette/utils/src/Utils/Validators.php +344 -0
- data/helpers/vendor/nette/utils/src/Utils/exceptions.php +159 -0
- data/helpers/vendor/nikic/php-parser/.gitignore +5 -0
- data/helpers/vendor/nikic/php-parser/.travis.yml +36 -0
- data/helpers/vendor/nikic/php-parser/CHANGELOG.md +683 -0
- data/helpers/vendor/nikic/php-parser/LICENSE +31 -0
- data/helpers/vendor/nikic/php-parser/README.md +225 -0
- data/helpers/vendor/nikic/php-parser/UPGRADE-1.0.md +121 -0
- data/helpers/vendor/nikic/php-parser/UPGRADE-2.0.md +74 -0
- data/helpers/vendor/nikic/php-parser/UPGRADE-3.0.md +160 -0
- data/helpers/vendor/nikic/php-parser/UPGRADE-4.0.md +77 -0
- data/helpers/vendor/nikic/php-parser/bin/php-parse +205 -0
- data/helpers/vendor/nikic/php-parser/composer.json +40 -0
- data/helpers/vendor/nikic/php-parser/doc/0_Introduction.markdown +80 -0
- data/helpers/vendor/nikic/php-parser/doc/2_Usage_of_basic_components.markdown +516 -0
- data/helpers/vendor/nikic/php-parser/doc/README.md +46 -0
- data/helpers/vendor/nikic/php-parser/doc/component/AST_builders.markdown +138 -0
- data/helpers/vendor/nikic/php-parser/doc/component/Constant_expression_evaluation.markdown +115 -0
- data/helpers/vendor/nikic/php-parser/doc/component/Error_handling.markdown +75 -0
- data/helpers/vendor/nikic/php-parser/doc/component/FAQ.markdown +68 -0
- data/helpers/vendor/nikic/php-parser/doc/component/JSON_representation.markdown +131 -0
- data/helpers/vendor/nikic/php-parser/doc/component/Lexer.markdown +159 -0
- data/helpers/vendor/nikic/php-parser/doc/component/Name_resolution.markdown +87 -0
- data/helpers/vendor/nikic/php-parser/doc/component/Performance.markdown +65 -0
- data/helpers/vendor/nikic/php-parser/doc/component/Pretty_printing.markdown +96 -0
- data/helpers/vendor/nikic/php-parser/doc/component/Walking_the_AST.markdown +337 -0
- data/helpers/vendor/nikic/php-parser/grammar/README.md +28 -0
- data/helpers/vendor/nikic/php-parser/grammar/parser.template +106 -0
- data/helpers/vendor/nikic/php-parser/grammar/php5.y +1026 -0
- data/helpers/vendor/nikic/php-parser/grammar/php7.y +1023 -0
- data/helpers/vendor/nikic/php-parser/grammar/rebuildParsers.php +257 -0
- data/helpers/vendor/nikic/php-parser/grammar/tokens.template +17 -0
- data/helpers/vendor/nikic/php-parser/grammar/tokens.y +114 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Builder.php +13 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Builder/Class_.php +122 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Builder/Declaration.php +43 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Builder/FunctionLike.php +74 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Builder/Function_.php +50 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Builder/Interface_.php +75 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Builder/Method.php +129 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Builder/Namespace_.php +45 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Builder/Param.php +106 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Builder/Property.php +132 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Builder/TraitUse.php +64 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Builder/TraitUseAdaptation.php +148 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Builder/Trait_.php +60 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Builder/Use_.php +49 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/BuilderFactory.php +348 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/BuilderHelpers.php +277 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Comment.php +167 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Comment/Doc.php +7 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/ConstExprEvaluationException.php +6 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/ConstExprEvaluator.php +226 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Error.php +180 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/ErrorHandler.php +13 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/ErrorHandler/Collecting.php +46 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/ErrorHandler/Throwing.php +18 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Internal/DiffElem.php +27 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Internal/Differ.php +164 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Internal/PrintableNewAnonClassNode.php +57 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Internal/TokenStream.php +256 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/JsonDecoder.php +101 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Lexer.php +406 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Lexer/Emulative.php +250 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Lexer/TokenEmulator/CoaleseEqualTokenEmulator.php +41 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Lexer/TokenEmulator/FnTokenEmulator.php +53 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Lexer/TokenEmulator/NumericLiteralSeparatorEmulator.php +98 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Lexer/TokenEmulator/TokenEmulatorInterface.php +14 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/NameContext.php +285 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node.php +153 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Arg.php +38 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Const_.php +37 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Expr.php +9 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/ArrayDimFetch.php +34 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/ArrayItem.php +41 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/Array_.php +34 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/ArrowFunction.php +71 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/Assign.php +34 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/AssignOp.php +30 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/AssignOp/BitwiseAnd.php +12 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/AssignOp/BitwiseOr.php +12 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/AssignOp/BitwiseXor.php +12 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/AssignOp/Coalesce.php +12 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/AssignOp/Concat.php +12 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/AssignOp/Div.php +12 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/AssignOp/Minus.php +12 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/AssignOp/Mod.php +12 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/AssignOp/Mul.php +12 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/AssignOp/Plus.php +12 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/AssignOp/Pow.php +12 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/AssignOp/ShiftLeft.php +12 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/AssignOp/ShiftRight.php +12 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/AssignRef.php +34 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp.php +40 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/BitwiseAnd.php +16 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/BitwiseOr.php +16 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/BitwiseXor.php +16 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/BooleanAnd.php +16 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/BooleanOr.php +16 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/Coalesce.php +16 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/Concat.php +16 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/Div.php +16 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/Equal.php +16 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/Greater.php +16 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/GreaterOrEqual.php +16 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/Identical.php +16 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/LogicalAnd.php +16 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/LogicalOr.php +16 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/LogicalXor.php +16 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/Minus.php +16 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/Mod.php +16 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/Mul.php +16 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/NotEqual.php +16 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/NotIdentical.php +16 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/Plus.php +16 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/Pow.php +16 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/ShiftLeft.php +16 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/ShiftRight.php +16 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/Smaller.php +16 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/SmallerOrEqual.php +16 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/Spaceship.php +16 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/BitwiseNot.php +30 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/BooleanNot.php +30 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/Cast.php +26 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/Cast/Array_.php +12 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/Cast/Bool_.php +12 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/Cast/Double.php +17 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/Cast/Int_.php +12 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/Cast/Object_.php +12 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/Cast/String_.php +12 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/Cast/Unset_.php +12 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/ClassConstFetch.php +36 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/Clone_.php +30 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/Closure.php +71 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/ClosureUse.php +34 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/ConstFetch.php +31 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/Empty_.php +30 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/Error.php +31 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/ErrorSuppress.php +30 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/Eval_.php +30 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/Exit_.php +34 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/FuncCall.php +35 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/Include_.php +39 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/Instanceof_.php +35 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/Isset_.php +30 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/List_.php +30 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/MethodCall.php +40 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/New_.php +35 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/PostDec.php +30 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/PostInc.php +30 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/PreDec.php +30 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/PreInc.php +30 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/Print_.php +30 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/PropertyFetch.php +35 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/ShellExec.php +30 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/StaticCall.php +40 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/StaticPropertyFetch.php +36 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/Ternary.php +38 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/UnaryMinus.php +30 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/UnaryPlus.php +30 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/Variable.php +30 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/YieldFrom.php +30 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/Yield_.php +34 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/FunctionLike.php +36 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Identifier.php +75 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Name.php +242 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Name/FullyQualified.php +50 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Name/Relative.php +50 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/NullableType.php +30 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Param.php +49 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Scalar.php +7 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Scalar/DNumber.php +70 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Scalar/Encapsed.php +31 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Scalar/EncapsedStringPart.php +30 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Scalar/LNumber.php +73 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Scalar/MagicConst.php +28 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Scalar/MagicConst/Class_.php +16 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Scalar/MagicConst/Dir.php +16 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Scalar/MagicConst/File.php +16 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Scalar/MagicConst/Function_.php +16 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Scalar/MagicConst/Line.php +16 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Scalar/MagicConst/Method.php +16 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Scalar/MagicConst/Namespace_.php +16 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Scalar/MagicConst/Trait_.php +16 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Scalar/String_.php +141 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Stmt.php +9 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/Break_.php +30 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/Case_.php +34 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/Catch_.php +41 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/ClassConst.php +62 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/ClassLike.php +87 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/ClassMethod.php +151 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/Class_.php +105 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/Const_.php +30 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/Continue_.php +30 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/DeclareDeclare.php +34 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/Declare_.php +34 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/Do_.php +34 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/Echo_.php +30 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/ElseIf_.php +34 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/Else_.php +30 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/Expression.php +33 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/Finally_.php +30 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/For_.php +43 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/Foreach_.php +47 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/Function_.php +69 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/Global_.php +30 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/Goto_.php +31 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/GroupUse.php +39 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/HaltCompiler.php +30 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/If_.php +43 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/InlineHTML.php +30 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/Interface_.php +35 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/Label.php +31 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/Namespace_.php +38 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/Nop.php +17 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/Property.php +78 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/PropertyProperty.php +34 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/Return_.php +30 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/StaticVar.php +37 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/Static_.php +30 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/Switch_.php +34 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/Throw_.php +30 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/TraitUse.php +34 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/TraitUseAdaptation.php +13 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/TraitUseAdaptation/Alias.php +38 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/TraitUseAdaptation/Precedence.php +34 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/Trait_.php +30 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/TryCatch.php +38 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/Unset_.php +30 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/UseUse.php +52 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/Use_.php +47 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/While_.php +34 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Node/VarLikeIdentifier.php +17 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/NodeAbstract.php +181 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/NodeDumper.php +203 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/NodeFinder.php +81 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/NodeTraverser.php +291 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/NodeTraverserInterface.php +29 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/NodeVisitor.php +72 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/NodeVisitor/CloningVisitor.php +20 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/NodeVisitor/FindingVisitor.php +48 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/NodeVisitor/FirstFindingVisitor.php +50 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/NodeVisitor/NameResolver.php +222 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/NodeVisitorAbstract.php +25 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Parser.php +18 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Parser/Multiple.php +55 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Parser/Php5.php +2640 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Parser/Php7.php +2475 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/Parser/Tokens.php +146 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/ParserAbstract.php +1014 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/ParserFactory.php +44 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/PrettyPrinter/Standard.php +999 -0
- data/helpers/vendor/nikic/php-parser/lib/PhpParser/PrettyPrinterAbstract.php +1430 -0
- data/helpers/vendor/nikic/php-parser/phpunit.xml.dist +20 -0
- data/helpers/vendor/nikic/php-parser/test/PhpParser/Builder/ClassTest.php +153 -0
- data/helpers/vendor/nikic/php-parser/test/PhpParser/Builder/FunctionTest.php +114 -0
- data/helpers/vendor/nikic/php-parser/test/PhpParser/Builder/InterfaceTest.php +100 -0
- data/helpers/vendor/nikic/php-parser/test/PhpParser/Builder/MethodTest.php +162 -0
- data/helpers/vendor/nikic/php-parser/test/PhpParser/Builder/NamespaceTest.php +46 -0
- data/helpers/vendor/nikic/php-parser/test/PhpParser/Builder/ParamTest.php +166 -0
- data/helpers/vendor/nikic/php-parser/test/PhpParser/Builder/PropertyTest.php +147 -0
- data/helpers/vendor/nikic/php-parser/test/PhpParser/Builder/TraitTest.php +91 -0
- data/helpers/vendor/nikic/php-parser/test/PhpParser/Builder/TraitUseAdaptationTest.php +106 -0
- data/helpers/vendor/nikic/php-parser/test/PhpParser/Builder/TraitUseTest.php +52 -0
- data/helpers/vendor/nikic/php-parser/test/PhpParser/Builder/UseTest.php +36 -0
- data/helpers/vendor/nikic/php-parser/test/PhpParser/BuilderFactoryTest.php +327 -0
- data/helpers/vendor/nikic/php-parser/test/PhpParser/CodeParsingTest.php +119 -0
- data/helpers/vendor/nikic/php-parser/test/PhpParser/CodeTestAbstract.php +26 -0
- data/helpers/vendor/nikic/php-parser/test/PhpParser/CodeTestParser.php +68 -0
- data/helpers/vendor/nikic/php-parser/test/PhpParser/CommentTest.php +74 -0
- data/helpers/vendor/nikic/php-parser/test/PhpParser/ConstExprEvaluatorTest.php +130 -0
- data/helpers/vendor/nikic/php-parser/test/PhpParser/ErrorHandler/CollectingTest.php +23 -0
- data/helpers/vendor/nikic/php-parser/test/PhpParser/ErrorHandler/ThrowingTest.php +15 -0
- data/helpers/vendor/nikic/php-parser/test/PhpParser/ErrorTest.php +104 -0
- data/helpers/vendor/nikic/php-parser/test/PhpParser/Internal/DifferTest.php +65 -0
- data/helpers/vendor/nikic/php-parser/test/PhpParser/JsonDecoderTest.php +43 -0
- data/helpers/vendor/nikic/php-parser/test/PhpParser/Lexer/EmulativeTest.php +258 -0
- data/helpers/vendor/nikic/php-parser/test/PhpParser/LexerTest.php +263 -0
- data/helpers/vendor/nikic/php-parser/test/PhpParser/NameContextTest.php +65 -0
- data/helpers/vendor/nikic/php-parser/test/PhpParser/Node/IdentifierTest.php +29 -0
- data/helpers/vendor/nikic/php-parser/test/PhpParser/Node/NameTest.php +157 -0
- data/helpers/vendor/nikic/php-parser/test/PhpParser/Node/Scalar/MagicConstTest.php +26 -0
- data/helpers/vendor/nikic/php-parser/test/PhpParser/Node/Scalar/StringTest.php +61 -0
- data/helpers/vendor/nikic/php-parser/test/PhpParser/Node/Stmt/ClassConstTest.php +34 -0
- data/helpers/vendor/nikic/php-parser/test/PhpParser/Node/Stmt/ClassMethodTest.php +123 -0
- data/helpers/vendor/nikic/php-parser/test/PhpParser/Node/Stmt/ClassTest.php +113 -0
- data/helpers/vendor/nikic/php-parser/test/PhpParser/Node/Stmt/InterfaceTest.php +44 -0
- data/helpers/vendor/nikic/php-parser/test/PhpParser/Node/Stmt/PropertyTest.php +44 -0
- data/helpers/vendor/nikic/php-parser/test/PhpParser/NodeAbstractTest.php +325 -0
- data/helpers/vendor/nikic/php-parser/test/PhpParser/NodeDumperTest.php +106 -0
- data/helpers/vendor/nikic/php-parser/test/PhpParser/NodeFinderTest.php +59 -0
- data/helpers/vendor/nikic/php-parser/test/PhpParser/NodeTraverserTest.php +348 -0
- data/helpers/vendor/nikic/php-parser/test/PhpParser/NodeVisitor/FindingVisitorTest.php +53 -0
- data/helpers/vendor/nikic/php-parser/test/PhpParser/NodeVisitor/FirstFindingVisitorTest.php +38 -0
- data/helpers/vendor/nikic/php-parser/test/PhpParser/NodeVisitor/NameResolverTest.php +512 -0
- data/helpers/vendor/nikic/php-parser/test/PhpParser/Parser/MultipleTest.php +94 -0
- data/helpers/vendor/nikic/php-parser/test/PhpParser/Parser/Php5Test.php +13 -0
- data/helpers/vendor/nikic/php-parser/test/PhpParser/Parser/Php7Test.php +13 -0
- data/helpers/vendor/nikic/php-parser/test/PhpParser/ParserFactoryTest.php +36 -0
- data/helpers/vendor/nikic/php-parser/test/PhpParser/ParserTest.php +183 -0
- data/helpers/vendor/nikic/php-parser/test/PhpParser/PrettyPrinterTest.php +307 -0
- data/helpers/vendor/nikic/php-parser/test/bootstrap.php +31 -0
- data/helpers/vendor/nikic/php-parser/test/code/formatPreservation/addingPropertyType.test +39 -0
- data/helpers/vendor/nikic/php-parser/test/code/formatPreservation/anonClasses.test +28 -0
- data/helpers/vendor/nikic/php-parser/test/code/formatPreservation/array_spread.test +29 -0
- data/helpers/vendor/nikic/php-parser/test/code/formatPreservation/arrow_function.test +97 -0
- data/helpers/vendor/nikic/php-parser/test/code/formatPreservation/basic.test +190 -0
- data/helpers/vendor/nikic/php-parser/test/code/formatPreservation/blockConversion.test +29 -0
- data/helpers/vendor/nikic/php-parser/test/code/formatPreservation/comments.test +52 -0
- data/helpers/vendor/nikic/php-parser/test/code/formatPreservation/emptyListInsertion.test +110 -0
- data/helpers/vendor/nikic/php-parser/test/code/formatPreservation/fixup.test +67 -0
- data/helpers/vendor/nikic/php-parser/test/code/formatPreservation/inlineHtml.test +54 -0
- data/helpers/vendor/nikic/php-parser/test/code/formatPreservation/insertionOfNullable.test +176 -0
- data/helpers/vendor/nikic/php-parser/test/code/formatPreservation/listInsertion.test +309 -0
- data/helpers/vendor/nikic/php-parser/test/code/formatPreservation/listInsertionIndentation.test +17 -0
- data/helpers/vendor/nikic/php-parser/test/code/formatPreservation/listRemoval.test +41 -0
- data/helpers/vendor/nikic/php-parser/test/code/formatPreservation/modifierChange.test +33 -0
- data/helpers/vendor/nikic/php-parser/test/code/formatPreservation/nopCommentAtEnd.test +11 -0
- data/helpers/vendor/nikic/php-parser/test/code/formatPreservation/removalViaNull.test +194 -0
- data/helpers/vendor/nikic/php-parser/test/code/formatPreservation/removingPropertyType.test +22 -0
- data/helpers/vendor/nikic/php-parser/test/code/formatPreservation/traitAlias.test +19 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/blockComments.test +36 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/commentAtEndOfClass.test +38 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/comments.test +108 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/errorHandling/eofError.test +36 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/errorHandling/lexerErrors.test +143 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/errorHandling/recovery.test +1417 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/expr/arrayDef.test +173 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/expr/arrayDestructuring.test +164 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/expr/arraySpread.test +432 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/expr/arrow_function.test +145 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/expr/assign.test +381 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/expr/assignNewByRef.test +43 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/expr/cast.test +94 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/expr/clone.test +15 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/expr/closure.test +176 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/expr/comparison.test +129 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/expr/constant_expr.test +694 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/expr/errorSuppress.test +14 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/expr/exit.test +46 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/expr/fetchAndCall/args.test +109 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/expr/fetchAndCall/constFetch.test +43 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/expr/fetchAndCall/constantDeref.test +265 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/expr/fetchAndCall/funcCall.test +158 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/expr/fetchAndCall/newDeref.test +82 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/expr/fetchAndCall/objectAccess.test +184 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/expr/fetchAndCall/simpleArrayAccess.test +72 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/expr/fetchAndCall/staticCall.test +214 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/expr/fetchAndCall/staticPropertyFetch.test +113 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/expr/includeAndEval.test +50 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/expr/issetAndEmpty.test +88 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/expr/listReferences.test +92 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/expr/listWithKeys.test +84 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/expr/logic.test +190 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/expr/math.test +313 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/expr/new.test +187 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/expr/newWithoutClass.test +25 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/expr/print.test +14 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/expr/shellExec.test +56 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/expr/ternaryAndCoalesce.test +174 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/expr/trailingCommas.test +140 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/expr/uvs/globalNonSimpleVarError.test +27 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/expr/uvs/indirectCall.test +511 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/expr/uvs/isset.test +87 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/expr/uvs/misc.test +129 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/expr/uvs/new.test +119 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/expr/uvs/staticProperty.test +123 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/expr/variable.test +67 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/nopPositions.test +13 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/scalar/constantString.test +86 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/scalar/docString.test +115 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/scalar/docStringNewlines.test +77 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/scalar/encapsedNegVarOffset.test +82 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/scalar/encapsedString.test +344 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/scalar/flexibleDocString.test +361 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/scalar/flexibleDocStringErrors.test +117 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/scalar/float.test +108 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/scalar/int.test +61 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/scalar/invalidOctal.test +26 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/scalar/magicConst.test +47 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/scalar/numberSeparators.test +199 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/scalar/unicodeEscape.test +26 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/semiReserved.test +490 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/stmt/blocklessStatement.test +130 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/stmt/class/abstract.test +45 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/stmt/class/anonymous.test +214 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/stmt/class/conditional.test +35 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/stmt/class/constModifierErrors.test +137 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/stmt/class/constModifiers.test +77 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/stmt/class/final.test +19 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/stmt/class/implicitPublic.test +110 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/stmt/class/interface.test +40 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/stmt/class/modifier.test +254 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/stmt/class/name.test +266 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/stmt/class/php4Style.test +59 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/stmt/class/propertyTypes.test +70 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/stmt/class/simple.test +185 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/stmt/class/staticMethod.test +175 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/stmt/class/trait.test +188 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/stmt/const.test +48 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/stmt/controlFlow.test +59 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/stmt/declare.test +70 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/stmt/echo.test +32 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/stmt/function/builtinTypeDeclarations.test +87 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/stmt/function/byRef.test +49 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/stmt/function/conditional.test +35 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/stmt/function/defaultValues.test +173 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/stmt/function/nullableTypes.test +55 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/stmt/function/returnTypes.test +64 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/stmt/function/specialVars.test +57 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/stmt/function/typeDeclarations.test +63 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/stmt/function/variadic.test +134 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/stmt/function/variadicDefaultValue.test +31 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/stmt/generator/basic.test +319 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/stmt/generator/yieldPrecedence.test +253 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/stmt/generator/yieldUnaryPrecedence.test +56 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/stmt/haltCompiler.test +61 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/stmt/haltCompilerInvalidSyntax.test +6 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/stmt/haltCompilerOffset.test +36 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/stmt/haltCompilerOutermostScope.test +8 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/stmt/hashbang.test +26 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/stmt/if.test +103 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/stmt/inlineHTML.test +33 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/stmt/loop/do.test +17 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/stmt/loop/for.test +110 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/stmt/loop/foreach.test +168 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/stmt/loop/while.test +25 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/stmt/multiCatch.test +75 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/stmt/namespace/alias.test +178 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/stmt/namespace/braced.test +46 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/stmt/namespace/commentAfterNamespace.test +22 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/stmt/namespace/groupUse.test +188 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/stmt/namespace/groupUseErrors.test +113 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/stmt/namespace/groupUsePositions.test +28 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/stmt/namespace/groupUseTrailingComma.test +47 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/stmt/namespace/invalidName.test +87 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/stmt/namespace/mix.test +103 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/stmt/namespace/name.test +50 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/stmt/namespace/nested.test +30 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/stmt/namespace/notBraced.test +49 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/stmt/namespace/nsAfterHashbang.test +22 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/stmt/namespace/outsideStmt.test +60 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/stmt/namespace/outsideStmtInvalid.test +109 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/stmt/switch.test +81 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/stmt/tryCatch.test +144 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/stmt/tryWithoutCatch.test +29 -0
- data/helpers/vendor/nikic/php-parser/test/code/parser/stmt/unset.test +26 -0
- data/helpers/vendor/nikic/php-parser/test/code/prettyPrinter/comments.test +67 -0
- data/helpers/vendor/nikic/php-parser/test/code/prettyPrinter/commentsInCommaList.test +53 -0
- data/helpers/vendor/nikic/php-parser/test/code/prettyPrinter/expr/anonymousClass.test +27 -0
- data/helpers/vendor/nikic/php-parser/test/code/prettyPrinter/expr/arrayDestructuring.test +14 -0
- data/helpers/vendor/nikic/php-parser/test/code/prettyPrinter/expr/arraySpread.test +8 -0
- data/helpers/vendor/nikic/php-parser/test/code/prettyPrinter/expr/arrow_function.test +18 -0
- data/helpers/vendor/nikic/php-parser/test/code/prettyPrinter/expr/call.test +13 -0
- data/helpers/vendor/nikic/php-parser/test/code/prettyPrinter/expr/closure.test +18 -0
- data/helpers/vendor/nikic/php-parser/test/code/prettyPrinter/expr/constant_deref.test +13 -0
- data/helpers/vendor/nikic/php-parser/test/code/prettyPrinter/expr/docStrings.test +86 -0
- data/helpers/vendor/nikic/php-parser/test/code/prettyPrinter/expr/include.test +7 -0
- data/helpers/vendor/nikic/php-parser/test/code/prettyPrinter/expr/intrinsics.test +29 -0
- data/helpers/vendor/nikic/php-parser/test/code/prettyPrinter/expr/list.test +19 -0
- data/helpers/vendor/nikic/php-parser/test/code/prettyPrinter/expr/literals.test +158 -0
- data/helpers/vendor/nikic/php-parser/test/code/prettyPrinter/expr/numbers.test +35 -0
- data/helpers/vendor/nikic/php-parser/test/code/prettyPrinter/expr/operators.test +151 -0
- data/helpers/vendor/nikic/php-parser/test/code/prettyPrinter/expr/parentheses.test +86 -0
- data/helpers/vendor/nikic/php-parser/test/code/prettyPrinter/expr/shortArraySyntax.test +11 -0
- data/helpers/vendor/nikic/php-parser/test/code/prettyPrinter/expr/stringEscaping.test +23 -0
- data/helpers/vendor/nikic/php-parser/test/code/prettyPrinter/expr/uvs.test +23 -0
- data/helpers/vendor/nikic/php-parser/test/code/prettyPrinter/expr/variables.test +73 -0
- data/helpers/vendor/nikic/php-parser/test/code/prettyPrinter/expr/yield.test +46 -0
- data/helpers/vendor/nikic/php-parser/test/code/prettyPrinter/inlineHTMLandPHPtest.file-test +58 -0
- data/helpers/vendor/nikic/php-parser/test/code/prettyPrinter/nestedInlineHTML.test +16 -0
- data/helpers/vendor/nikic/php-parser/test/code/prettyPrinter/onlyInlineHTML.file-test +19 -0
- data/helpers/vendor/nikic/php-parser/test/code/prettyPrinter/onlyPHP.file-test +16 -0
- data/helpers/vendor/nikic/php-parser/test/code/prettyPrinter/stmt/alias.test +20 -0
- data/helpers/vendor/nikic/php-parser/test/code/prettyPrinter/stmt/break_continue.test +13 -0
- data/helpers/vendor/nikic/php-parser/test/code/prettyPrinter/stmt/class.test +53 -0
- data/helpers/vendor/nikic/php-parser/test/code/prettyPrinter/stmt/class_const.test +20 -0
- data/helpers/vendor/nikic/php-parser/test/code/prettyPrinter/stmt/const.test +11 -0
- data/helpers/vendor/nikic/php-parser/test/code/prettyPrinter/stmt/declare.test +17 -0
- data/helpers/vendor/nikic/php-parser/test/code/prettyPrinter/stmt/do_while.test +10 -0
- data/helpers/vendor/nikic/php-parser/test/code/prettyPrinter/stmt/for.test +28 -0
- data/helpers/vendor/nikic/php-parser/test/code/prettyPrinter/stmt/foreach.test +28 -0
- data/helpers/vendor/nikic/php-parser/test/code/prettyPrinter/stmt/function_signatures.test +43 -0
- data/helpers/vendor/nikic/php-parser/test/code/prettyPrinter/stmt/global_static_variables.test +11 -0
- data/helpers/vendor/nikic/php-parser/test/code/prettyPrinter/stmt/goto.test +9 -0
- data/helpers/vendor/nikic/php-parser/test/code/prettyPrinter/stmt/groupUse.test +16 -0
- data/helpers/vendor/nikic/php-parser/test/code/prettyPrinter/stmt/haltCompiler.file-test +27 -0
- data/helpers/vendor/nikic/php-parser/test/code/prettyPrinter/stmt/if.test +16 -0
- data/helpers/vendor/nikic/php-parser/test/code/prettyPrinter/stmt/multiCatch.test +19 -0
- data/helpers/vendor/nikic/php-parser/test/code/prettyPrinter/stmt/namespaces.test +50 -0
- data/helpers/vendor/nikic/php-parser/test/code/prettyPrinter/stmt/nullable_types.test +11 -0
- data/helpers/vendor/nikic/php-parser/test/code/prettyPrinter/stmt/properties.test +20 -0
- data/helpers/vendor/nikic/php-parser/test/code/prettyPrinter/stmt/switch.test +37 -0
- data/helpers/vendor/nikic/php-parser/test/code/prettyPrinter/stmt/throw.test +7 -0
- data/helpers/vendor/nikic/php-parser/test/code/prettyPrinter/stmt/traitUse.test +25 -0
- data/helpers/vendor/nikic/php-parser/test/code/prettyPrinter/stmt/tryCatch.test +24 -0
- data/helpers/vendor/nikic/php-parser/test/code/prettyPrinter/stmt/while.test +10 -0
- data/helpers/vendor/nikic/php-parser/test/updateTests.php +32 -0
- data/helpers/vendor/nikic/php-parser/test_old/run-php-src.sh +4 -0
- data/helpers/vendor/nikic/php-parser/test_old/run.php +273 -0
- data/helpers/vendor/ocramius/package-versions/CHANGELOG.md +120 -0
- data/helpers/vendor/ocramius/package-versions/CONTRIBUTING.md +39 -0
- data/helpers/vendor/ocramius/package-versions/LICENSE +19 -0
- data/helpers/vendor/ocramius/package-versions/README.md +60 -0
- data/helpers/vendor/ocramius/package-versions/composer.json +43 -0
- data/helpers/vendor/ocramius/package-versions/composer.lock +2869 -0
- data/helpers/vendor/ocramius/package-versions/infection.json.dist +11 -0
- data/helpers/vendor/ocramius/package-versions/phpcs.xml.dist +21 -0
- data/helpers/vendor/ocramius/package-versions/src/PackageVersions/FallbackVersions.php +88 -0
- data/helpers/vendor/ocramius/package-versions/src/PackageVersions/Installer.php +201 -0
- data/helpers/vendor/ocramius/package-versions/src/PackageVersions/Versions.php +76 -0
- data/helpers/vendor/paragonie/random_compat/LICENSE +22 -0
- data/helpers/vendor/paragonie/random_compat/build-phar.sh +5 -0
- data/helpers/vendor/paragonie/random_compat/composer.json +34 -0
- data/helpers/vendor/paragonie/random_compat/dist/random_compat.phar.pubkey +5 -0
- data/helpers/vendor/paragonie/random_compat/dist/random_compat.phar.pubkey.asc +11 -0
- data/helpers/vendor/paragonie/random_compat/lib/random.php +32 -0
- data/helpers/vendor/paragonie/random_compat/other/build_phar.php +57 -0
- data/helpers/vendor/paragonie/random_compat/psalm-autoload.php +9 -0
- data/helpers/vendor/paragonie/random_compat/psalm.xml +19 -0
- data/helpers/vendor/php-cs-fixer/diff/ChangeLog.md +7 -0
- data/helpers/vendor/php-cs-fixer/diff/LICENSE +5 -0
- data/helpers/vendor/php-cs-fixer/diff/LICENSE_DIFF +31 -0
- data/helpers/vendor/php-cs-fixer/diff/LICENSE_GECKO +19 -0
- data/helpers/vendor/php-cs-fixer/diff/README.md +13 -0
- data/helpers/vendor/php-cs-fixer/diff/composer.json +41 -0
- data/helpers/vendor/php-cs-fixer/diff/src/GeckoPackages/DiffOutputBuilder/ConfigurationException.php +36 -0
- data/helpers/vendor/php-cs-fixer/diff/src/GeckoPackages/DiffOutputBuilder/UnifiedDiffOutputBuilder.php +295 -0
- data/helpers/vendor/php-cs-fixer/diff/src/v1_4/Chunk.php +103 -0
- data/helpers/vendor/php-cs-fixer/diff/src/v1_4/Diff.php +73 -0
- data/helpers/vendor/php-cs-fixer/diff/src/v1_4/Differ.php +399 -0
- data/helpers/vendor/php-cs-fixer/diff/src/v1_4/LCS/LongestCommonSubsequence.php +27 -0
- data/helpers/vendor/php-cs-fixer/diff/src/v1_4/LCS/MemoryEfficientLongestCommonSubsequenceImplementation.php +95 -0
- data/helpers/vendor/php-cs-fixer/diff/src/v1_4/LCS/TimeEfficientLongestCommonSubsequenceImplementation.php +74 -0
- data/helpers/vendor/php-cs-fixer/diff/src/v1_4/Line.php +54 -0
- data/helpers/vendor/php-cs-fixer/diff/src/v1_4/Parser.php +110 -0
- data/helpers/vendor/php-cs-fixer/diff/src/v2_0/Chunk.php +78 -0
- data/helpers/vendor/php-cs-fixer/diff/src/v2_0/Diff.php +67 -0
- data/helpers/vendor/php-cs-fixer/diff/src/v2_0/Differ.php +321 -0
- data/helpers/vendor/php-cs-fixer/diff/src/v2_0/Exception/Exception.php +15 -0
- data/helpers/vendor/php-cs-fixer/diff/src/v2_0/Exception/InvalidArgumentException.php +15 -0
- data/helpers/vendor/php-cs-fixer/diff/src/v2_0/Line.php +44 -0
- data/helpers/vendor/php-cs-fixer/diff/src/v2_0/LongestCommonSubsequenceCalculator.php +24 -0
- data/helpers/vendor/php-cs-fixer/diff/src/v2_0/MemoryEfficientLongestCommonSubsequenceCalculator.php +81 -0
- data/helpers/vendor/php-cs-fixer/diff/src/v2_0/Output/AbstractChunkOutputBuilder.php +56 -0
- data/helpers/vendor/php-cs-fixer/diff/src/v2_0/Output/DiffOnlyOutputBuilder.php +63 -0
- data/helpers/vendor/php-cs-fixer/diff/src/v2_0/Output/DiffOutputBuilderInterface.php +19 -0
- data/helpers/vendor/php-cs-fixer/diff/src/v2_0/Output/UnifiedDiffOutputBuilder.php +165 -0
- data/helpers/vendor/php-cs-fixer/diff/src/v2_0/Parser.php +106 -0
- data/helpers/vendor/php-cs-fixer/diff/src/v2_0/TimeEfficientLongestCommonSubsequenceCalculator.php +66 -0
- data/helpers/vendor/php-cs-fixer/diff/src/v3_0/Chunk.php +78 -0
- data/helpers/vendor/php-cs-fixer/diff/src/v3_0/Diff.php +67 -0
- data/helpers/vendor/php-cs-fixer/diff/src/v3_0/Differ.php +329 -0
- data/helpers/vendor/php-cs-fixer/diff/src/v3_0/Exception/ConfigurationException.php +40 -0
- data/helpers/vendor/php-cs-fixer/diff/src/v3_0/Exception/Exception.php +15 -0
- data/helpers/vendor/php-cs-fixer/diff/src/v3_0/Exception/InvalidArgumentException.php +15 -0
- data/helpers/vendor/php-cs-fixer/diff/src/v3_0/Line.php +44 -0
- data/helpers/vendor/php-cs-fixer/diff/src/v3_0/LongestCommonSubsequenceCalculator.php +24 -0
- data/helpers/vendor/php-cs-fixer/diff/src/v3_0/MemoryEfficientLongestCommonSubsequenceCalculator.php +81 -0
- data/helpers/vendor/php-cs-fixer/diff/src/v3_0/Output/AbstractChunkOutputBuilder.php +56 -0
- data/helpers/vendor/php-cs-fixer/diff/src/v3_0/Output/DiffOnlyOutputBuilder.php +66 -0
- data/helpers/vendor/php-cs-fixer/diff/src/v3_0/Output/DiffOutputBuilderInterface.php +20 -0
- data/helpers/vendor/php-cs-fixer/diff/src/v3_0/Output/StrictUnifiedDiffOutputBuilder.php +315 -0
- data/helpers/vendor/php-cs-fixer/diff/src/v3_0/Output/UnifiedDiffOutputBuilder.php +259 -0
- data/helpers/vendor/php-cs-fixer/diff/src/v3_0/Parser.php +106 -0
- data/helpers/vendor/php-cs-fixer/diff/src/v3_0/TimeEfficientLongestCommonSubsequenceCalculator.php +66 -0
- data/helpers/vendor/phpstan/phpdoc-parser/build-abnfgen.sh +25 -0
- data/helpers/vendor/phpstan/phpdoc-parser/composer.json +29 -0
- data/helpers/vendor/phpstan/phpdoc-parser/doc/grammars/phpdoc-method.peg +41 -0
- data/helpers/vendor/phpstan/phpdoc-parser/doc/grammars/phpdoc-param.peg +14 -0
- data/helpers/vendor/phpstan/phpdoc-parser/doc/grammars/type.abnf +243 -0
- data/helpers/vendor/phpstan/phpdoc-parser/src/Ast/ConstExpr/ConstExprArrayItemNode.php +31 -0
- data/helpers/vendor/phpstan/phpdoc-parser/src/Ast/ConstExpr/ConstExprArrayNode.php +25 -0
- data/helpers/vendor/phpstan/phpdoc-parser/src/Ast/ConstExpr/ConstExprFalseNode.php +13 -0
- data/helpers/vendor/phpstan/phpdoc-parser/src/Ast/ConstExpr/ConstExprFloatNode.php +22 -0
- data/helpers/vendor/phpstan/phpdoc-parser/src/Ast/ConstExpr/ConstExprIntegerNode.php +22 -0
- data/helpers/vendor/phpstan/phpdoc-parser/src/Ast/ConstExpr/ConstExprNode.php +10 -0
- data/helpers/vendor/phpstan/phpdoc-parser/src/Ast/ConstExpr/ConstExprNullNode.php +13 -0
- data/helpers/vendor/phpstan/phpdoc-parser/src/Ast/ConstExpr/ConstExprStringNode.php +22 -0
- data/helpers/vendor/phpstan/phpdoc-parser/src/Ast/ConstExpr/ConstExprTrueNode.php +13 -0
- data/helpers/vendor/phpstan/phpdoc-parser/src/Ast/ConstExpr/ConstFetchNode.php +31 -0
- data/helpers/vendor/phpstan/phpdoc-parser/src/Ast/Node.php +10 -0
- data/helpers/vendor/phpstan/phpdoc-parser/src/Ast/PhpDoc/DeprecatedTagValueNode.php +22 -0
- data/helpers/vendor/phpstan/phpdoc-parser/src/Ast/PhpDoc/GenericTagValueNode.php +22 -0
- data/helpers/vendor/phpstan/phpdoc-parser/src/Ast/PhpDoc/InvalidTagValueNode.php +26 -0
- data/helpers/vendor/phpstan/phpdoc-parser/src/Ast/PhpDoc/MethodTagValueNode.php +44 -0
- data/helpers/vendor/phpstan/phpdoc-parser/src/Ast/PhpDoc/MethodTagValueParameterNode.php +46 -0
- data/helpers/vendor/phpstan/phpdoc-parser/src/Ast/PhpDoc/ParamTagValueNode.php +37 -0
- data/helpers/vendor/phpstan/phpdoc-parser/src/Ast/PhpDoc/PhpDocChildNode.php +10 -0
- data/helpers/vendor/phpstan/phpdoc-parser/src/Ast/PhpDoc/PhpDocNode.php +190 -0
- data/helpers/vendor/phpstan/phpdoc-parser/src/Ast/PhpDoc/PhpDocTagNode.php +26 -0
- data/helpers/vendor/phpstan/phpdoc-parser/src/Ast/PhpDoc/PhpDocTagValueNode.php +10 -0
- data/helpers/vendor/phpstan/phpdoc-parser/src/Ast/PhpDoc/PhpDocTextNode.php +22 -0
- data/helpers/vendor/phpstan/phpdoc-parser/src/Ast/PhpDoc/PropertyTagValueNode.php +32 -0
- data/helpers/vendor/phpstan/phpdoc-parser/src/Ast/PhpDoc/ReturnTagValueNode.php +28 -0
- data/helpers/vendor/phpstan/phpdoc-parser/src/Ast/PhpDoc/TemplateTagValueNode.php +32 -0
- data/helpers/vendor/phpstan/phpdoc-parser/src/Ast/PhpDoc/ThrowsTagValueNode.php +28 -0
- data/helpers/vendor/phpstan/phpdoc-parser/src/Ast/PhpDoc/VarTagValueNode.php +32 -0
- data/helpers/vendor/phpstan/phpdoc-parser/src/Ast/Type/ArrayShapeItemNode.php +44 -0
- data/helpers/vendor/phpstan/phpdoc-parser/src/Ast/Type/ArrayShapeNode.php +22 -0
- data/helpers/vendor/phpstan/phpdoc-parser/src/Ast/Type/ArrayTypeNode.php +22 -0
- data/helpers/vendor/phpstan/phpdoc-parser/src/Ast/Type/CallableTypeNode.php +31 -0
- data/helpers/vendor/phpstan/phpdoc-parser/src/Ast/Type/CallableTypeParameterNode.php +44 -0
- data/helpers/vendor/phpstan/phpdoc-parser/src/Ast/Type/GenericTypeNode.php +26 -0
- data/helpers/vendor/phpstan/phpdoc-parser/src/Ast/Type/IdentifierTypeNode.php +22 -0
- data/helpers/vendor/phpstan/phpdoc-parser/src/Ast/Type/IntersectionTypeNode.php +22 -0
- data/helpers/vendor/phpstan/phpdoc-parser/src/Ast/Type/NullableTypeNode.php +22 -0
- data/helpers/vendor/phpstan/phpdoc-parser/src/Ast/Type/ThisTypeNode.php +13 -0
- data/helpers/vendor/phpstan/phpdoc-parser/src/Ast/Type/TypeNode.php +10 -0
- data/helpers/vendor/phpstan/phpdoc-parser/src/Ast/Type/UnionTypeNode.php +22 -0
- data/helpers/vendor/phpstan/phpdoc-parser/src/Lexer/Lexer.php +164 -0
- data/helpers/vendor/phpstan/phpdoc-parser/src/Parser/ConstExprParser.php +97 -0
- data/helpers/vendor/phpstan/phpdoc-parser/src/Parser/ParserException.php +69 -0
- data/helpers/vendor/phpstan/phpdoc-parser/src/Parser/PhpDocParser.php +333 -0
- data/helpers/vendor/phpstan/phpdoc-parser/src/Parser/TokenIterator.php +191 -0
- data/helpers/vendor/phpstan/phpdoc-parser/src/Parser/TypeParser.php +272 -0
- data/helpers/vendor/phpstan/phpstan/.editorconfig +27 -0
- data/helpers/vendor/phpstan/phpstan/.gitattributes +2 -0
- data/helpers/vendor/phpstan/phpstan/.github/FUNDING.yml +4 -0
- data/helpers/vendor/phpstan/phpstan/.github/ISSUE_TEMPLATE/Bug_report.md +18 -0
- data/helpers/vendor/phpstan/phpstan/.github/ISSUE_TEMPLATE/Feature_request.md +8 -0
- data/helpers/vendor/phpstan/phpstan/.github/ISSUE_TEMPLATE/Function_signature_mismatch.md +6 -0
- data/helpers/vendor/phpstan/phpstan/.github/ISSUE_TEMPLATE/Support_question.md +8 -0
- data/helpers/vendor/phpstan/phpstan/.github/mergeable.yml +20 -0
- data/helpers/vendor/phpstan/phpstan/.gitignore +6 -0
- data/helpers/vendor/phpstan/phpstan/.travis.yml +64 -0
- data/helpers/vendor/phpstan/phpstan/BACKERS.md +65 -0
- data/helpers/vendor/phpstan/phpstan/CODE_OF_CONDUCT.md +74 -0
- data/helpers/vendor/phpstan/phpstan/LICENSE +21 -0
- data/helpers/vendor/phpstan/phpstan/README.md +740 -0
- data/helpers/vendor/phpstan/phpstan/appveyor.yml +70 -0
- data/helpers/vendor/phpstan/phpstan/bin/phpstan +57 -0
- data/helpers/vendor/phpstan/phpstan/build.xml +250 -0
- data/helpers/vendor/phpstan/phpstan/composer.json +75 -0
- data/helpers/vendor/phpstan/phpstan/conf/bleedingEdge.neon +13 -0
- data/helpers/vendor/phpstan/phpstan/conf/config.level0.neon +170 -0
- data/helpers/vendor/phpstan/phpstan/conf/config.level1.neon +11 -0
- data/helpers/vendor/phpstan/phpstan/conf/config.level2.neon +45 -0
- data/helpers/vendor/phpstan/phpstan/conf/config.level3.neon +78 -0
- data/helpers/vendor/phpstan/phpstan/conf/config.level4.neon +88 -0
- data/helpers/vendor/phpstan/phpstan/conf/config.level5.neon +6 -0
- data/helpers/vendor/phpstan/phpstan/conf/config.level6.neon +6 -0
- data/helpers/vendor/phpstan/phpstan/conf/config.level7.neon +5 -0
- data/helpers/vendor/phpstan/phpstan/conf/config.levelmax.neon +2 -0
- data/helpers/vendor/phpstan/phpstan/conf/config.neon +759 -0
- data/helpers/vendor/phpstan/phpstan/phpcs.xml +72 -0
- data/helpers/vendor/phpstan/phpstan/phpstan-baseline.neon +85 -0
- data/helpers/vendor/phpstan/phpstan/src/AnalysedCodeException.php +8 -0
- data/helpers/vendor/phpstan/phpstan/src/Analyser/Analyser.php +409 -0
- data/helpers/vendor/phpstan/phpstan/src/Analyser/EnsuredNonNullabilityResult.php +37 -0
- data/helpers/vendor/phpstan/phpstan/src/Analyser/EnsuredNonNullabilityResultExpression.php +33 -0
- data/helpers/vendor/phpstan/phpstan/src/Analyser/Error.php +77 -0
- data/helpers/vendor/phpstan/phpstan/src/Analyser/ExpressionContext.php +69 -0
- data/helpers/vendor/phpstan/phpstan/src/Analyser/ExpressionResult.php +85 -0
- data/helpers/vendor/phpstan/phpstan/src/Analyser/IgnoredError.php +69 -0
- data/helpers/vendor/phpstan/phpstan/src/Analyser/NameScope.php +57 -0
- data/helpers/vendor/phpstan/phpstan/src/Analyser/NodeScopeResolver.php +2533 -0
- data/helpers/vendor/phpstan/phpstan/src/Analyser/OutOfClassScope.php +39 -0
- data/helpers/vendor/phpstan/phpstan/src/Analyser/Scope.php +3210 -0
- data/helpers/vendor/phpstan/phpstan/src/Analyser/ScopeContext.php +103 -0
- data/helpers/vendor/phpstan/phpstan/src/Analyser/ScopeFactory.php +107 -0
- data/helpers/vendor/phpstan/phpstan/src/Analyser/SpecifiedTypes.php +116 -0
- data/helpers/vendor/phpstan/phpstan/src/Analyser/StatementExitPoint.php +32 -0
- data/helpers/vendor/phpstan/phpstan/src/Analyser/StatementResult.php +101 -0
- data/helpers/vendor/phpstan/phpstan/src/Analyser/TypeSpecifier.php +660 -0
- data/helpers/vendor/phpstan/phpstan/src/Analyser/TypeSpecifierAwareExtension.php +10 -0
- data/helpers/vendor/phpstan/phpstan/src/Analyser/TypeSpecifierContext.php +90 -0
- data/helpers/vendor/phpstan/phpstan/src/Analyser/TypeSpecifierFactory.php +52 -0
- data/helpers/vendor/phpstan/phpstan/src/Analyser/UndefinedVariableException.php +31 -0
- data/helpers/vendor/phpstan/phpstan/src/Analyser/VariableTypeHolder.php +60 -0
- data/helpers/vendor/phpstan/phpstan/src/Broker/AnonymousClassNameHelper.php +45 -0
- data/helpers/vendor/phpstan/phpstan/src/Broker/Broker.php +613 -0
- data/helpers/vendor/phpstan/phpstan/src/Broker/BrokerFactory.php +62 -0
- data/helpers/vendor/phpstan/phpstan/src/Broker/ClassAutoloadingException.php +38 -0
- data/helpers/vendor/phpstan/phpstan/src/Broker/ClassNotFoundException.php +22 -0
- data/helpers/vendor/phpstan/phpstan/src/Broker/FunctionNotFoundException.php +22 -0
- data/helpers/vendor/phpstan/phpstan/src/Cache/Cache.php +35 -0
- data/helpers/vendor/phpstan/phpstan/src/Cache/CacheStorage.php +21 -0
- data/helpers/vendor/phpstan/phpstan/src/Cache/FileCacheStorage.php +51 -0
- data/helpers/vendor/phpstan/phpstan/src/Cache/MemoryCacheStorage.php +31 -0
- data/helpers/vendor/phpstan/phpstan/src/Command/AnalyseApplication.php +161 -0
- data/helpers/vendor/phpstan/phpstan/src/Command/AnalyseCommand.php +141 -0
- data/helpers/vendor/phpstan/phpstan/src/Command/AnalysisResult.php +118 -0
- data/helpers/vendor/phpstan/phpstan/src/Command/CommandHelper.php +407 -0
- data/helpers/vendor/phpstan/phpstan/src/Command/DumpDependenciesCommand.php +99 -0
- data/helpers/vendor/phpstan/phpstan/src/Command/ErrorFormatter/BaselineNeonErrorFormatter.php +75 -0
- data/helpers/vendor/phpstan/phpstan/src/Command/ErrorFormatter/CheckstyleErrorFormatter.php +102 -0
- data/helpers/vendor/phpstan/phpstan/src/Command/ErrorFormatter/ErrorFormatter.php +22 -0
- data/helpers/vendor/phpstan/phpstan/src/Command/ErrorFormatter/GitlabErrorFormatter.php +67 -0
- data/helpers/vendor/phpstan/phpstan/src/Command/ErrorFormatter/JsonErrorFormatter.php +59 -0
- data/helpers/vendor/phpstan/phpstan/src/Command/ErrorFormatter/RawErrorFormatter.php +38 -0
- data/helpers/vendor/phpstan/phpstan/src/Command/ErrorFormatter/TableErrorFormatter.php +107 -0
- data/helpers/vendor/phpstan/phpstan/src/Command/ErrorsConsoleStyle.php +116 -0
- data/helpers/vendor/phpstan/phpstan/src/Command/InceptionNotSuccessfulException.php +8 -0
- data/helpers/vendor/phpstan/phpstan/src/Command/InceptionResult.php +111 -0
- data/helpers/vendor/phpstan/phpstan/src/Dependency/DependencyDumper.php +143 -0
- data/helpers/vendor/phpstan/phpstan/src/Dependency/DependencyResolver.php +256 -0
- data/helpers/vendor/phpstan/phpstan/src/DependencyInjection/ConditionalTagsExtension.php +55 -0
- data/helpers/vendor/phpstan/phpstan/src/DependencyInjection/Configurator.php +33 -0
- data/helpers/vendor/phpstan/phpstan/src/DependencyInjection/Container.php +32 -0
- data/helpers/vendor/phpstan/phpstan/src/DependencyInjection/ContainerFactory.php +102 -0
- data/helpers/vendor/phpstan/phpstan/src/DependencyInjection/LoaderFactory.php +38 -0
- data/helpers/vendor/phpstan/phpstan/src/DependencyInjection/Nette/NetteContainer.php +65 -0
- data/helpers/vendor/phpstan/phpstan/src/DependencyInjection/ParametersSchemaExtension.php +94 -0
- data/helpers/vendor/phpstan/phpstan/src/DependencyInjection/RulesExtension.php +30 -0
- data/helpers/vendor/phpstan/phpstan/src/File/FileExcluder.php +69 -0
- data/helpers/vendor/phpstan/phpstan/src/File/FileFinder.php +65 -0
- data/helpers/vendor/phpstan/phpstan/src/File/FileFinderResult.php +37 -0
- data/helpers/vendor/phpstan/phpstan/src/File/FileHelper.php +77 -0
- data/helpers/vendor/phpstan/phpstan/src/File/FuzzyRelativePathHelper.php +105 -0
- data/helpers/vendor/phpstan/phpstan/src/File/PathNotFoundException.php +22 -0
- data/helpers/vendor/phpstan/phpstan/src/File/RelativePathHelper.php +10 -0
- data/helpers/vendor/phpstan/phpstan/src/File/SimpleRelativePathHelper.php +25 -0
- data/helpers/vendor/phpstan/phpstan/src/Internal/ContainerDynamicReturnTypeExtension.php +52 -0
- data/helpers/vendor/phpstan/phpstan/src/Internal/ScopeIsInClassTypeSpecifyingExtension.php +85 -0
- data/helpers/vendor/phpstan/phpstan/src/Internal/UnionTypeGetInternalDynamicReturnTypeExtension.php +40 -0
- data/helpers/vendor/phpstan/phpstan/src/Node/ClosureReturnStatementsNode.php +66 -0
- data/helpers/vendor/phpstan/phpstan/src/Node/ExecutionEndNode.php +58 -0
- data/helpers/vendor/phpstan/phpstan/src/Node/FileNode.php +41 -0
- data/helpers/vendor/phpstan/phpstan/src/Node/FunctionReturnStatementsNode.php +57 -0
- data/helpers/vendor/phpstan/phpstan/src/Node/InArrowFunctionNode.php +35 -0
- data/helpers/vendor/phpstan/phpstan/src/Node/InClassMethodNode.php +32 -0
- data/helpers/vendor/phpstan/phpstan/src/Node/LiteralArrayItem.php +33 -0
- data/helpers/vendor/phpstan/phpstan/src/Node/LiteralArrayNode.php +42 -0
- data/helpers/vendor/phpstan/phpstan/src/Node/MethodReturnStatementsNode.php +57 -0
- data/helpers/vendor/phpstan/phpstan/src/Node/ReturnStatement.php +33 -0
- data/helpers/vendor/phpstan/phpstan/src/Node/UnreachableStatementNode.php +34 -0
- data/helpers/vendor/phpstan/phpstan/src/Node/VirtualNode.php +10 -0
- data/helpers/vendor/phpstan/phpstan/src/Parser/CachedParser.php +120 -0
- data/helpers/vendor/phpstan/phpstan/src/Parser/DirectParser.php +53 -0
- data/helpers/vendor/phpstan/phpstan/src/Parser/FunctionCallStatementFinder.php +45 -0
- data/helpers/vendor/phpstan/phpstan/src/Parser/Parser.php +20 -0
- data/helpers/vendor/phpstan/phpstan/src/Parser/ParserErrorsException.php +32 -0
- data/helpers/vendor/phpstan/phpstan/src/PhpDoc/PhpDocBlock.php +270 -0
- data/helpers/vendor/phpstan/phpstan/src/PhpDoc/PhpDocNodeResolver.php +248 -0
- data/helpers/vendor/phpstan/phpstan/src/PhpDoc/PhpDocStringResolver.php +38 -0
- data/helpers/vendor/phpstan/phpstan/src/PhpDoc/ResolvedPhpDocBlock.php +206 -0
- data/helpers/vendor/phpstan/phpstan/src/PhpDoc/Tag/DeprecatedTag.php +32 -0
- data/helpers/vendor/phpstan/phpstan/src/PhpDoc/Tag/MethodTag.php +66 -0
- data/helpers/vendor/phpstan/phpstan/src/PhpDoc/Tag/MethodTagParameter.php +70 -0
- data/helpers/vendor/phpstan/phpstan/src/PhpDoc/Tag/ParamTag.php +44 -0
- data/helpers/vendor/phpstan/phpstan/src/PhpDoc/Tag/PropertyTag.php +58 -0
- data/helpers/vendor/phpstan/phpstan/src/PhpDoc/Tag/ReturnTag.php +34 -0
- data/helpers/vendor/phpstan/phpstan/src/PhpDoc/Tag/ThrowsTag.php +34 -0
- data/helpers/vendor/phpstan/phpstan/src/PhpDoc/Tag/VarTag.php +34 -0
- data/helpers/vendor/phpstan/phpstan/src/PhpDoc/TypeNodeResolver.php +415 -0
- data/helpers/vendor/phpstan/phpstan/src/PhpDoc/TypeNodeResolverAwareExtension.php +10 -0
- data/helpers/vendor/phpstan/phpstan/src/PhpDoc/TypeNodeResolverExtension.php +16 -0
- data/helpers/vendor/phpstan/phpstan/src/PhpDoc/TypeNodeResolverFactory.php +27 -0
- data/helpers/vendor/phpstan/phpstan/src/PhpDoc/TypeStringResolver.php +39 -0
- data/helpers/vendor/phpstan/phpstan/src/Reflection/Annotations/AnnotationMethodReflection.php +107 -0
- data/helpers/vendor/phpstan/phpstan/src/Reflection/Annotations/AnnotationPropertyReflection.php +72 -0
- data/helpers/vendor/phpstan/phpstan/src/Reflection/Annotations/AnnotationsMethodParameterReflection.php +61 -0
- data/helpers/vendor/phpstan/phpstan/src/Reflection/Annotations/AnnotationsMethodsClassReflectionExtension.php +113 -0
- data/helpers/vendor/phpstan/phpstan/src/Reflection/Annotations/AnnotationsPropertiesClassReflectionExtension.php +86 -0
- data/helpers/vendor/phpstan/phpstan/src/Reflection/BrokerAwareClassReflectionExtension.php +11 -0
- data/helpers/vendor/phpstan/phpstan/src/Reflection/BrokerAwareExtension.php +12 -0
- data/helpers/vendor/phpstan/phpstan/src/Reflection/ClassConstantReflection.php +90 -0
- data/helpers/vendor/phpstan/phpstan/src/Reflection/ClassMemberAccessAnswerer.php +18 -0
- data/helpers/vendor/phpstan/phpstan/src/Reflection/ClassMemberReflection.php +16 -0
- data/helpers/vendor/phpstan/phpstan/src/Reflection/ClassReflection.php +507 -0
- data/helpers/vendor/phpstan/phpstan/src/Reflection/ConstantReflection.php +15 -0
- data/helpers/vendor/phpstan/phpstan/src/Reflection/DeprecatableReflection.php +10 -0
- data/helpers/vendor/phpstan/phpstan/src/Reflection/Dummy/DummyConstantReflection.php +56 -0
- data/helpers/vendor/phpstan/phpstan/src/Reflection/Dummy/DummyConstructorReflection.php +63 -0
- data/helpers/vendor/phpstan/phpstan/src/Reflection/Dummy/DummyMethodReflection.php +64 -0
- data/helpers/vendor/phpstan/phpstan/src/Reflection/Dummy/DummyPropertyReflection.php +51 -0
- data/helpers/vendor/phpstan/phpstan/src/Reflection/ExtendedPropertyReflection.php +14 -0
- data/helpers/vendor/phpstan/phpstan/src/Reflection/FinalizableReflection.php +10 -0
- data/helpers/vendor/phpstan/phpstan/src/Reflection/FunctionReflection.php +15 -0
- data/helpers/vendor/phpstan/phpstan/src/Reflection/FunctionReflectionFactory.php +35 -0
- data/helpers/vendor/phpstan/phpstan/src/Reflection/FunctionVariant.php +53 -0
- data/helpers/vendor/phpstan/phpstan/src/Reflection/FunctionVariantWithPhpDocs.php +61 -0
- data/helpers/vendor/phpstan/phpstan/src/Reflection/InaccessibleMethod.php +42 -0
- data/helpers/vendor/phpstan/phpstan/src/Reflection/InternableReflection.php +10 -0
- data/helpers/vendor/phpstan/phpstan/src/Reflection/MethodPrototypeReflection.php +63 -0
- data/helpers/vendor/phpstan/phpstan/src/Reflection/MethodReflection.php +17 -0
- data/helpers/vendor/phpstan/phpstan/src/Reflection/MethodsClassReflectionExtension.php +12 -0
- data/helpers/vendor/phpstan/phpstan/src/Reflection/MissingConstantFromReflectionException.php +26 -0
- data/helpers/vendor/phpstan/phpstan/src/Reflection/MissingMethodFromReflectionException.php +26 -0
- data/helpers/vendor/phpstan/phpstan/src/Reflection/MissingPropertyFromReflectionException.php +26 -0
- data/helpers/vendor/phpstan/phpstan/src/Reflection/Native/NativeFunctionReflection.php +73 -0
- data/helpers/vendor/phpstan/phpstan/src/Reflection/Native/NativeMethodReflection.php +120 -0
- data/helpers/vendor/phpstan/phpstan/src/Reflection/Native/NativeParameterReflection.php +89 -0
- data/helpers/vendor/phpstan/phpstan/src/Reflection/ParameterReflection.php +20 -0
- data/helpers/vendor/phpstan/phpstan/src/Reflection/ParameterReflectionWithPhpDocs.php +14 -0
- data/helpers/vendor/phpstan/phpstan/src/Reflection/ParametersAcceptor.php +25 -0
- data/helpers/vendor/phpstan/phpstan/src/Reflection/ParametersAcceptorSelector.php +247 -0
- data/helpers/vendor/phpstan/phpstan/src/Reflection/ParametersAcceptorWithPhpDocs.php +19 -0
- data/helpers/vendor/phpstan/phpstan/src/Reflection/PassedByReference.php +87 -0
- data/helpers/vendor/phpstan/phpstan/src/Reflection/Php/BuiltinMethodReflection.php +57 -0
- data/helpers/vendor/phpstan/phpstan/src/Reflection/Php/DummyParameter.php +63 -0
- data/helpers/vendor/phpstan/phpstan/src/Reflection/Php/FakeBuiltinMethodReflection.php +123 -0
- data/helpers/vendor/phpstan/phpstan/src/Reflection/Php/NativeBuiltinMethodReflection.php +116 -0
- data/helpers/vendor/phpstan/phpstan/src/Reflection/Php/PhpClassReflectionExtension.php +714 -0
- data/helpers/vendor/phpstan/phpstan/src/Reflection/Php/PhpFunctionFromParserNodeReflection.php +214 -0
- data/helpers/vendor/phpstan/phpstan/src/Reflection/Php/PhpFunctionReflection.php +268 -0
- data/helpers/vendor/phpstan/phpstan/src/Reflection/Php/PhpMethodFromParserNodeReflection.php +128 -0
- data/helpers/vendor/phpstan/phpstan/src/Reflection/Php/PhpMethodReflection.php +439 -0
- data/helpers/vendor/phpstan/phpstan/src/Reflection/Php/PhpMethodReflectionFactory.php +38 -0
- data/helpers/vendor/phpstan/phpstan/src/Reflection/Php/PhpParameterFromParserNodeReflection.php +106 -0
- data/helpers/vendor/phpstan/phpstan/src/Reflection/Php/PhpParameterReflection.php +95 -0
- data/helpers/vendor/phpstan/phpstan/src/Reflection/Php/PhpPropertyReflection.php +168 -0
- data/helpers/vendor/phpstan/phpstan/src/Reflection/Php/SimpleXMLElementProperty.php +83 -0
- data/helpers/vendor/phpstan/phpstan/src/Reflection/Php/UniversalObjectCrateProperty.php +61 -0
- data/helpers/vendor/phpstan/phpstan/src/Reflection/Php/UniversalObjectCratesClassReflectionExtension.php +81 -0
- data/helpers/vendor/phpstan/phpstan/src/Reflection/PhpDefect/PhpDefectClassReflectionExtension.php +241 -0
- data/helpers/vendor/phpstan/phpstan/src/Reflection/PhpDefect/PhpDefectPropertyReflection.php +62 -0
- data/helpers/vendor/phpstan/phpstan/src/Reflection/PropertiesClassReflectionExtension.php +12 -0
- data/helpers/vendor/phpstan/phpstan/src/Reflection/PropertyReflection.php +16 -0
- data/helpers/vendor/phpstan/phpstan/src/Reflection/ReflectionWithFilename.php +13 -0
- data/helpers/vendor/phpstan/phpstan/src/Reflection/SignatureMap/FunctionSignature.php +53 -0
- data/helpers/vendor/phpstan/phpstan/src/Reflection/SignatureMap/ParameterSignature.php +66 -0
- data/helpers/vendor/phpstan/phpstan/src/Reflection/SignatureMap/SignatureMapParser.php +127 -0
- data/helpers/vendor/phpstan/phpstan/src/Reflection/SignatureMap/SignatureMapProvider.php +82 -0
- data/helpers/vendor/phpstan/phpstan/src/Reflection/SignatureMap/functionMap.php +13797 -0
- data/helpers/vendor/phpstan/phpstan/src/Reflection/SignatureMap/functionMap_php74delta.php +53 -0
- data/helpers/vendor/phpstan/phpstan/src/Reflection/ThrowableReflection.php +12 -0
- data/helpers/vendor/phpstan/phpstan/src/Reflection/TrivialParametersAcceptor.php +29 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/Arrays/AllowedArrayKeysTypes.php +27 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/Arrays/AppendedArrayItemTypeRule.php +93 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/Arrays/AppendedArrayKeyTypeRule.php +94 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/Arrays/DeadForeachRule.php +38 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/Arrays/DuplicateKeysInLiteralArraysRule.php +85 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/Arrays/InvalidKeyInArrayDimFetchRule.php +57 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/Arrays/InvalidKeyInArrayItemRule.php +51 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/Arrays/IterableInForeachRule.php +61 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/Arrays/NonexistentOffsetInArrayDimFetchRule.php +140 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/Arrays/OffsetAccessAssignOpRule.php +95 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/Arrays/OffsetAccessAssignmentRule.php +89 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/Arrays/OffsetAccessWithoutDimForReadingRule.php +33 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/Cast/EchoRule.php +63 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/Cast/InvalidCastRule.php +100 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/Cast/InvalidPartOfEncapsedStringRule.php +76 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/Cast/PrintRule.php +57 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/ClassCaseSensitivityCheck.php +62 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/ClassNameNodePair.php +32 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/Classes/ClassConstantDeclarationRule.php +36 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/Classes/ClassConstantRule.php +165 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/Classes/ExistingClassInClassExtendsRule.php +40 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/Classes/ExistingClassInInstanceOfRule.php +82 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/Classes/ExistingClassInTraitUseRule.php +41 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/Classes/ExistingClassesInClassImplementsRule.php +41 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/Classes/ExistingClassesInInterfaceExtendsRule.php +41 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/Classes/ImpossibleInstanceOfRule.php +69 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/Classes/InstantiationRule.php +219 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/Classes/NewStaticRule.php +68 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/Classes/RequireParentConstructCallRule.php +147 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/Classes/UnusedConstructorParametersRule.php +65 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/Comparison/BooleanAndConstantConditionRule.php +70 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/Comparison/BooleanNotConstantConditionRule.php +50 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/Comparison/BooleanOrConstantConditionRule.php +70 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/Comparison/ConstantConditionRuleHelper.php +70 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/Comparison/ElseIfConstantConditionRule.php +50 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/Comparison/IfConstantConditionRule.php +50 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/Comparison/ImpossibleCheckTypeFunctionCallRule.php +68 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/Comparison/ImpossibleCheckTypeHelper.php +245 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/Comparison/ImpossibleCheckTypeMethodCallRule.php +84 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/Comparison/ImpossibleCheckTypeStaticMethodCallRule.php +99 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/Comparison/StrictComparisonOfDifferentTypesRule.php +85 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/Comparison/TernaryOperatorConstantConditionRule.php +48 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/Comparison/UnreachableIfBranchesRule.php +57 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/Comparison/UnreachableTernaryElseBranchRule.php +52 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/Constants/ConstantRule.php +35 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/DeadCode/NoopRule.php +65 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/DeadCode/UnreachableStatementRule.php +34 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/Exceptions/CaughtExceptionExistenceRule.php +75 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/Exceptions/DeadCatchRule.php +56 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/FileRuleError.php +10 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/FoundTypeResult.php +56 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/FunctionCallParametersCheck.php +192 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/FunctionDefinitionCheck.php +323 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/FunctionReturnTypeCheck.php +88 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/Functions/ArrowFunctionReturnTypeRule.php +53 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/Functions/CallCallablesRule.php +131 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/Functions/CallToFunctionParametersRule.php +71 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/Functions/CallToNonExistentFunctionRule.php +65 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/Functions/ClosureReturnTypeRule.php +53 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/Functions/ExistingClassesInArrowFunctionTypehintsRule.php +41 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/Functions/ExistingClassesInClosureTypehintsRule.php +42 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/Functions/ExistingClassesInTypehintsRule.php +47 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/Functions/IncompatibleDefaultParameterTypeRule.php +83 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/Functions/InnerFunctionRule.php +33 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/Functions/NonExistentDefinedFunctionRule.php +51 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/Functions/PrintfParametersRule.php +128 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/Functions/ReturnTypeRule.php +77 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/Functions/UnusedClosureUsesRule.php +49 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/Generators/YieldFromTypeRule.php +94 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/Generators/YieldInGeneratorRule.php +75 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/Generators/YieldTypeRule.php +85 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/LineRuleError.php +10 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/Methods/CallMethodsRule.php +171 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/Methods/CallStaticMethodsRule.php +279 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/Methods/ExistingClassesInTypehintsRule.php +59 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/Methods/IncompatibleDefaultParameterTypeRule.php +70 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/Methods/MethodSignatureRule.php +188 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/Methods/ReturnTypeRule.php +76 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/Missing/MissingClosureNativeReturnTypehintRule.php +141 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/Missing/MissingReturnRule.php +96 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/Namespaces/ExistingNamesInGroupUseRule.php +129 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/Namespaces/ExistingNamesInUseRule.php +130 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/Operators/InvalidBinaryOperationRule.php +119 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/Operators/InvalidComparisonOperationRule.php +114 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/Operators/InvalidIncDecOperationRule.php +77 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/Operators/InvalidUnaryOperationRule.php +44 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/PhpDoc/IncompatiblePhpDocTypeRule.php +161 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/PhpDoc/IncompatiblePropertyPhpDocTypeRule.php +76 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/PhpDoc/InvalidPhpDocTagValueRule.php +76 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/PhpDoc/InvalidPhpDocVarTagTypeRule.php +126 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/PhpDoc/InvalidThrowsPhpDocValueRule.php +67 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/PhpDoc/WrongVariableNameInVarTagRule.php +283 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/Properties/AccessPropertiesInAssignRule.php +39 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/Properties/AccessPropertiesRule.php +141 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/Properties/AccessStaticPropertiesInAssignRule.php +39 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/Properties/AccessStaticPropertiesRule.php +203 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/Properties/DefaultValueTypesAssignedToPropertiesRule.php +70 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/Properties/ExistingClassesInPropertiesRule.php +102 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/Properties/PropertyDescriptor.php +26 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/Properties/PropertyReflectionFinder.php +49 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/Properties/ReadingWriteOnlyPropertiesRule.php +90 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/Properties/TypesAssignedToPropertiesRule.php +94 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/Properties/WritingToReadOnlyPropertiesRule.php +96 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/Regexp/RegularExpressionPatternRule.php +126 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/Registry.php +46 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/RegistryFactory.php +27 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/Rule.php +23 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/RuleError.php +10 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/RuleErrorBuilder.php +63 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/RuleErrors/RuleErrorWithMessage.php +23 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/RuleErrors/RuleErrorWithMessageAndFile.php +32 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/RuleErrors/RuleErrorWithMessageAndLine.php +32 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/RuleErrors/RuleErrorWithMessageAndLineAndFile.php +42 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/RuleLevelHelper.php +208 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/TooWideTypehints/TooWideClosureReturnTypehintRule.php +70 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/TooWideTypehints/TooWideFunctionReturnTypehintRule.php +77 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/TooWideTypehints/TooWidePrivateMethodReturnTypehintRule.php +80 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/UnusedFunctionParametersCheck.php +87 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/Variables/DefinedVariableInAnonymousFunctionUseRule.php +54 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/Variables/DefinedVariableRule.php +73 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/Variables/ThisVariableRule.php +57 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/Variables/ThrowTypeRule.php +63 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/Variables/VariableCertaintyInIssetRule.php +66 -0
- data/helpers/vendor/phpstan/phpstan/src/Rules/Variables/VariableCloningRule.php +68 -0
- data/helpers/vendor/phpstan/phpstan/src/ShouldNotHappenException.php +13 -0
- data/helpers/vendor/phpstan/phpstan/src/Testing/LevelsTestCase.php +134 -0
- data/helpers/vendor/phpstan/phpstan/src/Testing/RuleTestCase.php +154 -0
- data/helpers/vendor/phpstan/phpstan/src/Testing/TestCase.php +375 -0
- data/helpers/vendor/phpstan/phpstan/src/TrinaryLogic.php +148 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/Accessory/AccessoryType.php +10 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/Accessory/HasMethodType.php +122 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/Accessory/HasOffsetType.php +157 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/Accessory/HasPropertyType.php +107 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/Accessory/NonEmptyArrayType.php +161 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/ArrayType.php +349 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/BenevolentUnionType.php +45 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/BooleanType.php +98 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/CallableType.php +279 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/CallableTypeHelper.php +59 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/ClosureType.php +319 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/CommentHelper.php +20 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/CompoundType.php +14 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/CompoundTypeHelper.php +15 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/Constant/ConstantArrayType.php +583 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/Constant/ConstantArrayTypeAndMethod.php +76 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/Constant/ConstantArrayTypeBuilder.php +111 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/Constant/ConstantBooleanType.php +68 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/Constant/ConstantFloatType.php +93 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/Constant/ConstantIntegerType.php +61 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/Constant/ConstantScalarToBooleanTrait.php +15 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/Constant/ConstantStringType.php +224 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/ConstantScalarType.php +13 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/ConstantType.php +10 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/DynamicFunctionReturnTypeExtension.php +16 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/DynamicMethodReturnTypeExtension.php +18 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/DynamicStaticMethodReturnTypeExtension.php +18 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/ErrorType.php +32 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/FileTypeMapper.php +320 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/FloatType.php +138 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/FunctionTypeSpecifyingExtension.php +18 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/Generic/TemplateMixedType.php +192 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/Generic/TemplateObjectType.php +198 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/Generic/TemplateType.php +21 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/Generic/TemplateTypeArgumentStrategy.php +34 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/Generic/TemplateTypeFactory.php +28 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/Generic/TemplateTypeHelper.php +46 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/Generic/TemplateTypeMap.php +66 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/Generic/TemplateTypeParameterStrategy.php +38 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/Generic/TemplateTypeScope.php +37 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/Generic/TemplateTypeStrategy.php +15 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/IntegerType.php +87 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/IntersectionType.php +441 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/IterableType.php +221 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/JustNullableTypeTrait.php +59 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/MethodTypeSpecifyingExtension.php +20 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/MixedType.php +300 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/NeverType.php +223 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/NonexistentParentClassType.php +115 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/NullType.php +146 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/ObjectType.php +730 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/ObjectWithoutClassType.php +164 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/OperatorTypeSpecifyingExtension.php +12 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/Php/ArgumentBasedFunctionReturnTypeExtension.php +67 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/Php/ArrayFillFunctionReturnTypeExtension.php +72 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/Php/ArrayFillKeysFunctionReturnTypeExtension.php +48 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/Php/ArrayFilterFunctionReturnTypeReturnTypeExtension.php +124 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/Php/ArrayKeyDynamicReturnTypeExtension.php +41 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/Php/ArrayKeyExistsFunctionTypeSpecifyingExtension.php +65 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/Php/ArrayKeyFirstDynamicReturnTypeExtension.php +58 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/Php/ArrayKeyLastDynamicReturnTypeExtension.php +58 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/Php/ArrayKeysFunctionDynamicReturnTypeExtension.php +45 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/Php/ArrayMapFunctionReturnTypeExtension.php +69 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/Php/ArrayMergeFunctionDynamicReturnTypeExtension.php +52 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/Php/ArrayPointerFunctionsDynamicReturnTypeExtension.php +72 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/Php/ArrayPopFunctionReturnTypeExtension.php +58 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/Php/ArrayReduceFunctionReturnTypeExtension.php +67 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/Php/ArraySearchFunctionDynamicReturnTypeExtension.php +165 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/Php/ArrayShiftFunctionReturnTypeExtension.php +58 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/Php/ArraySliceFunctionReturnTypeExtension.php +81 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/Php/ArrayValuesFunctionDynamicReturnTypeExtension.php +43 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/Php/AssertFunctionTypeSpecifyingExtension.php +36 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/Php/CountFunctionReturnTypeExtension.php +51 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/Php/CountFunctionTypeSpecifyingExtension.php +53 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/Php/CurlInitReturnTypeExtension.php +37 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/Php/DefineConstantTypeSpecifyingExtension.php +61 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/Php/DefinedConstantTypeSpecifyingExtension.php +62 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/Php/DioStatDynamicFunctionReturnTypeExtension.php +49 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/Php/ExplodeFunctionDynamicReturnTypeExtension.php +52 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/Php/FilterVarDynamicReturnTypeExtension.php +80 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/Php/GetParentClassDynamicFunctionReturnTypeExtension.php +104 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/Php/GettimeofdayDynamicFunctionReturnTypeExtension.php +63 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/Php/HrtimeFunctionReturnTypeExtension.php +47 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/Php/InArrayFunctionTypeSpecifyingExtension.php +57 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/Php/IsAFunctionTypeSpecifyingExtension.php +81 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/Php/IsArrayFunctionTypeSpecifyingExtension.php +43 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/Php/IsBoolFunctionTypeSpecifyingExtension.php +42 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/Php/IsCallableFunctionTypeSpecifyingExtension.php +69 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/Php/IsCountableFunctionTypeSpecifyingExtension.php +52 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/Php/IsFloatFunctionTypeSpecifyingExtension.php +46 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/Php/IsIntFunctionTypeSpecifyingExtension.php +46 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/Php/IsIterableFunctionTypeSpecifyingExtension.php +43 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/Php/IsNullFunctionTypeSpecifyingExtension.php +42 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/Php/IsNumericFunctionTypeSpecifyingExtension.php +54 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/Php/IsObjectFunctionTypeSpecifyingExtension.php +42 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/Php/IsResourceFunctionTypeSpecifyingExtension.php +42 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/Php/IsScalarFunctionTypeSpecifyingExtension.php +51 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/Php/IsStringFunctionTypeSpecifyingExtension.php +42 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/Php/IsSubclassOfFunctionTypeSpecifyingExtension.php +85 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/Php/JsonThrowOnErrorDynamicReturnTypeExtension.php +62 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/Php/MbFunctionsReturnTypeExtension.php +87 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/Php/MethodExistsTypeSpecifyingExtension.php +62 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/Php/MicrotimeFunctionReturnTypeExtension.php +48 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/Php/MinMaxFunctionReturnTypeExtension.php +183 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/Php/ParseUrlFunctionDynamicReturnTypeExtension.php +137 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/Php/PathinfoFunctionDynamicReturnTypeExtension.php +54 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/Php/PropertyExistsTypeSpecifyingExtension.php +62 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/Php/RangeFunctionReturnTypeExtension.php +106 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/Php/ReplaceFunctionsDynamicReturnTypeExtension.php +86 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/Php/SimpleXMLElementClassPropertyReflectionExtension.php +25 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/Php/SprintfFunctionDynamicReturnTypeExtension.php +47 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/Php/StatDynamicReturnTypeExtension.php +76 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/Php/StrSplitFunctionReturnTypeExtension.php +84 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/Php/StrtotimeFunctionReturnTypeExtension.php +45 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/Php/TypeSpecifyingFunctionsDynamicReturnTypeExtension.php +93 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/Php/VarExportFunctionDynamicReturnTypeExtension.php +58 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/Php/VersionCompareFunctionDynamicReturnTypeExtension.php +82 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/RecursionGuard.php +26 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/ResourceType.php +87 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/StaticMethodTypeSpecifyingExtension.php +20 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/StaticResolvableType.php +12 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/StaticType.php +255 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/StringAlwaysAcceptingObjectWithToStringType.php +28 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/StringType.php +130 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/SubtractableType.php +16 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/ThisType.php +27 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/Traits/ConstantScalarTypeTrait.php +53 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/Traits/FalseyBooleanTypeTrait.php +16 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/Traits/MaybeCallableTypeTrait.php +26 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/Traits/MaybeIterableTypeTrait.php +32 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/Traits/MaybeObjectTypeTrait.php +67 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/Traits/MaybeOffsetAccessibleTypeTrait.php +32 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/Traits/NonCallableTypeTrait.php +21 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/Traits/NonGenericTypeTrait.php +16 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/Traits/NonIterableTypeTrait.php +32 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/Traits/NonObjectTypeTrait.php +64 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/Traits/NonOffsetAccessibleTypeTrait.php +32 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/Traits/ObjectTypeTrait.php +107 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/Traits/TruthyBooleanTypeTrait.php +16 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/Traits/UndecidedBooleanTypeTrait.php +15 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/Type.php +110 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/TypeCombinator.php +593 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/TypeTraverser.php +47 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/TypeUtils.php +262 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/TypeWithClassName.php +10 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/TypehintHelper.php +122 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/UnionType.php +622 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/UnionTypeHelper.php +123 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/VerbosityLevel.php +67 -0
- data/helpers/vendor/phpstan/phpstan/src/Type/VoidType.php +103 -0
- data/helpers/vendor/phpstan/phpstan/tmp/.gitignore +4 -0
- data/helpers/vendor/phpstan/phpstan/tmp/cache/.gitignore +2 -0
- data/helpers/vendor/phpstan/phpstan/tmp/generated/.gitignore +2 -0
- data/helpers/vendor/psr/log/.gitignore +1 -0
- data/helpers/vendor/psr/log/LICENSE +19 -0
- data/helpers/vendor/psr/log/Psr/Log/AbstractLogger.php +128 -0
- data/helpers/vendor/psr/log/Psr/Log/InvalidArgumentException.php +7 -0
- data/helpers/vendor/psr/log/Psr/Log/LogLevel.php +18 -0
- data/helpers/vendor/psr/log/Psr/Log/LoggerAwareInterface.php +18 -0
- data/helpers/vendor/psr/log/Psr/Log/LoggerAwareTrait.php +26 -0
- data/helpers/vendor/psr/log/Psr/Log/LoggerInterface.php +123 -0
- data/helpers/vendor/psr/log/Psr/Log/LoggerTrait.php +140 -0
- data/helpers/vendor/psr/log/Psr/Log/NullLogger.php +28 -0
- data/helpers/vendor/psr/log/Psr/Log/Test/LoggerInterfaceTest.php +144 -0
- data/helpers/vendor/psr/log/Psr/Log/Test/TestLogger.php +146 -0
- data/helpers/vendor/psr/log/README.md +52 -0
- data/helpers/vendor/psr/log/composer.json +26 -0
- data/helpers/vendor/seld/jsonlint/.gitignore +3 -0
- data/helpers/vendor/seld/jsonlint/.travis.yml +25 -0
- data/helpers/vendor/seld/jsonlint/CHANGELOG.md +66 -0
- data/helpers/vendor/seld/jsonlint/LICENSE +19 -0
- data/helpers/vendor/seld/jsonlint/README.md +89 -0
- data/helpers/vendor/seld/jsonlint/bin/jsonlint +117 -0
- data/helpers/vendor/seld/jsonlint/composer.json +24 -0
- data/helpers/vendor/seld/jsonlint/phpunit.xml.dist +25 -0
- data/helpers/vendor/seld/jsonlint/src/Seld/JsonLint/DuplicateKeyException.php +26 -0
- data/helpers/vendor/seld/jsonlint/src/Seld/JsonLint/JsonParser.php +502 -0
- data/helpers/vendor/seld/jsonlint/src/Seld/JsonLint/Lexer.php +217 -0
- data/helpers/vendor/seld/jsonlint/src/Seld/JsonLint/ParsingException.php +28 -0
- data/helpers/vendor/seld/jsonlint/src/Seld/JsonLint/Undefined.php +16 -0
- data/helpers/vendor/seld/jsonlint/tests/JsonParserTest.php +230 -0
- data/helpers/vendor/seld/jsonlint/tests/bom.json +6 -0
- data/helpers/vendor/seld/jsonlint/tests/bootstrap.php +13 -0
- data/helpers/vendor/seld/phar-utils/.gitignore +1 -0
- data/helpers/vendor/seld/phar-utils/LICENSE +19 -0
- data/helpers/vendor/seld/phar-utils/README.md +39 -0
- data/helpers/vendor/seld/phar-utils/composer.json +26 -0
- data/helpers/vendor/seld/phar-utils/composer.lock +19 -0
- data/helpers/vendor/seld/phar-utils/src/Timestamps.php +192 -0
- data/helpers/vendor/symfony/console/.gitignore +3 -0
- data/helpers/vendor/symfony/console/Application.php +1266 -0
- data/helpers/vendor/symfony/console/CHANGELOG.md +112 -0
- data/helpers/vendor/symfony/console/Command/Command.php +668 -0
- data/helpers/vendor/symfony/console/Command/HelpCommand.php +81 -0
- data/helpers/vendor/symfony/console/Command/ListCommand.php +90 -0
- data/helpers/vendor/symfony/console/Command/LockableTrait.php +72 -0
- data/helpers/vendor/symfony/console/CommandLoader/CommandLoaderInterface.php +46 -0
- data/helpers/vendor/symfony/console/CommandLoader/ContainerCommandLoader.php +64 -0
- data/helpers/vendor/symfony/console/CommandLoader/FactoryCommandLoader.php +62 -0
- data/helpers/vendor/symfony/console/ConsoleEvents.php +60 -0
- data/helpers/vendor/symfony/console/DependencyInjection/AddConsoleCommandPass.php +106 -0
- data/helpers/vendor/symfony/console/Descriptor/ApplicationDescription.php +151 -0
- data/helpers/vendor/symfony/console/Descriptor/Descriptor.php +107 -0
- data/helpers/vendor/symfony/console/Descriptor/DescriptorInterface.php +29 -0
- data/helpers/vendor/symfony/console/Descriptor/JsonDescriptor.php +168 -0
- data/helpers/vendor/symfony/console/Descriptor/MarkdownDescriptor.php +182 -0
- data/helpers/vendor/symfony/console/Descriptor/TextDescriptor.php +342 -0
- data/helpers/vendor/symfony/console/Descriptor/XmlDescriptor.php +248 -0
- data/helpers/vendor/symfony/console/Event/ConsoleCommandEvent.php +60 -0
- data/helpers/vendor/symfony/console/Event/ConsoleErrorEvent.php +83 -0
- data/helpers/vendor/symfony/console/Event/ConsoleEvent.php +67 -0
- data/helpers/vendor/symfony/console/Event/ConsoleExceptionEvent.php +71 -0
- data/helpers/vendor/symfony/console/Event/ConsoleTerminateEvent.php +58 -0
- data/helpers/vendor/symfony/console/EventListener/ErrorListener.php +95 -0
- data/helpers/vendor/symfony/console/Exception/CommandNotFoundException.php +43 -0
- data/helpers/vendor/symfony/console/Exception/ExceptionInterface.php +21 -0
- data/helpers/vendor/symfony/console/Exception/InvalidArgumentException.php +19 -0
- data/helpers/vendor/symfony/console/Exception/InvalidOptionException.php +21 -0
- data/helpers/vendor/symfony/console/Exception/LogicException.php +19 -0
- data/helpers/vendor/symfony/console/Exception/RuntimeException.php +19 -0
- data/helpers/vendor/symfony/console/Formatter/OutputFormatter.php +243 -0
- data/helpers/vendor/symfony/console/Formatter/OutputFormatterInterface.php +71 -0
- data/helpers/vendor/symfony/console/Formatter/OutputFormatterStyle.php +183 -0
- data/helpers/vendor/symfony/console/Formatter/OutputFormatterStyleInterface.php +62 -0
- data/helpers/vendor/symfony/console/Formatter/OutputFormatterStyleStack.php +109 -0
- data/helpers/vendor/symfony/console/Helper/DebugFormatterHelper.php +127 -0
- data/helpers/vendor/symfony/console/Helper/DescriptorHelper.php +91 -0
- data/helpers/vendor/symfony/console/Helper/FormatterHelper.php +106 -0
- data/helpers/vendor/symfony/console/Helper/Helper.php +138 -0
- data/helpers/vendor/symfony/console/Helper/HelperInterface.php +39 -0
- data/helpers/vendor/symfony/console/Helper/HelperSet.php +108 -0
- data/helpers/vendor/symfony/console/Helper/InputAwareHelper.php +33 -0
- data/helpers/vendor/symfony/console/Helper/ProcessHelper.php +141 -0
- data/helpers/vendor/symfony/console/Helper/ProgressBar.php +614 -0
- data/helpers/vendor/symfony/console/Helper/ProgressIndicator.php +270 -0
- data/helpers/vendor/symfony/console/Helper/QuestionHelper.php +499 -0
- data/helpers/vendor/symfony/console/Helper/SymfonyQuestionHelper.php +124 -0
- data/helpers/vendor/symfony/console/Helper/Table.php +698 -0
- data/helpers/vendor/symfony/console/Helper/TableCell.php +75 -0
- data/helpers/vendor/symfony/console/Helper/TableSeparator.php +25 -0
- data/helpers/vendor/symfony/console/Helper/TableStyle.php +258 -0
- data/helpers/vendor/symfony/console/Input/ArgvInput.php +372 -0
- data/helpers/vendor/symfony/console/Input/ArrayInput.php +208 -0
- data/helpers/vendor/symfony/console/Input/Input.php +203 -0
- data/helpers/vendor/symfony/console/Input/InputArgument.php +129 -0
- data/helpers/vendor/symfony/console/Input/InputAwareInterface.php +26 -0
- data/helpers/vendor/symfony/console/Input/InputDefinition.php +404 -0
- data/helpers/vendor/symfony/console/Input/InputInterface.php +163 -0
- data/helpers/vendor/symfony/console/Input/InputOption.php +208 -0
- data/helpers/vendor/symfony/console/Input/StreamableInputInterface.php +37 -0
- data/helpers/vendor/symfony/console/Input/StringInput.php +72 -0
- data/helpers/vendor/symfony/console/LICENSE +19 -0
- data/helpers/vendor/symfony/console/Logger/ConsoleLogger.php +128 -0
- data/helpers/vendor/symfony/console/Output/BufferedOutput.php +45 -0
- data/helpers/vendor/symfony/console/Output/ConsoleOutput.php +152 -0
- data/helpers/vendor/symfony/console/Output/ConsoleOutputInterface.php +30 -0
- data/helpers/vendor/symfony/console/Output/NullOutput.php +123 -0
- data/helpers/vendor/symfony/console/Output/Output.php +175 -0
- data/helpers/vendor/symfony/console/Output/OutputInterface.php +114 -0
- data/helpers/vendor/symfony/console/Output/StreamOutput.php +124 -0
- data/helpers/vendor/symfony/console/Question/ChoiceQuestion.php +187 -0
- data/helpers/vendor/symfony/console/Question/ConfirmationQuestion.php +59 -0
- data/helpers/vendor/symfony/console/Question/Question.php +242 -0
- data/helpers/vendor/symfony/console/README.md +20 -0
- data/helpers/vendor/symfony/console/Resources/bin/hiddeninput.exe +0 -0
- data/helpers/vendor/symfony/console/Style/OutputStyle.php +155 -0
- data/helpers/vendor/symfony/console/Style/StyleInterface.php +153 -0
- data/helpers/vendor/symfony/console/Style/SymfonyStyle.php +431 -0
- data/helpers/vendor/symfony/console/Terminal.php +163 -0
- data/helpers/vendor/symfony/console/Tester/ApplicationTester.php +176 -0
- data/helpers/vendor/symfony/console/Tester/CommandTester.php +162 -0
- data/helpers/vendor/symfony/console/Tests/ApplicationTest.php +1744 -0
- data/helpers/vendor/symfony/console/Tests/Command/CommandTest.php +430 -0
- data/helpers/vendor/symfony/console/Tests/Command/HelpCommandTest.php +71 -0
- data/helpers/vendor/symfony/console/Tests/Command/ListCommandTest.php +113 -0
- data/helpers/vendor/symfony/console/Tests/Command/LockableTraitTest.php +67 -0
- data/helpers/vendor/symfony/console/Tests/CommandLoader/ContainerCommandLoaderTest.php +59 -0
- data/helpers/vendor/symfony/console/Tests/CommandLoader/FactoryCommandLoaderTest.php +58 -0
- data/helpers/vendor/symfony/console/Tests/DependencyInjection/AddConsoleCommandPassTest.php +256 -0
- data/helpers/vendor/symfony/console/Tests/Descriptor/AbstractDescriptorTest.php +107 -0
- data/helpers/vendor/symfony/console/Tests/Descriptor/JsonDescriptorTest.php +35 -0
- data/helpers/vendor/symfony/console/Tests/Descriptor/MarkdownDescriptorTest.php +45 -0
- data/helpers/vendor/symfony/console/Tests/Descriptor/ObjectsProvider.php +82 -0
- data/helpers/vendor/symfony/console/Tests/Descriptor/TextDescriptorTest.php +53 -0
- data/helpers/vendor/symfony/console/Tests/Descriptor/XmlDescriptorTest.php +27 -0
- data/helpers/vendor/symfony/console/Tests/EventListener/ErrorListenerTest.php +156 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/BarBucCommand.php +11 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/DescriptorApplication1.php +18 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/DescriptorApplication2.php +26 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/DescriptorApplicationMbString.php +24 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/DescriptorCommand1.php +27 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/DescriptorCommand2.php +32 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/DescriptorCommand3.php +27 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/DescriptorCommand4.php +25 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/DescriptorCommandMbString.php +32 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/DummyOutput.php +36 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/Foo1Command.php +26 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/Foo2Command.php +21 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/Foo3Command.php +29 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/Foo4Command.php +11 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/Foo5Command.php +10 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/Foo6Command.php +11 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/FooCommand.php +33 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/FooHiddenCommand.php +21 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/FooLock2Command.php +28 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/FooLockCommand.php +27 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/FooOptCommand.php +36 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/FooSameCaseLowercaseCommand.php +11 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/FooSameCaseUppercaseCommand.php +11 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/FooSubnamespaced1Command.php +26 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/FooSubnamespaced2Command.php +26 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/FoobarCommand.php +25 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_0.php +11 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_1.php +13 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_10.php +17 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_11.php +12 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_12.php +13 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_13.php +14 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_14.php +17 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_15.php +14 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_16.php +15 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_17.php +13 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_2.php +16 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_3.php +12 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_4.php +34 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_5.php +37 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_6.php +16 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_7.php +15 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_8.php +26 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/command_9.php +11 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/command/interactive_command_1.php +19 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/output/interactive_output_1.txt +7 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/output/output_0.txt +3 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/output/output_1.txt +9 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/output/output_10.txt +7 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/output/output_11.txt +4 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/output/output_12.txt +6 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/output/output_13.txt +7 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/output/output_14.txt +6 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/output/output_15.txt +7 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/output/output_16.txt +8 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/output/output_17.txt +7 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/output/output_2.txt +13 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/output/output_3.txt +7 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/output/output_4.txt +32 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/output/output_5.txt +18 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/output/output_6.txt +6 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/output/output_7.txt +5 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/output/output_8.txt +9 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/Style/SymfonyStyle/output/output_9.txt +5 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/TestAmbiguousCommandRegistering.php +22 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/TestAmbiguousCommandRegistering2.php +21 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/TestCommand.php +28 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/application_1.json +156 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/application_1.md +172 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/application_1.txt +17 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/application_1.xml +104 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/application_2.json +509 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/application_2.md +431 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/application_2.txt +21 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/application_2.xml +254 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/application_filtered_namespace.txt +16 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/application_gethelp.txt +1 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/application_mbstring.md +269 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/application_mbstring.txt +19 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/application_renderexception1.txt +5 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/application_renderexception2.txt +7 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/application_renderexception3.txt +18 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/application_renderexception3decorated.txt +18 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/application_renderexception4.txt +6 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/application_renderexception_doublewidth1.txt +8 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/application_renderexception_doublewidth1decorated.txt +8 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/application_renderexception_doublewidth2.txt +9 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/application_renderexception_escapeslines.txt +9 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/application_renderexception_linebreaks.txt +11 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/application_run1.txt +17 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/application_run2.txt +26 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/application_run3.txt +26 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/application_run4.txt +1 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/command_1.json +15 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/command_1.md +12 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/command_1.txt +7 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/command_1.xml +12 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/command_2.json +33 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/command_2.md +29 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/command_2.txt +13 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/command_2.xml +21 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/command_mbstring.md +29 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/command_mbstring.txt +13 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_argument_1.json +7 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_argument_1.md +5 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_argument_1.txt +1 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_argument_1.xml +5 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_argument_2.json +7 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_argument_2.md +7 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_argument_2.txt +1 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_argument_2.xml +5 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_argument_3.json +7 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_argument_3.md +7 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_argument_3.txt +1 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_argument_3.xml +7 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_argument_4.json +7 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_argument_4.md +8 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_argument_4.txt +2 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_argument_4.xml +6 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_argument_with_default_inf_value.json +7 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_argument_with_default_inf_value.md +7 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_argument_with_default_inf_value.txt +1 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_argument_with_default_inf_value.xml +7 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_argument_with_style.json +7 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_argument_with_style.md +7 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_argument_with_style.txt +1 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_argument_with_style.xml +7 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_definition_1.json +4 -0
- 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 +5 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_definition_2.json +12 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_definition_2.md +7 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_definition_2.txt +2 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_definition_2.xml +10 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_definition_3.json +14 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_definition_3.md +8 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_definition_3.txt +2 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_definition_3.xml +9 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_definition_4.json +22 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_definition_4.md +16 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_definition_4.txt +5 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_definition_4.xml +14 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_1.json +9 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_1.md +6 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_1.txt +1 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_1.xml +4 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_2.json +9 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_2.md +8 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_2.txt +1 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_2.xml +7 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_3.json +9 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_3.md +8 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_3.txt +1 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_3.xml +5 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_4.json +9 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_4.md +8 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_4.txt +1 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_4.xml +5 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_5.json +9 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_5.md +9 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_5.txt +2 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_5.xml +6 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_6.json +9 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_6.md +8 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_6.txt +1 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_6.xml +5 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_with_default_inf_value.json +9 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_with_default_inf_value.md +8 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_with_default_inf_value.txt +1 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_with_default_inf_value.xml +7 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_with_style.json +9 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_with_style.md +8 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_with_style.txt +1 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_with_style.xml +7 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_with_style_array.json +12 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_with_style_array.md +8 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_with_style_array.txt +1 -0
- data/helpers/vendor/symfony/console/Tests/Fixtures/input_option_with_style_array.xml +8 -0
- data/helpers/vendor/symfony/console/Tests/Formatter/OutputFormatterStyleStackTest.php +69 -0
- data/helpers/vendor/symfony/console/Tests/Formatter/OutputFormatterStyleTest.php +100 -0
- data/helpers/vendor/symfony/console/Tests/Formatter/OutputFormatterTest.php +344 -0
- data/helpers/vendor/symfony/console/Tests/Helper/AbstractQuestionHelperTest.php +34 -0
- data/helpers/vendor/symfony/console/Tests/Helper/FormatterHelperTest.php +129 -0
- data/helpers/vendor/symfony/console/Tests/Helper/HelperSetTest.php +127 -0
- data/helpers/vendor/symfony/console/Tests/Helper/HelperTest.php +55 -0
- data/helpers/vendor/symfony/console/Tests/Helper/ProcessHelperTest.php +118 -0
- data/helpers/vendor/symfony/console/Tests/Helper/ProgressBarTest.php +805 -0
- data/helpers/vendor/symfony/console/Tests/Helper/ProgressIndicatorTest.php +175 -0
- data/helpers/vendor/symfony/console/Tests/Helper/QuestionHelperTest.php +1081 -0
- data/helpers/vendor/symfony/console/Tests/Helper/SymfonyQuestionHelperTest.php +166 -0
- data/helpers/vendor/symfony/console/Tests/Helper/TableStyleTest.php +26 -0
- data/helpers/vendor/symfony/console/Tests/Helper/TableTest.php +868 -0
- data/helpers/vendor/symfony/console/Tests/Input/ArgvInputTest.php +462 -0
- data/helpers/vendor/symfony/console/Tests/Input/ArrayInputTest.php +173 -0
- data/helpers/vendor/symfony/console/Tests/Input/InputArgumentTest.php +109 -0
- data/helpers/vendor/symfony/console/Tests/Input/InputDefinitionTest.php +389 -0
- data/helpers/vendor/symfony/console/Tests/Input/InputOptionTest.php +194 -0
- data/helpers/vendor/symfony/console/Tests/Input/InputTest.php +137 -0
- data/helpers/vendor/symfony/console/Tests/Input/StringInputTest.php +87 -0
- data/helpers/vendor/symfony/console/Tests/Logger/ConsoleLoggerTest.php +213 -0
- data/helpers/vendor/symfony/console/Tests/Output/ConsoleOutputTest.php +42 -0
- data/helpers/vendor/symfony/console/Tests/Output/NullOutputTest.php +88 -0
- data/helpers/vendor/symfony/console/Tests/Output/OutputTest.php +176 -0
- data/helpers/vendor/symfony/console/Tests/Output/StreamOutputTest.php +59 -0
- data/helpers/vendor/symfony/console/Tests/Question/ChoiceQuestionTest.php +64 -0
- data/helpers/vendor/symfony/console/Tests/Question/ConfirmationQuestionTest.php +62 -0
- data/helpers/vendor/symfony/console/Tests/Style/SymfonyStyleTest.php +118 -0
- data/helpers/vendor/symfony/console/Tests/TerminalTest.php +97 -0
- data/helpers/vendor/symfony/console/Tests/Tester/ApplicationTesterTest.php +70 -0
- data/helpers/vendor/symfony/console/Tests/Tester/CommandTesterTest.php +212 -0
- data/helpers/vendor/symfony/console/composer.json +56 -0
- data/helpers/vendor/symfony/console/phpunit.xml.dist +41 -0
- data/helpers/vendor/symfony/debug/.gitignore +3 -0
- data/helpers/vendor/symfony/debug/BufferingLogger.php +37 -0
- data/helpers/vendor/symfony/debug/CHANGELOG.md +64 -0
- data/helpers/vendor/symfony/debug/Debug.php +60 -0
- data/helpers/vendor/symfony/debug/DebugClassLoader.php +455 -0
- data/helpers/vendor/symfony/debug/ErrorHandler.php +787 -0
- data/helpers/vendor/symfony/debug/Exception/ClassNotFoundException.php +36 -0
- data/helpers/vendor/symfony/debug/Exception/ContextErrorException.php +40 -0
- data/helpers/vendor/symfony/debug/Exception/FatalErrorException.php +82 -0
- data/helpers/vendor/symfony/debug/Exception/FatalThrowableError.php +45 -0
- data/helpers/vendor/symfony/debug/Exception/FlattenException.php +263 -0
- data/helpers/vendor/symfony/debug/Exception/OutOfMemoryException.php +21 -0
- data/helpers/vendor/symfony/debug/Exception/SilencedErrorContext.php +67 -0
- data/helpers/vendor/symfony/debug/Exception/UndefinedFunctionException.php +36 -0
- data/helpers/vendor/symfony/debug/Exception/UndefinedMethodException.php +36 -0
- data/helpers/vendor/symfony/debug/ExceptionHandler.php +444 -0
- data/helpers/vendor/symfony/debug/FatalErrorHandler/ClassNotFoundFatalErrorHandler.php +214 -0
- data/helpers/vendor/symfony/debug/FatalErrorHandler/FatalErrorHandlerInterface.php +32 -0
- data/helpers/vendor/symfony/debug/FatalErrorHandler/UndefinedFunctionFatalErrorHandler.php +84 -0
- data/helpers/vendor/symfony/debug/FatalErrorHandler/UndefinedMethodFatalErrorHandler.php +66 -0
- data/helpers/vendor/symfony/debug/LICENSE +19 -0
- data/helpers/vendor/symfony/debug/README.md +13 -0
- data/helpers/vendor/symfony/debug/Resources/ext/README.md +134 -0
- data/helpers/vendor/symfony/debug/Resources/ext/config.m4 +63 -0
- data/helpers/vendor/symfony/debug/Resources/ext/config.w32 +13 -0
- data/helpers/vendor/symfony/debug/Resources/ext/php_symfony_debug.h +60 -0
- data/helpers/vendor/symfony/debug/Resources/ext/symfony_debug.c +283 -0
- data/helpers/vendor/symfony/debug/Resources/ext/tests/001.phpt +155 -0
- data/helpers/vendor/symfony/debug/Resources/ext/tests/002.phpt +65 -0
- data/helpers/vendor/symfony/debug/Resources/ext/tests/002_1.phpt +48 -0
- data/helpers/vendor/symfony/debug/Resources/ext/tests/003.phpt +87 -0
- data/helpers/vendor/symfony/debug/Tests/DebugClassLoaderTest.php +445 -0
- data/helpers/vendor/symfony/debug/Tests/ErrorHandlerTest.php +646 -0
- data/helpers/vendor/symfony/debug/Tests/Exception/FlattenExceptionTest.php +302 -0
- data/helpers/vendor/symfony/debug/Tests/ExceptionHandlerTest.php +163 -0
- data/helpers/vendor/symfony/debug/Tests/FatalErrorHandler/ClassNotFoundFatalErrorHandlerTest.php +180 -0
- data/helpers/vendor/symfony/debug/Tests/FatalErrorHandler/UndefinedFunctionFatalErrorHandlerTest.php +81 -0
- data/helpers/vendor/symfony/debug/Tests/FatalErrorHandler/UndefinedMethodFatalErrorHandlerTest.php +76 -0
- data/helpers/vendor/symfony/debug/Tests/Fixtures/AnnotatedClass.php +13 -0
- data/helpers/vendor/symfony/debug/Tests/Fixtures/ClassAlias.php +3 -0
- data/helpers/vendor/symfony/debug/Tests/Fixtures/DefinitionInEvaluatedCode.php +11 -0
- data/helpers/vendor/symfony/debug/Tests/Fixtures/DeprecatedClass.php +12 -0
- data/helpers/vendor/symfony/debug/Tests/Fixtures/DeprecatedInterface.php +12 -0
- data/helpers/vendor/symfony/debug/Tests/Fixtures/ErrorHandlerThatUsesThePreviousOne.php +22 -0
- data/helpers/vendor/symfony/debug/Tests/Fixtures/ExtendedFinalMethod.php +19 -0
- data/helpers/vendor/symfony/debug/Tests/Fixtures/FinalClasses.php +85 -0
- data/helpers/vendor/symfony/debug/Tests/Fixtures/FinalMethod.php +26 -0
- data/helpers/vendor/symfony/debug/Tests/Fixtures/FinalMethod2Trait.php +10 -0
- data/helpers/vendor/symfony/debug/Tests/Fixtures/InternalClass.php +15 -0
- data/helpers/vendor/symfony/debug/Tests/Fixtures/InternalInterface.php +10 -0
- data/helpers/vendor/symfony/debug/Tests/Fixtures/InternalTrait.php +10 -0
- data/helpers/vendor/symfony/debug/Tests/Fixtures/InternalTrait2.php +23 -0
- data/helpers/vendor/symfony/debug/Tests/Fixtures/LoggerThatSetAnErrorHandler.php +15 -0
- data/helpers/vendor/symfony/debug/Tests/Fixtures/NonDeprecatedInterface.php +7 -0
- data/helpers/vendor/symfony/debug/Tests/Fixtures/PEARClass.php +5 -0
- data/helpers/vendor/symfony/debug/Tests/Fixtures/Throwing.php +3 -0
- data/helpers/vendor/symfony/debug/Tests/Fixtures/ToStringThrower.php +24 -0
- data/helpers/vendor/symfony/debug/Tests/Fixtures/TraitWithInternalMethod.php +13 -0
- data/helpers/vendor/symfony/debug/Tests/Fixtures/casemismatch.php +7 -0
- data/helpers/vendor/symfony/debug/Tests/Fixtures/notPsr0Bis.php +7 -0
- data/helpers/vendor/symfony/debug/Tests/Fixtures/psr4/Psr4CaseMismatch.php +7 -0
- data/helpers/vendor/symfony/debug/Tests/Fixtures/reallyNotPsr0.php +7 -0
- data/helpers/vendor/symfony/debug/Tests/Fixtures2/RequiredTwice.php +7 -0
- data/helpers/vendor/symfony/debug/Tests/HeaderMock.php +38 -0
- data/helpers/vendor/symfony/debug/Tests/phpt/debug_class_loader.phpt +27 -0
- data/helpers/vendor/symfony/debug/Tests/phpt/decorate_exception_hander.phpt +47 -0
- data/helpers/vendor/symfony/debug/Tests/phpt/exception_rethrown.phpt +35 -0
- data/helpers/vendor/symfony/debug/Tests/phpt/fatal_with_nested_handlers.phpt +42 -0
- data/helpers/vendor/symfony/debug/composer.json +40 -0
- data/helpers/vendor/symfony/debug/phpunit.xml.dist +33 -0
- data/helpers/vendor/symfony/event-dispatcher/.gitignore +3 -0
- data/helpers/vendor/symfony/event-dispatcher/CHANGELOG.md +42 -0
- data/helpers/vendor/symfony/event-dispatcher/ContainerAwareEventDispatcher.php +198 -0
- data/helpers/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php +332 -0
- data/helpers/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcherInterface.php +36 -0
- data/helpers/vendor/symfony/event-dispatcher/Debug/WrappedListener.php +125 -0
- data/helpers/vendor/symfony/event-dispatcher/DependencyInjection/RegisterListenersPass.php +137 -0
- data/helpers/vendor/symfony/event-dispatcher/Event.php +58 -0
- data/helpers/vendor/symfony/event-dispatcher/EventDispatcher.php +238 -0
- data/helpers/vendor/symfony/event-dispatcher/EventDispatcherInterface.php +93 -0
- data/helpers/vendor/symfony/event-dispatcher/EventSubscriberInterface.php +46 -0
- data/helpers/vendor/symfony/event-dispatcher/GenericEvent.php +175 -0
- data/helpers/vendor/symfony/event-dispatcher/ImmutableEventDispatcher.php +91 -0
- data/helpers/vendor/symfony/event-dispatcher/LICENSE +19 -0
- data/helpers/vendor/symfony/event-dispatcher/README.md +15 -0
- data/helpers/vendor/symfony/event-dispatcher/Tests/AbstractEventDispatcherTest.php +442 -0
- data/helpers/vendor/symfony/event-dispatcher/Tests/ContainerAwareEventDispatcherTest.php +210 -0
- data/helpers/vendor/symfony/event-dispatcher/Tests/Debug/TraceableEventDispatcherTest.php +269 -0
- data/helpers/vendor/symfony/event-dispatcher/Tests/Debug/WrappedListenerTest.php +64 -0
- data/helpers/vendor/symfony/event-dispatcher/Tests/DependencyInjection/RegisterListenersPassTest.php +147 -0
- data/helpers/vendor/symfony/event-dispatcher/Tests/EventDispatcherTest.php +22 -0
- data/helpers/vendor/symfony/event-dispatcher/Tests/EventTest.php +55 -0
- data/helpers/vendor/symfony/event-dispatcher/Tests/GenericEventTest.php +134 -0
- data/helpers/vendor/symfony/event-dispatcher/Tests/ImmutableEventDispatcherTest.php +100 -0
- data/helpers/vendor/symfony/event-dispatcher/composer.json +47 -0
- data/helpers/vendor/symfony/event-dispatcher/phpunit.xml.dist +31 -0
- data/helpers/vendor/symfony/filesystem/.gitignore +3 -0
- data/helpers/vendor/symfony/filesystem/CHANGELOG.md +53 -0
- data/helpers/vendor/symfony/filesystem/Exception/ExceptionInterface.php +21 -0
- data/helpers/vendor/symfony/filesystem/Exception/FileNotFoundException.php +34 -0
- data/helpers/vendor/symfony/filesystem/Exception/IOException.php +39 -0
- data/helpers/vendor/symfony/filesystem/Exception/IOExceptionInterface.php +27 -0
- data/helpers/vendor/symfony/filesystem/Filesystem.php +775 -0
- data/helpers/vendor/symfony/filesystem/LICENSE +19 -0
- data/helpers/vendor/symfony/filesystem/LockHandler.php +121 -0
- data/helpers/vendor/symfony/filesystem/README.md +13 -0
- data/helpers/vendor/symfony/filesystem/Tests/ExceptionTest.php +47 -0
- data/helpers/vendor/symfony/filesystem/Tests/FilesystemTest.php +1656 -0
- data/helpers/vendor/symfony/filesystem/Tests/FilesystemTestCase.php +165 -0
- data/helpers/vendor/symfony/filesystem/Tests/Fixtures/MockStream/MockStream.php +46 -0
- data/helpers/vendor/symfony/filesystem/Tests/LockHandlerTest.php +144 -0
- data/helpers/vendor/symfony/filesystem/composer.json +34 -0
- data/helpers/vendor/symfony/filesystem/phpunit.xml.dist +30 -0
- data/helpers/vendor/symfony/finder +1 -0
- data/helpers/vendor/symfony/options-resolver/.gitignore +3 -0
- data/helpers/vendor/symfony/options-resolver/CHANGELOG.md +52 -0
- data/helpers/vendor/symfony/options-resolver/Debug/OptionsResolverIntrospector.php +102 -0
- data/helpers/vendor/symfony/options-resolver/Exception/AccessException.php +22 -0
- data/helpers/vendor/symfony/options-resolver/Exception/ExceptionInterface.php +21 -0
- data/helpers/vendor/symfony/options-resolver/Exception/InvalidArgumentException.php +21 -0
- data/helpers/vendor/symfony/options-resolver/Exception/InvalidOptionsException.php +23 -0
- data/helpers/vendor/symfony/options-resolver/Exception/MissingOptionsException.php +23 -0
- data/helpers/vendor/symfony/options-resolver/Exception/NoConfigurationException.php +26 -0
- data/helpers/vendor/symfony/options-resolver/Exception/NoSuchOptionException.php +26 -0
- data/helpers/vendor/symfony/options-resolver/Exception/OptionDefinitionException.php +21 -0
- data/helpers/vendor/symfony/options-resolver/Exception/UndefinedOptionsException.php +24 -0
- data/helpers/vendor/symfony/options-resolver/LICENSE +19 -0
- data/helpers/vendor/symfony/options-resolver/Options.php +22 -0
- data/helpers/vendor/symfony/options-resolver/OptionsResolver.php +1065 -0
- data/helpers/vendor/symfony/options-resolver/README.md +15 -0
- data/helpers/vendor/symfony/options-resolver/Tests/Debug/OptionsResolverIntrospectorTest.php +183 -0
- data/helpers/vendor/symfony/options-resolver/Tests/OptionsResolverTest.php +1619 -0
- data/helpers/vendor/symfony/options-resolver/composer.json +33 -0
- data/helpers/vendor/symfony/options-resolver/phpunit.xml.dist +31 -0
- data/helpers/vendor/symfony/polyfill-ctype/Ctype.php +227 -0
- data/helpers/vendor/symfony/polyfill-ctype/LICENSE +19 -0
- data/helpers/vendor/symfony/polyfill-ctype/README.md +12 -0
- data/helpers/vendor/symfony/polyfill-ctype/bootstrap.php +26 -0
- data/helpers/vendor/symfony/polyfill-ctype/composer.json +34 -0
- data/helpers/vendor/symfony/polyfill-mbstring/LICENSE +19 -0
- data/helpers/vendor/symfony/polyfill-mbstring/Mbstring.php +829 -0
- data/helpers/vendor/symfony/polyfill-mbstring/README.md +13 -0
- data/helpers/vendor/symfony/polyfill-mbstring/Resources/unidata/lowerCase.php +1096 -0
- data/helpers/vendor/symfony/polyfill-mbstring/Resources/unidata/titleCaseRegexp.php +5 -0
- data/helpers/vendor/symfony/polyfill-mbstring/Resources/unidata/upperCase.php +1104 -0
- data/helpers/vendor/symfony/polyfill-mbstring/bootstrap.php +62 -0
- data/helpers/vendor/symfony/polyfill-mbstring/composer.json +34 -0
- data/helpers/vendor/symfony/polyfill-php70/LICENSE +19 -0
- data/helpers/vendor/symfony/polyfill-php70/Php70.php +74 -0
- data/helpers/vendor/symfony/polyfill-php70/README.md +28 -0
- data/helpers/vendor/symfony/polyfill-php70/Resources/stubs/ArithmeticError.php +5 -0
- data/helpers/vendor/symfony/polyfill-php70/Resources/stubs/AssertionError.php +5 -0
- data/helpers/vendor/symfony/polyfill-php70/Resources/stubs/DivisionByZeroError.php +5 -0
- data/helpers/vendor/symfony/polyfill-php70/Resources/stubs/Error.php +5 -0
- data/helpers/vendor/symfony/polyfill-php70/Resources/stubs/ParseError.php +5 -0
- data/helpers/vendor/symfony/polyfill-php70/Resources/stubs/SessionUpdateTimestampHandlerInterface.php +23 -0
- data/helpers/vendor/symfony/polyfill-php70/Resources/stubs/TypeError.php +5 -0
- data/helpers/vendor/symfony/polyfill-php70/bootstrap.php +27 -0
- data/helpers/vendor/symfony/polyfill-php70/composer.json +33 -0
- data/helpers/vendor/symfony/polyfill-php72/LICENSE +19 -0
- data/helpers/vendor/symfony/polyfill-php72/Php72.php +216 -0
- data/helpers/vendor/symfony/polyfill-php72/README.md +27 -0
- data/helpers/vendor/symfony/polyfill-php72/bootstrap.php +36 -0
- data/helpers/vendor/symfony/polyfill-php72/composer.json +31 -0
- data/helpers/vendor/symfony/process +1 -0
- data/helpers/vendor/symfony/stopwatch/.gitignore +3 -0
- data/helpers/vendor/symfony/stopwatch/CHANGELOG.md +9 -0
- data/helpers/vendor/symfony/stopwatch/LICENSE +19 -0
- data/helpers/vendor/symfony/stopwatch/README.md +13 -0
- data/helpers/vendor/symfony/stopwatch/Section.php +200 -0
- data/helpers/vendor/symfony/stopwatch/Stopwatch.php +176 -0
- data/helpers/vendor/symfony/stopwatch/StopwatchEvent.php +248 -0
- data/helpers/vendor/symfony/stopwatch/StopwatchPeriod.php +76 -0
- data/helpers/vendor/symfony/stopwatch/Tests/StopwatchEventTest.php +172 -0
- data/helpers/vendor/symfony/stopwatch/Tests/StopwatchPeriodTest.php +67 -0
- data/helpers/vendor/symfony/stopwatch/Tests/StopwatchTest.php +182 -0
- data/helpers/vendor/symfony/stopwatch/composer.json +33 -0
- data/helpers/vendor/symfony/stopwatch/phpunit.xml.dist +30 -0
- metadata +2968 -4
data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/ArrayNotation/NormalizeIndexBraceFixer.php
ADDED
@@ -0,0 +1,59 @@
|
|
1
|
+
<?php
|
2
|
+
|
3
|
+
/*
|
4
|
+
* This file is part of PHP CS Fixer.
|
5
|
+
*
|
6
|
+
* (c) Fabien Potencier <fabien@symfony.com>
|
7
|
+
* Dariusz Rumiński <dariusz.ruminski@gmail.com>
|
8
|
+
*
|
9
|
+
* This source file is subject to the MIT license that is bundled
|
10
|
+
* with this source code in the file LICENSE.
|
11
|
+
*/
|
12
|
+
|
13
|
+
namespace PhpCsFixer\Fixer\ArrayNotation;
|
14
|
+
|
15
|
+
use PhpCsFixer\AbstractFixer;
|
16
|
+
use PhpCsFixer\FixerDefinition\CodeSample;
|
17
|
+
use PhpCsFixer\FixerDefinition\FixerDefinition;
|
18
|
+
use PhpCsFixer\Tokenizer\CT;
|
19
|
+
use PhpCsFixer\Tokenizer\Token;
|
20
|
+
use PhpCsFixer\Tokenizer\Tokens;
|
21
|
+
|
22
|
+
/**
|
23
|
+
* @author Dariusz Rumiński <dariusz.ruminski@gmail.com>
|
24
|
+
*/
|
25
|
+
final class NormalizeIndexBraceFixer extends AbstractFixer
|
26
|
+
{
|
27
|
+
/**
|
28
|
+
* {@inheritdoc}
|
29
|
+
*/
|
30
|
+
public function getDefinition()
|
31
|
+
{
|
32
|
+
return new FixerDefinition(
|
33
|
+
'Array index should always be written by using square braces.',
|
34
|
+
[new CodeSample("<?php\necho \$sample{\$index};\n")]
|
35
|
+
);
|
36
|
+
}
|
37
|
+
|
38
|
+
/**
|
39
|
+
* {@inheritdoc}
|
40
|
+
*/
|
41
|
+
public function isCandidate(Tokens $tokens)
|
42
|
+
{
|
43
|
+
return $tokens->isTokenKindFound(CT::T_ARRAY_INDEX_CURLY_BRACE_OPEN);
|
44
|
+
}
|
45
|
+
|
46
|
+
/**
|
47
|
+
* {@inheritdoc}
|
48
|
+
*/
|
49
|
+
protected function applyFix(\SplFileInfo $file, Tokens $tokens)
|
50
|
+
{
|
51
|
+
foreach ($tokens as $index => $token) {
|
52
|
+
if ($token->isGivenKind(CT::T_ARRAY_INDEX_CURLY_BRACE_OPEN)) {
|
53
|
+
$tokens[$index] = new Token('[');
|
54
|
+
} elseif ($token->isGivenKind(CT::T_ARRAY_INDEX_CURLY_BRACE_CLOSE)) {
|
55
|
+
$tokens[$index] = new Token(']');
|
56
|
+
}
|
57
|
+
}
|
58
|
+
}
|
59
|
+
}
|
@@ -0,0 +1,138 @@
|
|
1
|
+
<?php
|
2
|
+
|
3
|
+
/*
|
4
|
+
* This file is part of PHP CS Fixer.
|
5
|
+
*
|
6
|
+
* (c) Fabien Potencier <fabien@symfony.com>
|
7
|
+
* Dariusz Rumiński <dariusz.ruminski@gmail.com>
|
8
|
+
*
|
9
|
+
* This source file is subject to the MIT license that is bundled
|
10
|
+
* with this source code in the file LICENSE.
|
11
|
+
*/
|
12
|
+
|
13
|
+
namespace PhpCsFixer\Fixer\ArrayNotation;
|
14
|
+
|
15
|
+
use PhpCsFixer\AbstractFixer;
|
16
|
+
use PhpCsFixer\Fixer\ConfigurationDefinitionFixerInterface;
|
17
|
+
use PhpCsFixer\FixerConfiguration\FixerConfigurationResolver;
|
18
|
+
use PhpCsFixer\FixerConfiguration\FixerOptionBuilder;
|
19
|
+
use PhpCsFixer\FixerConfiguration\InvalidOptionsForEnvException;
|
20
|
+
use PhpCsFixer\FixerDefinition\CodeSample;
|
21
|
+
use PhpCsFixer\FixerDefinition\FixerDefinition;
|
22
|
+
use PhpCsFixer\FixerDefinition\VersionSpecification;
|
23
|
+
use PhpCsFixer\FixerDefinition\VersionSpecificCodeSample;
|
24
|
+
use PhpCsFixer\Tokenizer\CT;
|
25
|
+
use PhpCsFixer\Tokenizer\Token;
|
26
|
+
use PhpCsFixer\Tokenizer\Tokens;
|
27
|
+
use PhpCsFixer\Tokenizer\TokensAnalyzer;
|
28
|
+
use Symfony\Component\OptionsResolver\Options;
|
29
|
+
|
30
|
+
/**
|
31
|
+
* @author Sebastiaan Stok <s.stok@rollerscapes.net>
|
32
|
+
* @author Dariusz Rumiński <dariusz.ruminski@gmail.com>
|
33
|
+
*/
|
34
|
+
final class TrailingCommaInMultilineArrayFixer extends AbstractFixer implements ConfigurationDefinitionFixerInterface
|
35
|
+
{
|
36
|
+
/**
|
37
|
+
* {@inheritdoc}
|
38
|
+
*/
|
39
|
+
public function getDefinition()
|
40
|
+
{
|
41
|
+
return new FixerDefinition(
|
42
|
+
'PHP multi-line arrays should have a trailing comma.',
|
43
|
+
[
|
44
|
+
new CodeSample("<?php\narray(\n 1,\n 2\n);\n"),
|
45
|
+
new VersionSpecificCodeSample(
|
46
|
+
<<<'SAMPLE'
|
47
|
+
<?php
|
48
|
+
$x = [
|
49
|
+
'foo',
|
50
|
+
<<<EOD
|
51
|
+
bar
|
52
|
+
EOD
|
53
|
+
];
|
54
|
+
|
55
|
+
SAMPLE
|
56
|
+
,
|
57
|
+
new VersionSpecification(70300),
|
58
|
+
['after_heredoc' => true]
|
59
|
+
),
|
60
|
+
]
|
61
|
+
);
|
62
|
+
}
|
63
|
+
|
64
|
+
/**
|
65
|
+
* {@inheritdoc}
|
66
|
+
*/
|
67
|
+
public function isCandidate(Tokens $tokens)
|
68
|
+
{
|
69
|
+
return $tokens->isAnyTokenKindsFound([T_ARRAY, CT::T_ARRAY_SQUARE_BRACE_OPEN]);
|
70
|
+
}
|
71
|
+
|
72
|
+
/**
|
73
|
+
* {@inheritdoc}
|
74
|
+
*/
|
75
|
+
protected function applyFix(\SplFileInfo $file, Tokens $tokens)
|
76
|
+
{
|
77
|
+
$tokensAnalyzer = new TokensAnalyzer($tokens);
|
78
|
+
|
79
|
+
for ($index = $tokens->count() - 1; $index >= 0; --$index) {
|
80
|
+
if ($tokensAnalyzer->isArray($index) && $tokensAnalyzer->isArrayMultiLine($index)) {
|
81
|
+
$this->fixArray($tokens, $index);
|
82
|
+
}
|
83
|
+
}
|
84
|
+
}
|
85
|
+
|
86
|
+
/**
|
87
|
+
* {@inheritdoc}
|
88
|
+
*/
|
89
|
+
protected function createConfigurationDefinition()
|
90
|
+
{
|
91
|
+
return new FixerConfigurationResolver([
|
92
|
+
(new FixerOptionBuilder('after_heredoc', 'Whether a trailing comma should also be placed after heredoc end.'))
|
93
|
+
->setAllowedTypes(['bool'])
|
94
|
+
->setDefault(false)
|
95
|
+
->setNormalizer(static function (Options $options, $value) {
|
96
|
+
if (\PHP_VERSION_ID < 70300 && $value) {
|
97
|
+
throw new InvalidOptionsForEnvException('"after_heredoc" option can only be enabled with PHP 7.3+.');
|
98
|
+
}
|
99
|
+
|
100
|
+
return $value;
|
101
|
+
})
|
102
|
+
->getOption(),
|
103
|
+
]);
|
104
|
+
}
|
105
|
+
|
106
|
+
/**
|
107
|
+
* @param Tokens $tokens
|
108
|
+
* @param int $index
|
109
|
+
*/
|
110
|
+
private function fixArray(Tokens $tokens, $index)
|
111
|
+
{
|
112
|
+
$startIndex = $index;
|
113
|
+
|
114
|
+
if ($tokens[$startIndex]->isGivenKind(T_ARRAY)) {
|
115
|
+
$startIndex = $tokens->getNextTokenOfKind($startIndex, ['(']);
|
116
|
+
$endIndex = $tokens->findBlockEnd(Tokens::BLOCK_TYPE_PARENTHESIS_BRACE, $startIndex);
|
117
|
+
} else {
|
118
|
+
$endIndex = $tokens->findBlockEnd(Tokens::BLOCK_TYPE_ARRAY_SQUARE_BRACE, $startIndex);
|
119
|
+
}
|
120
|
+
|
121
|
+
$beforeEndIndex = $tokens->getPrevMeaningfulToken($endIndex);
|
122
|
+
$beforeEndToken = $tokens[$beforeEndIndex];
|
123
|
+
|
124
|
+
// if there is some item between braces then add `,` after it
|
125
|
+
if (
|
126
|
+
$startIndex !== $beforeEndIndex && !$beforeEndToken->equals(',') &&
|
127
|
+
($this->configuration['after_heredoc'] || !$beforeEndToken->isGivenKind(T_END_HEREDOC))
|
128
|
+
) {
|
129
|
+
$tokens->insertAt($beforeEndIndex + 1, new Token(','));
|
130
|
+
|
131
|
+
$endToken = $tokens[$endIndex];
|
132
|
+
|
133
|
+
if (!$endToken->isComment() && !$endToken->isWhitespace()) {
|
134
|
+
$tokens->ensureWhitespaceAtIndex($endIndex, 1, ' ');
|
135
|
+
}
|
136
|
+
}
|
137
|
+
}
|
138
|
+
}
|
data/helpers/vendor/friendsofphp/php-cs-fixer/src/Fixer/ArrayNotation/TrimArraySpacesFixer.php
ADDED
@@ -0,0 +1,104 @@
|
|
1
|
+
<?php
|
2
|
+
|
3
|
+
/*
|
4
|
+
* This file is part of PHP CS Fixer.
|
5
|
+
*
|
6
|
+
* (c) Fabien Potencier <fabien@symfony.com>
|
7
|
+
* Dariusz Rumiński <dariusz.ruminski@gmail.com>
|
8
|
+
*
|
9
|
+
* This source file is subject to the MIT license that is bundled
|
10
|
+
* with this source code in the file LICENSE.
|
11
|
+
*/
|
12
|
+
|
13
|
+
namespace PhpCsFixer\Fixer\ArrayNotation;
|
14
|
+
|
15
|
+
use PhpCsFixer\AbstractFixer;
|
16
|
+
use PhpCsFixer\FixerDefinition\CodeSample;
|
17
|
+
use PhpCsFixer\FixerDefinition\FixerDefinition;
|
18
|
+
use PhpCsFixer\Tokenizer\CT;
|
19
|
+
use PhpCsFixer\Tokenizer\Tokens;
|
20
|
+
|
21
|
+
/**
|
22
|
+
* @author Jared Henderson <jared@netrivet.com>
|
23
|
+
*/
|
24
|
+
final class TrimArraySpacesFixer extends AbstractFixer
|
25
|
+
{
|
26
|
+
/**
|
27
|
+
* {@inheritdoc}
|
28
|
+
*/
|
29
|
+
public function getDefinition()
|
30
|
+
{
|
31
|
+
return new FixerDefinition(
|
32
|
+
'Arrays should be formatted like function/method arguments, without leading or trailing single line space.',
|
33
|
+
[new CodeSample("<?php\n\$sample = array( );\n\$sample = array( 'a', 'b' );\n")]
|
34
|
+
);
|
35
|
+
}
|
36
|
+
|
37
|
+
/**
|
38
|
+
* {@inheritdoc}
|
39
|
+
*/
|
40
|
+
public function isCandidate(Tokens $tokens)
|
41
|
+
{
|
42
|
+
return $tokens->isAnyTokenKindsFound([T_ARRAY, CT::T_ARRAY_SQUARE_BRACE_OPEN]);
|
43
|
+
}
|
44
|
+
|
45
|
+
/**
|
46
|
+
* {@inheritdoc}
|
47
|
+
*/
|
48
|
+
protected function applyFix(\SplFileInfo $file, Tokens $tokens)
|
49
|
+
{
|
50
|
+
for ($index = 0, $c = $tokens->count(); $index < $c; ++$index) {
|
51
|
+
if ($tokens[$index]->isGivenKind([T_ARRAY, CT::T_ARRAY_SQUARE_BRACE_OPEN])) {
|
52
|
+
self::fixArray($tokens, $index);
|
53
|
+
}
|
54
|
+
}
|
55
|
+
}
|
56
|
+
|
57
|
+
/**
|
58
|
+
* Method to trim leading/trailing whitespace within single line arrays.
|
59
|
+
*
|
60
|
+
* @param Tokens $tokens
|
61
|
+
* @param int $index
|
62
|
+
*/
|
63
|
+
private static function fixArray(Tokens $tokens, $index)
|
64
|
+
{
|
65
|
+
$startIndex = $index;
|
66
|
+
|
67
|
+
if ($tokens[$startIndex]->isGivenKind(T_ARRAY)) {
|
68
|
+
$startIndex = $tokens->getNextMeaningfulToken($startIndex);
|
69
|
+
$endIndex = $tokens->findBlockEnd(Tokens::BLOCK_TYPE_PARENTHESIS_BRACE, $startIndex);
|
70
|
+
} else {
|
71
|
+
$endIndex = $tokens->findBlockEnd(Tokens::BLOCK_TYPE_ARRAY_SQUARE_BRACE, $startIndex);
|
72
|
+
}
|
73
|
+
|
74
|
+
$nextIndex = $startIndex + 1;
|
75
|
+
$nextToken = $tokens[$nextIndex];
|
76
|
+
$nextNonWhitespaceIndex = $tokens->getNextNonWhitespace($startIndex);
|
77
|
+
$nextNonWhitespaceToken = $tokens[$nextNonWhitespaceIndex];
|
78
|
+
$tokenAfterNextNonWhitespaceToken = $tokens[$nextNonWhitespaceIndex + 1];
|
79
|
+
|
80
|
+
$prevIndex = $endIndex - 1;
|
81
|
+
$prevToken = $tokens[$prevIndex];
|
82
|
+
$prevNonWhitespaceIndex = $tokens->getPrevNonWhitespace($endIndex);
|
83
|
+
$prevNonWhitespaceToken = $tokens[$prevNonWhitespaceIndex];
|
84
|
+
|
85
|
+
if (
|
86
|
+
$nextToken->isWhitespace(" \t")
|
87
|
+
&& (
|
88
|
+
!$nextNonWhitespaceToken->isComment()
|
89
|
+
|| $nextNonWhitespaceIndex === $prevNonWhitespaceIndex
|
90
|
+
|| $tokenAfterNextNonWhitespaceToken->isWhitespace(" \t")
|
91
|
+
|| '/*' === substr($nextNonWhitespaceToken->getContent(), 0, 2)
|
92
|
+
)
|
93
|
+
) {
|
94
|
+
$tokens->clearAt($nextIndex);
|
95
|
+
}
|
96
|
+
|
97
|
+
if (
|
98
|
+
$prevToken->isWhitespace(" \t")
|
99
|
+
&& !$prevNonWhitespaceToken->equals(',')
|
100
|
+
) {
|
101
|
+
$tokens->clearAt($prevIndex);
|
102
|
+
}
|
103
|
+
}
|
104
|
+
}
|
@@ -0,0 +1,106 @@
|
|
1
|
+
<?php
|
2
|
+
|
3
|
+
/*
|
4
|
+
* This file is part of PHP CS Fixer.
|
5
|
+
*
|
6
|
+
* (c) Fabien Potencier <fabien@symfony.com>
|
7
|
+
* Dariusz Rumiński <dariusz.ruminski@gmail.com>
|
8
|
+
*
|
9
|
+
* This source file is subject to the MIT license that is bundled
|
10
|
+
* with this source code in the file LICENSE.
|
11
|
+
*/
|
12
|
+
|
13
|
+
namespace PhpCsFixer\Fixer\ArrayNotation;
|
14
|
+
|
15
|
+
use PhpCsFixer\AbstractFixer;
|
16
|
+
use PhpCsFixer\FixerDefinition\CodeSample;
|
17
|
+
use PhpCsFixer\FixerDefinition\FixerDefinition;
|
18
|
+
use PhpCsFixer\Tokenizer\CT;
|
19
|
+
use PhpCsFixer\Tokenizer\Token;
|
20
|
+
use PhpCsFixer\Tokenizer\Tokens;
|
21
|
+
|
22
|
+
/**
|
23
|
+
* @author Adam Marczuk <adam@marczuk.info>
|
24
|
+
*/
|
25
|
+
final class WhitespaceAfterCommaInArrayFixer extends AbstractFixer
|
26
|
+
{
|
27
|
+
/**
|
28
|
+
* {@inheritdoc}
|
29
|
+
*/
|
30
|
+
public function getDefinition()
|
31
|
+
{
|
32
|
+
return new FixerDefinition(
|
33
|
+
'In array declaration, there MUST be a whitespace after each comma.',
|
34
|
+
[new CodeSample("<?php\n\$sample = array(1,'a',\$b,);\n")]
|
35
|
+
);
|
36
|
+
}
|
37
|
+
|
38
|
+
/**
|
39
|
+
* {@inheritdoc}
|
40
|
+
*/
|
41
|
+
public function isCandidate(Tokens $tokens)
|
42
|
+
{
|
43
|
+
return $tokens->isAnyTokenKindsFound([T_ARRAY, CT::T_ARRAY_SQUARE_BRACE_OPEN]);
|
44
|
+
}
|
45
|
+
|
46
|
+
/**
|
47
|
+
* {@inheritdoc}
|
48
|
+
*/
|
49
|
+
protected function applyFix(\SplFileInfo $file, Tokens $tokens)
|
50
|
+
{
|
51
|
+
for ($index = $tokens->count() - 1; $index >= 0; --$index) {
|
52
|
+
if ($tokens[$index]->isGivenKind([T_ARRAY, CT::T_ARRAY_SQUARE_BRACE_OPEN])) {
|
53
|
+
$this->fixSpacing($index, $tokens);
|
54
|
+
}
|
55
|
+
}
|
56
|
+
}
|
57
|
+
|
58
|
+
/**
|
59
|
+
* Method to fix spacing in array declaration.
|
60
|
+
*
|
61
|
+
* @param int $index
|
62
|
+
* @param Tokens $tokens
|
63
|
+
*/
|
64
|
+
private function fixSpacing($index, Tokens $tokens)
|
65
|
+
{
|
66
|
+
if ($tokens[$index]->isGivenKind(CT::T_ARRAY_SQUARE_BRACE_OPEN)) {
|
67
|
+
$startIndex = $index;
|
68
|
+
$endIndex = $tokens->findBlockEnd(Tokens::BLOCK_TYPE_ARRAY_SQUARE_BRACE, $startIndex);
|
69
|
+
} else {
|
70
|
+
$startIndex = $tokens->getNextTokenOfKind($index, ['(']);
|
71
|
+
$endIndex = $tokens->findBlockEnd(Tokens::BLOCK_TYPE_PARENTHESIS_BRACE, $startIndex);
|
72
|
+
}
|
73
|
+
|
74
|
+
for ($i = $endIndex - 1; $i > $startIndex; --$i) {
|
75
|
+
$i = $this->skipNonArrayElements($i, $tokens);
|
76
|
+
if ($tokens[$i]->equals(',') && !$tokens[$i + 1]->isWhitespace()) {
|
77
|
+
$tokens->insertAt($i + 1, new Token([T_WHITESPACE, ' ']));
|
78
|
+
}
|
79
|
+
}
|
80
|
+
}
|
81
|
+
|
82
|
+
/**
|
83
|
+
* Method to move index over the non-array elements like function calls or function declarations.
|
84
|
+
*
|
85
|
+
* @param int $index
|
86
|
+
* @param Tokens $tokens
|
87
|
+
*
|
88
|
+
* @return int New index
|
89
|
+
*/
|
90
|
+
private function skipNonArrayElements($index, Tokens $tokens)
|
91
|
+
{
|
92
|
+
if ($tokens[$index]->equals('}')) {
|
93
|
+
return $tokens->findBlockStart(Tokens::BLOCK_TYPE_CURLY_BRACE, $index);
|
94
|
+
}
|
95
|
+
|
96
|
+
if ($tokens[$index]->equals(')')) {
|
97
|
+
$startIndex = $tokens->findBlockStart(Tokens::BLOCK_TYPE_PARENTHESIS_BRACE, $index);
|
98
|
+
$startIndex = $tokens->getPrevMeaningfulToken($startIndex);
|
99
|
+
if (!$tokens[$startIndex]->isGivenKind([T_ARRAY, CT::T_ARRAY_SQUARE_BRACE_OPEN])) {
|
100
|
+
return $startIndex;
|
101
|
+
}
|
102
|
+
}
|
103
|
+
|
104
|
+
return $index;
|
105
|
+
}
|
106
|
+
}
|
@@ -0,0 +1,1057 @@
|
|
1
|
+
<?php
|
2
|
+
|
3
|
+
/*
|
4
|
+
* This file is part of PHP CS Fixer.
|
5
|
+
*
|
6
|
+
* (c) Fabien Potencier <fabien@symfony.com>
|
7
|
+
* Dariusz Rumiński <dariusz.ruminski@gmail.com>
|
8
|
+
*
|
9
|
+
* This source file is subject to the MIT license that is bundled
|
10
|
+
* with this source code in the file LICENSE.
|
11
|
+
*/
|
12
|
+
|
13
|
+
namespace PhpCsFixer\Fixer\Basic;
|
14
|
+
|
15
|
+
use PhpCsFixer\AbstractFixer;
|
16
|
+
use PhpCsFixer\Fixer\ConfigurationDefinitionFixerInterface;
|
17
|
+
use PhpCsFixer\Fixer\WhitespacesAwareFixerInterface;
|
18
|
+
use PhpCsFixer\FixerConfiguration\FixerConfigurationResolver;
|
19
|
+
use PhpCsFixer\FixerConfiguration\FixerOptionBuilder;
|
20
|
+
use PhpCsFixer\FixerDefinition\CodeSample;
|
21
|
+
use PhpCsFixer\FixerDefinition\FixerDefinition;
|
22
|
+
use PhpCsFixer\Preg;
|
23
|
+
use PhpCsFixer\Tokenizer\CT;
|
24
|
+
use PhpCsFixer\Tokenizer\Token;
|
25
|
+
use PhpCsFixer\Tokenizer\Tokens;
|
26
|
+
use PhpCsFixer\Tokenizer\TokensAnalyzer;
|
27
|
+
|
28
|
+
/**
|
29
|
+
* Fixer for rules defined in PSR2 ¶4.1, ¶4.4, ¶5.
|
30
|
+
*
|
31
|
+
* @author Dariusz Rumiński <dariusz.ruminski@gmail.com>
|
32
|
+
*/
|
33
|
+
final class BracesFixer extends AbstractFixer implements ConfigurationDefinitionFixerInterface, WhitespacesAwareFixerInterface
|
34
|
+
{
|
35
|
+
/**
|
36
|
+
* @internal
|
37
|
+
*/
|
38
|
+
const LINE_NEXT = 'next';
|
39
|
+
|
40
|
+
/**
|
41
|
+
* @internal
|
42
|
+
*/
|
43
|
+
const LINE_SAME = 'same';
|
44
|
+
|
45
|
+
/**
|
46
|
+
* {@inheritdoc}
|
47
|
+
*/
|
48
|
+
public function getDefinition()
|
49
|
+
{
|
50
|
+
return new FixerDefinition(
|
51
|
+
'The body of each structure MUST be enclosed by braces. Braces should be properly placed. Body of braces should be properly indented.',
|
52
|
+
[
|
53
|
+
new CodeSample(
|
54
|
+
'<?php
|
55
|
+
|
56
|
+
class Foo {
|
57
|
+
public function bar($baz) {
|
58
|
+
if ($baz = 900) echo "Hello!";
|
59
|
+
|
60
|
+
if ($baz = 9000)
|
61
|
+
echo "Wait!";
|
62
|
+
|
63
|
+
if ($baz == true)
|
64
|
+
{
|
65
|
+
echo "Why?";
|
66
|
+
}
|
67
|
+
else
|
68
|
+
{
|
69
|
+
echo "Ha?";
|
70
|
+
}
|
71
|
+
|
72
|
+
if (is_array($baz))
|
73
|
+
foreach ($baz as $b)
|
74
|
+
{
|
75
|
+
echo $b;
|
76
|
+
}
|
77
|
+
}
|
78
|
+
}
|
79
|
+
'
|
80
|
+
),
|
81
|
+
new CodeSample(
|
82
|
+
'<?php
|
83
|
+
$positive = function ($item) { return $item >= 0; };
|
84
|
+
$negative = function ($item) {
|
85
|
+
return $item < 0; };
|
86
|
+
',
|
87
|
+
['allow_single_line_closure' => true]
|
88
|
+
),
|
89
|
+
new CodeSample(
|
90
|
+
'<?php
|
91
|
+
|
92
|
+
class Foo
|
93
|
+
{
|
94
|
+
public function bar($baz)
|
95
|
+
{
|
96
|
+
if ($baz = 900) echo "Hello!";
|
97
|
+
|
98
|
+
if ($baz = 9000)
|
99
|
+
echo "Wait!";
|
100
|
+
|
101
|
+
if ($baz == true)
|
102
|
+
{
|
103
|
+
echo "Why?";
|
104
|
+
}
|
105
|
+
else
|
106
|
+
{
|
107
|
+
echo "Ha?";
|
108
|
+
}
|
109
|
+
|
110
|
+
if (is_array($baz))
|
111
|
+
foreach ($baz as $b)
|
112
|
+
{
|
113
|
+
echo $b;
|
114
|
+
}
|
115
|
+
}
|
116
|
+
}
|
117
|
+
',
|
118
|
+
['position_after_functions_and_oop_constructs' => self::LINE_SAME]
|
119
|
+
),
|
120
|
+
]
|
121
|
+
);
|
122
|
+
}
|
123
|
+
|
124
|
+
/**
|
125
|
+
* {@inheritdoc}
|
126
|
+
*/
|
127
|
+
public function getPriority()
|
128
|
+
{
|
129
|
+
// should be run after the ElseIfFixer, LineEndingFixer, NoEmptyStatementFixer and NoUselessElseFixer
|
130
|
+
return -25;
|
131
|
+
}
|
132
|
+
|
133
|
+
/**
|
134
|
+
* {@inheritdoc}
|
135
|
+
*/
|
136
|
+
public function isCandidate(Tokens $tokens)
|
137
|
+
{
|
138
|
+
return true;
|
139
|
+
}
|
140
|
+
|
141
|
+
/**
|
142
|
+
* {@inheritdoc}
|
143
|
+
*/
|
144
|
+
protected function applyFix(\SplFileInfo $file, Tokens $tokens)
|
145
|
+
{
|
146
|
+
$this->fixCommentBeforeBrace($tokens);
|
147
|
+
$this->fixMissingControlBraces($tokens);
|
148
|
+
$this->fixIndents($tokens);
|
149
|
+
$this->fixControlContinuationBraces($tokens);
|
150
|
+
$this->fixSpaceAroundToken($tokens);
|
151
|
+
$this->fixDoWhile($tokens);
|
152
|
+
}
|
153
|
+
|
154
|
+
/**
|
155
|
+
* {@inheritdoc}
|
156
|
+
*/
|
157
|
+
protected function createConfigurationDefinition()
|
158
|
+
{
|
159
|
+
return new FixerConfigurationResolver([
|
160
|
+
(new FixerOptionBuilder('allow_single_line_closure', 'Whether single line lambda notation should be allowed.'))
|
161
|
+
->setAllowedTypes(['bool'])
|
162
|
+
->setDefault(false)
|
163
|
+
->getOption(),
|
164
|
+
(new FixerOptionBuilder('position_after_functions_and_oop_constructs', 'whether the opening brace should be placed on "next" or "same" line after classy constructs (non-anonymous classes, interfaces, traits, methods and non-lambda functions).'))
|
165
|
+
->setAllowedValues([self::LINE_NEXT, self::LINE_SAME])
|
166
|
+
->setDefault(self::LINE_NEXT)
|
167
|
+
->getOption(),
|
168
|
+
(new FixerOptionBuilder('position_after_control_structures', 'whether the opening brace should be placed on "next" or "same" line after control structures.'))
|
169
|
+
->setAllowedValues([self::LINE_NEXT, self::LINE_SAME])
|
170
|
+
->setDefault(self::LINE_SAME)
|
171
|
+
->getOption(),
|
172
|
+
(new FixerOptionBuilder('position_after_anonymous_constructs', 'whether the opening brace should be placed on "next" or "same" line after anonymous constructs (anonymous classes and lambda functions).'))
|
173
|
+
->setAllowedValues([self::LINE_NEXT, self::LINE_SAME])
|
174
|
+
->setDefault(self::LINE_SAME)
|
175
|
+
->getOption(),
|
176
|
+
]);
|
177
|
+
}
|
178
|
+
|
179
|
+
private function fixCommentBeforeBrace(Tokens $tokens)
|
180
|
+
{
|
181
|
+
$tokensAnalyzer = new TokensAnalyzer($tokens);
|
182
|
+
$controlTokens = $this->getControlTokens();
|
183
|
+
|
184
|
+
for ($index = $tokens->count() - 1; 0 <= $index; --$index) {
|
185
|
+
$token = $tokens[$index];
|
186
|
+
|
187
|
+
if ($token->isGivenKind($controlTokens)) {
|
188
|
+
$prevIndex = $this->findParenthesisEnd($tokens, $index);
|
189
|
+
} elseif (
|
190
|
+
($token->isGivenKind(T_FUNCTION) && $tokensAnalyzer->isLambda($index)) ||
|
191
|
+
($token->isGivenKind(T_CLASS) && $tokensAnalyzer->isAnonymousClass($index))
|
192
|
+
) {
|
193
|
+
$prevIndex = $tokens->getNextTokenOfKind($index, ['{']);
|
194
|
+
$prevIndex = $tokens->getPrevMeaningfulToken($prevIndex);
|
195
|
+
} else {
|
196
|
+
continue;
|
197
|
+
}
|
198
|
+
|
199
|
+
$commentIndex = $tokens->getNextNonWhitespace($prevIndex);
|
200
|
+
$commentToken = $tokens[$commentIndex];
|
201
|
+
|
202
|
+
if (!$commentToken->isGivenKind(T_COMMENT) || 0 === strpos($commentToken->getContent(), '/*')) {
|
203
|
+
continue;
|
204
|
+
}
|
205
|
+
|
206
|
+
$braceIndex = $tokens->getNextMeaningfulToken($commentIndex);
|
207
|
+
$braceToken = $tokens[$braceIndex];
|
208
|
+
|
209
|
+
if (!$braceToken->equals('{')) {
|
210
|
+
continue;
|
211
|
+
}
|
212
|
+
|
213
|
+
$tokenTmp = $tokens[$braceIndex];
|
214
|
+
|
215
|
+
$newBraceIndex = $prevIndex + 1;
|
216
|
+
for ($i = $braceIndex; $i > $newBraceIndex; --$i) {
|
217
|
+
// we might be moving one white space next to another, these have to be merged
|
218
|
+
$tokens[$i] = $tokens[$i - 1];
|
219
|
+
if ($tokens[$i]->isWhitespace() && $tokens[$i + 1]->isWhitespace()) {
|
220
|
+
$tokens[$i] = new Token([T_WHITESPACE, $tokens[$i]->getContent().$tokens[$i + 1]->getContent()]);
|
221
|
+
$tokens->clearAt($i + 1);
|
222
|
+
}
|
223
|
+
}
|
224
|
+
|
225
|
+
$tokens[$newBraceIndex] = $tokenTmp;
|
226
|
+
$c = $tokens[$braceIndex]->getContent();
|
227
|
+
if (substr_count($c, "\n") > 1) {
|
228
|
+
// left trim till last line break
|
229
|
+
$tokens[$braceIndex] = new Token([T_WHITESPACE, substr($c, strrpos($c, "\n"))]);
|
230
|
+
}
|
231
|
+
}
|
232
|
+
}
|
233
|
+
|
234
|
+
private function fixControlContinuationBraces(Tokens $tokens)
|
235
|
+
{
|
236
|
+
$controlContinuationTokens = $this->getControlContinuationTokens();
|
237
|
+
|
238
|
+
for ($index = \count($tokens) - 1; 0 <= $index; --$index) {
|
239
|
+
$token = $tokens[$index];
|
240
|
+
|
241
|
+
if (!$token->isGivenKind($controlContinuationTokens)) {
|
242
|
+
continue;
|
243
|
+
}
|
244
|
+
|
245
|
+
$prevIndex = $tokens->getPrevNonWhitespace($index);
|
246
|
+
$prevToken = $tokens[$prevIndex];
|
247
|
+
|
248
|
+
if (!$prevToken->equals('}')) {
|
249
|
+
continue;
|
250
|
+
}
|
251
|
+
|
252
|
+
$tokens->ensureWhitespaceAtIndex(
|
253
|
+
$index - 1,
|
254
|
+
1,
|
255
|
+
self::LINE_NEXT === $this->configuration['position_after_control_structures'] ?
|
256
|
+
$this->whitespacesConfig->getLineEnding().$this->detectIndent($tokens, $index)
|
257
|
+
: ' '
|
258
|
+
);
|
259
|
+
}
|
260
|
+
}
|
261
|
+
|
262
|
+
private function fixDoWhile(Tokens $tokens)
|
263
|
+
{
|
264
|
+
for ($index = \count($tokens) - 1; 0 <= $index; --$index) {
|
265
|
+
$token = $tokens[$index];
|
266
|
+
|
267
|
+
if (!$token->isGivenKind(T_DO)) {
|
268
|
+
continue;
|
269
|
+
}
|
270
|
+
|
271
|
+
$parenthesisEndIndex = $this->findParenthesisEnd($tokens, $index);
|
272
|
+
$startBraceIndex = $tokens->getNextNonWhitespace($parenthesisEndIndex);
|
273
|
+
$endBraceIndex = $tokens->findBlockEnd(Tokens::BLOCK_TYPE_CURLY_BRACE, $startBraceIndex);
|
274
|
+
$nextNonWhitespaceIndex = $tokens->getNextNonWhitespace($endBraceIndex);
|
275
|
+
$nextNonWhitespaceToken = $tokens[$nextNonWhitespaceIndex];
|
276
|
+
|
277
|
+
if (!$nextNonWhitespaceToken->isGivenKind(T_WHILE)) {
|
278
|
+
continue;
|
279
|
+
}
|
280
|
+
|
281
|
+
$tokens->ensureWhitespaceAtIndex($nextNonWhitespaceIndex - 1, 1, ' ');
|
282
|
+
}
|
283
|
+
}
|
284
|
+
|
285
|
+
private function fixIndents(Tokens $tokens)
|
286
|
+
{
|
287
|
+
$classyTokens = Token::getClassyTokenKinds();
|
288
|
+
$classyAndFunctionTokens = array_merge([T_FUNCTION], $classyTokens);
|
289
|
+
$controlTokens = $this->getControlTokens();
|
290
|
+
$indentTokens = array_filter(
|
291
|
+
array_merge($classyAndFunctionTokens, $controlTokens),
|
292
|
+
static function ($item) {
|
293
|
+
return T_SWITCH !== $item;
|
294
|
+
}
|
295
|
+
);
|
296
|
+
$tokensAnalyzer = new TokensAnalyzer($tokens);
|
297
|
+
|
298
|
+
for ($index = 0, $limit = \count($tokens); $index < $limit; ++$index) {
|
299
|
+
$token = $tokens[$index];
|
300
|
+
|
301
|
+
// if token is not a structure element - continue
|
302
|
+
if (!$token->isGivenKind($indentTokens)) {
|
303
|
+
continue;
|
304
|
+
}
|
305
|
+
|
306
|
+
// do not change indent for `while` in `do ... while ...`
|
307
|
+
if (
|
308
|
+
$token->isGivenKind(T_WHILE)
|
309
|
+
&& $tokensAnalyzer->isWhilePartOfDoWhile($index)
|
310
|
+
) {
|
311
|
+
continue;
|
312
|
+
}
|
313
|
+
|
314
|
+
if (
|
315
|
+
$this->configuration['allow_single_line_closure']
|
316
|
+
&& $token->isGivenKind(T_FUNCTION)
|
317
|
+
&& $tokensAnalyzer->isLambda($index)
|
318
|
+
) {
|
319
|
+
$braceEndIndex = $tokens->findBlockEnd(
|
320
|
+
Tokens::BLOCK_TYPE_CURLY_BRACE,
|
321
|
+
$tokens->getNextTokenOfKind($index, ['{'])
|
322
|
+
);
|
323
|
+
|
324
|
+
if (!$this->isMultilined($tokens, $index, $braceEndIndex)) {
|
325
|
+
$index = $braceEndIndex;
|
326
|
+
|
327
|
+
continue;
|
328
|
+
}
|
329
|
+
}
|
330
|
+
|
331
|
+
if ($token->isGivenKind($classyAndFunctionTokens)) {
|
332
|
+
$startBraceIndex = $tokens->getNextTokenOfKind($index, [';', '{']);
|
333
|
+
$startBraceToken = $tokens[$startBraceIndex];
|
334
|
+
} else {
|
335
|
+
$parenthesisEndIndex = $this->findParenthesisEnd($tokens, $index);
|
336
|
+
$startBraceIndex = $tokens->getNextNonWhitespace($parenthesisEndIndex);
|
337
|
+
$startBraceToken = $tokens[$startBraceIndex];
|
338
|
+
}
|
339
|
+
|
340
|
+
// structure without braces block - nothing to do, e.g. do { } while (true);
|
341
|
+
if (!$startBraceToken->equals('{')) {
|
342
|
+
continue;
|
343
|
+
}
|
344
|
+
|
345
|
+
$nextNonWhitespaceIndex = $tokens->getNextNonWhitespace($startBraceIndex, " \t");
|
346
|
+
$nextNonWhitespace = $tokens[$nextNonWhitespaceIndex];
|
347
|
+
|
348
|
+
/* if CLOSE_TAG is after { on the same line, do not indent. e.g. <?php if ($condition) { ?> */
|
349
|
+
if ($nextNonWhitespace->isGivenKind(T_CLOSE_TAG)) {
|
350
|
+
continue;
|
351
|
+
}
|
352
|
+
|
353
|
+
/* if CLOSE_TAG is after { on the next line and a comment on this line, do not indent. e.g. <?php if ($condition) { // \n?> */
|
354
|
+
if ($nextNonWhitespace->isComment() && $tokens[$tokens->getNextMeaningfulToken($nextNonWhitespaceIndex)]->isGivenKind(T_CLOSE_TAG)) {
|
355
|
+
continue;
|
356
|
+
}
|
357
|
+
|
358
|
+
$endBraceIndex = $tokens->findBlockEnd(Tokens::BLOCK_TYPE_CURLY_BRACE, $startBraceIndex);
|
359
|
+
|
360
|
+
$indent = $this->detectIndent($tokens, $index);
|
361
|
+
|
362
|
+
// fix indent near closing brace
|
363
|
+
$tokens->ensureWhitespaceAtIndex($endBraceIndex - 1, 1, $this->whitespacesConfig->getLineEnding().$indent);
|
364
|
+
|
365
|
+
// fix indent between braces
|
366
|
+
$lastCommaIndex = $tokens->getPrevTokenOfKind($endBraceIndex - 1, [';', '}']);
|
367
|
+
|
368
|
+
$nestLevel = 1;
|
369
|
+
for ($nestIndex = $lastCommaIndex; $nestIndex >= $startBraceIndex; --$nestIndex) {
|
370
|
+
$nestToken = $tokens[$nestIndex];
|
371
|
+
|
372
|
+
if ($nestToken->equalsAny([')', [CT::T_BRACE_CLASS_INSTANTIATION_CLOSE]])) {
|
373
|
+
$nestIndex = $tokens->findBlockStart(
|
374
|
+
$nestToken->equals(')') ? Tokens::BLOCK_TYPE_PARENTHESIS_BRACE : Tokens::BLOCK_TYPE_BRACE_CLASS_INSTANTIATION,
|
375
|
+
$nestIndex
|
376
|
+
);
|
377
|
+
|
378
|
+
continue;
|
379
|
+
}
|
380
|
+
|
381
|
+
if (1 === $nestLevel) {
|
382
|
+
// Next token is the beginning of a line that can be indented when
|
383
|
+
// the current token is a `;`, a `}` or the opening `{` of current
|
384
|
+
// scope. Current token may also be a comment that follows `;` or
|
385
|
+
// `}`, in which case indentation will only be fixed if this
|
386
|
+
// comment is followed by a newline.
|
387
|
+
$nextLineCanBeIndented = false;
|
388
|
+
if ($nestToken->equalsAny([';', '}'])) {
|
389
|
+
$nextLineCanBeIndented = true;
|
390
|
+
} elseif ($this->isCommentWithFixableIndentation($tokens, $nestIndex)) {
|
391
|
+
for ($i = $nestIndex; $i > $startBraceIndex; --$i) {
|
392
|
+
if ($tokens[$i]->equalsAny([';', '}'])) {
|
393
|
+
$nextLineCanBeIndented = true;
|
394
|
+
|
395
|
+
break;
|
396
|
+
}
|
397
|
+
|
398
|
+
if (!$tokens[$i]->isWhitespace() && !$tokens[$i]->isComment()) {
|
399
|
+
break;
|
400
|
+
}
|
401
|
+
}
|
402
|
+
|
403
|
+
if ($nextLineCanBeIndented || $i === $startBraceIndex) {
|
404
|
+
$nextToken = $tokens[$nestIndex + 1];
|
405
|
+
$nextLineCanBeIndented = $nextToken->isWhitespace() && 1 === Preg::match('/\R/', $nextToken->getContent());
|
406
|
+
}
|
407
|
+
}
|
408
|
+
|
409
|
+
if (!$nextLineCanBeIndented) {
|
410
|
+
continue;
|
411
|
+
}
|
412
|
+
|
413
|
+
$nextNonWhitespaceNestIndex = $tokens->getNextNonWhitespace($nestIndex);
|
414
|
+
$nextNonWhitespaceNestToken = $tokens[$nextNonWhitespaceNestIndex];
|
415
|
+
|
416
|
+
if (
|
417
|
+
// next Token is not a comment on its own line
|
418
|
+
!($nextNonWhitespaceNestToken->isComment() && (
|
419
|
+
!$tokens[$nextNonWhitespaceNestIndex - 1]->isWhitespace()
|
420
|
+
|| !Preg::match('/\R/', $tokens[$nextNonWhitespaceNestIndex - 1]->getContent())
|
421
|
+
)) &&
|
422
|
+
// and it is not a `$foo = function () {};` situation
|
423
|
+
!($nestToken->equals('}') && $nextNonWhitespaceNestToken->equalsAny([';', ',', ']', [CT::T_ARRAY_SQUARE_BRACE_CLOSE]])) &&
|
424
|
+
// and it is not a `Foo::{bar}()` situation
|
425
|
+
!($nestToken->equals('}') && $nextNonWhitespaceNestToken->equals('(')) &&
|
426
|
+
// and it is not a `${"a"}->...` and `${"b{$foo}"}->...` situation
|
427
|
+
!($nestToken->equals('}') && $tokens[$nestIndex - 1]->equalsAny(['"', "'", [T_CONSTANT_ENCAPSED_STRING]])) &&
|
428
|
+
// and next token is not a closing tag that would break heredoc/nowdoc syntax
|
429
|
+
!($tokens[$nestIndex - 1]->isGivenKind(T_END_HEREDOC) && $nextNonWhitespaceNestToken->isGivenKind(T_CLOSE_TAG))
|
430
|
+
) {
|
431
|
+
if (
|
432
|
+
(
|
433
|
+
self::LINE_NEXT !== $this->configuration['position_after_control_structures']
|
434
|
+
&& $nextNonWhitespaceNestToken->isGivenKind($this->getControlContinuationTokens())
|
435
|
+
&& !$tokens[$tokens->getPrevNonWhitespace($nextNonWhitespaceNestIndex)]->isComment()
|
436
|
+
)
|
437
|
+
|| $nextNonWhitespaceNestToken->isGivenKind(T_CLOSE_TAG)
|
438
|
+
|| (
|
439
|
+
self::LINE_NEXT !== $this->configuration['position_after_control_structures']
|
440
|
+
&& $nextNonWhitespaceNestToken->isGivenKind(T_WHILE)
|
441
|
+
&& $tokensAnalyzer->isWhilePartOfDoWhile($nextNonWhitespaceNestIndex)
|
442
|
+
)
|
443
|
+
) {
|
444
|
+
$whitespace = ' ';
|
445
|
+
} else {
|
446
|
+
$nextToken = $tokens[$nestIndex + 1];
|
447
|
+
$nextWhitespace = '';
|
448
|
+
|
449
|
+
if ($nextToken->isWhitespace()) {
|
450
|
+
$nextWhitespace = rtrim($nextToken->getContent(), " \t");
|
451
|
+
|
452
|
+
if ('' !== $nextWhitespace) {
|
453
|
+
$nextWhitespace = Preg::replace(
|
454
|
+
sprintf('/%s$/', $this->whitespacesConfig->getLineEnding()),
|
455
|
+
'',
|
456
|
+
$nextWhitespace,
|
457
|
+
1
|
458
|
+
);
|
459
|
+
}
|
460
|
+
}
|
461
|
+
|
462
|
+
$whitespace = $nextWhitespace.$this->whitespacesConfig->getLineEnding().$indent;
|
463
|
+
|
464
|
+
if (!$nextNonWhitespaceNestToken->equals('}')) {
|
465
|
+
$determineIsIndentableBlockContent = function ($contentIndex) use ($tokens) {
|
466
|
+
if (!$tokens[$contentIndex]->isComment()) {
|
467
|
+
return true;
|
468
|
+
}
|
469
|
+
|
470
|
+
if (!$tokens[$tokens->getPrevMeaningfulToken($contentIndex)]->equals(';')) {
|
471
|
+
return true;
|
472
|
+
}
|
473
|
+
|
474
|
+
$nextIndex = $tokens->getNextMeaningfulToken($contentIndex);
|
475
|
+
|
476
|
+
if (!$tokens[$nextIndex]->equals('}')) {
|
477
|
+
return true;
|
478
|
+
}
|
479
|
+
|
480
|
+
$nextNextIndex = $tokens->getNextMeaningfulToken($nextIndex);
|
481
|
+
|
482
|
+
if (null === $nextNextIndex) {
|
483
|
+
return true;
|
484
|
+
}
|
485
|
+
|
486
|
+
if ($tokens[$nextNextIndex]->equalsAny([
|
487
|
+
[T_ELSE],
|
488
|
+
[T_ELSEIF],
|
489
|
+
',',
|
490
|
+
])) {
|
491
|
+
return false;
|
492
|
+
}
|
493
|
+
|
494
|
+
return true;
|
495
|
+
};
|
496
|
+
|
497
|
+
// add extra indent only if current content is not a comment for content outside of current block
|
498
|
+
if ($determineIsIndentableBlockContent($nestIndex + 2)) {
|
499
|
+
$whitespace .= $this->whitespacesConfig->getIndent();
|
500
|
+
}
|
501
|
+
}
|
502
|
+
}
|
503
|
+
|
504
|
+
$this->ensureWhitespaceAtIndexAndIndentMultilineComment($tokens, $nestIndex + 1, $whitespace);
|
505
|
+
}
|
506
|
+
}
|
507
|
+
|
508
|
+
if ($nestToken->equals('}')) {
|
509
|
+
++$nestLevel;
|
510
|
+
|
511
|
+
continue;
|
512
|
+
}
|
513
|
+
|
514
|
+
if ($nestToken->equals('{')) {
|
515
|
+
--$nestLevel;
|
516
|
+
|
517
|
+
continue;
|
518
|
+
}
|
519
|
+
}
|
520
|
+
|
521
|
+
// fix indent near opening brace
|
522
|
+
if (isset($tokens[$startBraceIndex + 2]) && $tokens[$startBraceIndex + 2]->equals('}')) {
|
523
|
+
$tokens->ensureWhitespaceAtIndex($startBraceIndex + 1, 0, $this->whitespacesConfig->getLineEnding().$indent);
|
524
|
+
} else {
|
525
|
+
$nextToken = $tokens[$startBraceIndex + 1];
|
526
|
+
$nextNonWhitespaceToken = $tokens[$tokens->getNextNonWhitespace($startBraceIndex)];
|
527
|
+
|
528
|
+
// set indent only if it is not a case, when comment is following { on same line
|
529
|
+
if (
|
530
|
+
!$nextNonWhitespaceToken->isComment()
|
531
|
+
|| ($nextToken->isWhitespace() && 1 === substr_count($nextToken->getContent(), "\n")) // preserve blank lines
|
532
|
+
) {
|
533
|
+
$this->ensureWhitespaceAtIndexAndIndentMultilineComment(
|
534
|
+
$tokens,
|
535
|
+
$startBraceIndex + 1,
|
536
|
+
$this->whitespacesConfig->getLineEnding().$indent.$this->whitespacesConfig->getIndent()
|
537
|
+
);
|
538
|
+
}
|
539
|
+
}
|
540
|
+
|
541
|
+
if ($token->isGivenKind($classyTokens) && !$tokensAnalyzer->isAnonymousClass($index)) {
|
542
|
+
if (self::LINE_SAME === $this->configuration['position_after_functions_and_oop_constructs'] && !$tokens[$tokens->getPrevNonWhitespace($startBraceIndex)]->isComment()) {
|
543
|
+
$ensuredWhitespace = ' ';
|
544
|
+
} else {
|
545
|
+
$ensuredWhitespace = $this->whitespacesConfig->getLineEnding().$indent;
|
546
|
+
}
|
547
|
+
|
548
|
+
$tokens->ensureWhitespaceAtIndex($startBraceIndex - 1, 1, $ensuredWhitespace);
|
549
|
+
} elseif (
|
550
|
+
$token->isGivenKind(T_FUNCTION) && !$tokensAnalyzer->isLambda($index)
|
551
|
+
|| (
|
552
|
+
self::LINE_NEXT === $this->configuration['position_after_control_structures'] && $token->isGivenKind($controlTokens)
|
553
|
+
|| (
|
554
|
+
self::LINE_NEXT === $this->configuration['position_after_anonymous_constructs']
|
555
|
+
&& (
|
556
|
+
$token->isGivenKind(T_FUNCTION) && $tokensAnalyzer->isLambda($index)
|
557
|
+
|| $token->isGivenKind(T_CLASS) && $tokensAnalyzer->isAnonymousClass($index)
|
558
|
+
)
|
559
|
+
)
|
560
|
+
)
|
561
|
+
) {
|
562
|
+
$isAnonymousClass = $token->isGivenKind($classyTokens) && $tokensAnalyzer->isAnonymousClass($index);
|
563
|
+
|
564
|
+
$closingParenthesisIndex = $tokens->getPrevTokenOfKind($startBraceIndex, [')']);
|
565
|
+
if (null === $closingParenthesisIndex && !$isAnonymousClass) {
|
566
|
+
continue;
|
567
|
+
}
|
568
|
+
|
569
|
+
if (!$isAnonymousClass) {
|
570
|
+
$prevToken = $tokens[$closingParenthesisIndex - 1];
|
571
|
+
}
|
572
|
+
|
573
|
+
if (!$isAnonymousClass && $prevToken->isWhitespace() && false !== strpos($prevToken->getContent(), "\n")) {
|
574
|
+
if (!$tokens[$startBraceIndex - 2]->isComment()) {
|
575
|
+
$tokens->ensureWhitespaceAtIndex($startBraceIndex - 1, 1, ' ');
|
576
|
+
}
|
577
|
+
} else {
|
578
|
+
if (
|
579
|
+
self::LINE_SAME === $this->configuration['position_after_functions_and_oop_constructs']
|
580
|
+
&& (
|
581
|
+
$token->isGivenKind(T_FUNCTION) && !$tokensAnalyzer->isLambda($index)
|
582
|
+
|| $token->isGivenKind($classyTokens) && !$tokensAnalyzer->isAnonymousClass($index)
|
583
|
+
)
|
584
|
+
&& !$tokens[$tokens->getPrevNonWhitespace($startBraceIndex)]->isComment()
|
585
|
+
) {
|
586
|
+
$ensuredWhitespace = ' ';
|
587
|
+
} else {
|
588
|
+
$ensuredWhitespace = $this->whitespacesConfig->getLineEnding().$indent;
|
589
|
+
}
|
590
|
+
|
591
|
+
$tokens->ensureWhitespaceAtIndex($startBraceIndex - 1, 1, $ensuredWhitespace);
|
592
|
+
}
|
593
|
+
} else {
|
594
|
+
$tokens->ensureWhitespaceAtIndex($startBraceIndex - 1, 1, ' ');
|
595
|
+
}
|
596
|
+
|
597
|
+
// reset loop limit due to collection change
|
598
|
+
$limit = \count($tokens);
|
599
|
+
}
|
600
|
+
}
|
601
|
+
|
602
|
+
private function fixMissingControlBraces(Tokens $tokens)
|
603
|
+
{
|
604
|
+
$controlTokens = $this->getControlTokens();
|
605
|
+
|
606
|
+
for ($index = $tokens->count() - 1; 0 <= $index; --$index) {
|
607
|
+
$token = $tokens[$index];
|
608
|
+
|
609
|
+
if (!$token->isGivenKind($controlTokens)) {
|
610
|
+
continue;
|
611
|
+
}
|
612
|
+
|
613
|
+
$parenthesisEndIndex = $this->findParenthesisEnd($tokens, $index);
|
614
|
+
$tokenAfterParenthesis = $tokens[$tokens->getNextMeaningfulToken($parenthesisEndIndex)];
|
615
|
+
|
616
|
+
// if Token after parenthesis is { then we do not need to insert brace, but to fix whitespace before it
|
617
|
+
if ($tokenAfterParenthesis->equals('{') && self::LINE_SAME === $this->configuration['position_after_control_structures']) {
|
618
|
+
$tokens->ensureWhitespaceAtIndex($parenthesisEndIndex + 1, 0, ' ');
|
619
|
+
|
620
|
+
continue;
|
621
|
+
}
|
622
|
+
|
623
|
+
// do not add braces for cases:
|
624
|
+
// - structure without block, e.g. while ($iter->next());
|
625
|
+
// - structure with block, e.g. while ($i) {...}, while ($i) : {...} endwhile;
|
626
|
+
if ($tokenAfterParenthesis->equalsAny([';', '{', ':'])) {
|
627
|
+
continue;
|
628
|
+
}
|
629
|
+
|
630
|
+
$statementEndIndex = $this->findStatementEnd($tokens, $parenthesisEndIndex);
|
631
|
+
|
632
|
+
// insert closing brace
|
633
|
+
$tokens->insertAt($statementEndIndex + 1, [new Token([T_WHITESPACE, ' ']), new Token('}')]);
|
634
|
+
|
635
|
+
// insert missing `;` if needed
|
636
|
+
if (!$tokens[$statementEndIndex]->equalsAny([';', '}'])) {
|
637
|
+
$tokens->insertAt($statementEndIndex + 1, new Token(';'));
|
638
|
+
}
|
639
|
+
|
640
|
+
// insert opening brace
|
641
|
+
$tokens->insertAt($parenthesisEndIndex + 1, new Token('{'));
|
642
|
+
$tokens->ensureWhitespaceAtIndex($parenthesisEndIndex + 1, 0, ' ');
|
643
|
+
}
|
644
|
+
}
|
645
|
+
|
646
|
+
private function fixSpaceAroundToken(Tokens $tokens)
|
647
|
+
{
|
648
|
+
$controlTokens = $this->getControlTokens();
|
649
|
+
|
650
|
+
for ($index = $tokens->count() - 1; 0 <= $index; --$index) {
|
651
|
+
$token = $tokens[$index];
|
652
|
+
|
653
|
+
// Declare tokens don't follow the same rules are other control statements
|
654
|
+
if ($token->isGivenKind(T_DECLARE)) {
|
655
|
+
$this->fixDeclareStatement($tokens, $index);
|
656
|
+
} elseif ($token->isGivenKind($controlTokens) || $token->isGivenKind(CT::T_USE_LAMBDA)) {
|
657
|
+
$nextNonWhitespaceIndex = $tokens->getNextNonWhitespace($index);
|
658
|
+
|
659
|
+
if (!$tokens[$nextNonWhitespaceIndex]->equals(':')) {
|
660
|
+
$tokens->ensureWhitespaceAtIndex(
|
661
|
+
$index + 1,
|
662
|
+
0,
|
663
|
+
self::LINE_NEXT === $this->configuration['position_after_control_structures'] && !$tokens[$nextNonWhitespaceIndex]->equals('(') ?
|
664
|
+
$this->whitespacesConfig->getLineEnding().$this->detectIndent($tokens, $index)
|
665
|
+
: ' '
|
666
|
+
);
|
667
|
+
}
|
668
|
+
|
669
|
+
$prevToken = $tokens[$index - 1];
|
670
|
+
|
671
|
+
if (!$prevToken->isWhitespace() && !$prevToken->isComment() && !$prevToken->isGivenKind(T_OPEN_TAG)) {
|
672
|
+
$tokens->ensureWhitespaceAtIndex($index - 1, 1, ' ');
|
673
|
+
}
|
674
|
+
}
|
675
|
+
}
|
676
|
+
}
|
677
|
+
|
678
|
+
/**
|
679
|
+
* @param Tokens $tokens
|
680
|
+
* @param int $index
|
681
|
+
*
|
682
|
+
* @return string
|
683
|
+
*/
|
684
|
+
private function detectIndent(Tokens $tokens, $index)
|
685
|
+
{
|
686
|
+
while (true) {
|
687
|
+
$whitespaceIndex = $tokens->getPrevTokenOfKind($index, [[T_WHITESPACE]]);
|
688
|
+
|
689
|
+
if (null === $whitespaceIndex) {
|
690
|
+
return '';
|
691
|
+
}
|
692
|
+
|
693
|
+
$whitespaceToken = $tokens[$whitespaceIndex];
|
694
|
+
|
695
|
+
if (false !== strpos($whitespaceToken->getContent(), "\n")) {
|
696
|
+
break;
|
697
|
+
}
|
698
|
+
|
699
|
+
$prevToken = $tokens[$whitespaceIndex - 1];
|
700
|
+
|
701
|
+
if ($prevToken->isGivenKind([T_OPEN_TAG, T_COMMENT]) && "\n" === substr($prevToken->getContent(), -1)) {
|
702
|
+
break;
|
703
|
+
}
|
704
|
+
|
705
|
+
$index = $whitespaceIndex;
|
706
|
+
}
|
707
|
+
|
708
|
+
$explodedContent = explode("\n", $whitespaceToken->getContent());
|
709
|
+
|
710
|
+
return end($explodedContent);
|
711
|
+
}
|
712
|
+
|
713
|
+
/**
|
714
|
+
* @param Tokens $tokens
|
715
|
+
* @param int $structureTokenIndex
|
716
|
+
*
|
717
|
+
* @return int
|
718
|
+
*/
|
719
|
+
private function findParenthesisEnd(Tokens $tokens, $structureTokenIndex)
|
720
|
+
{
|
721
|
+
$nextIndex = $tokens->getNextMeaningfulToken($structureTokenIndex);
|
722
|
+
$nextToken = $tokens[$nextIndex];
|
723
|
+
|
724
|
+
// return if next token is not opening parenthesis
|
725
|
+
if (!$nextToken->equals('(')) {
|
726
|
+
return $structureTokenIndex;
|
727
|
+
}
|
728
|
+
|
729
|
+
return $tokens->findBlockEnd(Tokens::BLOCK_TYPE_PARENTHESIS_BRACE, $nextIndex);
|
730
|
+
}
|
731
|
+
|
732
|
+
/**
|
733
|
+
* @param Tokens $tokens
|
734
|
+
* @param int $parenthesisEndIndex
|
735
|
+
*
|
736
|
+
* @return int
|
737
|
+
*/
|
738
|
+
private function findStatementEnd(Tokens $tokens, $parenthesisEndIndex)
|
739
|
+
{
|
740
|
+
$nextIndex = $tokens->getNextMeaningfulToken($parenthesisEndIndex);
|
741
|
+
$nextToken = $tokens[$nextIndex];
|
742
|
+
|
743
|
+
if (!$nextToken) {
|
744
|
+
return $parenthesisEndIndex;
|
745
|
+
}
|
746
|
+
|
747
|
+
if ($nextToken->equals('{')) {
|
748
|
+
return $tokens->findBlockEnd(Tokens::BLOCK_TYPE_CURLY_BRACE, $nextIndex);
|
749
|
+
}
|
750
|
+
|
751
|
+
if ($nextToken->isGivenKind($this->getControlTokens())) {
|
752
|
+
$parenthesisEndIndex = $this->findParenthesisEnd($tokens, $nextIndex);
|
753
|
+
|
754
|
+
$endIndex = $this->findStatementEnd($tokens, $parenthesisEndIndex);
|
755
|
+
|
756
|
+
if ($nextToken->isGivenKind([T_IF, T_TRY, T_DO])) {
|
757
|
+
$openingTokenKind = $nextToken->getId();
|
758
|
+
|
759
|
+
while (true) {
|
760
|
+
$nextIndex = $tokens->getNextMeaningfulToken($endIndex);
|
761
|
+
$nextToken = isset($nextIndex) ? $tokens[$nextIndex] : null;
|
762
|
+
if ($nextToken && $nextToken->isGivenKind($this->getControlContinuationTokensForOpeningToken($openingTokenKind))) {
|
763
|
+
$parenthesisEndIndex = $this->findParenthesisEnd($tokens, $nextIndex);
|
764
|
+
|
765
|
+
$endIndex = $this->findStatementEnd($tokens, $parenthesisEndIndex);
|
766
|
+
|
767
|
+
if ($nextToken->isGivenKind($this->getFinalControlContinuationTokensForOpeningToken($openingTokenKind))) {
|
768
|
+
return $endIndex;
|
769
|
+
}
|
770
|
+
} else {
|
771
|
+
break;
|
772
|
+
}
|
773
|
+
}
|
774
|
+
}
|
775
|
+
|
776
|
+
return $endIndex;
|
777
|
+
}
|
778
|
+
|
779
|
+
$index = $parenthesisEndIndex;
|
780
|
+
|
781
|
+
while (true) {
|
782
|
+
$token = $tokens[++$index];
|
783
|
+
|
784
|
+
// if there is some block in statement (eg lambda function) we need to skip it
|
785
|
+
if ($token->equals('{')) {
|
786
|
+
$index = $tokens->findBlockEnd(Tokens::BLOCK_TYPE_CURLY_BRACE, $index);
|
787
|
+
|
788
|
+
continue;
|
789
|
+
}
|
790
|
+
|
791
|
+
if ($token->equals(';')) {
|
792
|
+
return $index;
|
793
|
+
}
|
794
|
+
|
795
|
+
if ($token->isGivenKind(T_CLOSE_TAG)) {
|
796
|
+
return $tokens->getPrevNonWhitespace($index);
|
797
|
+
}
|
798
|
+
}
|
799
|
+
|
800
|
+
throw new \RuntimeException('Statement end not found.');
|
801
|
+
}
|
802
|
+
|
803
|
+
private function getControlTokens()
|
804
|
+
{
|
805
|
+
static $tokens = [
|
806
|
+
T_DECLARE,
|
807
|
+
T_DO,
|
808
|
+
T_ELSE,
|
809
|
+
T_ELSEIF,
|
810
|
+
T_FINALLY,
|
811
|
+
T_FOR,
|
812
|
+
T_FOREACH,
|
813
|
+
T_IF,
|
814
|
+
T_WHILE,
|
815
|
+
T_TRY,
|
816
|
+
T_CATCH,
|
817
|
+
T_SWITCH,
|
818
|
+
];
|
819
|
+
|
820
|
+
return $tokens;
|
821
|
+
}
|
822
|
+
|
823
|
+
private function getControlContinuationTokens()
|
824
|
+
{
|
825
|
+
static $tokens = [
|
826
|
+
T_CATCH,
|
827
|
+
T_ELSE,
|
828
|
+
T_ELSEIF,
|
829
|
+
T_FINALLY,
|
830
|
+
];
|
831
|
+
|
832
|
+
return $tokens;
|
833
|
+
}
|
834
|
+
|
835
|
+
private function getControlContinuationTokensForOpeningToken($openingTokenKind)
|
836
|
+
{
|
837
|
+
if (T_IF === $openingTokenKind) {
|
838
|
+
return [
|
839
|
+
T_ELSE,
|
840
|
+
T_ELSEIF,
|
841
|
+
];
|
842
|
+
}
|
843
|
+
|
844
|
+
if (T_DO === $openingTokenKind) {
|
845
|
+
return [T_WHILE];
|
846
|
+
}
|
847
|
+
|
848
|
+
if (T_TRY === $openingTokenKind) {
|
849
|
+
return [
|
850
|
+
T_CATCH,
|
851
|
+
T_FINALLY,
|
852
|
+
];
|
853
|
+
}
|
854
|
+
|
855
|
+
return [];
|
856
|
+
}
|
857
|
+
|
858
|
+
private function getFinalControlContinuationTokensForOpeningToken($openingTokenKind)
|
859
|
+
{
|
860
|
+
if (T_IF === $openingTokenKind) {
|
861
|
+
return [T_ELSE];
|
862
|
+
}
|
863
|
+
|
864
|
+
if (T_TRY === $openingTokenKind) {
|
865
|
+
return [T_FINALLY];
|
866
|
+
}
|
867
|
+
|
868
|
+
return [];
|
869
|
+
}
|
870
|
+
|
871
|
+
/**
|
872
|
+
* @param Tokens $tokens
|
873
|
+
* @param int $index
|
874
|
+
*/
|
875
|
+
private function fixDeclareStatement(Tokens $tokens, $index)
|
876
|
+
{
|
877
|
+
$tokens->removeTrailingWhitespace($index);
|
878
|
+
|
879
|
+
$startParenthesisIndex = $tokens->getNextTokenOfKind($index, ['(']);
|
880
|
+
$tokens->removeTrailingWhitespace($startParenthesisIndex);
|
881
|
+
|
882
|
+
$endParenthesisIndex = $tokens->findBlockEnd(Tokens::BLOCK_TYPE_PARENTHESIS_BRACE, $startParenthesisIndex);
|
883
|
+
$tokens->removeLeadingWhitespace($endParenthesisIndex);
|
884
|
+
|
885
|
+
$startBraceIndex = $tokens->getNextTokenOfKind($endParenthesisIndex, [';', '{']);
|
886
|
+
$startBraceToken = $tokens[$startBraceIndex];
|
887
|
+
|
888
|
+
if ($startBraceToken->equals('{')) {
|
889
|
+
$this->fixSingleLineWhitespaceForDeclare($tokens, $startBraceIndex);
|
890
|
+
}
|
891
|
+
}
|
892
|
+
|
893
|
+
/**
|
894
|
+
* @param Tokens $tokens
|
895
|
+
* @param int $startBraceIndex
|
896
|
+
*/
|
897
|
+
private function fixSingleLineWhitespaceForDeclare(Tokens $tokens, $startBraceIndex)
|
898
|
+
{
|
899
|
+
// fix single-line whitespace before {
|
900
|
+
// eg: `declare(ticks=1){` => `declare(ticks=1) {`
|
901
|
+
// eg: `declare(ticks=1) {` => `declare(ticks=1) {`
|
902
|
+
if (
|
903
|
+
!$tokens[$startBraceIndex - 1]->isWhitespace() ||
|
904
|
+
$tokens[$startBraceIndex - 1]->isWhitespace(" \t")
|
905
|
+
) {
|
906
|
+
$tokens->ensureWhitespaceAtIndex($startBraceIndex - 1, 1, ' ');
|
907
|
+
}
|
908
|
+
}
|
909
|
+
|
910
|
+
/**
|
911
|
+
* @param Tokens $tokens
|
912
|
+
* @param int $index
|
913
|
+
* @param string $whitespace
|
914
|
+
*/
|
915
|
+
private function ensureWhitespaceAtIndexAndIndentMultilineComment(Tokens $tokens, $index, $whitespace)
|
916
|
+
{
|
917
|
+
if ($tokens[$index]->isWhitespace()) {
|
918
|
+
$nextTokenIndex = $tokens->getNextNonWhitespace($index);
|
919
|
+
} else {
|
920
|
+
$nextTokenIndex = $index;
|
921
|
+
}
|
922
|
+
|
923
|
+
$nextToken = $tokens[$nextTokenIndex];
|
924
|
+
if ($nextToken->isComment()) {
|
925
|
+
$previousToken = $tokens[$nextTokenIndex - 1];
|
926
|
+
|
927
|
+
// do not indent inline comments used to comment out unused code
|
928
|
+
if (
|
929
|
+
(0 === strpos($nextToken->getContent(), '//'.$this->whitespacesConfig->getIndent()) || '//' === $nextToken->getContent())
|
930
|
+
&& $previousToken->isWhitespace() && 1 === Preg::match('/\R$/', $previousToken->getContent())
|
931
|
+
) {
|
932
|
+
return;
|
933
|
+
}
|
934
|
+
|
935
|
+
$tokens[$nextTokenIndex] = new Token([
|
936
|
+
$nextToken->getId(),
|
937
|
+
Preg::replace(
|
938
|
+
'/(\R)'.$this->detectIndent($tokens, $nextTokenIndex).'/',
|
939
|
+
'$1'.Preg::replace('/^.*\R([ \t]*)$/s', '$1', $whitespace),
|
940
|
+
$nextToken->getContent()
|
941
|
+
),
|
942
|
+
]);
|
943
|
+
}
|
944
|
+
|
945
|
+
$tokens->ensureWhitespaceAtIndex($index, 0, $whitespace);
|
946
|
+
}
|
947
|
+
|
948
|
+
/**
|
949
|
+
* @param Tokens $tokens
|
950
|
+
* @param int $startParenthesisIndex
|
951
|
+
* @param int $endParenthesisIndex
|
952
|
+
*
|
953
|
+
* @return bool
|
954
|
+
*/
|
955
|
+
private function isMultilined(Tokens $tokens, $startParenthesisIndex, $endParenthesisIndex)
|
956
|
+
{
|
957
|
+
for ($i = $startParenthesisIndex; $i < $endParenthesisIndex; ++$i) {
|
958
|
+
if (false !== strpos($tokens[$i]->getContent(), "\n")) {
|
959
|
+
return true;
|
960
|
+
}
|
961
|
+
}
|
962
|
+
|
963
|
+
return false;
|
964
|
+
}
|
965
|
+
|
966
|
+
/**
|
967
|
+
* Returns whether the token at given index is a comment whose indentation
|
968
|
+
* can be fixed.
|
969
|
+
*
|
970
|
+
* Indentation of a comment is not changed when the comment is part of a
|
971
|
+
* multi-line message whose lines are all single-line comments and at least
|
972
|
+
* one line has meaningful content.
|
973
|
+
*
|
974
|
+
* @param Tokens $tokens
|
975
|
+
* @param int $index
|
976
|
+
*
|
977
|
+
* @return bool
|
978
|
+
*/
|
979
|
+
private function isCommentWithFixableIndentation(Tokens $tokens, $index)
|
980
|
+
{
|
981
|
+
if (!$tokens[$index]->isComment()) {
|
982
|
+
return false;
|
983
|
+
}
|
984
|
+
|
985
|
+
if (0 === strpos($tokens[$index]->getContent(), '/*')) {
|
986
|
+
return true;
|
987
|
+
}
|
988
|
+
|
989
|
+
$firstCommentIndex = $index;
|
990
|
+
while (true) {
|
991
|
+
$i = $this->getSiblingContinuousSingleLineComment($tokens, $firstCommentIndex, false);
|
992
|
+
if (null === $i) {
|
993
|
+
break;
|
994
|
+
}
|
995
|
+
|
996
|
+
$firstCommentIndex = $i;
|
997
|
+
}
|
998
|
+
|
999
|
+
$lastCommentIndex = $index;
|
1000
|
+
while (true) {
|
1001
|
+
$i = $this->getSiblingContinuousSingleLineComment($tokens, $lastCommentIndex, true);
|
1002
|
+
if (null === $i) {
|
1003
|
+
break;
|
1004
|
+
}
|
1005
|
+
|
1006
|
+
$lastCommentIndex = $i;
|
1007
|
+
}
|
1008
|
+
|
1009
|
+
if ($firstCommentIndex === $lastCommentIndex) {
|
1010
|
+
return true;
|
1011
|
+
}
|
1012
|
+
|
1013
|
+
for ($i = $firstCommentIndex + 1; $i < $lastCommentIndex; ++$i) {
|
1014
|
+
if (!$tokens[$i]->isWhitespace() && !$tokens[$i]->isComment()) {
|
1015
|
+
return false;
|
1016
|
+
}
|
1017
|
+
}
|
1018
|
+
|
1019
|
+
return true;
|
1020
|
+
}
|
1021
|
+
|
1022
|
+
/**
|
1023
|
+
* @param Tokens $tokens
|
1024
|
+
* @param int $index
|
1025
|
+
* @param bool $after
|
1026
|
+
*
|
1027
|
+
* @return null|int
|
1028
|
+
*/
|
1029
|
+
private function getSiblingContinuousSingleLineComment(Tokens $tokens, $index, $after)
|
1030
|
+
{
|
1031
|
+
$siblingIndex = $index;
|
1032
|
+
do {
|
1033
|
+
if ($after) {
|
1034
|
+
$siblingIndex = $tokens->getNextTokenOfKind($siblingIndex, [[T_COMMENT]]);
|
1035
|
+
} else {
|
1036
|
+
$siblingIndex = $tokens->getPrevTokenOfKind($siblingIndex, [[T_COMMENT]]);
|
1037
|
+
}
|
1038
|
+
|
1039
|
+
if (null === $siblingIndex) {
|
1040
|
+
return null;
|
1041
|
+
}
|
1042
|
+
} while (0 === strpos($tokens[$siblingIndex]->getContent(), '/*'));
|
1043
|
+
|
1044
|
+
$newLines = 0;
|
1045
|
+
for ($i = min($siblingIndex, $index) + 1, $max = max($siblingIndex, $index); $i < $max; ++$i) {
|
1046
|
+
if ($tokens[$i]->isWhitespace() && Preg::match('/\R/', $tokens[$i]->getContent())) {
|
1047
|
+
if (1 === $newLines || Preg::match('/\R.*\R/', $tokens[$i]->getContent())) {
|
1048
|
+
return null;
|
1049
|
+
}
|
1050
|
+
|
1051
|
+
++$newLines;
|
1052
|
+
}
|
1053
|
+
}
|
1054
|
+
|
1055
|
+
return $siblingIndex;
|
1056
|
+
}
|
1057
|
+
}
|