repo stringlengths 7 63 | file_url stringlengths 81 284 | file_path stringlengths 5 200 | content stringlengths 0 32.8k | language stringclasses 1
value | license stringclasses 7
values | commit_sha stringlengths 40 40 | retrieved_at stringdate 2026-01-04 15:02:33 2026-01-05 05:24:06 | truncated bool 2
classes |
|---|---|---|---|---|---|---|---|---|
nikic/PHP-Parser | https://github.com/nikic/PHP-Parser/blob/8c360e27327c8bd29e1c57721574709d0d706118/lib/PhpParser/Node/Expr/BinaryOp/Mul.php | lib/PhpParser/Node/Expr/BinaryOp/Mul.php | <?php declare(strict_types=1);
namespace PhpParser\Node\Expr\BinaryOp;
use PhpParser\Node\Expr\BinaryOp;
class Mul extends BinaryOp {
public function getOperatorSigil(): string {
return '*';
}
public function getType(): string {
return 'Expr_BinaryOp_Mul';
}
}
| php | BSD-3-Clause | 8c360e27327c8bd29e1c57721574709d0d706118 | 2026-01-04T15:02:34.433891Z | false |
nikic/PHP-Parser | https://github.com/nikic/PHP-Parser/blob/8c360e27327c8bd29e1c57721574709d0d706118/lib/PhpParser/Node/Expr/BinaryOp/BitwiseXor.php | lib/PhpParser/Node/Expr/BinaryOp/BitwiseXor.php | <?php declare(strict_types=1);
namespace PhpParser\Node\Expr\BinaryOp;
use PhpParser\Node\Expr\BinaryOp;
class BitwiseXor extends BinaryOp {
public function getOperatorSigil(): string {
return '^';
}
public function getType(): string {
return 'Expr_BinaryOp_BitwiseXor';
}
}
| php | BSD-3-Clause | 8c360e27327c8bd29e1c57721574709d0d706118 | 2026-01-04T15:02:34.433891Z | false |
nikic/PHP-Parser | https://github.com/nikic/PHP-Parser/blob/8c360e27327c8bd29e1c57721574709d0d706118/lib/PhpParser/Node/Expr/BinaryOp/LogicalAnd.php | lib/PhpParser/Node/Expr/BinaryOp/LogicalAnd.php | <?php declare(strict_types=1);
namespace PhpParser\Node\Expr\BinaryOp;
use PhpParser\Node\Expr\BinaryOp;
class LogicalAnd extends BinaryOp {
public function getOperatorSigil(): string {
return 'and';
}
public function getType(): string {
return 'Expr_BinaryOp_LogicalAnd';
}
}
| php | BSD-3-Clause | 8c360e27327c8bd29e1c57721574709d0d706118 | 2026-01-04T15:02:34.433891Z | false |
nikic/PHP-Parser | https://github.com/nikic/PHP-Parser/blob/8c360e27327c8bd29e1c57721574709d0d706118/lib/PhpParser/Node/Expr/BinaryOp/Greater.php | lib/PhpParser/Node/Expr/BinaryOp/Greater.php | <?php declare(strict_types=1);
namespace PhpParser\Node\Expr\BinaryOp;
use PhpParser\Node\Expr\BinaryOp;
class Greater extends BinaryOp {
public function getOperatorSigil(): string {
return '>';
}
public function getType(): string {
return 'Expr_BinaryOp_Greater';
}
}
| php | BSD-3-Clause | 8c360e27327c8bd29e1c57721574709d0d706118 | 2026-01-04T15:02:34.433891Z | false |
nikic/PHP-Parser | https://github.com/nikic/PHP-Parser/blob/8c360e27327c8bd29e1c57721574709d0d706118/lib/PhpParser/Node/Expr/BinaryOp/ShiftLeft.php | lib/PhpParser/Node/Expr/BinaryOp/ShiftLeft.php | <?php declare(strict_types=1);
namespace PhpParser\Node\Expr\BinaryOp;
use PhpParser\Node\Expr\BinaryOp;
class ShiftLeft extends BinaryOp {
public function getOperatorSigil(): string {
return '<<';
}
public function getType(): string {
return 'Expr_BinaryOp_ShiftLeft';
}
}
| php | BSD-3-Clause | 8c360e27327c8bd29e1c57721574709d0d706118 | 2026-01-04T15:02:34.433891Z | false |
nikic/PHP-Parser | https://github.com/nikic/PHP-Parser/blob/8c360e27327c8bd29e1c57721574709d0d706118/lib/PhpParser/Node/Expr/BinaryOp/Identical.php | lib/PhpParser/Node/Expr/BinaryOp/Identical.php | <?php declare(strict_types=1);
namespace PhpParser\Node\Expr\BinaryOp;
use PhpParser\Node\Expr\BinaryOp;
class Identical extends BinaryOp {
public function getOperatorSigil(): string {
return '===';
}
public function getType(): string {
return 'Expr_BinaryOp_Identical';
}
}
| php | BSD-3-Clause | 8c360e27327c8bd29e1c57721574709d0d706118 | 2026-01-04T15:02:34.433891Z | false |
nikic/PHP-Parser | https://github.com/nikic/PHP-Parser/blob/8c360e27327c8bd29e1c57721574709d0d706118/lib/PhpParser/Node/Expr/BinaryOp/Pipe.php | lib/PhpParser/Node/Expr/BinaryOp/Pipe.php | <?php declare(strict_types=1);
namespace PhpParser\Node\Expr\BinaryOp;
use PhpParser\Node\Expr\BinaryOp;
class Pipe extends BinaryOp {
public function getOperatorSigil(): string {
return '|>';
}
public function getType(): string {
return 'Expr_BinaryOp_Pipe';
}
}
| php | BSD-3-Clause | 8c360e27327c8bd29e1c57721574709d0d706118 | 2026-01-04T15:02:34.433891Z | false |
nikic/PHP-Parser | https://github.com/nikic/PHP-Parser/blob/8c360e27327c8bd29e1c57721574709d0d706118/lib/PhpParser/Node/Expr/BinaryOp/NotEqual.php | lib/PhpParser/Node/Expr/BinaryOp/NotEqual.php | <?php declare(strict_types=1);
namespace PhpParser\Node\Expr\BinaryOp;
use PhpParser\Node\Expr\BinaryOp;
class NotEqual extends BinaryOp {
public function getOperatorSigil(): string {
return '!=';
}
public function getType(): string {
return 'Expr_BinaryOp_NotEqual';
}
}
| php | BSD-3-Clause | 8c360e27327c8bd29e1c57721574709d0d706118 | 2026-01-04T15:02:34.433891Z | false |
nikic/PHP-Parser | https://github.com/nikic/PHP-Parser/blob/8c360e27327c8bd29e1c57721574709d0d706118/lib/PhpParser/Node/Expr/BinaryOp/BooleanAnd.php | lib/PhpParser/Node/Expr/BinaryOp/BooleanAnd.php | <?php declare(strict_types=1);
namespace PhpParser\Node\Expr\BinaryOp;
use PhpParser\Node\Expr\BinaryOp;
class BooleanAnd extends BinaryOp {
public function getOperatorSigil(): string {
return '&&';
}
public function getType(): string {
return 'Expr_BinaryOp_BooleanAnd';
}
}
| php | BSD-3-Clause | 8c360e27327c8bd29e1c57721574709d0d706118 | 2026-01-04T15:02:34.433891Z | false |
nikic/PHP-Parser | https://github.com/nikic/PHP-Parser/blob/8c360e27327c8bd29e1c57721574709d0d706118/lib/PhpParser/Node/Expr/BinaryOp/Pow.php | lib/PhpParser/Node/Expr/BinaryOp/Pow.php | <?php declare(strict_types=1);
namespace PhpParser\Node\Expr\BinaryOp;
use PhpParser\Node\Expr\BinaryOp;
class Pow extends BinaryOp {
public function getOperatorSigil(): string {
return '**';
}
public function getType(): string {
return 'Expr_BinaryOp_Pow';
}
}
| php | BSD-3-Clause | 8c360e27327c8bd29e1c57721574709d0d706118 | 2026-01-04T15:02:34.433891Z | false |
nikic/PHP-Parser | https://github.com/nikic/PHP-Parser/blob/8c360e27327c8bd29e1c57721574709d0d706118/lib/PhpParser/Node/Expr/BinaryOp/Concat.php | lib/PhpParser/Node/Expr/BinaryOp/Concat.php | <?php declare(strict_types=1);
namespace PhpParser\Node\Expr\BinaryOp;
use PhpParser\Node\Expr\BinaryOp;
class Concat extends BinaryOp {
public function getOperatorSigil(): string {
return '.';
}
public function getType(): string {
return 'Expr_BinaryOp_Concat';
}
}
| php | BSD-3-Clause | 8c360e27327c8bd29e1c57721574709d0d706118 | 2026-01-04T15:02:34.433891Z | false |
nikic/PHP-Parser | https://github.com/nikic/PHP-Parser/blob/8c360e27327c8bd29e1c57721574709d0d706118/lib/PhpParser/Node/Expr/BinaryOp/Coalesce.php | lib/PhpParser/Node/Expr/BinaryOp/Coalesce.php | <?php declare(strict_types=1);
namespace PhpParser\Node\Expr\BinaryOp;
use PhpParser\Node\Expr\BinaryOp;
class Coalesce extends BinaryOp {
public function getOperatorSigil(): string {
return '??';
}
public function getType(): string {
return 'Expr_BinaryOp_Coalesce';
}
}
| php | BSD-3-Clause | 8c360e27327c8bd29e1c57721574709d0d706118 | 2026-01-04T15:02:34.433891Z | false |
nikic/PHP-Parser | https://github.com/nikic/PHP-Parser/blob/8c360e27327c8bd29e1c57721574709d0d706118/lib/PhpParser/Node/Scalar/Float_.php | lib/PhpParser/Node/Scalar/Float_.php | <?php declare(strict_types=1);
namespace PhpParser\Node\Scalar;
use PhpParser\Node\Scalar;
class Float_ extends Scalar {
/** @var float Number value */
public float $value;
/**
* Constructs a float number scalar node.
*
* @param float $value Value of the number
* @param array<string,... | php | BSD-3-Clause | 8c360e27327c8bd29e1c57721574709d0d706118 | 2026-01-04T15:02:34.433891Z | false |
nikic/PHP-Parser | https://github.com/nikic/PHP-Parser/blob/8c360e27327c8bd29e1c57721574709d0d706118/lib/PhpParser/Node/Scalar/InterpolatedString.php | lib/PhpParser/Node/Scalar/InterpolatedString.php | <?php declare(strict_types=1);
namespace PhpParser\Node\Scalar;
use PhpParser\Node\Expr;
use PhpParser\Node\InterpolatedStringPart;
use PhpParser\Node\Scalar;
class InterpolatedString extends Scalar {
/** @var (Expr|InterpolatedStringPart)[] list of string parts */
public array $parts;
/**
* Constr... | php | BSD-3-Clause | 8c360e27327c8bd29e1c57721574709d0d706118 | 2026-01-04T15:02:34.433891Z | false |
nikic/PHP-Parser | https://github.com/nikic/PHP-Parser/blob/8c360e27327c8bd29e1c57721574709d0d706118/lib/PhpParser/Node/Scalar/EncapsedStringPart.php | lib/PhpParser/Node/Scalar/EncapsedStringPart.php | <?php declare(strict_types=1);
namespace PhpParser\Node\Scalar;
use PhpParser\Node\InterpolatedStringPart;
require __DIR__ . '/../InterpolatedStringPart.php';
if (false) {
/**
* For classmap-authoritative support.
*
* @deprecated use \PhpParser\Node\InterpolatedStringPart instead.
*/
cla... | php | BSD-3-Clause | 8c360e27327c8bd29e1c57721574709d0d706118 | 2026-01-04T15:02:34.433891Z | false |
nikic/PHP-Parser | https://github.com/nikic/PHP-Parser/blob/8c360e27327c8bd29e1c57721574709d0d706118/lib/PhpParser/Node/Scalar/DNumber.php | lib/PhpParser/Node/Scalar/DNumber.php | <?php declare(strict_types=1);
namespace PhpParser\Node\Scalar;
require __DIR__ . '/Float_.php';
if (false) {
/**
* For classmap-authoritative support.
*
* @deprecated use \PhpParser\Node\Scalar\Float_ instead.
*/
class DNumber extends Float_ {
}
}
| php | BSD-3-Clause | 8c360e27327c8bd29e1c57721574709d0d706118 | 2026-01-04T15:02:34.433891Z | false |
nikic/PHP-Parser | https://github.com/nikic/PHP-Parser/blob/8c360e27327c8bd29e1c57721574709d0d706118/lib/PhpParser/Node/Scalar/String_.php | lib/PhpParser/Node/Scalar/String_.php | <?php declare(strict_types=1);
namespace PhpParser\Node\Scalar;
use PhpParser\Error;
use PhpParser\Node\Scalar;
class String_ extends Scalar {
/* For use in "kind" attribute */
public const KIND_SINGLE_QUOTED = 1;
public const KIND_DOUBLE_QUOTED = 2;
public const KIND_HEREDOC = 3;
public const KI... | php | BSD-3-Clause | 8c360e27327c8bd29e1c57721574709d0d706118 | 2026-01-04T15:02:34.433891Z | false |
nikic/PHP-Parser | https://github.com/nikic/PHP-Parser/blob/8c360e27327c8bd29e1c57721574709d0d706118/lib/PhpParser/Node/Scalar/MagicConst.php | lib/PhpParser/Node/Scalar/MagicConst.php | <?php declare(strict_types=1);
namespace PhpParser\Node\Scalar;
use PhpParser\Node\Scalar;
abstract class MagicConst extends Scalar {
/**
* Constructs a magic constant node.
*
* @param array<string, mixed> $attributes Additional attributes
*/
public function __construct(array $attributes ... | php | BSD-3-Clause | 8c360e27327c8bd29e1c57721574709d0d706118 | 2026-01-04T15:02:34.433891Z | false |
nikic/PHP-Parser | https://github.com/nikic/PHP-Parser/blob/8c360e27327c8bd29e1c57721574709d0d706118/lib/PhpParser/Node/Scalar/LNumber.php | lib/PhpParser/Node/Scalar/LNumber.php | <?php declare(strict_types=1);
namespace PhpParser\Node\Scalar;
require __DIR__ . '/Int_.php';
if (false) {
/**
* For classmap-authoritative support.
*
* @deprecated use \PhpParser\Node\Scalar\Int_ instead.
*/
class LNumber extends Int_ {
}
}
| php | BSD-3-Clause | 8c360e27327c8bd29e1c57721574709d0d706118 | 2026-01-04T15:02:34.433891Z | false |
nikic/PHP-Parser | https://github.com/nikic/PHP-Parser/blob/8c360e27327c8bd29e1c57721574709d0d706118/lib/PhpParser/Node/Scalar/Int_.php | lib/PhpParser/Node/Scalar/Int_.php | <?php declare(strict_types=1);
namespace PhpParser\Node\Scalar;
use PhpParser\Error;
use PhpParser\Node\Scalar;
class Int_ extends Scalar {
/* For use in "kind" attribute */
public const KIND_BIN = 2;
public const KIND_OCT = 8;
public const KIND_DEC = 10;
public const KIND_HEX = 16;
/** @var... | php | BSD-3-Clause | 8c360e27327c8bd29e1c57721574709d0d706118 | 2026-01-04T15:02:34.433891Z | false |
nikic/PHP-Parser | https://github.com/nikic/PHP-Parser/blob/8c360e27327c8bd29e1c57721574709d0d706118/lib/PhpParser/Node/Scalar/Encapsed.php | lib/PhpParser/Node/Scalar/Encapsed.php | <?php declare(strict_types=1);
namespace PhpParser\Node\Scalar;
require __DIR__ . '/InterpolatedString.php';
if (false) {
/**
* For classmap-authoritative support.
*
* @deprecated use \PhpParser\Node\Scalar\InterpolatedString instead.
*/
class Encapsed extends InterpolatedString {
}
}... | php | BSD-3-Clause | 8c360e27327c8bd29e1c57721574709d0d706118 | 2026-01-04T15:02:34.433891Z | false |
nikic/PHP-Parser | https://github.com/nikic/PHP-Parser/blob/8c360e27327c8bd29e1c57721574709d0d706118/lib/PhpParser/Node/Scalar/MagicConst/Method.php | lib/PhpParser/Node/Scalar/MagicConst/Method.php | <?php declare(strict_types=1);
namespace PhpParser\Node\Scalar\MagicConst;
use PhpParser\Node\Scalar\MagicConst;
class Method extends MagicConst {
public function getName(): string {
return '__METHOD__';
}
public function getType(): string {
return 'Scalar_MagicConst_Method';
}
}
| php | BSD-3-Clause | 8c360e27327c8bd29e1c57721574709d0d706118 | 2026-01-04T15:02:34.433891Z | false |
nikic/PHP-Parser | https://github.com/nikic/PHP-Parser/blob/8c360e27327c8bd29e1c57721574709d0d706118/lib/PhpParser/Node/Scalar/MagicConst/Class_.php | lib/PhpParser/Node/Scalar/MagicConst/Class_.php | <?php declare(strict_types=1);
namespace PhpParser\Node\Scalar\MagicConst;
use PhpParser\Node\Scalar\MagicConst;
class Class_ extends MagicConst {
public function getName(): string {
return '__CLASS__';
}
public function getType(): string {
return 'Scalar_MagicConst_Class';
}
}
| php | BSD-3-Clause | 8c360e27327c8bd29e1c57721574709d0d706118 | 2026-01-04T15:02:34.433891Z | false |
nikic/PHP-Parser | https://github.com/nikic/PHP-Parser/blob/8c360e27327c8bd29e1c57721574709d0d706118/lib/PhpParser/Node/Scalar/MagicConst/Line.php | lib/PhpParser/Node/Scalar/MagicConst/Line.php | <?php declare(strict_types=1);
namespace PhpParser\Node\Scalar\MagicConst;
use PhpParser\Node\Scalar\MagicConst;
class Line extends MagicConst {
public function getName(): string {
return '__LINE__';
}
public function getType(): string {
return 'Scalar_MagicConst_Line';
}
}
| php | BSD-3-Clause | 8c360e27327c8bd29e1c57721574709d0d706118 | 2026-01-04T15:02:34.433891Z | false |
nikic/PHP-Parser | https://github.com/nikic/PHP-Parser/blob/8c360e27327c8bd29e1c57721574709d0d706118/lib/PhpParser/Node/Scalar/MagicConst/Property.php | lib/PhpParser/Node/Scalar/MagicConst/Property.php | <?php declare(strict_types=1);
namespace PhpParser\Node\Scalar\MagicConst;
use PhpParser\Node\Scalar\MagicConst;
class Property extends MagicConst {
public function getName(): string {
return '__PROPERTY__';
}
public function getType(): string {
return 'Scalar_MagicConst_Property';
}... | php | BSD-3-Clause | 8c360e27327c8bd29e1c57721574709d0d706118 | 2026-01-04T15:02:34.433891Z | false |
nikic/PHP-Parser | https://github.com/nikic/PHP-Parser/blob/8c360e27327c8bd29e1c57721574709d0d706118/lib/PhpParser/Node/Scalar/MagicConst/Namespace_.php | lib/PhpParser/Node/Scalar/MagicConst/Namespace_.php | <?php declare(strict_types=1);
namespace PhpParser\Node\Scalar\MagicConst;
use PhpParser\Node\Scalar\MagicConst;
class Namespace_ extends MagicConst {
public function getName(): string {
return '__NAMESPACE__';
}
public function getType(): string {
return 'Scalar_MagicConst_Namespace';
... | php | BSD-3-Clause | 8c360e27327c8bd29e1c57721574709d0d706118 | 2026-01-04T15:02:34.433891Z | false |
nikic/PHP-Parser | https://github.com/nikic/PHP-Parser/blob/8c360e27327c8bd29e1c57721574709d0d706118/lib/PhpParser/Node/Scalar/MagicConst/File.php | lib/PhpParser/Node/Scalar/MagicConst/File.php | <?php declare(strict_types=1);
namespace PhpParser\Node\Scalar\MagicConst;
use PhpParser\Node\Scalar\MagicConst;
class File extends MagicConst {
public function getName(): string {
return '__FILE__';
}
public function getType(): string {
return 'Scalar_MagicConst_File';
}
}
| php | BSD-3-Clause | 8c360e27327c8bd29e1c57721574709d0d706118 | 2026-01-04T15:02:34.433891Z | false |
nikic/PHP-Parser | https://github.com/nikic/PHP-Parser/blob/8c360e27327c8bd29e1c57721574709d0d706118/lib/PhpParser/Node/Scalar/MagicConst/Dir.php | lib/PhpParser/Node/Scalar/MagicConst/Dir.php | <?php declare(strict_types=1);
namespace PhpParser\Node\Scalar\MagicConst;
use PhpParser\Node\Scalar\MagicConst;
class Dir extends MagicConst {
public function getName(): string {
return '__DIR__';
}
public function getType(): string {
return 'Scalar_MagicConst_Dir';
}
}
| php | BSD-3-Clause | 8c360e27327c8bd29e1c57721574709d0d706118 | 2026-01-04T15:02:34.433891Z | false |
nikic/PHP-Parser | https://github.com/nikic/PHP-Parser/blob/8c360e27327c8bd29e1c57721574709d0d706118/lib/PhpParser/Node/Scalar/MagicConst/Function_.php | lib/PhpParser/Node/Scalar/MagicConst/Function_.php | <?php declare(strict_types=1);
namespace PhpParser\Node\Scalar\MagicConst;
use PhpParser\Node\Scalar\MagicConst;
class Function_ extends MagicConst {
public function getName(): string {
return '__FUNCTION__';
}
public function getType(): string {
return 'Scalar_MagicConst_Function';
... | php | BSD-3-Clause | 8c360e27327c8bd29e1c57721574709d0d706118 | 2026-01-04T15:02:34.433891Z | false |
nikic/PHP-Parser | https://github.com/nikic/PHP-Parser/blob/8c360e27327c8bd29e1c57721574709d0d706118/lib/PhpParser/Node/Scalar/MagicConst/Trait_.php | lib/PhpParser/Node/Scalar/MagicConst/Trait_.php | <?php declare(strict_types=1);
namespace PhpParser\Node\Scalar\MagicConst;
use PhpParser\Node\Scalar\MagicConst;
class Trait_ extends MagicConst {
public function getName(): string {
return '__TRAIT__';
}
public function getType(): string {
return 'Scalar_MagicConst_Trait';
}
}
| php | BSD-3-Clause | 8c360e27327c8bd29e1c57721574709d0d706118 | 2026-01-04T15:02:34.433891Z | false |
nikic/PHP-Parser | https://github.com/nikic/PHP-Parser/blob/8c360e27327c8bd29e1c57721574709d0d706118/lib/PhpParser/Parser/Php8.php | lib/PhpParser/Parser/Php8.php | <?php declare(strict_types=1);
namespace PhpParser\Parser;
use PhpParser\Error;
use PhpParser\Modifiers;
use PhpParser\Node;
use PhpParser\Node\Expr;
use PhpParser\Node\Name;
use PhpParser\Node\Scalar;
use PhpParser\Node\Stmt;
/* This is an automatically GENERATED file, which should not be manually edited.
* Instea... | php | BSD-3-Clause | 8c360e27327c8bd29e1c57721574709d0d706118 | 2026-01-04T15:02:34.433891Z | true |
nikic/PHP-Parser | https://github.com/nikic/PHP-Parser/blob/8c360e27327c8bd29e1c57721574709d0d706118/lib/PhpParser/Parser/Php7.php | lib/PhpParser/Parser/Php7.php | <?php declare(strict_types=1);
namespace PhpParser\Parser;
use PhpParser\Error;
use PhpParser\Modifiers;
use PhpParser\Node;
use PhpParser\Node\Expr;
use PhpParser\Node\Name;
use PhpParser\Node\Scalar;
use PhpParser\Node\Stmt;
/* This is an automatically GENERATED file, which should not be manually edited.
* Instea... | php | BSD-3-Clause | 8c360e27327c8bd29e1c57721574709d0d706118 | 2026-01-04T15:02:34.433891Z | true |
nikic/PHP-Parser | https://github.com/nikic/PHP-Parser/blob/8c360e27327c8bd29e1c57721574709d0d706118/lib/PhpParser/ErrorHandler/Throwing.php | lib/PhpParser/ErrorHandler/Throwing.php | <?php declare(strict_types=1);
namespace PhpParser\ErrorHandler;
use PhpParser\Error;
use PhpParser\ErrorHandler;
/**
* Error handler that handles all errors by throwing them.
*
* This is the default strategy used by all components.
*/
class Throwing implements ErrorHandler {
public function handleError(Erro... | php | BSD-3-Clause | 8c360e27327c8bd29e1c57721574709d0d706118 | 2026-01-04T15:02:34.433891Z | false |
nikic/PHP-Parser | https://github.com/nikic/PHP-Parser/blob/8c360e27327c8bd29e1c57721574709d0d706118/lib/PhpParser/ErrorHandler/Collecting.php | lib/PhpParser/ErrorHandler/Collecting.php | <?php declare(strict_types=1);
namespace PhpParser\ErrorHandler;
use PhpParser\Error;
use PhpParser\ErrorHandler;
/**
* Error handler that collects all errors into an array.
*
* This allows graceful handling of errors.
*/
class Collecting implements ErrorHandler {
/** @var Error[] Collected errors */
pri... | php | BSD-3-Clause | 8c360e27327c8bd29e1c57721574709d0d706118 | 2026-01-04T15:02:34.433891Z | false |
nikic/PHP-Parser | https://github.com/nikic/PHP-Parser/blob/8c360e27327c8bd29e1c57721574709d0d706118/lib/PhpParser/Comment/Doc.php | lib/PhpParser/Comment/Doc.php | <?php declare(strict_types=1);
namespace PhpParser\Comment;
class Doc extends \PhpParser\Comment {
}
| php | BSD-3-Clause | 8c360e27327c8bd29e1c57721574709d0d706118 | 2026-01-04T15:02:34.433891Z | false |
nikic/PHP-Parser | https://github.com/nikic/PHP-Parser/blob/8c360e27327c8bd29e1c57721574709d0d706118/lib/PhpParser/Internal/TokenStream.php | lib/PhpParser/Internal/TokenStream.php | <?php declare(strict_types=1);
namespace PhpParser\Internal;
use PhpParser\Token;
/**
* Provides operations on token streams, for use by pretty printer.
*
* @internal
*/
class TokenStream {
/** @var Token[] Tokens (in PhpToken::tokenize() format) */
private array $tokens;
/** @var int[] Map from posi... | php | BSD-3-Clause | 8c360e27327c8bd29e1c57721574709d0d706118 | 2026-01-04T15:02:34.433891Z | false |
nikic/PHP-Parser | https://github.com/nikic/PHP-Parser/blob/8c360e27327c8bd29e1c57721574709d0d706118/lib/PhpParser/Internal/TokenPolyfill.php | lib/PhpParser/Internal/TokenPolyfill.php | <?php declare(strict_types=1);
namespace PhpParser\Internal;
if (\PHP_VERSION_ID >= 80000) {
class TokenPolyfill extends \PhpToken {
}
return;
}
/**
* This is a polyfill for the PhpToken class introduced in PHP 8.0. We do not actually polyfill
* PhpToken, because composer might end up picking a differe... | php | BSD-3-Clause | 8c360e27327c8bd29e1c57721574709d0d706118 | 2026-01-04T15:02:34.433891Z | false |
nikic/PHP-Parser | https://github.com/nikic/PHP-Parser/blob/8c360e27327c8bd29e1c57721574709d0d706118/lib/PhpParser/Internal/PrintableNewAnonClassNode.php | lib/PhpParser/Internal/PrintableNewAnonClassNode.php | <?php declare(strict_types=1);
namespace PhpParser\Internal;
use PhpParser\Node;
use PhpParser\Node\Expr;
/**
* This node is used internally by the format-preserving pretty printer to print anonymous classes.
*
* The normal anonymous class structure violates assumptions about the order of token offsets.
* Namely... | php | BSD-3-Clause | 8c360e27327c8bd29e1c57721574709d0d706118 | 2026-01-04T15:02:34.433891Z | false |
nikic/PHP-Parser | https://github.com/nikic/PHP-Parser/blob/8c360e27327c8bd29e1c57721574709d0d706118/lib/PhpParser/Internal/Differ.php | lib/PhpParser/Internal/Differ.php | <?php declare(strict_types=1);
namespace PhpParser\Internal;
/**
* Implements the Myers diff algorithm.
*
* Myers, Eugene W. "An O (ND) difference algorithm and its variations."
* Algorithmica 1.1 (1986): 251-266.
*
* @template T
* @internal
*/
class Differ {
/** @var callable(T, T): bool */
private $... | php | BSD-3-Clause | 8c360e27327c8bd29e1c57721574709d0d706118 | 2026-01-04T15:02:34.433891Z | false |
nikic/PHP-Parser | https://github.com/nikic/PHP-Parser/blob/8c360e27327c8bd29e1c57721574709d0d706118/lib/PhpParser/Internal/DiffElem.php | lib/PhpParser/Internal/DiffElem.php | <?php declare(strict_types=1);
namespace PhpParser\Internal;
/**
* @internal
*/
class DiffElem {
public const TYPE_KEEP = 0;
public const TYPE_REMOVE = 1;
public const TYPE_ADD = 2;
public const TYPE_REPLACE = 3;
/** @var int One of the TYPE_* constants */
public int $type;
/** @var mix... | php | BSD-3-Clause | 8c360e27327c8bd29e1c57721574709d0d706118 | 2026-01-04T15:02:34.433891Z | false |
nikic/PHP-Parser | https://github.com/nikic/PHP-Parser/blob/8c360e27327c8bd29e1c57721574709d0d706118/lib/PhpParser/PrettyPrinter/Standard.php | lib/PhpParser/PrettyPrinter/Standard.php | <?php declare(strict_types=1);
namespace PhpParser\PrettyPrinter;
use PhpParser\Node;
use PhpParser\Node\Expr;
use PhpParser\Node\Expr\AssignOp;
use PhpParser\Node\Expr\BinaryOp;
use PhpParser\Node\Expr\Cast;
use PhpParser\Node\Name;
use PhpParser\Node\Scalar;
use PhpParser\Node\Scalar\MagicConst;
use PhpParser\Node\... | php | BSD-3-Clause | 8c360e27327c8bd29e1c57721574709d0d706118 | 2026-01-04T15:02:34.433891Z | true |
nikic/PHP-Parser | https://github.com/nikic/PHP-Parser/blob/8c360e27327c8bd29e1c57721574709d0d706118/test_old/run.php | test_old/run.php | <?php
error_reporting(E_ALL);
ini_set('short_open_tag', false);
if ('cli' !== php_sapi_name()) {
die('This script is designed for running on the command line.');
}
function showHelp($error) {
die($error . "\n\n" .
<<<OUTPUT
This script has to be called with the following signature:
php run.php [--no-pro... | php | BSD-3-Clause | 8c360e27327c8bd29e1c57721574709d0d706118 | 2026-01-04T15:02:34.433891Z | false |
guzzle/guzzle | https://github.com/guzzle/guzzle/blob/b51ac707cfa420b7bfd4e4d5e510ba8008e822b4/.php-cs-fixer.dist.php | .php-cs-fixer.dist.php | <?php
$config = (new PhpCsFixer\Config())
->setRiskyAllowed(true)
->setRules([
'@PHP71Migration:risky' => true,
'@PHPUnit75Migration:risky' => true,
'@PSR12:risky' => true,
'@Symfony' => true,
'declare_strict_types' => false,
'global_namespace_import' => false,
... | php | MIT | b51ac707cfa420b7bfd4e4d5e510ba8008e822b4 | 2026-01-04T15:02:34.279082Z | false |
guzzle/guzzle | https://github.com/guzzle/guzzle/blob/b51ac707cfa420b7bfd4e4d5e510ba8008e822b4/src/RetryMiddleware.php | src/RetryMiddleware.php | <?php
namespace GuzzleHttp;
use GuzzleHttp\Promise as P;
use GuzzleHttp\Promise\PromiseInterface;
use Psr\Http\Message\RequestInterface;
use Psr\Http\Message\ResponseInterface;
/**
* Middleware that retries requests based on the boolean result of
* invoking the provided "decider" function.
*
* @final
*/
class R... | php | MIT | b51ac707cfa420b7bfd4e4d5e510ba8008e822b4 | 2026-01-04T15:02:34.279082Z | false |
guzzle/guzzle | https://github.com/guzzle/guzzle/blob/b51ac707cfa420b7bfd4e4d5e510ba8008e822b4/src/functions_include.php | src/functions_include.php | <?php
// Don't redefine the functions if included multiple times.
if (!\function_exists('GuzzleHttp\describe_type')) {
require __DIR__.'/functions.php';
}
| php | MIT | b51ac707cfa420b7bfd4e4d5e510ba8008e822b4 | 2026-01-04T15:02:34.279082Z | false |
guzzle/guzzle | https://github.com/guzzle/guzzle/blob/b51ac707cfa420b7bfd4e4d5e510ba8008e822b4/src/MessageFormatter.php | src/MessageFormatter.php | <?php
namespace GuzzleHttp;
use Psr\Http\Message\MessageInterface;
use Psr\Http\Message\RequestInterface;
use Psr\Http\Message\ResponseInterface;
/**
* Formats log messages using variable substitutions for requests, responses,
* and other transactional data.
*
* The following variable substitutions are supported... | php | MIT | b51ac707cfa420b7bfd4e4d5e510ba8008e822b4 | 2026-01-04T15:02:34.279082Z | false |
guzzle/guzzle | https://github.com/guzzle/guzzle/blob/b51ac707cfa420b7bfd4e4d5e510ba8008e822b4/src/RedirectMiddleware.php | src/RedirectMiddleware.php | <?php
namespace GuzzleHttp;
use GuzzleHttp\Exception\BadResponseException;
use GuzzleHttp\Exception\TooManyRedirectsException;
use GuzzleHttp\Promise\PromiseInterface;
use Psr\Http\Message\RequestInterface;
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\UriInterface;
/**
* Request redirect middleware.... | php | MIT | b51ac707cfa420b7bfd4e4d5e510ba8008e822b4 | 2026-01-04T15:02:34.279082Z | false |
guzzle/guzzle | https://github.com/guzzle/guzzle/blob/b51ac707cfa420b7bfd4e4d5e510ba8008e822b4/src/Client.php | src/Client.php | <?php
namespace GuzzleHttp;
use GuzzleHttp\Cookie\CookieJar;
use GuzzleHttp\Exception\GuzzleException;
use GuzzleHttp\Exception\InvalidArgumentException;
use GuzzleHttp\Promise as P;
use GuzzleHttp\Promise\PromiseInterface;
use Psr\Http\Message\RequestInterface;
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Me... | php | MIT | b51ac707cfa420b7bfd4e4d5e510ba8008e822b4 | 2026-01-04T15:02:34.279082Z | false |
guzzle/guzzle | https://github.com/guzzle/guzzle/blob/b51ac707cfa420b7bfd4e4d5e510ba8008e822b4/src/ClientTrait.php | src/ClientTrait.php | <?php
namespace GuzzleHttp;
use GuzzleHttp\Exception\GuzzleException;
use GuzzleHttp\Promise\PromiseInterface;
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\UriInterface;
/**
* Client interface for sending HTTP requests.
*/
trait ClientTrait
{
/**
* Create and send an HTTP request.
*
... | php | MIT | b51ac707cfa420b7bfd4e4d5e510ba8008e822b4 | 2026-01-04T15:02:34.279082Z | false |
guzzle/guzzle | https://github.com/guzzle/guzzle/blob/b51ac707cfa420b7bfd4e4d5e510ba8008e822b4/src/Pool.php | src/Pool.php | <?php
namespace GuzzleHttp;
use GuzzleHttp\Promise as P;
use GuzzleHttp\Promise\EachPromise;
use GuzzleHttp\Promise\PromiseInterface;
use GuzzleHttp\Promise\PromisorInterface;
use Psr\Http\Message\RequestInterface;
/**
* Sends an iterator of requests concurrently using a capped pool size.
*
* The pool will read f... | php | MIT | b51ac707cfa420b7bfd4e4d5e510ba8008e822b4 | 2026-01-04T15:02:34.279082Z | false |
guzzle/guzzle | https://github.com/guzzle/guzzle/blob/b51ac707cfa420b7bfd4e4d5e510ba8008e822b4/src/Middleware.php | src/Middleware.php | <?php
namespace GuzzleHttp;
use GuzzleHttp\Cookie\CookieJarInterface;
use GuzzleHttp\Exception\RequestException;
use GuzzleHttp\Promise as P;
use GuzzleHttp\Promise\PromiseInterface;
use Psr\Http\Message\RequestInterface;
use Psr\Http\Message\ResponseInterface;
use Psr\Log\LoggerInterface;
/**
* Functions used to c... | php | MIT | b51ac707cfa420b7bfd4e4d5e510ba8008e822b4 | 2026-01-04T15:02:34.279082Z | false |
guzzle/guzzle | https://github.com/guzzle/guzzle/blob/b51ac707cfa420b7bfd4e4d5e510ba8008e822b4/src/PrepareBodyMiddleware.php | src/PrepareBodyMiddleware.php | <?php
namespace GuzzleHttp;
use GuzzleHttp\Promise\PromiseInterface;
use Psr\Http\Message\RequestInterface;
/**
* Prepares requests that contain a body, adding the Content-Length,
* Content-Type, and Expect headers.
*
* @final
*/
class PrepareBodyMiddleware
{
/**
* @var callable(RequestInterface, array... | php | MIT | b51ac707cfa420b7bfd4e4d5e510ba8008e822b4 | 2026-01-04T15:02:34.279082Z | false |
guzzle/guzzle | https://github.com/guzzle/guzzle/blob/b51ac707cfa420b7bfd4e4d5e510ba8008e822b4/src/RequestOptions.php | src/RequestOptions.php | <?php
namespace GuzzleHttp;
/**
* This class contains a list of built-in Guzzle request options.
*
* @see https://docs.guzzlephp.org/en/latest/request-options.html
*/
final class RequestOptions
{
/**
* allow_redirects: (bool|array) Controls redirect behavior. Pass false
* to disable redirects, pass ... | php | MIT | b51ac707cfa420b7bfd4e4d5e510ba8008e822b4 | 2026-01-04T15:02:34.279082Z | false |
guzzle/guzzle | https://github.com/guzzle/guzzle/blob/b51ac707cfa420b7bfd4e4d5e510ba8008e822b4/src/functions.php | src/functions.php | <?php
namespace GuzzleHttp;
/**
* Debug function used to describe the provided value type and class.
*
* @param mixed $input Any type of variable to describe the type of. This
* parameter misses a typehint because of that.
*
* @return string Returns a string containing the type of the variab... | php | MIT | b51ac707cfa420b7bfd4e4d5e510ba8008e822b4 | 2026-01-04T15:02:34.279082Z | false |
guzzle/guzzle | https://github.com/guzzle/guzzle/blob/b51ac707cfa420b7bfd4e4d5e510ba8008e822b4/src/HandlerStack.php | src/HandlerStack.php | <?php
namespace GuzzleHttp;
use GuzzleHttp\Promise\PromiseInterface;
use Psr\Http\Message\RequestInterface;
use Psr\Http\Message\ResponseInterface;
/**
* Creates a composed Guzzle handler function by stacking middlewares on top of
* an HTTP handler function.
*
* @final
*/
class HandlerStack
{
/**
* @va... | php | MIT | b51ac707cfa420b7bfd4e4d5e510ba8008e822b4 | 2026-01-04T15:02:34.279082Z | false |
guzzle/guzzle | https://github.com/guzzle/guzzle/blob/b51ac707cfa420b7bfd4e4d5e510ba8008e822b4/src/BodySummarizerInterface.php | src/BodySummarizerInterface.php | <?php
namespace GuzzleHttp;
use Psr\Http\Message\MessageInterface;
interface BodySummarizerInterface
{
/**
* Returns a summarized message body.
*/
public function summarize(MessageInterface $message): ?string;
}
| php | MIT | b51ac707cfa420b7bfd4e4d5e510ba8008e822b4 | 2026-01-04T15:02:34.279082Z | false |
guzzle/guzzle | https://github.com/guzzle/guzzle/blob/b51ac707cfa420b7bfd4e4d5e510ba8008e822b4/src/ClientInterface.php | src/ClientInterface.php | <?php
namespace GuzzleHttp;
use GuzzleHttp\Exception\GuzzleException;
use GuzzleHttp\Promise\PromiseInterface;
use Psr\Http\Message\RequestInterface;
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\UriInterface;
/**
* Client interface for sending HTTP requests.
*/
interface ClientInterface
{
/**
... | php | MIT | b51ac707cfa420b7bfd4e4d5e510ba8008e822b4 | 2026-01-04T15:02:34.279082Z | false |
guzzle/guzzle | https://github.com/guzzle/guzzle/blob/b51ac707cfa420b7bfd4e4d5e510ba8008e822b4/src/Utils.php | src/Utils.php | <?php
namespace GuzzleHttp;
use GuzzleHttp\Exception\InvalidArgumentException;
use GuzzleHttp\Handler\CurlHandler;
use GuzzleHttp\Handler\CurlMultiHandler;
use GuzzleHttp\Handler\Proxy;
use GuzzleHttp\Handler\StreamHandler;
use Psr\Http\Message\UriInterface;
final class Utils
{
/**
* Debug function used to ... | php | MIT | b51ac707cfa420b7bfd4e4d5e510ba8008e822b4 | 2026-01-04T15:02:34.279082Z | false |
guzzle/guzzle | https://github.com/guzzle/guzzle/blob/b51ac707cfa420b7bfd4e4d5e510ba8008e822b4/src/BodySummarizer.php | src/BodySummarizer.php | <?php
namespace GuzzleHttp;
use Psr\Http\Message\MessageInterface;
final class BodySummarizer implements BodySummarizerInterface
{
/**
* @var int|null
*/
private $truncateAt;
public function __construct(?int $truncateAt = null)
{
$this->truncateAt = $truncateAt;
}
/**
... | php | MIT | b51ac707cfa420b7bfd4e4d5e510ba8008e822b4 | 2026-01-04T15:02:34.279082Z | false |
guzzle/guzzle | https://github.com/guzzle/guzzle/blob/b51ac707cfa420b7bfd4e4d5e510ba8008e822b4/src/MessageFormatterInterface.php | src/MessageFormatterInterface.php | <?php
namespace GuzzleHttp;
use Psr\Http\Message\RequestInterface;
use Psr\Http\Message\ResponseInterface;
interface MessageFormatterInterface
{
/**
* Returns a formatted message string.
*
* @param RequestInterface $request Request that was sent
* @param ResponseInterface|null $respons... | php | MIT | b51ac707cfa420b7bfd4e4d5e510ba8008e822b4 | 2026-01-04T15:02:34.279082Z | false |
guzzle/guzzle | https://github.com/guzzle/guzzle/blob/b51ac707cfa420b7bfd4e4d5e510ba8008e822b4/src/TransferStats.php | src/TransferStats.php | <?php
namespace GuzzleHttp;
use Psr\Http\Message\RequestInterface;
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\UriInterface;
/**
* Represents data at the point after it was transferred either successfully
* or after a network error.
*/
final class TransferStats
{
/**
* @var RequestInterf... | php | MIT | b51ac707cfa420b7bfd4e4d5e510ba8008e822b4 | 2026-01-04T15:02:34.279082Z | false |
guzzle/guzzle | https://github.com/guzzle/guzzle/blob/b51ac707cfa420b7bfd4e4d5e510ba8008e822b4/src/Handler/Proxy.php | src/Handler/Proxy.php | <?php
namespace GuzzleHttp\Handler;
use GuzzleHttp\Promise\PromiseInterface;
use GuzzleHttp\RequestOptions;
use Psr\Http\Message\RequestInterface;
/**
* Provides basic proxies for handlers.
*
* @final
*/
class Proxy
{
/**
* Sends synchronous requests to a specific handler while sending all other
* ... | php | MIT | b51ac707cfa420b7bfd4e4d5e510ba8008e822b4 | 2026-01-04T15:02:34.279082Z | false |
guzzle/guzzle | https://github.com/guzzle/guzzle/blob/b51ac707cfa420b7bfd4e4d5e510ba8008e822b4/src/Handler/HeaderProcessor.php | src/Handler/HeaderProcessor.php | <?php
namespace GuzzleHttp\Handler;
use GuzzleHttp\Utils;
/**
* @internal
*/
final class HeaderProcessor
{
/**
* Returns the HTTP version, status code, reason phrase, and headers.
*
* @param string[] $headers
*
* @return array{0:string, 1:int, 2:?string, 3:array}
*
* @throws ... | php | MIT | b51ac707cfa420b7bfd4e4d5e510ba8008e822b4 | 2026-01-04T15:02:34.279082Z | false |
guzzle/guzzle | https://github.com/guzzle/guzzle/blob/b51ac707cfa420b7bfd4e4d5e510ba8008e822b4/src/Handler/CurlHandler.php | src/Handler/CurlHandler.php | <?php
namespace GuzzleHttp\Handler;
use GuzzleHttp\Promise\PromiseInterface;
use Psr\Http\Message\RequestInterface;
/**
* HTTP handler that uses cURL easy handles as a transport layer.
*
* When using the CurlHandler, custom curl options can be specified as an
* associative array of curl option constants mapping ... | php | MIT | b51ac707cfa420b7bfd4e4d5e510ba8008e822b4 | 2026-01-04T15:02:34.279082Z | false |
guzzle/guzzle | https://github.com/guzzle/guzzle/blob/b51ac707cfa420b7bfd4e4d5e510ba8008e822b4/src/Handler/CurlFactoryInterface.php | src/Handler/CurlFactoryInterface.php | <?php
namespace GuzzleHttp\Handler;
use Psr\Http\Message\RequestInterface;
interface CurlFactoryInterface
{
/**
* Creates a cURL handle resource.
*
* @param RequestInterface $request Request
* @param array $options Transfer options
*
* @throws \RuntimeException when an op... | php | MIT | b51ac707cfa420b7bfd4e4d5e510ba8008e822b4 | 2026-01-04T15:02:34.279082Z | false |
guzzle/guzzle | https://github.com/guzzle/guzzle/blob/b51ac707cfa420b7bfd4e4d5e510ba8008e822b4/src/Handler/EasyHandle.php | src/Handler/EasyHandle.php | <?php
namespace GuzzleHttp\Handler;
use GuzzleHttp\Psr7\Response;
use GuzzleHttp\Utils;
use Psr\Http\Message\RequestInterface;
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\StreamInterface;
/**
* Represents a cURL easy handle and the data it populates.
*
* @internal
*/
final class EasyHandle
{
... | php | MIT | b51ac707cfa420b7bfd4e4d5e510ba8008e822b4 | 2026-01-04T15:02:34.279082Z | false |
guzzle/guzzle | https://github.com/guzzle/guzzle/blob/b51ac707cfa420b7bfd4e4d5e510ba8008e822b4/src/Handler/MockHandler.php | src/Handler/MockHandler.php | <?php
namespace GuzzleHttp\Handler;
use GuzzleHttp\Exception\RequestException;
use GuzzleHttp\HandlerStack;
use GuzzleHttp\Promise as P;
use GuzzleHttp\Promise\PromiseInterface;
use GuzzleHttp\TransferStats;
use GuzzleHttp\Utils;
use Psr\Http\Message\RequestInterface;
use Psr\Http\Message\ResponseInterface;
use Psr\H... | php | MIT | b51ac707cfa420b7bfd4e4d5e510ba8008e822b4 | 2026-01-04T15:02:34.279082Z | false |
guzzle/guzzle | https://github.com/guzzle/guzzle/blob/b51ac707cfa420b7bfd4e4d5e510ba8008e822b4/src/Handler/StreamHandler.php | src/Handler/StreamHandler.php | <?php
namespace GuzzleHttp\Handler;
use GuzzleHttp\Exception\ConnectException;
use GuzzleHttp\Exception\RequestException;
use GuzzleHttp\Promise as P;
use GuzzleHttp\Promise\FulfilledPromise;
use GuzzleHttp\Promise\PromiseInterface;
use GuzzleHttp\Psr7;
use GuzzleHttp\TransferStats;
use GuzzleHttp\Utils;
use Psr\Http... | php | MIT | b51ac707cfa420b7bfd4e4d5e510ba8008e822b4 | 2026-01-04T15:02:34.279082Z | false |
guzzle/guzzle | https://github.com/guzzle/guzzle/blob/b51ac707cfa420b7bfd4e4d5e510ba8008e822b4/src/Handler/CurlFactory.php | src/Handler/CurlFactory.php | <?php
namespace GuzzleHttp\Handler;
use GuzzleHttp\Exception\ConnectException;
use GuzzleHttp\Exception\RequestException;
use GuzzleHttp\Promise as P;
use GuzzleHttp\Promise\FulfilledPromise;
use GuzzleHttp\Promise\PromiseInterface;
use GuzzleHttp\Psr7\LazyOpenStream;
use GuzzleHttp\TransferStats;
use GuzzleHttp\Util... | php | MIT | b51ac707cfa420b7bfd4e4d5e510ba8008e822b4 | 2026-01-04T15:02:34.279082Z | false |
guzzle/guzzle | https://github.com/guzzle/guzzle/blob/b51ac707cfa420b7bfd4e4d5e510ba8008e822b4/src/Handler/CurlMultiHandler.php | src/Handler/CurlMultiHandler.php | <?php
namespace GuzzleHttp\Handler;
use Closure;
use GuzzleHttp\Promise as P;
use GuzzleHttp\Promise\Promise;
use GuzzleHttp\Promise\PromiseInterface;
use GuzzleHttp\Utils;
use Psr\Http\Message\RequestInterface;
/**
* Returns an asynchronous response using curl_multi_* functions.
*
* When using the CurlMultiHandl... | php | MIT | b51ac707cfa420b7bfd4e4d5e510ba8008e822b4 | 2026-01-04T15:02:34.279082Z | false |
guzzle/guzzle | https://github.com/guzzle/guzzle/blob/b51ac707cfa420b7bfd4e4d5e510ba8008e822b4/src/Exception/BadResponseException.php | src/Exception/BadResponseException.php | <?php
namespace GuzzleHttp\Exception;
use Psr\Http\Message\RequestInterface;
use Psr\Http\Message\ResponseInterface;
/**
* Exception when an HTTP error occurs (4xx or 5xx error)
*/
class BadResponseException extends RequestException
{
public function __construct(
string $message,
RequestInterfa... | php | MIT | b51ac707cfa420b7bfd4e4d5e510ba8008e822b4 | 2026-01-04T15:02:34.279082Z | false |
guzzle/guzzle | https://github.com/guzzle/guzzle/blob/b51ac707cfa420b7bfd4e4d5e510ba8008e822b4/src/Exception/RequestException.php | src/Exception/RequestException.php | <?php
namespace GuzzleHttp\Exception;
use GuzzleHttp\BodySummarizer;
use GuzzleHttp\BodySummarizerInterface;
use Psr\Http\Client\RequestExceptionInterface;
use Psr\Http\Message\RequestInterface;
use Psr\Http\Message\ResponseInterface;
/**
* HTTP Request exception
*/
class RequestException extends TransferException... | php | MIT | b51ac707cfa420b7bfd4e4d5e510ba8008e822b4 | 2026-01-04T15:02:34.279082Z | false |
guzzle/guzzle | https://github.com/guzzle/guzzle/blob/b51ac707cfa420b7bfd4e4d5e510ba8008e822b4/src/Exception/ServerException.php | src/Exception/ServerException.php | <?php
namespace GuzzleHttp\Exception;
/**
* Exception when a server error is encountered (5xx codes)
*/
class ServerException extends BadResponseException
{
}
| php | MIT | b51ac707cfa420b7bfd4e4d5e510ba8008e822b4 | 2026-01-04T15:02:34.279082Z | false |
guzzle/guzzle | https://github.com/guzzle/guzzle/blob/b51ac707cfa420b7bfd4e4d5e510ba8008e822b4/src/Exception/TransferException.php | src/Exception/TransferException.php | <?php
namespace GuzzleHttp\Exception;
class TransferException extends \RuntimeException implements GuzzleException
{
}
| php | MIT | b51ac707cfa420b7bfd4e4d5e510ba8008e822b4 | 2026-01-04T15:02:34.279082Z | false |
guzzle/guzzle | https://github.com/guzzle/guzzle/blob/b51ac707cfa420b7bfd4e4d5e510ba8008e822b4/src/Exception/GuzzleException.php | src/Exception/GuzzleException.php | <?php
namespace GuzzleHttp\Exception;
use Psr\Http\Client\ClientExceptionInterface;
interface GuzzleException extends ClientExceptionInterface
{
}
| php | MIT | b51ac707cfa420b7bfd4e4d5e510ba8008e822b4 | 2026-01-04T15:02:34.279082Z | false |
guzzle/guzzle | https://github.com/guzzle/guzzle/blob/b51ac707cfa420b7bfd4e4d5e510ba8008e822b4/src/Exception/InvalidArgumentException.php | src/Exception/InvalidArgumentException.php | <?php
namespace GuzzleHttp\Exception;
final class InvalidArgumentException extends \InvalidArgumentException implements GuzzleException
{
}
| php | MIT | b51ac707cfa420b7bfd4e4d5e510ba8008e822b4 | 2026-01-04T15:02:34.279082Z | false |
guzzle/guzzle | https://github.com/guzzle/guzzle/blob/b51ac707cfa420b7bfd4e4d5e510ba8008e822b4/src/Exception/TooManyRedirectsException.php | src/Exception/TooManyRedirectsException.php | <?php
namespace GuzzleHttp\Exception;
class TooManyRedirectsException extends RequestException
{
}
| php | MIT | b51ac707cfa420b7bfd4e4d5e510ba8008e822b4 | 2026-01-04T15:02:34.279082Z | false |
guzzle/guzzle | https://github.com/guzzle/guzzle/blob/b51ac707cfa420b7bfd4e4d5e510ba8008e822b4/src/Exception/ConnectException.php | src/Exception/ConnectException.php | <?php
namespace GuzzleHttp\Exception;
use Psr\Http\Client\NetworkExceptionInterface;
use Psr\Http\Message\RequestInterface;
/**
* Exception thrown when a connection cannot be established.
*
* Note that no response is present for a ConnectException
*/
class ConnectException extends TransferException implements Ne... | php | MIT | b51ac707cfa420b7bfd4e4d5e510ba8008e822b4 | 2026-01-04T15:02:34.279082Z | false |
guzzle/guzzle | https://github.com/guzzle/guzzle/blob/b51ac707cfa420b7bfd4e4d5e510ba8008e822b4/src/Exception/ClientException.php | src/Exception/ClientException.php | <?php
namespace GuzzleHttp\Exception;
/**
* Exception when a client error is encountered (4xx codes)
*/
class ClientException extends BadResponseException
{
}
| php | MIT | b51ac707cfa420b7bfd4e4d5e510ba8008e822b4 | 2026-01-04T15:02:34.279082Z | false |
guzzle/guzzle | https://github.com/guzzle/guzzle/blob/b51ac707cfa420b7bfd4e4d5e510ba8008e822b4/src/Cookie/CookieJar.php | src/Cookie/CookieJar.php | <?php
namespace GuzzleHttp\Cookie;
use Psr\Http\Message\RequestInterface;
use Psr\Http\Message\ResponseInterface;
/**
* Cookie jar that stores cookies as an array
*/
class CookieJar implements CookieJarInterface
{
/**
* @var SetCookie[] Loaded cookie data
*/
private $cookies = [];
/**
*... | php | MIT | b51ac707cfa420b7bfd4e4d5e510ba8008e822b4 | 2026-01-04T15:02:34.279082Z | false |
guzzle/guzzle | https://github.com/guzzle/guzzle/blob/b51ac707cfa420b7bfd4e4d5e510ba8008e822b4/src/Cookie/SetCookie.php | src/Cookie/SetCookie.php | <?php
namespace GuzzleHttp\Cookie;
/**
* Set-Cookie object
*/
class SetCookie
{
/**
* @var array
*/
private static $defaults = [
'Name' => null,
'Value' => null,
'Domain' => null,
'Path' => '/',
'Max-Age' => null,
'Expires' => null,
'Secure' ... | php | MIT | b51ac707cfa420b7bfd4e4d5e510ba8008e822b4 | 2026-01-04T15:02:34.279082Z | false |
guzzle/guzzle | https://github.com/guzzle/guzzle/blob/b51ac707cfa420b7bfd4e4d5e510ba8008e822b4/src/Cookie/CookieJarInterface.php | src/Cookie/CookieJarInterface.php | <?php
namespace GuzzleHttp\Cookie;
use Psr\Http\Message\RequestInterface;
use Psr\Http\Message\ResponseInterface;
/**
* Stores HTTP cookies.
*
* It extracts cookies from HTTP requests, and returns them in HTTP responses.
* CookieJarInterface instances automatically expire contained cookies when
* necessary. Sub... | php | MIT | b51ac707cfa420b7bfd4e4d5e510ba8008e822b4 | 2026-01-04T15:02:34.279082Z | false |
guzzle/guzzle | https://github.com/guzzle/guzzle/blob/b51ac707cfa420b7bfd4e4d5e510ba8008e822b4/src/Cookie/FileCookieJar.php | src/Cookie/FileCookieJar.php | <?php
namespace GuzzleHttp\Cookie;
use GuzzleHttp\Utils;
/**
* Persists non-session cookies using a JSON formatted file
*/
class FileCookieJar extends CookieJar
{
/**
* @var string filename
*/
private $filename;
/**
* @var bool Control whether to persist session cookies or not.
*/
... | php | MIT | b51ac707cfa420b7bfd4e4d5e510ba8008e822b4 | 2026-01-04T15:02:34.279082Z | false |
guzzle/guzzle | https://github.com/guzzle/guzzle/blob/b51ac707cfa420b7bfd4e4d5e510ba8008e822b4/src/Cookie/SessionCookieJar.php | src/Cookie/SessionCookieJar.php | <?php
namespace GuzzleHttp\Cookie;
/**
* Persists cookies in the client session
*/
class SessionCookieJar extends CookieJar
{
/**
* @var string session key
*/
private $sessionKey;
/**
* @var bool Control whether to persist session cookies or not.
*/
private $storeSessionCookies;... | php | MIT | b51ac707cfa420b7bfd4e4d5e510ba8008e822b4 | 2026-01-04T15:02:34.279082Z | false |
guzzle/guzzle | https://github.com/guzzle/guzzle/blob/b51ac707cfa420b7bfd4e4d5e510ba8008e822b4/tests/PoolTest.php | tests/PoolTest.php | <?php
namespace GuzzleHttp\Tests;
use GuzzleHttp\Client;
use GuzzleHttp\Exception\ClientException;
use GuzzleHttp\Handler\MockHandler;
use GuzzleHttp\HandlerStack;
use GuzzleHttp\Pool;
use GuzzleHttp\Promise\Promise;
use GuzzleHttp\Psr7\Request;
use GuzzleHttp\Psr7\Response;
use PHPUnit\Framework\TestCase;
use Psr\Ht... | php | MIT | b51ac707cfa420b7bfd4e4d5e510ba8008e822b4 | 2026-01-04T15:02:34.279082Z | false |
guzzle/guzzle | https://github.com/guzzle/guzzle/blob/b51ac707cfa420b7bfd4e4d5e510ba8008e822b4/tests/MessageFormatterTest.php | tests/MessageFormatterTest.php | <?php
namespace GuzzleHttp\Tests;
use GuzzleHttp\Exception\RequestException;
use GuzzleHttp\MessageFormatter;
use GuzzleHttp\Psr7;
use GuzzleHttp\Psr7\Request;
use GuzzleHttp\Psr7\Response;
use PHPUnit\Framework\TestCase;
/**
* @covers \GuzzleHttp\MessageFormatter
*/
class MessageFormatterTest extends TestCase
{
... | php | MIT | b51ac707cfa420b7bfd4e4d5e510ba8008e822b4 | 2026-01-04T15:02:34.279082Z | false |
guzzle/guzzle | https://github.com/guzzle/guzzle/blob/b51ac707cfa420b7bfd4e4d5e510ba8008e822b4/tests/TestLogger.php | tests/TestLogger.php | <?php
namespace GuzzleHttp\Tests;
use Psr\Log\AbstractLogger;
/**
* Used for testing purposes.
*
* It records all records and gives you access to them for verification.
*/
class TestLogger extends AbstractLogger
{
public $records = [];
public $recordsByLevel = [];
public function log($level, $messag... | php | MIT | b51ac707cfa420b7bfd4e4d5e510ba8008e822b4 | 2026-01-04T15:02:34.279082Z | false |
guzzle/guzzle | https://github.com/guzzle/guzzle/blob/b51ac707cfa420b7bfd4e4d5e510ba8008e822b4/tests/ClientTest.php | tests/ClientTest.php | <?php
namespace GuzzleHttp\Tests;
use GuzzleHttp\Client;
use GuzzleHttp\Cookie\CookieJar;
use GuzzleHttp\Handler\MockHandler;
use GuzzleHttp\HandlerStack;
use GuzzleHttp\Middleware;
use GuzzleHttp\Promise\PromiseInterface;
use GuzzleHttp\Psr7;
use GuzzleHttp\Psr7\Request;
use GuzzleHttp\Psr7\Response;
use GuzzleHttp\... | php | MIT | b51ac707cfa420b7bfd4e4d5e510ba8008e822b4 | 2026-01-04T15:02:34.279082Z | false |
guzzle/guzzle | https://github.com/guzzle/guzzle/blob/b51ac707cfa420b7bfd4e4d5e510ba8008e822b4/tests/HandlerStackTest.php | tests/HandlerStackTest.php | <?php
namespace GuzzleHttp\Tests;
use GuzzleHttp\Cookie\CookieJar;
use GuzzleHttp\Handler\MockHandler;
use GuzzleHttp\HandlerStack;
use GuzzleHttp\Psr7\Request;
use GuzzleHttp\Psr7\Response;
use PHPUnit\Framework\TestCase;
class HandlerStackTest extends TestCase
{
public function testSetsHandlerInCtor()
{
... | php | MIT | b51ac707cfa420b7bfd4e4d5e510ba8008e822b4 | 2026-01-04T15:02:34.279082Z | false |
guzzle/guzzle | https://github.com/guzzle/guzzle/blob/b51ac707cfa420b7bfd4e4d5e510ba8008e822b4/tests/Helpers.php | tests/Helpers.php | <?php
namespace GuzzleHttp\Tests;
class Helpers
{
public static function readObjectAttribute(object $object, string $attributeName)
{
$reflector = new \ReflectionObject($object);
do {
try {
$attribute = $reflector->getProperty($attributeName);
if (... | php | MIT | b51ac707cfa420b7bfd4e4d5e510ba8008e822b4 | 2026-01-04T15:02:34.279082Z | false |
guzzle/guzzle | https://github.com/guzzle/guzzle/blob/b51ac707cfa420b7bfd4e4d5e510ba8008e822b4/tests/HttplugIntegrationTest.php | tests/HttplugIntegrationTest.php | <?php
namespace GuzzleHttp\Tests;
use GuzzleHttp\Client;
use Http\Client\Tests\HttpClientTest;
use Psr\Http\Client\ClientInterface;
/**
* @author Tobias Nyholm <tobias.nyholm@gmail.com>
*/
class HttplugIntegrationTest extends HttpClientTest
{
protected function createHttpAdapter(): ClientInterface
{
... | php | MIT | b51ac707cfa420b7bfd4e4d5e510ba8008e822b4 | 2026-01-04T15:02:34.279082Z | false |
guzzle/guzzle | https://github.com/guzzle/guzzle/blob/b51ac707cfa420b7bfd4e4d5e510ba8008e822b4/tests/TransferStatsTest.php | tests/TransferStatsTest.php | <?php
namespace GuzzleHttp\Tests;
use GuzzleHttp\Psr7;
use GuzzleHttp\TransferStats;
use PHPUnit\Framework\TestCase;
class TransferStatsTest extends TestCase
{
public function testHasData()
{
$request = new Psr7\Request('GET', 'http://foo.com');
$response = new Psr7\Response();
$stats... | php | MIT | b51ac707cfa420b7bfd4e4d5e510ba8008e822b4 | 2026-01-04T15:02:34.279082Z | false |
guzzle/guzzle | https://github.com/guzzle/guzzle/blob/b51ac707cfa420b7bfd4e4d5e510ba8008e822b4/tests/bootstrap-phpstan.php | tests/bootstrap-phpstan.php | <?php
if (!\defined('IDNA_DEFAULT')) {
\define('IDNA_DEFAULT', 0);
}
if (!\defined('INTL_IDNA_VARIANT_UTS46')) {
\define('INTL_IDNA_VARIANT_UTS46', 1);
}
| php | MIT | b51ac707cfa420b7bfd4e4d5e510ba8008e822b4 | 2026-01-04T15:02:34.279082Z | false |
guzzle/guzzle | https://github.com/guzzle/guzzle/blob/b51ac707cfa420b7bfd4e4d5e510ba8008e822b4/tests/Server.php | tests/Server.php | <?php
namespace GuzzleHttp\Tests;
use GuzzleHttp\Client;
use GuzzleHttp\Psr7;
use Psr\Http\Message\ResponseInterface;
/**
* The Server class is used to control a scripted webserver using node.js that
* will respond to HTTP requests with queued responses.
*
* Queued responses will be served to requests using a FI... | php | MIT | b51ac707cfa420b7bfd4e4d5e510ba8008e822b4 | 2026-01-04T15:02:34.279082Z | false |
guzzle/guzzle | https://github.com/guzzle/guzzle/blob/b51ac707cfa420b7bfd4e4d5e510ba8008e822b4/tests/RetryMiddlewareTest.php | tests/RetryMiddlewareTest.php | <?php
namespace GuzzleHttp\Tests;
use GuzzleHttp\Client;
use GuzzleHttp\Handler\MockHandler;
use GuzzleHttp\Middleware;
use GuzzleHttp\Psr7\Request;
use GuzzleHttp\Psr7\Response;
use GuzzleHttp\RetryMiddleware;
use PHPUnit\Framework\TestCase;
class RetryMiddlewareTest extends TestCase
{
public function testRetri... | php | MIT | b51ac707cfa420b7bfd4e4d5e510ba8008e822b4 | 2026-01-04T15:02:34.279082Z | false |
guzzle/guzzle | https://github.com/guzzle/guzzle/blob/b51ac707cfa420b7bfd4e4d5e510ba8008e822b4/tests/UtilsTest.php | tests/UtilsTest.php | <?php
namespace GuzzleHttp\Test;
use GuzzleHttp;
use GuzzleHttp\Utils;
use PHPUnit\Framework\TestCase;
class UtilsTest extends TestCase
{
public static function noBodyProvider()
{
return [['get'], ['head'], ['delete']];
}
public static function typeProvider()
{
return [
... | php | MIT | b51ac707cfa420b7bfd4e4d5e510ba8008e822b4 | 2026-01-04T15:02:34.279082Z | false |
guzzle/guzzle | https://github.com/guzzle/guzzle/blob/b51ac707cfa420b7bfd4e4d5e510ba8008e822b4/tests/bootstrap.php | tests/bootstrap.php | <?php
namespace {
\setlocale(\LC_ALL, 'C');
\error_reporting(\E_ALL);
}
namespace GuzzleHttp\Test {
require __DIR__.'/../vendor/autoload.php';
require __DIR__.'/Server.php';
use GuzzleHttp\Tests\Server;
Server::start();
\register_shutdown_function(static function () {
Server::stop... | php | MIT | b51ac707cfa420b7bfd4e4d5e510ba8008e822b4 | 2026-01-04T15:02:34.279082Z | false |
guzzle/guzzle | https://github.com/guzzle/guzzle/blob/b51ac707cfa420b7bfd4e4d5e510ba8008e822b4/tests/RedirectMiddlewareTest.php | tests/RedirectMiddlewareTest.php | <?php
namespace GuzzleHttp\Tests;
use GuzzleHttp\Client;
use GuzzleHttp\Exception\BadResponseException;
use GuzzleHttp\Exception\TooManyRedirectsException;
use GuzzleHttp\Handler\MockHandler;
use GuzzleHttp\HandlerStack;
use GuzzleHttp\Middleware;
use GuzzleHttp\Psr7\Request;
use GuzzleHttp\Psr7\Response;
use GuzzleH... | php | MIT | b51ac707cfa420b7bfd4e4d5e510ba8008e822b4 | 2026-01-04T15:02:34.279082Z | false |
guzzle/guzzle | https://github.com/guzzle/guzzle/blob/b51ac707cfa420b7bfd4e4d5e510ba8008e822b4/tests/MiddlewareTest.php | tests/MiddlewareTest.php | <?php
namespace GuzzleHttp\Tests;
use GuzzleHttp\BodySummarizer;
use GuzzleHttp\Cookie\CookieJar;
use GuzzleHttp\Cookie\SetCookie;
use GuzzleHttp\Exception\ClientException;
use GuzzleHttp\Exception\RequestException;
use GuzzleHttp\Exception\ServerException;
use GuzzleHttp\Handler\MockHandler;
use GuzzleHttp\HandlerSt... | php | MIT | b51ac707cfa420b7bfd4e4d5e510ba8008e822b4 | 2026-01-04T15:02:34.279082Z | false |
guzzle/guzzle | https://github.com/guzzle/guzzle/blob/b51ac707cfa420b7bfd4e4d5e510ba8008e822b4/tests/PrepareBodyMiddlewareTest.php | tests/PrepareBodyMiddlewareTest.php | <?php
namespace GuzzleHttp\Tests;
use GuzzleHttp\Handler\MockHandler;
use GuzzleHttp\HandlerStack;
use GuzzleHttp\Middleware;
use GuzzleHttp\Promise\PromiseInterface;
use GuzzleHttp\Psr7;
use GuzzleHttp\Psr7\FnStream;
use GuzzleHttp\Psr7\Request;
use GuzzleHttp\Psr7\Response;
use PHPUnit\Framework\TestCase;
use Psr\H... | php | MIT | b51ac707cfa420b7bfd4e4d5e510ba8008e822b4 | 2026-01-04T15:02:34.279082Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.