Skip to content

Commit d9916ac

Browse files
committed
Make PEAR_Common::analyzeSourceCode() static
There are many non-static uses of that one, which I'm not touching. They aren't a problem.
1 parent 5d4ffa0 commit d9916ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PEAR/Common.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -718,7 +718,7 @@ function buildProvidesArray($srcinfo)
718718
* @return mixed
719719
* @access public
720720
*/
721-
function analyzeSourceCode($file)
721+
static function analyzeSourceCode($file)
722722
{
723723
if (!class_exists('PEAR_PackageFile_v2_Validator')) {
724724
require_once 'PEAR/PackageFile/v2/Validator.php';

0 commit comments

Comments
 (0)