Skip to content

Commit

Permalink
Rename constructors in remaining classes.
Browse files Browse the repository at this point in the history
  • Loading branch information
convissor committed Nov 30, 2015
1 parent 2f6ea07 commit b4190ef
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion PEAR/PackageFileManager/ComplexGenerator.php
Expand Up @@ -36,7 +36,7 @@ class PEAR_PackageFileManager_ComplexGenerator extends PEAR_PackageFile_Generato
/**
* remove a warning about missing parameters - don't delete this
*/
function PEAR_PackageFileManager_ComplexGenerator()
function __construct()
{
}

Expand Down
6 changes: 3 additions & 3 deletions PEAR/PackageFileManager/Cvs.php
Expand Up @@ -42,9 +42,9 @@ class PEAR_PackageFileManager_CVS extends PEAR_PackageFileManager_File
*/
var $_cvsIgnore = array('.cvsignore');

function PEAR_PackageFileManager_CVS($options)
function __construct($options)
{
parent::PEAR_PackageFileManager_File($options);
parent::__construct($options);
}

/**
Expand Down Expand Up @@ -198,4 +198,4 @@ function _isCVSFile($cvsentry)
// but not committed yet
return $cvsentry{0} == '/' && !strpos($cvsentry, 'dummy timestamp');
}
}
}
4 changes: 2 additions & 2 deletions PEAR/PackageFileManager/File.php
Expand Up @@ -60,7 +60,7 @@ class PEAR_PackageFileManager_File extends PEAR_PackageFileManager_Plugins
*
* @return void
*/
function PEAR_PackageFileManager_File($options)
function __construct($options)
{
$this->windows = strtoupper(substr(PHP_OS, 0, 3)) == 'WIN';
$this->setOptions($options);
Expand Down Expand Up @@ -489,4 +489,4 @@ function mystrucsort($a, $b)
return strnatcasecmp($a, $b);
}
/**#@-*/
}
}
2 changes: 1 addition & 1 deletion PEAR/PackageFileManager/SimpleGenerator.php
Expand Up @@ -35,7 +35,7 @@ class PEAR_PackageFileManager_SimpleGenerator extends PEAR_PackageFile_Generator
/**
* remove a warning about missing parameters - don't delete this
*/
function PEAR_PackageFileManager_SimpleGenerator()
function __construct()
{
}

Expand Down
4 changes: 2 additions & 2 deletions PEAR/PackageFileManager/Svn.php
Expand Up @@ -39,9 +39,9 @@
*/
class PEAR_PackageFileManager_Svn extends PEAR_PackageFileManager_File
{
function PEAR_PackageFileManager_Svn($options)
function __construct($options)
{
parent::PEAR_PackageFileManager_File($options);
parent::__construct($options);
}

/**
Expand Down

0 comments on commit b4190ef

Please sign in to comment.