mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-11-05 13:07:53 +00:00
Fixed typos
This commit is contained in:
parent
3d5262156d
commit
19be15c4c4
@ -958,7 +958,7 @@ class Net_SSH2
|
||||
|
||||
/**
|
||||
* Generates the SSH identifier
|
||||
* You should overwrite this method in your own class if you want to use an other identifier
|
||||
* You should overwrite this method in your own class if you want to use another identifier
|
||||
*
|
||||
* @access protected
|
||||
* @return String
|
||||
|
@ -65,13 +65,13 @@ class Net_SSH2Test extends PhpseclibTestCase
|
||||
public function testGenerateIdentifier($expected, array $requiredExtensions)
|
||||
{
|
||||
$notAllowed = array('gmp', 'bcmath', 'mcrypt', 'gmp');
|
||||
foreach($notAllowed as $nowAllowedExtension) {
|
||||
if(in_array($nowAllowedExtension, $requiredExtensions)) {
|
||||
foreach($notAllowed as $notAllowedExtension) {
|
||||
if(in_array($notAllowedExtension, $requiredExtensions)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
if(extension_loaded($nowAllowedExtension)) {
|
||||
$this->markTestSkipped('Extension ' . $nowAllowedExtension . ' is not allowed for this data-set');
|
||||
if(extension_loaded($notAllowedExtension)) {
|
||||
$this->markTestSkipped('Extension ' . $notAllowedExtension . ' is not allowed for this data-set');
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user