Skip to content

Commit c71c2cc

Browse files
committed
Added @SInCE tags.
1 parent 5a644fb commit c71c2cc

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

src/Exception/ProgramExecutionException.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ class ProgramExecutionException extends \RuntimeException
3838
* @param int $status The exit status of the executed command.
3939
* @param null|string[] $output The output of the executed command.
4040
*
41+
* @since 1.0.0
4142
* @api
4243
*/
4344
public function __construct($command, $status, $output)
@@ -55,6 +56,7 @@ public function __construct($command, $status, $output)
5556
*
5657
* @return string
5758
*
59+
* @since 1.0.0
5860
* @api
5961
*/
6062
public function getCommand()
@@ -68,6 +70,7 @@ public function getCommand()
6870
*
6971
* @return string[]
7072
*
73+
* @since 1.0.0
7174
* @api
7275
*/
7376
public function getOutput()
@@ -81,6 +84,7 @@ public function getOutput()
8184
*
8285
* @return int
8386
*
87+
* @since 1.0.0
8488
* @api
8589
*/
8690
public function getStatus()

src/Helper/ProgramExecution.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ class ProgramExecution
1818
*
1919
* @return string
2020
*
21+
* @since 1.0.0
2122
* @api
2223
*/
2324
public static function escape($args)
@@ -47,6 +48,7 @@ public static function escape($args)
4748
* @return array<null|array|integer> An array with two elements: the output of the external program as an array of
4849
* lines and the return status of the external program.
4950
*
51+
* @since 1.0.0
5052
* @api
5153
*/
5254
public static function exec1($command, $returnVars = [0], $ignoreStdErr = false)
@@ -88,6 +90,7 @@ public static function exec1($command, $returnVars = [0], $ignoreStdErr = false)
8890
*
8991
* @return int The exit status of the external program.
9092
*
93+
* @since 1.0.0
9194
* @api
9295
*/
9396
public static function exec2($command, $stdout = null, $stderr = null, $returnVars = [0])

0 commit comments

Comments
 (0)