Skip to content

Commit 7eaaa56

Browse files
committed
mark old classes as depricated
1 parent fb1e6e0 commit 7eaaa56

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

shell_lib.php

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@
2323
*/
2424
class ShellHelper
2525
{
26+
/**
27+
* @param array $commands
28+
* @return string
29+
* @deprecated
30+
*/
2631
public static function exec(array $commands)
2732
{
2833
$res = "Executing shell commands:\n";
@@ -73,11 +78,19 @@ class LogHelper
7378
{
7479
public static $log_file;
7580

81+
/**
82+
* @param $log_file
83+
* @deprecated
84+
*/
7685
public static function init($log_file)
7786
{
7887
static::$log_file = $log_file;
7988
}
8089

90+
/**
91+
* @param $message
92+
* @deprecated
93+
*/
8194
public static function log($message)
8295
{
8396
if (empty(static::$log_file)) {

0 commit comments

Comments
 (0)