Skip to content

Commit

Permalink
Enable strict types on all files
Browse files Browse the repository at this point in the history
  • Loading branch information
Seldaek committed Feb 23, 2022
1 parent 0aac451 commit 0d5488a
Show file tree
Hide file tree
Showing 396 changed files with 396 additions and 396 deletions.
2 changes: 1 addition & 1 deletion .php-cs-fixer.php
Expand Up @@ -71,7 +71,7 @@
'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,
Expand Down
2 changes: 1 addition & 1 deletion src/Composer/Autoload/AutoloadGenerator.php
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

/*
* This file is part of Composer.
Expand Down
2 changes: 1 addition & 1 deletion src/Composer/Autoload/ClassMapGenerator.php
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

/*
* This file is part of Composer.
Expand Down
2 changes: 1 addition & 1 deletion src/Composer/Autoload/PhpFileCleaner.php
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

/*
* This file is part of Composer.
Expand Down
2 changes: 1 addition & 1 deletion src/Composer/Cache.php
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

/*
* This file is part of Composer.
Expand Down
2 changes: 1 addition & 1 deletion src/Composer/Command/AboutCommand.php
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

/*
* This file is part of Composer.
Expand Down
2 changes: 1 addition & 1 deletion src/Composer/Command/ArchiveCommand.php
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

/*
* This file is part of Composer.
Expand Down
2 changes: 1 addition & 1 deletion src/Composer/Command/BaseCommand.php
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

/*
* This file is part of Composer.
Expand Down
2 changes: 1 addition & 1 deletion src/Composer/Command/BaseDependencyCommand.php
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

/*
* This file is part of Composer.
Expand Down
2 changes: 1 addition & 1 deletion src/Composer/Command/CheckPlatformReqsCommand.php
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

/*
* This file is part of Composer.
Expand Down
2 changes: 1 addition & 1 deletion src/Composer/Command/ClearCacheCommand.php
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

/*
* This file is part of Composer.
Expand Down
2 changes: 1 addition & 1 deletion src/Composer/Command/ConfigCommand.php
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

/*
* This file is part of Composer.
Expand Down
2 changes: 1 addition & 1 deletion src/Composer/Command/CreateProjectCommand.php
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

/*
* This file is part of Composer.
Expand Down
2 changes: 1 addition & 1 deletion src/Composer/Command/DependsCommand.php
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

/*
* This file is part of Composer.
Expand Down
2 changes: 1 addition & 1 deletion src/Composer/Command/DiagnoseCommand.php
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

/*
* This file is part of Composer.
Expand Down
2 changes: 1 addition & 1 deletion src/Composer/Command/DumpAutoloadCommand.php
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

/*
* This file is part of Composer.
Expand Down
2 changes: 1 addition & 1 deletion src/Composer/Command/ExecCommand.php
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

/*
* This file is part of Composer.
Expand Down
2 changes: 1 addition & 1 deletion src/Composer/Command/FundCommand.php
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

/*
* This file is part of Composer.
Expand Down
2 changes: 1 addition & 1 deletion src/Composer/Command/GlobalCommand.php
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

/*
* This file is part of Composer.
Expand Down
2 changes: 1 addition & 1 deletion src/Composer/Command/HomeCommand.php
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

/*
* This file is part of Composer.
Expand Down
2 changes: 1 addition & 1 deletion src/Composer/Command/InitCommand.php
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

/*
* This file is part of Composer.
Expand Down
2 changes: 1 addition & 1 deletion src/Composer/Command/InstallCommand.php
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

/*
* This file is part of Composer.
Expand Down
2 changes: 1 addition & 1 deletion src/Composer/Command/LicensesCommand.php
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

/*
* This file is part of Composer.
Expand Down
2 changes: 1 addition & 1 deletion src/Composer/Command/OutdatedCommand.php
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

/*
* This file is part of Composer.
Expand Down
2 changes: 1 addition & 1 deletion src/Composer/Command/PackageDiscoveryTrait.php
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

/*
* This file is part of Composer.
Expand Down
2 changes: 1 addition & 1 deletion src/Composer/Command/ProhibitsCommand.php
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

/*
* This file is part of Composer.
Expand Down
2 changes: 1 addition & 1 deletion src/Composer/Command/ReinstallCommand.php
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

/*
* This file is part of Composer.
Expand Down
2 changes: 1 addition & 1 deletion src/Composer/Command/RemoveCommand.php
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

/*
* This file is part of Composer.
Expand Down
2 changes: 1 addition & 1 deletion src/Composer/Command/RequireCommand.php
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

/*
* This file is part of Composer.
Expand Down
2 changes: 1 addition & 1 deletion src/Composer/Command/RunScriptCommand.php
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

/*
* This file is part of Composer.
Expand Down
2 changes: 1 addition & 1 deletion src/Composer/Command/ScriptAliasCommand.php
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

/*
* This file is part of Composer.
Expand Down
2 changes: 1 addition & 1 deletion src/Composer/Command/SearchCommand.php
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

/*
* This file is part of Composer.
Expand Down
2 changes: 1 addition & 1 deletion src/Composer/Command/SelfUpdateCommand.php
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

/*
* This file is part of Composer.
Expand Down
2 changes: 1 addition & 1 deletion src/Composer/Command/ShowCommand.php
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

/*
* This file is part of Composer.
Expand Down
2 changes: 1 addition & 1 deletion src/Composer/Command/StatusCommand.php
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

/*
* This file is part of Composer.
Expand Down
2 changes: 1 addition & 1 deletion src/Composer/Command/SuggestsCommand.php
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

/*
* This file is part of Composer.
Expand Down
2 changes: 1 addition & 1 deletion src/Composer/Command/UpdateCommand.php
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

/*
* This file is part of Composer.
Expand Down
2 changes: 1 addition & 1 deletion src/Composer/Command/ValidateCommand.php
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

/*
* This file is part of Composer.
Expand Down
2 changes: 1 addition & 1 deletion src/Composer/Compiler.php
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

/*
* This file is part of Composer.
Expand Down
2 changes: 1 addition & 1 deletion src/Composer/Composer.php
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

/*
* This file is part of Composer.
Expand Down
2 changes: 1 addition & 1 deletion src/Composer/Config.php
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

/*
* This file is part of Composer.
Expand Down
2 changes: 1 addition & 1 deletion src/Composer/Config/ConfigSourceInterface.php
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

/*
* This file is part of Composer.
Expand Down
2 changes: 1 addition & 1 deletion src/Composer/Config/JsonConfigSource.php
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

/*
* This file is part of Composer.
Expand Down
2 changes: 1 addition & 1 deletion src/Composer/Console/Application.php
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

/*
* This file is part of Composer.
Expand Down
2 changes: 1 addition & 1 deletion src/Composer/Console/GithubActionError.php
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

/*
* This file is part of Composer.
Expand Down
2 changes: 1 addition & 1 deletion src/Composer/Console/HtmlOutputFormatter.php
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

/*
* This file is part of Composer.
Expand Down
2 changes: 1 addition & 1 deletion src/Composer/DependencyResolver/Decisions.php
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

/*
* This file is part of Composer.
Expand Down
2 changes: 1 addition & 1 deletion src/Composer/DependencyResolver/DefaultPolicy.php
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

/*
* This file is part of Composer.
Expand Down
2 changes: 1 addition & 1 deletion src/Composer/DependencyResolver/GenericRule.php
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

/*
* This file is part of Composer.
Expand Down
2 changes: 1 addition & 1 deletion src/Composer/DependencyResolver/LocalRepoTransaction.php
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

/*
* This file is part of Composer.
Expand Down
2 changes: 1 addition & 1 deletion src/Composer/DependencyResolver/LockTransaction.php
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

/*
* This file is part of Composer.
Expand Down
2 changes: 1 addition & 1 deletion src/Composer/DependencyResolver/MultiConflictRule.php
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

/*
* This file is part of Composer.
Expand Down
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

/*
* This file is part of Composer.
Expand Down
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

/*
* This file is part of Composer.
Expand Down
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

/*
* This file is part of Composer.
Expand Down
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

/*
* This file is part of Composer.
Expand Down
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

/*
* This file is part of Composer.
Expand Down
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

/*
* This file is part of Composer.
Expand Down
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

/*
* This file is part of Composer.
Expand Down
2 changes: 1 addition & 1 deletion src/Composer/DependencyResolver/PolicyInterface.php
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

/*
* This file is part of Composer.
Expand Down
2 changes: 1 addition & 1 deletion src/Composer/DependencyResolver/Pool.php
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

/*
* This file is part of Composer.
Expand Down
2 changes: 1 addition & 1 deletion src/Composer/DependencyResolver/PoolBuilder.php
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

/*
* This file is part of Composer.
Expand Down
2 changes: 1 addition & 1 deletion src/Composer/DependencyResolver/PoolOptimizer.php
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

/*
* This file is part of Composer.
Expand Down
2 changes: 1 addition & 1 deletion src/Composer/DependencyResolver/Problem.php
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

/*
* This file is part of Composer.
Expand Down
2 changes: 1 addition & 1 deletion src/Composer/DependencyResolver/Request.php
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

/*
* This file is part of Composer.
Expand Down
2 changes: 1 addition & 1 deletion src/Composer/DependencyResolver/Rule.php
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

/*
* This file is part of Composer.
Expand Down

0 comments on commit 0d5488a

Please sign in to comment.