1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-05 02:39:46 +02:00

Add PHPUnit

This commit is contained in:
Daniel Neto 2025-04-02 10:53:30 -03:00
parent 1467777757
commit 5959dd49d7
1366 changed files with 118633 additions and 13161 deletions

View file

@ -3,28 +3,28 @@
namespace PhpParser\Node\Expr;
use PhpParser\Node\Expr;
use PhpParser\Node\InterpolatedStringPart;
class ShellExec extends Expr
{
/** @var array Encapsed string array */
public $parts;
class ShellExec extends Expr {
/** @var (Expr|InterpolatedStringPart)[] Interpolated string array */
public array $parts;
/**
* Constructs a shell exec (backtick) node.
*
* @param array $parts Encapsed string array
* @param array $attributes Additional attributes
* @param (Expr|InterpolatedStringPart)[] $parts Interpolated string array
* @param array<string, mixed> $attributes Additional attributes
*/
public function __construct(array $parts, array $attributes = []) {
$this->attributes = $attributes;
$this->parts = $parts;
}
public function getSubNodeNames() : array {
public function getSubNodeNames(): array {
return ['parts'];
}
public function getType() : string {
public function getType(): string {
return 'Expr_ShellExec';
}
}