Removed unnecessary property initialization or declaration
parent
6b3b51e299
commit
cda6e8bea6
|
@ -66,7 +66,7 @@ class Application extends BaseApplication
|
||||||
/**
|
/**
|
||||||
* @var string Store the initial working directory at startup time
|
* @var string Store the initial working directory at startup time
|
||||||
*/
|
*/
|
||||||
private $initialWorkingDirectory = '';
|
private $initialWorkingDirectory;
|
||||||
|
|
||||||
public function __construct()
|
public function __construct()
|
||||||
{
|
{
|
||||||
|
|
|
@ -30,7 +30,7 @@ class DownloadManager
|
||||||
/** @var bool */
|
/** @var bool */
|
||||||
private $preferDist = false;
|
private $preferDist = false;
|
||||||
/** @var bool */
|
/** @var bool */
|
||||||
private $preferSource = false;
|
private $preferSource;
|
||||||
/** @var array<string, string> */
|
/** @var array<string, string> */
|
||||||
private $packagePreferences = array();
|
private $packagePreferences = array();
|
||||||
/** @var Filesystem */
|
/** @var Filesystem */
|
||||||
|
|
|
@ -145,7 +145,7 @@ class Installer
|
||||||
* @var array|null
|
* @var array|null
|
||||||
*/
|
*/
|
||||||
protected $updateMirrors = false;
|
protected $updateMirrors = false;
|
||||||
protected $updateAllowList = null;
|
protected $updateAllowList;
|
||||||
protected $updateAllowTransitiveDependencies = Request::UPDATE_ONLY_LISTED;
|
protected $updateAllowTransitiveDependencies = Request::UPDATE_ONLY_LISTED;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -28,7 +28,6 @@ abstract class BitbucketDriver extends VcsDriver
|
||||||
protected $rootIdentifier;
|
protected $rootIdentifier;
|
||||||
protected $tags;
|
protected $tags;
|
||||||
protected $branches;
|
protected $branches;
|
||||||
protected $infoCache = array();
|
|
||||||
protected $branchesUrl = '';
|
protected $branchesUrl = '';
|
||||||
protected $tagsUrl = '';
|
protected $tagsUrl = '';
|
||||||
protected $homeUrl = '';
|
protected $homeUrl = '';
|
||||||
|
|
|
@ -28,7 +28,6 @@ class FossilDriver extends VcsDriver
|
||||||
protected $rootIdentifier;
|
protected $rootIdentifier;
|
||||||
protected $repoFile;
|
protected $repoFile;
|
||||||
protected $checkoutDir;
|
protected $checkoutDir;
|
||||||
protected $infoCache = array();
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* {@inheritDoc}
|
* {@inheritDoc}
|
||||||
|
|
|
@ -30,7 +30,6 @@ class GitDriver extends VcsDriver
|
||||||
protected $branches;
|
protected $branches;
|
||||||
protected $rootIdentifier;
|
protected $rootIdentifier;
|
||||||
protected $repoDir;
|
protected $repoDir;
|
||||||
protected $infoCache = array();
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* {@inheritDoc}
|
* {@inheritDoc}
|
||||||
|
|
|
@ -33,7 +33,6 @@ class GitHubDriver extends VcsDriver
|
||||||
protected $rootIdentifier;
|
protected $rootIdentifier;
|
||||||
protected $repoData;
|
protected $repoData;
|
||||||
protected $hasIssues;
|
protected $hasIssues;
|
||||||
protected $infoCache = array();
|
|
||||||
protected $isPrivate = false;
|
protected $isPrivate = false;
|
||||||
private $isArchived = false;
|
private $isArchived = false;
|
||||||
private $fundingInfo;
|
private $fundingInfo;
|
||||||
|
|
|
@ -28,7 +28,6 @@ class HgDriver extends VcsDriver
|
||||||
protected $branches;
|
protected $branches;
|
||||||
protected $rootIdentifier;
|
protected $rootIdentifier;
|
||||||
protected $repoDir;
|
protected $repoDir;
|
||||||
protected $infoCache = array();
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* {@inheritDoc}
|
* {@inheritDoc}
|
||||||
|
|
|
@ -36,7 +36,6 @@ class SvnDriver extends VcsDriver
|
||||||
protected $tags;
|
protected $tags;
|
||||||
protected $branches;
|
protected $branches;
|
||||||
protected $rootIdentifier;
|
protected $rootIdentifier;
|
||||||
protected $infoCache = array();
|
|
||||||
|
|
||||||
protected $trunkPath = 'trunk';
|
protected $trunkPath = 'trunk';
|
||||||
protected $branchesPath = 'branches';
|
protected $branchesPath = 'branches';
|
||||||
|
|
|
@ -60,7 +60,6 @@ class Event extends BaseEvent
|
||||||
$this->composer = $composer;
|
$this->composer = $composer;
|
||||||
$this->io = $io;
|
$this->io = $io;
|
||||||
$this->devMode = $devMode;
|
$this->devMode = $devMode;
|
||||||
$this->originatingEvent = null;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue