From 6a466a120a404d1c5d492e5ca715841c491517fc Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Wed, 23 Feb 2022 16:58:18 +0100 Subject: [PATCH] Enable strict types on all files --- .php-cs-fixer.php | 2 +- src/Composer/Autoload/AutoloadGenerator.php | 2 +- src/Composer/Autoload/ClassMapGenerator.php | 2 +- src/Composer/Autoload/PhpFileCleaner.php | 2 +- src/Composer/Cache.php | 2 +- src/Composer/Command/AboutCommand.php | 2 +- src/Composer/Command/ArchiveCommand.php | 2 +- src/Composer/Command/BaseCommand.php | 2 +- src/Composer/Command/BaseDependencyCommand.php | 2 +- src/Composer/Command/CheckPlatformReqsCommand.php | 2 +- src/Composer/Command/ClearCacheCommand.php | 2 +- src/Composer/Command/ConfigCommand.php | 2 +- src/Composer/Command/CreateProjectCommand.php | 2 +- src/Composer/Command/DependsCommand.php | 2 +- src/Composer/Command/DiagnoseCommand.php | 2 +- src/Composer/Command/DumpAutoloadCommand.php | 2 +- src/Composer/Command/ExecCommand.php | 2 +- src/Composer/Command/FundCommand.php | 2 +- src/Composer/Command/GlobalCommand.php | 2 +- src/Composer/Command/HomeCommand.php | 2 +- src/Composer/Command/InitCommand.php | 2 +- src/Composer/Command/InstallCommand.php | 2 +- src/Composer/Command/LicensesCommand.php | 2 +- src/Composer/Command/OutdatedCommand.php | 2 +- src/Composer/Command/PackageDiscoveryTrait.php | 2 +- src/Composer/Command/ProhibitsCommand.php | 2 +- src/Composer/Command/ReinstallCommand.php | 2 +- src/Composer/Command/RemoveCommand.php | 2 +- src/Composer/Command/RequireCommand.php | 2 +- src/Composer/Command/RunScriptCommand.php | 2 +- src/Composer/Command/ScriptAliasCommand.php | 2 +- src/Composer/Command/SearchCommand.php | 2 +- src/Composer/Command/SelfUpdateCommand.php | 2 +- src/Composer/Command/ShowCommand.php | 2 +- src/Composer/Command/StatusCommand.php | 2 +- src/Composer/Command/SuggestsCommand.php | 2 +- src/Composer/Command/UpdateCommand.php | 2 +- src/Composer/Command/ValidateCommand.php | 2 +- src/Composer/Compiler.php | 2 +- src/Composer/Composer.php | 2 +- src/Composer/Config.php | 2 +- src/Composer/Config/ConfigSourceInterface.php | 2 +- src/Composer/Config/JsonConfigSource.php | 2 +- src/Composer/Console/Application.php | 2 +- src/Composer/Console/GithubActionError.php | 2 +- src/Composer/Console/HtmlOutputFormatter.php | 2 +- src/Composer/DependencyResolver/Decisions.php | 2 +- src/Composer/DependencyResolver/DefaultPolicy.php | 2 +- src/Composer/DependencyResolver/GenericRule.php | 2 +- src/Composer/DependencyResolver/LocalRepoTransaction.php | 2 +- src/Composer/DependencyResolver/LockTransaction.php | 2 +- src/Composer/DependencyResolver/MultiConflictRule.php | 2 +- src/Composer/DependencyResolver/Operation/InstallOperation.php | 2 +- .../Operation/MarkAliasInstalledOperation.php | 2 +- .../Operation/MarkAliasUninstalledOperation.php | 2 +- .../DependencyResolver/Operation/OperationInterface.php | 2 +- src/Composer/DependencyResolver/Operation/SolverOperation.php | 2 +- .../DependencyResolver/Operation/UninstallOperation.php | 2 +- src/Composer/DependencyResolver/Operation/UpdateOperation.php | 2 +- src/Composer/DependencyResolver/PolicyInterface.php | 2 +- src/Composer/DependencyResolver/Pool.php | 2 +- src/Composer/DependencyResolver/PoolBuilder.php | 2 +- src/Composer/DependencyResolver/PoolOptimizer.php | 2 +- src/Composer/DependencyResolver/Problem.php | 2 +- src/Composer/DependencyResolver/Request.php | 2 +- src/Composer/DependencyResolver/Rule.php | 2 +- src/Composer/DependencyResolver/Rule2Literals.php | 2 +- src/Composer/DependencyResolver/RuleSet.php | 2 +- src/Composer/DependencyResolver/RuleSetGenerator.php | 2 +- src/Composer/DependencyResolver/RuleSetIterator.php | 2 +- src/Composer/DependencyResolver/RuleWatchChain.php | 2 +- src/Composer/DependencyResolver/RuleWatchGraph.php | 2 +- src/Composer/DependencyResolver/RuleWatchNode.php | 2 +- src/Composer/DependencyResolver/Solver.php | 2 +- src/Composer/DependencyResolver/SolverBugException.php | 2 +- src/Composer/DependencyResolver/SolverProblemsException.php | 2 +- src/Composer/DependencyResolver/Transaction.php | 2 +- src/Composer/Downloader/ArchiveDownloader.php | 2 +- src/Composer/Downloader/ChangeReportInterface.php | 2 +- src/Composer/Downloader/DownloadManager.php | 2 +- src/Composer/Downloader/DownloaderInterface.php | 2 +- src/Composer/Downloader/DvcsDownloaderInterface.php | 2 +- src/Composer/Downloader/FileDownloader.php | 2 +- src/Composer/Downloader/FilesystemException.php | 2 +- src/Composer/Downloader/FossilDownloader.php | 2 +- src/Composer/Downloader/GitDownloader.php | 2 +- src/Composer/Downloader/GzipDownloader.php | 2 +- src/Composer/Downloader/HgDownloader.php | 2 +- src/Composer/Downloader/MaxFileSizeExceededException.php | 2 +- src/Composer/Downloader/PathDownloader.php | 2 +- src/Composer/Downloader/PerforceDownloader.php | 2 +- src/Composer/Downloader/PharDownloader.php | 2 +- src/Composer/Downloader/RarDownloader.php | 2 +- src/Composer/Downloader/SvnDownloader.php | 2 +- src/Composer/Downloader/TarDownloader.php | 2 +- src/Composer/Downloader/TransportException.php | 2 +- src/Composer/Downloader/VcsCapableDownloaderInterface.php | 2 +- src/Composer/Downloader/VcsDownloader.php | 2 +- src/Composer/Downloader/XzDownloader.php | 2 +- src/Composer/Downloader/ZipDownloader.php | 2 +- src/Composer/EventDispatcher/Event.php | 2 +- src/Composer/EventDispatcher/EventDispatcher.php | 2 +- src/Composer/EventDispatcher/EventSubscriberInterface.php | 2 +- src/Composer/EventDispatcher/ScriptExecutionException.php | 2 +- src/Composer/Exception/IrrecoverableDownloadException.php | 2 +- src/Composer/Exception/NoSslException.php | 2 +- src/Composer/Factory.php | 2 +- .../IgnoreAllPlatformRequirementFilter.php | 2 +- .../IgnoreListPlatformRequirementFilter.php | 2 +- .../IgnoreNothingPlatformRequirementFilter.php | 2 +- .../PlatformRequirementFilterFactory.php | 2 +- .../PlatformRequirementFilterInterface.php | 2 +- src/Composer/IO/BaseIO.php | 2 +- src/Composer/IO/BufferIO.php | 2 +- src/Composer/IO/ConsoleIO.php | 2 +- src/Composer/IO/IOInterface.php | 2 +- src/Composer/IO/NullIO.php | 2 +- src/Composer/Installer.php | 2 +- src/Composer/Installer/BinaryInstaller.php | 2 +- src/Composer/Installer/BinaryPresenceInterface.php | 2 +- src/Composer/Installer/InstallationManager.php | 2 +- src/Composer/Installer/InstallerEvent.php | 2 +- src/Composer/Installer/InstallerEvents.php | 2 +- src/Composer/Installer/InstallerInterface.php | 2 +- src/Composer/Installer/LibraryInstaller.php | 2 +- src/Composer/Installer/MetapackageInstaller.php | 2 +- src/Composer/Installer/NoopInstaller.php | 2 +- src/Composer/Installer/PackageEvent.php | 2 +- src/Composer/Installer/PackageEvents.php | 2 +- src/Composer/Installer/PluginInstaller.php | 2 +- src/Composer/Installer/ProjectInstaller.php | 2 +- src/Composer/Installer/SuggestedPackagesReporter.php | 2 +- src/Composer/Json/JsonFile.php | 2 +- src/Composer/Json/JsonFormatter.php | 2 +- src/Composer/Json/JsonManipulator.php | 2 +- src/Composer/Json/JsonValidationException.php | 2 +- src/Composer/Package/AliasPackage.php | 2 +- src/Composer/Package/Archiver/ArchivableFilesFilter.php | 2 +- src/Composer/Package/Archiver/ArchivableFilesFinder.php | 2 +- src/Composer/Package/Archiver/ArchiveManager.php | 2 +- src/Composer/Package/Archiver/ArchiverInterface.php | 2 +- src/Composer/Package/Archiver/BaseExcludeFilter.php | 2 +- src/Composer/Package/Archiver/ComposerExcludeFilter.php | 2 +- src/Composer/Package/Archiver/GitExcludeFilter.php | 2 +- src/Composer/Package/Archiver/PharArchiver.php | 2 +- src/Composer/Package/Archiver/ZipArchiver.php | 2 +- src/Composer/Package/BasePackage.php | 2 +- src/Composer/Package/Comparer/Comparer.php | 2 +- src/Composer/Package/CompleteAliasPackage.php | 2 +- src/Composer/Package/CompletePackage.php | 2 +- src/Composer/Package/CompletePackageInterface.php | 2 +- src/Composer/Package/Dumper/ArrayDumper.php | 2 +- src/Composer/Package/Link.php | 2 +- src/Composer/Package/Loader/ArrayLoader.php | 2 +- src/Composer/Package/Loader/InvalidPackageException.php | 2 +- src/Composer/Package/Loader/JsonLoader.php | 2 +- src/Composer/Package/Loader/LoaderInterface.php | 2 +- src/Composer/Package/Loader/RootPackageLoader.php | 2 +- src/Composer/Package/Loader/ValidatingArrayLoader.php | 2 +- src/Composer/Package/Locker.php | 2 +- src/Composer/Package/Package.php | 2 +- src/Composer/Package/PackageInterface.php | 2 +- src/Composer/Package/RootAliasPackage.php | 2 +- src/Composer/Package/RootPackage.php | 2 +- src/Composer/Package/RootPackageInterface.php | 2 +- src/Composer/Package/Version/StabilityFilter.php | 2 +- src/Composer/Package/Version/VersionGuesser.php | 2 +- src/Composer/Package/Version/VersionParser.php | 2 +- src/Composer/Package/Version/VersionSelector.php | 2 +- src/Composer/PartialComposer.php | 2 +- src/Composer/Platform/HhvmDetector.php | 2 +- src/Composer/Platform/Runtime.php | 2 +- src/Composer/Platform/Version.php | 2 +- src/Composer/Plugin/Capability/Capability.php | 2 +- src/Composer/Plugin/Capability/CommandProvider.php | 2 +- src/Composer/Plugin/Capable.php | 2 +- src/Composer/Plugin/CommandEvent.php | 2 +- src/Composer/Plugin/PluginEvents.php | 2 +- src/Composer/Plugin/PluginInterface.php | 2 +- src/Composer/Plugin/PluginManager.php | 2 +- src/Composer/Plugin/PostFileDownloadEvent.php | 2 +- src/Composer/Plugin/PreCommandRunEvent.php | 2 +- src/Composer/Plugin/PreFileDownloadEvent.php | 2 +- src/Composer/Plugin/PrePoolCreateEvent.php | 2 +- src/Composer/Question/StrictConfirmationQuestion.php | 2 +- src/Composer/Repository/ArrayRepository.php | 2 +- src/Composer/Repository/ArtifactRepository.php | 2 +- src/Composer/Repository/ComposerRepository.php | 2 +- src/Composer/Repository/CompositeRepository.php | 2 +- src/Composer/Repository/ConfigurableRepositoryInterface.php | 2 +- src/Composer/Repository/FilesystemRepository.php | 2 +- src/Composer/Repository/FilterRepository.php | 2 +- src/Composer/Repository/InstalledArrayRepository.php | 2 +- src/Composer/Repository/InstalledFilesystemRepository.php | 2 +- src/Composer/Repository/InstalledRepository.php | 2 +- src/Composer/Repository/InstalledRepositoryInterface.php | 2 +- src/Composer/Repository/InvalidRepositoryException.php | 2 +- src/Composer/Repository/LockArrayRepository.php | 2 +- src/Composer/Repository/PackageRepository.php | 2 +- src/Composer/Repository/PathRepository.php | 2 +- src/Composer/Repository/PearRepository.php | 2 +- src/Composer/Repository/PlatformRepository.php | 2 +- src/Composer/Repository/RepositoryFactory.php | 2 +- src/Composer/Repository/RepositoryInterface.php | 2 +- src/Composer/Repository/RepositoryManager.php | 2 +- src/Composer/Repository/RepositorySecurityException.php | 2 +- src/Composer/Repository/RepositorySet.php | 2 +- src/Composer/Repository/RootPackageRepository.php | 2 +- src/Composer/Repository/Vcs/FossilDriver.php | 2 +- src/Composer/Repository/Vcs/GitBitbucketDriver.php | 2 +- src/Composer/Repository/Vcs/GitDriver.php | 2 +- src/Composer/Repository/Vcs/GitHubDriver.php | 2 +- src/Composer/Repository/Vcs/GitLabDriver.php | 2 +- src/Composer/Repository/Vcs/HgDriver.php | 2 +- src/Composer/Repository/Vcs/PerforceDriver.php | 2 +- src/Composer/Repository/Vcs/SvnDriver.php | 2 +- src/Composer/Repository/Vcs/VcsDriver.php | 2 +- src/Composer/Repository/Vcs/VcsDriverInterface.php | 2 +- src/Composer/Repository/VcsRepository.php | 2 +- src/Composer/Repository/VersionCacheInterface.php | 2 +- src/Composer/Repository/WritableArrayRepository.php | 2 +- src/Composer/Repository/WritableRepositoryInterface.php | 2 +- src/Composer/Script/Event.php | 2 +- src/Composer/Script/ScriptEvents.php | 2 +- src/Composer/SelfUpdate/Keys.php | 2 +- src/Composer/SelfUpdate/Versions.php | 2 +- src/Composer/Util/AuthHelper.php | 2 +- src/Composer/Util/Bitbucket.php | 2 +- src/Composer/Util/ComposerMirror.php | 2 +- src/Composer/Util/ConfigValidator.php | 2 +- src/Composer/Util/ErrorHandler.php | 2 +- src/Composer/Util/Filesystem.php | 2 +- src/Composer/Util/Git.php | 2 +- src/Composer/Util/GitHub.php | 2 +- src/Composer/Util/GitLab.php | 2 +- src/Composer/Util/Hg.php | 2 +- src/Composer/Util/Http/CurlDownloader.php | 2 +- src/Composer/Util/Http/CurlResponse.php | 2 +- src/Composer/Util/Http/ProxyHelper.php | 2 +- src/Composer/Util/Http/ProxyManager.php | 2 +- src/Composer/Util/Http/RequestProxy.php | 2 +- src/Composer/Util/Http/Response.php | 2 +- src/Composer/Util/HttpDownloader.php | 2 +- src/Composer/Util/IniHelper.php | 2 +- src/Composer/Util/Loop.php | 2 +- src/Composer/Util/MetadataMinifier.php | 2 +- src/Composer/Util/NoProxyPattern.php | 2 +- src/Composer/Util/PackageInfo.php | 2 +- src/Composer/Util/PackageSorter.php | 2 +- src/Composer/Util/Perforce.php | 2 +- src/Composer/Util/Platform.php | 2 +- src/Composer/Util/ProcessExecutor.php | 2 +- src/Composer/Util/RemoteFilesystem.php | 2 +- src/Composer/Util/Silencer.php | 2 +- src/Composer/Util/StreamContextFactory.php | 2 +- src/Composer/Util/Svn.php | 2 +- src/Composer/Util/SyncHelper.php | 2 +- src/Composer/Util/Tar.php | 2 +- src/Composer/Util/TlsHelper.php | 2 +- src/Composer/Util/Url.php | 2 +- src/Composer/Util/Zip.php | 2 +- src/bootstrap.php | 2 +- tests/Composer/Test/AllFunctionalTest.php | 2 +- tests/Composer/Test/ApplicationTest.php | 2 +- tests/Composer/Test/Autoload/AutoloadGeneratorTest.php | 2 +- tests/Composer/Test/Autoload/ClassLoaderTest.php | 2 +- tests/Composer/Test/Autoload/ClassMapGeneratorTest.php | 2 +- tests/Composer/Test/CacheTest.php | 2 +- tests/Composer/Test/Command/ArchiveCommandTest.php | 2 +- tests/Composer/Test/Command/InitCommandTest.php | 2 +- tests/Composer/Test/Command/RunScriptCommandTest.php | 2 +- tests/Composer/Test/ComposerTest.php | 2 +- tests/Composer/Test/Config/JsonConfigSourceTest.php | 2 +- tests/Composer/Test/ConfigTest.php | 2 +- tests/Composer/Test/Console/HtmlOutputFormatterTest.php | 2 +- tests/Composer/Test/DefaultConfigTest.php | 2 +- tests/Composer/Test/DependencyResolver/DefaultPolicyTest.php | 2 +- tests/Composer/Test/DependencyResolver/PoolBuilderTest.php | 2 +- tests/Composer/Test/DependencyResolver/PoolOptimizerTest.php | 2 +- tests/Composer/Test/DependencyResolver/PoolTest.php | 2 +- tests/Composer/Test/DependencyResolver/RequestTest.php | 2 +- tests/Composer/Test/DependencyResolver/RuleSetIteratorTest.php | 2 +- tests/Composer/Test/DependencyResolver/RuleSetTest.php | 2 +- tests/Composer/Test/DependencyResolver/RuleTest.php | 2 +- tests/Composer/Test/DependencyResolver/SolverTest.php | 2 +- tests/Composer/Test/DependencyResolver/TransactionTest.php | 2 +- tests/Composer/Test/Downloader/ArchiveDownloaderTest.php | 2 +- tests/Composer/Test/Downloader/DownloadManagerTest.php | 2 +- tests/Composer/Test/Downloader/FileDownloaderTest.php | 2 +- tests/Composer/Test/Downloader/FossilDownloaderTest.php | 2 +- tests/Composer/Test/Downloader/GitDownloaderTest.php | 2 +- tests/Composer/Test/Downloader/HgDownloaderTest.php | 2 +- tests/Composer/Test/Downloader/PerforceDownloaderTest.php | 2 +- tests/Composer/Test/Downloader/XzDownloaderTest.php | 2 +- tests/Composer/Test/Downloader/ZipDownloaderTest.php | 2 +- tests/Composer/Test/EventDispatcher/EventDispatcherTest.php | 2 +- tests/Composer/Test/FactoryTest.php | 2 +- .../IgnoreAllPlatformRequirementFilterTest.php | 2 +- .../IgnoreListPlatformRequirementFilterTest.php | 2 +- .../IgnoreNothingPlatformRequirementFilterTest.php | 2 +- .../PlatformRequirementFilterFactoryTest.php | 2 +- tests/Composer/Test/IO/BufferIOTest.php | 2 +- tests/Composer/Test/IO/ConsoleIOTest.php | 2 +- tests/Composer/Test/IO/NullIOTest.php | 2 +- tests/Composer/Test/InstalledVersionsTest.php | 2 +- tests/Composer/Test/Installer/BinaryInstallerTest.php | 2 +- tests/Composer/Test/Installer/InstallationManagerTest.php | 2 +- tests/Composer/Test/Installer/InstallerEventTest.php | 2 +- tests/Composer/Test/Installer/LibraryInstallerTest.php | 2 +- tests/Composer/Test/Installer/MetapackageInstallerTest.php | 2 +- tests/Composer/Test/Installer/SuggestedPackagesReporterTest.php | 2 +- tests/Composer/Test/InstallerTest.php | 2 +- tests/Composer/Test/Json/ComposerSchemaTest.php | 2 +- tests/Composer/Test/Json/JsonFileTest.php | 2 +- tests/Composer/Test/Json/JsonFormatterTest.php | 2 +- tests/Composer/Test/Json/JsonManipulatorTest.php | 2 +- tests/Composer/Test/Json/JsonValidationExceptionTest.php | 2 +- tests/Composer/Test/Mock/FactoryMock.php | 2 +- tests/Composer/Test/Mock/HttpDownloaderMock.php | 2 +- tests/Composer/Test/Mock/InstallationManagerMock.php | 2 +- tests/Composer/Test/Mock/InstalledFilesystemRepositoryMock.php | 2 +- tests/Composer/Test/Mock/ProcessExecutorMock.php | 2 +- tests/Composer/Test/Mock/VersionGuesserMock.php | 2 +- .../Test/Package/Archiver/ArchivableFilesFinderTest.php | 2 +- tests/Composer/Test/Package/Archiver/ArchiveManagerTest.php | 2 +- tests/Composer/Test/Package/Archiver/ArchiverTest.php | 2 +- tests/Composer/Test/Package/Archiver/GitExcludeFilterTest.php | 2 +- tests/Composer/Test/Package/Archiver/PharArchiverTest.php | 2 +- tests/Composer/Test/Package/Archiver/ZipArchiverTest.php | 2 +- tests/Composer/Test/Package/BasePackageTest.php | 2 +- tests/Composer/Test/Package/CompletePackageTest.php | 2 +- tests/Composer/Test/Package/Dumper/ArrayDumperTest.php | 2 +- tests/Composer/Test/Package/Loader/ArrayLoaderTest.php | 2 +- tests/Composer/Test/Package/Loader/RootPackageLoaderTest.php | 2 +- .../Composer/Test/Package/Loader/ValidatingArrayLoaderTest.php | 2 +- tests/Composer/Test/Package/LockerTest.php | 2 +- tests/Composer/Test/Package/RootAliasPackageTest.php | 2 +- tests/Composer/Test/Package/Version/VersionGuesserTest.php | 2 +- tests/Composer/Test/Package/Version/VersionParserTest.php | 2 +- tests/Composer/Test/Package/Version/VersionSelectorTest.php | 2 +- tests/Composer/Test/Platform/HhvmDetectorTest.php | 2 +- tests/Composer/Test/Platform/VersionTest.php | 2 +- tests/Composer/Test/Plugin/Mock/Capability.php | 2 +- tests/Composer/Test/Plugin/Mock/CapablePluginInterface.php | 2 +- tests/Composer/Test/Plugin/PluginInstallerTest.php | 2 +- tests/Composer/Test/Question/StrictConfirmationQuestionTest.php | 2 +- tests/Composer/Test/Repository/ArrayRepositoryTest.php | 2 +- tests/Composer/Test/Repository/ArtifactRepositoryTest.php | 2 +- tests/Composer/Test/Repository/ComposerRepositoryTest.php | 2 +- tests/Composer/Test/Repository/CompositeRepositoryTest.php | 2 +- tests/Composer/Test/Repository/FilesystemRepositoryTest.php | 2 +- tests/Composer/Test/Repository/FilterRepositoryTest.php | 2 +- tests/Composer/Test/Repository/InstalledRepositoryTest.php | 2 +- tests/Composer/Test/Repository/PathRepositoryTest.php | 2 +- tests/Composer/Test/Repository/PlatformRepositoryTest.php | 2 +- tests/Composer/Test/Repository/RepositoryFactoryTest.php | 2 +- tests/Composer/Test/Repository/RepositoryManagerTest.php | 2 +- tests/Composer/Test/Repository/Vcs/FossilDriverTest.php | 2 +- tests/Composer/Test/Repository/Vcs/GitBitbucketDriverTest.php | 2 +- tests/Composer/Test/Repository/Vcs/GitHubDriverTest.php | 2 +- tests/Composer/Test/Repository/Vcs/GitLabDriverTest.php | 2 +- tests/Composer/Test/Repository/Vcs/HgDriverTest.php | 2 +- tests/Composer/Test/Repository/Vcs/PerforceDriverTest.php | 2 +- tests/Composer/Test/Repository/Vcs/SvnDriverTest.php | 2 +- tests/Composer/Test/Repository/VcsRepositoryTest.php | 2 +- tests/Composer/Test/Script/EventTest.php | 2 +- tests/Composer/Test/TestCase.php | 2 +- tests/Composer/Test/Util/AuthHelperTest.php | 2 +- tests/Composer/Test/Util/BitbucketTest.php | 2 +- tests/Composer/Test/Util/ConfigValidatorTest.php | 2 +- tests/Composer/Test/Util/ErrorHandlerTest.php | 2 +- tests/Composer/Test/Util/FilesystemTest.php | 2 +- tests/Composer/Test/Util/GitHubTest.php | 2 +- tests/Composer/Test/Util/GitLabTest.php | 2 +- tests/Composer/Test/Util/GitTest.php | 2 +- tests/Composer/Test/Util/Http/ProxyHelperTest.php | 2 +- tests/Composer/Test/Util/Http/ProxyManagerTest.php | 2 +- tests/Composer/Test/Util/Http/RequestProxyTest.php | 2 +- tests/Composer/Test/Util/HttpDownloaderTest.php | 2 +- tests/Composer/Test/Util/IniHelperTest.php | 2 +- tests/Composer/Test/Util/MetadataMinifierTest.php | 2 +- tests/Composer/Test/Util/NoProxyPatternTest.php | 2 +- tests/Composer/Test/Util/PackageSorterTest.php | 2 +- tests/Composer/Test/Util/PerforceTest.php | 2 +- tests/Composer/Test/Util/PlatformTest.php | 2 +- tests/Composer/Test/Util/ProcessExecutorTest.php | 2 +- tests/Composer/Test/Util/RemoteFilesystemTest.php | 2 +- tests/Composer/Test/Util/SilencerTest.php | 2 +- tests/Composer/Test/Util/StreamContextFactoryTest.php | 2 +- tests/Composer/Test/Util/SvnTest.php | 2 +- tests/Composer/Test/Util/TarTest.php | 2 +- tests/Composer/Test/Util/TlsHelperTest.php | 2 +- tests/Composer/Test/Util/UrlTest.php | 2 +- tests/Composer/Test/Util/ZipTest.php | 2 +- tests/bootstrap.php | 2 +- tests/console-application.php | 2 +- 396 files changed, 396 insertions(+), 396 deletions(-) diff --git a/.php-cs-fixer.php b/.php-cs-fixer.php index 62d1ac7f7..ed2e6cf2b 100644 --- a/.php-cs-fixer.php +++ b/.php-cs-fixer.php @@ -71,7 +71,7 @@ return $config->setRules([ 'random_api_migration' => true, 'ternary_to_null_coalescing' => true, 'phpdoc_to_param_type' => true, - //'declare_strict_types' => true, + 'declare_strict_types' => true, // TODO php 7.4 migration (one day..) // 'phpdoc_to_property_type' => true, diff --git a/src/Composer/Autoload/AutoloadGenerator.php b/src/Composer/Autoload/AutoloadGenerator.php index 5485565e0..0ddcc9df1 100644 --- a/src/Composer/Autoload/AutoloadGenerator.php +++ b/src/Composer/Autoload/AutoloadGenerator.php @@ -1,4 +1,4 @@ -