Andreas Fischer
|
638e62d60a
|
Remove LICENSE text from source code files.
|
2014-12-03 18:49:33 +01:00 |
|
Clint Nelissen
|
ef3c96a46f
|
Code sniff php version fix
|
2014-12-03 08:59:01 -08:00 |
|
Clint Nelissen
|
45ed270556
|
Removed duplicated docblock text
|
2014-12-02 08:18:43 -08:00 |
|
Clint Nelissen
|
b32c05b64e
|
Split System_SSH_Agent and System_SSH_Agent_Identity into separate files
|
2014-12-01 19:18:58 -08:00 |
|
Andreas Fischer
|
67aedc240b
|
Change constructors from class name to __construct().
This has been produced as follows:
<?php
$replace = $files = [];
$it = new RecursiveIteratorIterator(new RecursiveDirectoryIterator($argv[1]));
foreach ($it as $fileinfo) {
if ($fileinfo->getExtension() === 'php') {
$file = $fileinfo->getPathname();
$content = file_get_contents($file);
$files[$file] = $content;
$tokens = token_get_all($content);
foreach ($tokens as $key => $value) {
if ($value[0] === T_CLASS) {
$class = $tokens[$key + 2][1];
$replace += array(
"$class::$class(" => "$class::__construct(",
"parent::$class(" => "parent::__construct(",
"function $class(" => "function __construct(",
);
}
}
}
}
foreach ($files as $file => $content) {
file_put_contents(
$file,
str_replace(
array_keys($replace),
array_values($replace),
$content
)
);
}
|
2014-06-16 17:06:34 +02:00 |
|
Andreas Fischer
|
6f4a873cad
|
Merge branch 'master' into php5
* master:
Adjust documentation to coding guidelines: No () around include.
|
2014-06-02 12:51:24 +02:00 |
|
Andreas Fischer
|
e6f87318f5
|
Adjust documentation to coding guidelines: No () around include.
|
2014-06-01 23:28:49 +02:00 |
|
Andreas Fischer
|
0288817203
|
Remove the phpseclib/System/SSH_Agent.php BC file.
|
2014-04-01 23:15:16 +02:00 |
|
Andreas Fischer
|
6f4ddf0e33
|
SSH_Agent: add new line at end of file to comply with CS
|
2014-04-01 22:54:26 +02:00 |
|
terrafrost
|
1694012f78
|
SSH_Agent: another CS update
|
2014-03-30 16:37:11 -05:00 |
|
terrafrost
|
50b250ce69
|
SSH_Agent: CS updates
|
2014-03-30 16:32:05 -05:00 |
|
terrafrost
|
924014fe72
|
SSH_Agent: mv SSH_Agent to SSH/Agent and create SSH_Agent for BC
|
2014-03-30 08:49:22 -05:00 |
|
Andreas Fischer
|
fb1296bbec
|
Drop meaningless, outdated, inconsistent version tags in doc blocks.
find phpseclib -type f -name "*.php" -exec sed -i '/@version/d' {} \;
|
2014-03-11 15:58:33 +01:00 |
|
terrafrost
|
b3a1f52bff
|
SSH_Agent: a few changes per bantu
|
2014-02-21 23:15:24 -06:00 |
|
Andreas Fischer
|
e08c7244e2
|
Add newline at EOF to phpseclib/System/SSH_Agent.php.
|
2014-02-21 19:22:09 +01:00 |
|
terrafrost
|
b4b93b80f5
|
SSH_Agent: phpdoc updates
|
2014-02-20 13:38:07 -06:00 |
|
terrafrost
|
405ff3f7b4
|
SSH_Agent: misc updates
|
2014-02-19 10:13:54 -06:00 |
|
terrafrost
|
e90648c7a5
|
SSH2: add ssh-agent support
|
2014-02-10 00:04:16 -06:00 |
|