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
|
||||
*/
|
||||
private $initialWorkingDirectory = '';
|
||||
private $initialWorkingDirectory;
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
|
|
|
@ -30,7 +30,7 @@ class DownloadManager
|
|||
/** @var bool */
|
||||
private $preferDist = false;
|
||||
/** @var bool */
|
||||
private $preferSource = false;
|
||||
private $preferSource;
|
||||
/** @var array<string, string> */
|
||||
private $packagePreferences = array();
|
||||
/** @var Filesystem */
|
||||
|
|
|
@ -145,7 +145,7 @@ class Installer
|
|||
* @var array|null
|
||||
*/
|
||||
protected $updateMirrors = false;
|
||||
protected $updateAllowList = null;
|
||||
protected $updateAllowList;
|
||||
protected $updateAllowTransitiveDependencies = Request::UPDATE_ONLY_LISTED;
|
||||
|
||||
/**
|
||||
|
|
|
@ -28,7 +28,6 @@ abstract class BitbucketDriver extends VcsDriver
|
|||
protected $rootIdentifier;
|
||||
protected $tags;
|
||||
protected $branches;
|
||||
protected $infoCache = array();
|
||||
protected $branchesUrl = '';
|
||||
protected $tagsUrl = '';
|
||||
protected $homeUrl = '';
|
||||
|
|
|
@ -28,7 +28,6 @@ class FossilDriver extends VcsDriver
|
|||
protected $rootIdentifier;
|
||||
protected $repoFile;
|
||||
protected $checkoutDir;
|
||||
protected $infoCache = array();
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
|
|
|
@ -30,7 +30,6 @@ class GitDriver extends VcsDriver
|
|||
protected $branches;
|
||||
protected $rootIdentifier;
|
||||
protected $repoDir;
|
||||
protected $infoCache = array();
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
|
|
|
@ -33,7 +33,6 @@ class GitHubDriver extends VcsDriver
|
|||
protected $rootIdentifier;
|
||||
protected $repoData;
|
||||
protected $hasIssues;
|
||||
protected $infoCache = array();
|
||||
protected $isPrivate = false;
|
||||
private $isArchived = false;
|
||||
private $fundingInfo;
|
||||
|
|
|
@ -28,7 +28,6 @@ class HgDriver extends VcsDriver
|
|||
protected $branches;
|
||||
protected $rootIdentifier;
|
||||
protected $repoDir;
|
||||
protected $infoCache = array();
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
|
|
|
@ -36,7 +36,6 @@ class SvnDriver extends VcsDriver
|
|||
protected $tags;
|
||||
protected $branches;
|
||||
protected $rootIdentifier;
|
||||
protected $infoCache = array();
|
||||
|
||||
protected $trunkPath = 'trunk';
|
||||
protected $branchesPath = 'branches';
|
||||
|
|
|
@ -60,7 +60,6 @@ class Event extends BaseEvent
|
|||
$this->composer = $composer;
|
||||
$this->io = $io;
|
||||
$this->devMode = $devMode;
|
||||
$this->originatingEvent = null;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue