Skip to content

Commit

Permalink
Reversions (#14)
Browse files Browse the repository at this point in the history
* Revert "Deprecations for PHP 8.1"

This reverts commit aed862e.

Changes need to instead be done in pear-core.

* Revert "fix: typo in _parseFeaturesHeaderFile"

This reverts commit ce66735.

Changes need to instead be done in pear-core.
  • Loading branch information
ashnazg authored Nov 26, 2023
1 parent aed862e commit 0b21f03
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/OS/Guess.php
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ function _readGlibCVersionFromFeaturesHeaderFile()
return array();
}
if (!@file_exists('/usr/bin/cpp') || !@is_executable('/usr/bin/cpp')) {
return $this->_parseFeaturesHeaderFile($features_header_file);
return $this-_parseFeaturesHeaderFile($features_header_file);
} // no cpp

return $this->_fromGlibCTest();
Expand Down
4 changes: 2 additions & 2 deletions src/PEAR.php
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ public function __call($method, $arguments)
);
}
return call_user_func_array(
array(self::class, '_' . $method),
array(get_class(), '_' . $method),
array_merge(array($this), $arguments)
);
}
Expand All @@ -232,7 +232,7 @@ public static function __callStatic($method, $arguments)
);
}
return call_user_func_array(
array(self::class, '_' . $method),
array(get_class(), '_' . $method),
array_merge(array(null), $arguments)
);
}
Expand Down

0 comments on commit 0b21f03

Please sign in to comment.