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 |
|---|---|---|---|---|---|---|---|---|
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/phpspec/prophecy/src/Prophecy/Call/CallCenter.php | vendor/phpspec/prophecy/src/Prophecy/Call/CallCenter.php | <?php
/*
* This file is part of the Prophecy.
* (c) Konstantin Kudryashov <ever.zet@gmail.com>
* Marcello Duarte <marcello.duarte@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Prophecy\Call;
use Prophe... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/phpspec/php-diff/example/example.php | vendor/phpspec/php-diff/example/example.php | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8"/>
<title>PHP LibDiff - Examples</title>
<link rel="stylesheet" href="styles.css" type="text/css" charset="utf... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/phpspec/php-diff/lib/Diff.php | vendor/phpspec/php-diff/lib/Diff.php | <?php
/**
* Diff
*
* A comprehensive library for generating differences between two strings
* in multiple formats (unified, side by side HTML etc)
*
* PHP version 5
*
* Copyright (c) 2009 Chris Boulton <chris.boulton@interspire.com>
*
* All rights reserved.
*
* Redistribution and use in source and binary ... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/phpspec/php-diff/lib/Diff/SequenceMatcher.php | vendor/phpspec/php-diff/lib/Diff/SequenceMatcher.php | <?php
/**
* Sequence matcher for Diff
*
* PHP version 5
*
* Copyright (c) 2009 Chris Boulton <chris.boulton@interspire.com>
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* - Red... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/phpspec/php-diff/lib/Diff/Renderer/Abstract.php | vendor/phpspec/php-diff/lib/Diff/Renderer/Abstract.php | <?php
/**
* Abstract class for diff renderers in PHP DiffLib.
*
* PHP version 5
*
* Copyright (c) 2009 Chris Boulton <chris.boulton@interspire.com>
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following condi... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/phpspec/php-diff/lib/Diff/Renderer/Html/Inline.php | vendor/phpspec/php-diff/lib/Diff/Renderer/Html/Inline.php | <?php
/**
* Inline HTML diff generator for PHP DiffLib.
*
* PHP version 5
*
* Copyright (c) 2009 Chris Boulton <chris.boulton@interspire.com>
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions ... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/phpspec/php-diff/lib/Diff/Renderer/Html/Array.php | vendor/phpspec/php-diff/lib/Diff/Renderer/Html/Array.php | <?php
/**
* Base renderer for rendering HTML based diffs for PHP DiffLib.
*
* PHP version 5
*
* Copyright (c) 2009 Chris Boulton <chris.boulton@interspire.com>
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the follow... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/phpspec/php-diff/lib/Diff/Renderer/Html/SideBySide.php | vendor/phpspec/php-diff/lib/Diff/Renderer/Html/SideBySide.php | <?php
/**
* Side by Side HTML diff generator for PHP DiffLib.
*
* PHP version 5
*
* Copyright (c) 2009 Chris Boulton <chris.boulton@interspire.com>
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following condi... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/phpspec/php-diff/lib/Diff/Renderer/Text/Unified.php | vendor/phpspec/php-diff/lib/Diff/Renderer/Text/Unified.php | <?php
/**
* Unified diff generator for PHP DiffLib.
*
* PHP version 5
*
* Copyright (c) 2009 Chris Boulton <chris.boulton@interspire.com>
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are ... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/phpspec/php-diff/lib/Diff/Renderer/Text/Context.php | vendor/phpspec/php-diff/lib/Diff/Renderer/Text/Context.php | <?php
/**
* Context diff generator for PHP DiffLib.
*
* PHP version 5
*
* Copyright (c) 2009 Chris Boulton <chris.boulton@interspire.com>
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are ... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/codeception/verify/RoboFile.php | vendor/codeception/verify/RoboFile.php | <?php
/**
* This is project's console commands configuration for Robo task runner.
*
* @see http://robo.li/
*/
class RoboFile extends \Robo\Tasks
{
/**
* Publishes new Verify release
* @param null $newVer
*/
public function release($newVer = null)
{
if ($newVer) {
$thi... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/codeception/verify/src/Codeception/function.php | vendor/codeception/verify/src/Codeception/function.php | <?php
if (!function_exists('verify')) {
/**
* @param $description
* @param null $actual
* @return \Codeception\Verify
*/
function verify($description) {
$descriptionGiven = (func_num_args() == 2);
$class = \Codeception\Verify::$override
? \Codeception\Verify::$ove... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/codeception/verify/src/Codeception/Verify.php | vendor/codeception/verify/src/Codeception/Verify.php | <?php
namespace Codeception;
use \Codeception\PHPUnit\TestCase as a;
class Verify {
public static $override = false;
protected $actual = null;
protected $description = '';
protected $isFileExpectation = false;
public function __construct($description)
{
$descriptionGiven = (func_num... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/codeception/verify/tests/OverrideTest.php | vendor/codeception/verify/tests/OverrideTest.php | <?php
include __DIR__.'/../vendor/autoload.php';
class OverrideTest extends \Codeception\PHPUnit\TestCase
{
protected function _setUp()
{
}
protected function _tearDown()
{
\Codeception\Verify::$override = false;
}
public function testVerifyCanBeOverridden()
{
... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/codeception/verify/tests/VerifyTest.php | vendor/codeception/verify/tests/VerifyTest.php | <?php
include_once __DIR__.'/../src/Codeception/function.php';
class VerifyTest extends \Codeception\PHPUnit\TestCase {
protected $xml;
protected function _setUp()
{
$this->xml = new DomDocument;
$this->xml->loadXML('<foo><bar>Baz</bar><bar>Baz</bar></foo>');
}
public functi... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/codeception/lib-asserts/src/Codeception/Util/Shared/Asserts.php | vendor/codeception/lib-asserts/src/Codeception/Util/Shared/Asserts.php | <?php
namespace Codeception\Util\Shared;
use Codeception\PHPUnit\TestCase;
use PHPUnit\Framework\Constraint\Constraint;
use PHPUnit\Framework\Constraint\LogicalNot;
trait Asserts
{
use InheritedAsserts;
/**
* @param $arguments
* @param bool $not
*/
protected function assert($arguments, $n... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/codeception/lib-asserts/src/Codeception/Util/Shared/InheritedAsserts.php | vendor/codeception/lib-asserts/src/Codeception/Util/Shared/InheritedAsserts.php | <?php
namespace Codeception\Util\Shared;
use ArrayAccess;
use Codeception\PHPUnit\TestCase;
use Countable;
use DOMDocument;
use PHPUnit\Framework\Assert;
use PHPUnit\Framework\Constraint\Constraint;
trait InheritedAsserts
{
/**
* Asserts that an array has a specified key.
*
* @param int|string $ke... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | true |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/codeception/lib-innerbrowser/src/Codeception/Lib/Framework.php | vendor/codeception/lib-innerbrowser/src/Codeception/Lib/Framework.php | <?php
namespace Codeception\Lib;
/**
* Abstract module for PHP frameworks connected via Symfony BrowserKit components
* Each framework is connected with it's own connector defined in \Codeception\Lib\Connector
* Each module for framework should extend this class.
*
*/
abstract class Framework extends InnerBrowse... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/codeception/lib-innerbrowser/src/Codeception/Lib/InnerBrowser.php | vendor/codeception/lib-innerbrowser/src/Codeception/Lib/InnerBrowser.php | <?php
namespace Codeception\Lib;
use Codeception\Exception\ElementNotFound;
use Codeception\Exception\ExternalUrlException;
use Codeception\Exception\MalformedLocatorException;
use Codeception\Exception\ModuleException;
use Codeception\Exception\TestRuntimeException;
use Codeception\Lib\Interfaces\ConflictsWithModule;... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | true |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/codeception/lib-innerbrowser/src/Codeception/Util/HttpCode.php | vendor/codeception/lib-innerbrowser/src/Codeception/Util/HttpCode.php | <?php
namespace Codeception\Util;
/**
* Class containing constants of HTTP Status Codes
* and method to print HTTP code with its description.
*
* Usage:
*
* ```php
* <?php
* use \Codeception\Util\HttpCode;
*
* // using REST, PhpBrowser, or any Framework module
* $I->seeResponseCodeIs(HttpCode::OK);
* $I->... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/codeception/lib-innerbrowser/src/Codeception/Exception/ExternalUrlException.php | vendor/codeception/lib-innerbrowser/src/Codeception/Exception/ExternalUrlException.php | <?php
namespace Codeception\Exception;
class ExternalUrlException extends \Exception
{
}
| php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/codeception/module-yii2/src/Codeception/Module/Yii2.php | vendor/codeception/module-yii2/src/Codeception/Module/Yii2.php | <?php
namespace Codeception\Module;
use Codeception\Configuration;
use Codeception\Exception\ConfigurationException;
use Codeception\Exception\ModuleConfigException;
use Codeception\Exception\ModuleException;
use Codeception\Lib\Connector\Yii2 as Yii2Connector;
use Codeception\Lib\Framework;
use Codeception\Lib\Interf... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/codeception/module-yii2/src/Codeception/Lib/Connector/Yii2.php | vendor/codeception/module-yii2/src/Codeception/Lib/Connector/Yii2.php | <?php
namespace Codeception\Lib\Connector;
use Codeception\Exception\ConfigurationException;
use Codeception\Lib\Connector\Yii2\Logger;
use Codeception\Lib\Connector\Yii2\TestMailer;
use Codeception\Util\Debug;
use Symfony\Component\BrowserKit\AbstractBrowser as Client;
use Symfony\Component\BrowserKit\Cookie;
use Sym... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/codeception/module-yii2/src/Codeception/Lib/Connector/Yii2/FixturesStore.php | vendor/codeception/module-yii2/src/Codeception/Lib/Connector/Yii2/FixturesStore.php | <?php
namespace Codeception\Lib\Connector\Yii2;
use yii\test\FixtureTrait;
use yii\test\InitDbFixture;
class FixturesStore
{
use FixtureTrait;
protected $data;
/**
* Expects fixtures config
*
* FixturesStore constructor.
* @param $data
*/
public function __construct($data)
... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/codeception/module-yii2/src/Codeception/Lib/Connector/Yii2/TransactionForcer.php | vendor/codeception/module-yii2/src/Codeception/Lib/Connector/Yii2/TransactionForcer.php | <?php
namespace Codeception\Lib\Connector\Yii2;
use yii\base\Event;
use yii\db\Connection;
use yii\db\Transaction;
/**
* Class TransactionForcer
* This class adds support for forcing transactions as well as reusing PDO objects.
* @package Codeception\Lib\Connector\Yii2
*/
class TransactionForcer extends Connect... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/codeception/module-yii2/src/Codeception/Lib/Connector/Yii2/ConnectionWatcher.php | vendor/codeception/module-yii2/src/Codeception/Lib/Connector/Yii2/ConnectionWatcher.php | <?php
namespace Codeception\Lib\Connector\Yii2;
use yii\base\Event;
use yii\db\Connection;
/**
* Class ConnectionWatcher
* This class will watch for new database connection and store a reference to the connection object.
* @package Codeception\Lib\Connector\Yii2
*/
class ConnectionWatcher
{
private $handler... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/codeception/module-yii2/src/Codeception/Lib/Connector/Yii2/TestMailer.php | vendor/codeception/module-yii2/src/Codeception/Lib/Connector/Yii2/TestMailer.php | <?php
namespace Codeception\Lib\Connector\Yii2;
use yii\mail\BaseMailer;
class TestMailer extends BaseMailer
{
public $messageClass = \yii\swiftmailer\Message::class;
/**
* @var \Closure
*/
public $callback;
protected function sendMessage($message)
{
call_user_func($this->callb... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/codeception/module-yii2/src/Codeception/Lib/Connector/Yii2/Logger.php | vendor/codeception/module-yii2/src/Codeception/Lib/Connector/Yii2/Logger.php | <?php
namespace Codeception\Lib\Connector\Yii2;
use Codeception\Util\Debug;
class Logger extends \yii\log\Logger
{
public function init()
{
// overridden to prevent register_shutdown_function
}
public function log($message, $level, $category = 'application')
{
if (!in_array($level... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/codeception/module-filesystem/src/Codeception/Module/Filesystem.php | vendor/codeception/module-filesystem/src/Codeception/Module/Filesystem.php | <?php
namespace Codeception\Module;
use Codeception\Util\FileSystem as Util;
use Symfony\Component\Finder\Finder;
use Codeception\Module as CodeceptionModule;
use Codeception\TestInterface;
use Codeception\Configuration;
/**
* Module for testing local filesystem.
* Fork it to extend the module for FTP, Amazon S3, o... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/codeception/stub/RoboFile.php | vendor/codeception/stub/RoboFile.php | <?php
require_once 'vendor/autoload.php';
/**
* This is project's console commands configuration for Robo task runner.
*
* @see http://robo.li/
*/
class RoboFile extends \Robo\Tasks
{
protected $docs = [
'docs/Stub.md' => 'Codeception\Stub',
'docs/Expected.md' => 'Codeception\Stub\Expected',
... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/codeception/stub/src/Stub.php | vendor/codeception/stub/src/Stub.php | <?php
namespace Codeception;
use Codeception\Stub\ConsecutiveMap;
use Codeception\Stub\StubMarshaler;
use PHPUnit\Framework\MockObject\Generator;
use PHPUnit\Framework\MockObject\Rule\AnyInvokedCount;
use PHPUnit\Framework\MockObject\Stub\ConsecutiveCalls;
use PHPUnit\Framework\MockObject\Stub\ReturnCallback;
use PHPU... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/codeception/stub/src/Test/Feature/Stub.php | vendor/codeception/stub/src/Test/Feature/Stub.php | <?php
namespace Codeception\Test\Feature;
/**
* ### Usage in Codeception
*
* Since Codeception 2.3.8 this trait is enabled in `\Codeception\Test\Unit` class.
*
* ### Usage in PHPUnit
*
* Include this trait into a TestCase to be able to use Stubs and Mocks:
*
* ```php
* <?php
* class MyTest extends \PHPUnit... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/codeception/stub/src/Stub/ConsecutiveMap.php | vendor/codeception/stub/src/Stub/ConsecutiveMap.php | <?php
namespace Codeception\Stub;
/**
* Holds matcher and value of mocked method
*/
class ConsecutiveMap
{
private $consecutiveMap = [];
public function __construct(array $consecutiveMap)
{
$this->consecutiveMap = $consecutiveMap;
}
public function getMap()
{
return $this->co... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/codeception/stub/src/Stub/StubMarshaler.php | vendor/codeception/stub/src/Stub/StubMarshaler.php | <?php
namespace Codeception\Stub;
use PHPUnit\Framework\MockObject\Rule\InvocationOrder;
/**
* Holds matcher and value of mocked method
*/
class StubMarshaler
{
private $methodMatcher;
private $methodValue;
public function __construct(InvocationOrder $matcher, $value)
{
$this->methodMatch... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/codeception/stub/src/Stub/Expected.php | vendor/codeception/stub/src/Stub/Expected.php | <?php
namespace Codeception\Stub;
use PHPUnit\Framework\MockObject\Rule\InvokedAtLeastOnce;
use PHPUnit\Framework\MockObject\Rule\InvokedCount;
class Expected
{
/**
* Checks if a method never has been invoked
*
* If method invoked, it will immediately throw an
* exception.
*
* ```ph... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/codeception/stub/tests/ResetMocks.php | vendor/codeception/stub/tests/ResetMocks.php | <?php
trait ResetMocks
{
protected function resetMockObjects()
{
$refl = new ReflectionObject($this);
while (!$refl->hasProperty('mockObjects')) {
$refl = $refl->getParentClass();
}
$prop = $refl->getProperty('mockObjects');
$prop->setAccessible(true);
... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/codeception/stub/tests/StubTest.php | vendor/codeception/stub/tests/StubTest.php | <?php
require_once __DIR__ .'/ResetMocks.php';
use Codeception\Stub;
class StubTest extends \PHPUnit\Framework\TestCase
{
use ResetMocks;
/**
* @var DummyClass
*/
protected $dummy;
public function setUp(): void
{
require_once $file = __DIR__. '/_data/DummyOverloadableClass.php';
... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/codeception/stub/tests/StubTraitTest.php | vendor/codeception/stub/tests/StubTraitTest.php | <?php
require_once __DIR__ .'/ResetMocks.php';
class StubTraitTest extends \PHPUnit\Framework\TestCase
{
use ResetMocks;
use \Codeception\Test\Feature\Stub;
/**
* @var DummyClass
*/
protected $dummy;
public function setUp(): void
{
require_once $file = __DIR__. '/_data/DummyO... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/codeception/stub/tests/_data/DummyOverloadableClass.php | vendor/codeception/stub/tests/_data/DummyOverloadableClass.php | <?php
class DummyOverloadableClass
{
protected $checkMe = 1;
protected $properties = array('checkMeToo' => 1);
function __construct($checkMe = 1)
{
$this->checkMe = "constructed: ".$checkMe;
}
public function helloWorld() {
return "hello";
}
public function goodByeWor... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/codeception/stub/tests/_data/DummyClass.php | vendor/codeception/stub/tests/_data/DummyClass.php | <?php
class DummyClass
{
protected $checkMe = 1;
protected $properties = array('checkMeToo' => 1);
function __construct($checkMe = 1)
{
$this->checkMe = "constructed: ".$checkMe;
}
public function helloWorld() {
return "hello";
}
public function goodByeWorld() {
... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/codeception/specify/RoboFile.php | vendor/codeception/specify/RoboFile.php | <?php
require_once __DIR__.'/vendor/autoload.php';
class Robofile extends \Robo\Tasks
{
public function release()
{
$this->test();
$version = file_get_contents('VERSION');
$this->docs();
// create GitHub release
$this->taskGitHubRelease($version)
-... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/codeception/specify/src/Codeception/Specify.php | vendor/codeception/specify/src/Codeception/Specify.php | <?php
namespace Codeception;
use Codeception\Specify\Config;
use Codeception\Specify\ConfigBuilder;
use Codeception\Specify\ObjectProperty;
trait Specify
{
private $beforeSpecify = array();
private $afterSpecify = array();
/**
* @var Specify\Config
*/
private $specifyConfig;
/**
... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/codeception/specify/src/Codeception/Specify/ObjectProperty.php | vendor/codeception/specify/src/Codeception/Specify/ObjectProperty.php | <?php
namespace Codeception\Specify;
/**
* Helper for manipulating by an object property.
*
* @author Roman Ishchenko <roman@ishchenko.ck.ua>
*/
class ObjectProperty
{
/**
* @var mixed
*/
private $_owner;
/**
* @var \ReflectionProperty|string
*/
private $_property;
/**
... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/codeception/specify/src/Codeception/Specify/Config.php | vendor/codeception/specify/src/Codeception/Specify/Config.php | <?php
namespace Codeception\Specify;
/**
* Global Specify configuration. Should be set in bootstrap.
*
* ```php
* <?php
* // disable deep cloning of properties inside specify block
* \Codeception\Specify\Config::setDeepClone(false);
* ?>
* ```
*/
class Config
{
protected static $ignoredClasses = [
... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/codeception/specify/src/Codeception/Specify/ConfigBuilder.php | vendor/codeception/specify/src/Codeception/Specify/ConfigBuilder.php | <?php
namespace Codeception\Specify;
/**
* Configure Specify usage.
*
* Specify copies properties of object and restores them for each specify block.
* Objects can be cloned deeply or using standard `clone` operator.
* Specify can be configured to prevent specific properties in specify blocks, to choose default c... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/codeception/specify/tests/ObjectPropertyTest.php | vendor/codeception/specify/tests/ObjectPropertyTest.php | <?php
class ObjectPropertyTest extends \SpecifyUnitTest
{
private $private = 'private';
public function testConstruction()
{
$this->prop = 'test';
$prop = new \Codeception\Specify\ObjectProperty($this, 'prop');
$this->assertEquals('prop', $prop->getName());
$this->assertE... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/codeception/specify/tests/SpecifyTest.php | vendor/codeception/specify/tests/SpecifyTest.php | <?php
class SpecifyTest extends \SpecifyUnitTest
{
protected $user;
protected $a;
private $private = false;
public function testSpecification()
{
$this->user = new stdClass();
$this->user->name = 'davert';
$this->specify("i can change my name", function() {
$thi... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/codeception/specify/tests/_bootstrap.php | vendor/codeception/specify/tests/_bootstrap.php | <?php
require_once __DIR__.'/../vendor/autoload.php';
require_once __DIR__ . '/_support/SpecifyUnitTest.php';
| php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/codeception/specify/tests/ConfigTest.php | vendor/codeception/specify/tests/ConfigTest.php | <?php
class ConfigTest extends \SpecifyUnitTest
{
/**
* @var \Codeception\Specify\Config
*/
protected $config;
protected function setUp()
{
$this->config = \Codeception\Specify\Config::create();
}
public function testDefaults()
{
$this->assertTrue($this->config->... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/codeception/specify/tests/_support/SpecifyUnitTest.php | vendor/codeception/specify/tests/_support/SpecifyUnitTest.php | <?php
class SpecifyUnitTest extends \PHPUnit_Framework_TestCase
{
use Codeception\Specify;
private $private = true;
/**
* @param mixed $private
*/
protected function setPrivateProperty($private)
{
$this->private = $private;
}
/**
* @return mixed
*/
protecte... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/codeception/codeception/app.php | vendor/codeception/codeception/app.php | <?php
require_once __DIR__ . '/autoload.php';
use Codeception\Application;
call_user_func(static function () {
$app = new Application('Codeception', Codeception\Codecept::VERSION);
$app->add(new Codeception\Command\Build('build'));
$app->add(new Codeception\Command\Run('run'));
$app->add(new Codecept... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/codeception/codeception/autoload.php | vendor/codeception/codeception/autoload.php | <?php
$autoloadFile = './vendor/codeception/codeception/autoload.php';
if (( !isset($argv) || (isset($argv) && !in_array('--no-redirect', $argv)) ) && file_exists('./vendor/autoload.php') && file_exists($autoloadFile) && __FILE__ != realpath($autoloadFile)) {
//for global installation or phar file
fwrite(
... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/codeception/codeception/shim.php | vendor/codeception/codeception/shim.php | <?php
// @codingStandardsIgnoreStart
namespace {
\Codeception\PHPUnit\Init::init();
}
namespace Symfony\Component\CssSelector {
if (!class_exists('Symfony\Component\CssSelector\CssSelectorConverter')) {
class CssSelectorConverter {
function toXPath($cssExpr, $prefix = 'descendant-or-self::... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/codeception/codeception/src/Codeception/Extension.php | vendor/codeception/codeception/src/Codeception/Extension.php | <?php
namespace Codeception;
use Codeception\Configuration as Config;
use Codeception\Event\SuiteEvent;
use Codeception\Exception\ModuleRequireException;
use Codeception\Lib\Console\Output;
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
/**
* A base class for all Codeception Extensions and GroupObje... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/codeception/codeception/src/Codeception/SuiteManager.php | vendor/codeception/codeception/src/Codeception/SuiteManager.php | <?php
namespace Codeception;
use Codeception\Event\DispatcherWrapper;
use Codeception\Lib\Di;
use Codeception\Lib\GroupManager;
use Codeception\Lib\ModuleContainer;
use Codeception\Lib\Notification;
use Codeception\Test\Interfaces\ScenarioDriven;
use Codeception\Test\Loader;
use Codeception\Test\Descriptor;
use Symfon... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/codeception/codeception/src/Codeception/GroupObject.php | vendor/codeception/codeception/src/Codeception/GroupObject.php | <?php
namespace Codeception;
use Codeception\Event\TestEvent;
abstract class GroupObject extends Extension
{
public static $group;
public function _before(TestEvent $e)
{
}
public function _after(TestEvent $e)
{
}
public static function getSubscribedEvents()
{
$inherited... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/codeception/codeception/src/Codeception/Events.php | vendor/codeception/codeception/src/Codeception/Events.php | <?php
namespace Codeception;
/**
* Contains all events dispatched by Codeception.
*
* @author tiger-seo <tiger.seo@gmail.com>
*/
final class Events
{
/**
* Private constructor. This class cannot be instantiated.
*/
private function __construct()
{
}
/**
* The <b>MODULE_INIT</b> ... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/codeception/codeception/src/Codeception/TestInterface.php | vendor/codeception/codeception/src/Codeception/TestInterface.php | <?php
namespace Codeception;
use Codeception\Test\Metadata;
interface TestInterface extends \PHPUnit\Framework\Test
{
/**
* @return Metadata
*/
public function getMetadata();
}
| php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/codeception/codeception/src/Codeception/Snapshot.php | vendor/codeception/codeception/src/Codeception/Snapshot.php | <?php
namespace Codeception;
use Codeception\Exception\ContentNotFound;
use Codeception\Util\Debug;
use Codeception\Util\Shared\Asserts;
use PHPUnit\Framework\AssertionFailedError;
abstract class Snapshot
{
use Asserts;
protected $fileName;
protected $dataSet;
protected $refresh;
protected $s... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/codeception/codeception/src/Codeception/Codecept.php | vendor/codeception/codeception/src/Codeception/Codecept.php | <?php
namespace Codeception;
use Codeception\Event\DispatcherWrapper;
use Codeception\Exception\ConfigurationException;
use Codeception\Subscriber\ExtensionLoader;
use Symfony\Component\EventDispatcher\EventDispatcher;
class Codecept
{
use DispatcherWrapper;
const VERSION = '4.1.18';
/**
* @var \Co... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/codeception/codeception/src/Codeception/Step.php | vendor/codeception/codeception/src/Codeception/Step.php | <?php
namespace Codeception;
use Codeception\Lib\ModuleContainer;
use Codeception\Step\Argument\FormattedOutput;
use Codeception\Step\Meta as MetaStep;
use Codeception\Util\Locator;
use PHPUnit\Framework\MockObject\MockObject;
abstract class Step
{
const DEFAULT_MAX_LENGTH = 200;
const STACK_POSITION = 3;
... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/codeception/codeception/src/Codeception/Module.php | vendor/codeception/codeception/src/Codeception/Module.php | <?php
namespace Codeception;
use Codeception\Exception\ModuleException;
use Codeception\Lib\Interfaces\RequiresPackage;
use Codeception\Lib\ModuleContainer;
use Codeception\Util\Shared\Asserts;
/**
* Basic class for Modules and Helpers.
* You must extend from it while implementing own helpers.
*
* Public methods... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/codeception/codeception/src/Codeception/Suite.php | vendor/codeception/codeception/src/Codeception/Suite.php | <?php
namespace Codeception;
use Codeception\Test\Descriptor;
use Codeception\Test\Interfaces\Dependent;
class Suite extends \PHPUnit\Framework\TestSuite
{
protected $modules;
protected $baseName;
public function reorderDependencies()
{
$tests = [];
foreach ($this->tests as $test) {
... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/codeception/codeception/src/Codeception/Application.php | vendor/codeception/codeception/src/Codeception/Application.php | <?php
namespace Codeception;
use Codeception\Exception\ConfigurationException;
use Symfony\Component\Console\Application as BaseApplication;
use Symfony\Component\Console\Input\InputDefinition;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\C... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/codeception/codeception/src/Codeception/InitTemplate.php | vendor/codeception/codeception/src/Codeception/InitTemplate.php | <?php
namespace Codeception;
use Codeception\Command\Shared\FileSystem;
use Codeception\Command\Shared\Style;
use Codeception\Lib\ModuleContainer;
use Symfony\Component\Console\Helper\QuestionHelper;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use Symfony\... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/codeception/codeception/src/Codeception/Example.php | vendor/codeception/codeception/src/Codeception/Example.php | <?php
namespace Codeception;
use Traversable;
class Example implements \ArrayAccess, \Countable, \IteratorAggregate
{
protected $data;
public function __construct($data)
{
$this->data = $data;
}
/**
* Whether a offset exists
* @link http://php.net/manual/en/arrayaccess.offsetex... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/codeception/codeception/src/Codeception/Configuration.php | vendor/codeception/codeception/src/Codeception/Configuration.php | <?php
namespace Codeception;
use Codeception\Exception\ConfigurationException;
use Codeception\Lib\Notification;
use Codeception\Lib\ParamsLoader;
use Codeception\Util\Autoload;
use Codeception\Util\Template;
use Symfony\Component\Finder\Finder;
use Symfony\Component\Finder\SplFileInfo;
use Symfony\Component\Yaml\Exc... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/codeception/codeception/src/Codeception/CustomCommandInterface.php | vendor/codeception/codeception/src/Codeception/CustomCommandInterface.php | <?php
namespace Codeception;
interface CustomCommandInterface
{
/**
* returns the name of the command
*
* @return string
*/
public static function getCommandName();
}
| php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/codeception/codeception/src/Codeception/Scenario.php | vendor/codeception/codeception/src/Codeception/Scenario.php | <?php
namespace Codeception;
use Codeception\Event\DispatcherWrapper;
use Codeception\Event\StepEvent;
use Codeception\Exception\ConditionalAssertionFailed;
use Codeception\Test\Metadata;
class Scenario
{
use DispatcherWrapper;
/**
* @var TestInterface
*/
protected $test;
/**
* @var Me... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/codeception/codeception/src/Codeception/Actor.php | vendor/codeception/codeception/src/Codeception/Actor.php | <?php
namespace Codeception;
use Codeception\Lib\Actor\Shared\Comment;
use Codeception\Step\Executor;
use Codeception\Lib\Actor\Shared\Pause;
abstract class Actor
{
use Comment;
use Pause;
/**
* @var \Codeception\Scenario
*/
protected $scenario;
public function __construct(Scenario $sc... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/codeception/codeception/src/Codeception/Event/StepEvent.php | vendor/codeception/codeception/src/Codeception/Event/StepEvent.php | <?php
namespace Codeception\Event;
use Codeception\Step;
use Codeception\TestInterface;
use Symfony\Component\EventDispatcher\Event;
class StepEvent extends Event
{
/**
* @var Step
*/
protected $step;
/**
* @var TestInterface
*/
protected $test;
public function __construct(Te... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/codeception/codeception/src/Codeception/Event/FailEvent.php | vendor/codeception/codeception/src/Codeception/Event/FailEvent.php | <?php
namespace Codeception\Event;
class FailEvent extends TestEvent
{
/**
* @var \Exception
*/
protected $fail;
/**
* @var int
*/
protected $count;
public function __construct(\PHPUnit\Framework\Test $test, $time, $e, $count = 0)
{
parent::__construct($test, $time... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/codeception/codeception/src/Codeception/Event/PrintResultEvent.php | vendor/codeception/codeception/src/Codeception/Event/PrintResultEvent.php | <?php
namespace Codeception\Event;
use Symfony\Component\EventDispatcher\Event;
class PrintResultEvent extends Event
{
/**
* @var \PHPUnit\Framework\TestResult
*/
protected $result;
/**
* @var \PHPUnit\Util\Printer
*/
protected $printer;
public function __construct(\PHPUnit\F... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/codeception/codeception/src/Codeception/Event/DispatcherWrapper.php | vendor/codeception/codeception/src/Codeception/Event/DispatcherWrapper.php | <?php
namespace Codeception\Event;
use Symfony\Component\EventDispatcher\Event;
use Symfony\Component\EventDispatcher\EventDispatcher;
use Symfony\Contracts\EventDispatcher\EventDispatcherInterface as ContractsEventDispatcherInterface;
trait DispatcherWrapper
{
/**
* Compatibility wrapper for dispatcher cha... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/codeception/codeception/src/Codeception/Event/TestEvent.php | vendor/codeception/codeception/src/Codeception/Event/TestEvent.php | <?php
namespace Codeception\Event;
use Symfony\Component\EventDispatcher\Event;
class TestEvent extends Event
{
/**
* @var \PHPUnit\Framework\Test
*/
protected $test;
/**
* @var float Time taken
*/
protected $time;
public function __construct(\PHPUnit\Framework\Test $test, $t... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/codeception/codeception/src/Codeception/Event/SuiteEvent.php | vendor/codeception/codeception/src/Codeception/Event/SuiteEvent.php | <?php
namespace Codeception\Event;
use Codeception\Suite;
use Symfony\Component\EventDispatcher\Event;
class SuiteEvent extends Event
{
/**
* @var \PHPUnit\Framework\TestSuite
*/
protected $suite;
/**
* @var \PHPUnit\Framework\TestResult
*/
protected $result;
/**
* @var ... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/codeception/codeception/src/Codeception/Subscriber/Console.php | vendor/codeception/codeception/src/Codeception/Subscriber/Console.php | <?php
namespace Codeception\Subscriber;
use Codeception\Event\FailEvent;
use Codeception\Event\PrintResultEvent;
use Codeception\Event\StepEvent;
use Codeception\Event\SuiteEvent;
use Codeception\Event\TestEvent;
use Codeception\Events;
use Codeception\Lib\Console\Message;
use Codeception\Lib\Console\MessageFactory;
u... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/codeception/codeception/src/Codeception/Subscriber/ExtensionLoader.php | vendor/codeception/codeception/src/Codeception/Subscriber/ExtensionLoader.php | <?php
namespace Codeception\Subscriber;
use Codeception\Configuration;
use Codeception\Event\SuiteEvent;
use Codeception\Events;
use Codeception\Exception\ConfigurationException;
use Symfony\Component\EventDispatcher\EventDispatcher;
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
class ExtensionLoade... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/codeception/codeception/src/Codeception/Subscriber/Dependencies.php | vendor/codeception/codeception/src/Codeception/Subscriber/Dependencies.php | <?php
namespace Codeception\Subscriber;
use Codeception\Event\TestEvent;
use Codeception\Test\Descriptor;
use Codeception\Test\Interfaces\Dependent;
use Codeception\TestInterface;
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
use Codeception\Events;
class Dependencies implements EventSubscriberInter... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/codeception/codeception/src/Codeception/Subscriber/Bootstrap.php | vendor/codeception/codeception/src/Codeception/Subscriber/Bootstrap.php | <?php
namespace Codeception\Subscriber;
use Codeception\Configuration;
use Codeception\Event\SuiteEvent;
use Codeception\Events;
use Codeception\Exception\ConfigurationException;
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
class Bootstrap implements EventSubscriberInterface
{
use Shared\Static... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/codeception/codeception/src/Codeception/Subscriber/BeforeAfterTest.php | vendor/codeception/codeception/src/Codeception/Subscriber/BeforeAfterTest.php | <?php
namespace Codeception\Subscriber;
use Codeception\Event\SuiteEvent;
use Codeception\Events;
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
class BeforeAfterTest implements EventSubscriberInterface
{
use Shared\StaticEvents;
public static $events = [
Events::SUITE_BEFORE => 'bef... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/codeception/codeception/src/Codeception/Subscriber/Module.php | vendor/codeception/codeception/src/Codeception/Subscriber/Module.php | <?php
namespace Codeception\Subscriber;
use Codeception\Event\FailEvent;
use Codeception\Event\StepEvent;
use Codeception\Event\SuiteEvent;
use Codeception\Event\TestEvent;
use Codeception\Events;
use Codeception\Suite;
use Codeception\TestInterface;
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
cla... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/codeception/codeception/src/Codeception/Subscriber/ErrorHandler.php | vendor/codeception/codeception/src/Codeception/Subscriber/ErrorHandler.php | <?php
namespace Codeception\Subscriber;
use Codeception\Event\SuiteEvent;
use Codeception\Events;
use Codeception\Lib\Notification;
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
class ErrorHandler implements EventSubscriberInterface
{
use Shared\StaticEvents;
public static $events = [
... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/codeception/codeception/src/Codeception/Subscriber/FailFast.php | vendor/codeception/codeception/src/Codeception/Subscriber/FailFast.php | <?php
namespace Codeception\Subscriber;
use Codeception\Event\SuiteEvent;
use Codeception\Events;
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
class FailFast implements EventSubscriberInterface
{
use Shared\StaticEvents;
public static $events = [
Events::SUITE_BEFORE => 'stopOnFail... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/codeception/codeception/src/Codeception/Subscriber/AutoRebuild.php | vendor/codeception/codeception/src/Codeception/Subscriber/AutoRebuild.php | <?php
namespace Codeception\Subscriber;
use Codeception\Configuration;
use Codeception\Event\SuiteEvent;
use Codeception\Events;
use Codeception\Lib\Generator\Actions;
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
class AutoRebuild implements EventSubscriberInterface
{
use Shared\StaticEvents;
... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/codeception/codeception/src/Codeception/Subscriber/GracefulTermination.php | vendor/codeception/codeception/src/Codeception/Subscriber/GracefulTermination.php | <?php
declare (ticks = 1);
namespace Codeception\Subscriber;
use Codeception\Event\SuiteEvent;
use Codeception\Events;
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
class GracefulTermination implements EventSubscriberInterface
{
const SIGNAL_FUNC = 'pcntl_signal';
const ASYNC_SIGNAL_HANDLING... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/codeception/codeception/src/Codeception/Subscriber/PrepareTest.php | vendor/codeception/codeception/src/Codeception/Subscriber/PrepareTest.php | <?php
namespace Codeception\Subscriber;
use Codeception\Event\TestEvent;
use Codeception\Events;
use Codeception\Lib\Di;
use Codeception\Test\Cest;
use Codeception\Test\Unit;
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
class PrepareTest implements EventSubscriberInterface
{
use Shared\StaticE... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/codeception/codeception/src/Codeception/Subscriber/Shared/StaticEvents.php | vendor/codeception/codeception/src/Codeception/Subscriber/Shared/StaticEvents.php | <?php
namespace Codeception\Subscriber\Shared;
trait StaticEvents
{
public static function getSubscribedEvents()
{
return static::$events;
}
}
| php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/codeception/codeception/src/Codeception/Template/Api.php | vendor/codeception/codeception/src/Codeception/Template/Api.php | <?php
namespace Codeception\Template;
use Codeception\InitTemplate;
use Codeception\Util\Template;
use Symfony\Component\Yaml\Yaml;
class Api extends InitTemplate
{
protected $configTemplate = <<<EOF
# suite config
suites:
api:
actor: ApiTester
path: .
modules:
enabled:
... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/codeception/codeception/src/Codeception/Template/Bootstrap.php | vendor/codeception/codeception/src/Codeception/Template/Bootstrap.php | <?php
namespace Codeception\Template;
use Codeception\InitTemplate;
use Symfony\Component\Yaml\Yaml;
class Bootstrap extends InitTemplate
{
// defaults
protected $supportDir = 'tests/_support';
protected $outputDir = 'tests/_output';
protected $dataDir = 'tests/_data';
protected $envsDir = 'tests... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/codeception/codeception/src/Codeception/Template/Unit.php | vendor/codeception/codeception/src/Codeception/Template/Unit.php | <?php
namespace Codeception\Template;
use Codeception\InitTemplate;
use Codeception\Util\Template;
use Symfony\Component\Yaml\Yaml;
class Unit extends InitTemplate
{
protected $configTemplate = <<<EOF
suites:
unit:
path: .
{{tester}}
settings:
shuffle: true
lint: true
paths:
tests: {{dir}... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/codeception/codeception/src/Codeception/Template/Upgrade4.php | vendor/codeception/codeception/src/Codeception/Template/Upgrade4.php | <?php
namespace Codeception\Template;
use Codeception\Configuration;
use Codeception\InitTemplate;
class Upgrade4 extends InitTemplate
{
const SURVEY_LINK = 'http://bit.ly/codecept-survey';
const DONATE_LINK = 'https://opencollective.com/codeception';
public function setup()
{
if (!$this->isI... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/codeception/codeception/src/Codeception/Template/Acceptance.php | vendor/codeception/codeception/src/Codeception/Template/Acceptance.php | <?php
namespace Codeception\Template;
use Codeception\InitTemplate;
use Codeception\Util\Template;
use Symfony\Component\Yaml\Yaml;
class Acceptance extends InitTemplate
{
protected $configTemplate = <<<EOF
# suite config
suites:
acceptance:
actor: AcceptanceTester
path: .
modules:
... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/codeception/codeception/src/Codeception/Test/Loader.php | vendor/codeception/codeception/src/Codeception/Test/Loader.php | <?php
namespace Codeception\Test;
use Codeception\Test\Loader\Cept as CeptLoader;
use Codeception\Test\Loader\Cest as CestLoader;
use Codeception\Test\Loader\Unit as UnitLoader;
use Codeception\Test\Loader\Gherkin as GherkinLoader;
use Symfony\Component\Finder\Finder;
/**
* Loads all Codeception supported test forma... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/codeception/codeception/src/Codeception/Test/Descriptor.php | vendor/codeception/codeception/src/Codeception/Test/Descriptor.php | <?php
namespace Codeception\Test;
use Codeception\Test\Interfaces\Descriptive;
use Codeception\Test\Interfaces\Plain;
use Codeception\Util\ReflectionHelper;
class Descriptor
{
/**
* Provides a test name which can be located by
*
* @param \PHPUnit\Framework\SelfDescribing $testCase
* @return st... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/codeception/codeception/src/Codeception/Test/Metadata.php | vendor/codeception/codeception/src/Codeception/Test/Metadata.php | <?php
namespace Codeception\Test;
use Codeception\Exception\InjectionException;
use Codeception\Util\Annotation;
class Metadata
{
protected $name;
protected $filename;
protected $feature;
protected $index;
protected $params = [
'env' => [],
'group' => [],
'depends' => [],
... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/codeception/codeception/src/Codeception/Test/Test.php | vendor/codeception/codeception/src/Codeception/Test/Test.php | <?php
namespace Codeception\Test;
use Codeception\TestInterface;
use Codeception\Util\ReflectionHelper;
use SebastianBergmann\Timer\Duration;
use SebastianBergmann\Timer\Timer;
/**
* The most simple testcase (with only one test in it) which can be executed by PHPUnit/Codeception.
* It can be extended with included ... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/codeception/codeception/src/Codeception/Test/Gherkin.php | vendor/codeception/codeception/src/Codeception/Test/Gherkin.php | <?php
namespace Codeception\Test;
use Behat\Gherkin\Node\FeatureNode;
use Behat\Gherkin\Node\ScenarioNode;
use Behat\Gherkin\Node\ScenarioInterface;
use Behat\Gherkin\Node\StepNode;
use Behat\Gherkin\Node\TableNode;
use Codeception\Lib\Di;
use Codeception\Lib\Generator\GherkinSnippets;
use Codeception\Scenario;
use Co... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/codeception/codeception/src/Codeception/Test/Unit.php | vendor/codeception/codeception/src/Codeception/Test/Unit.php | <?php
namespace Codeception\Test;
use Codeception\Configuration;
use Codeception\Exception\ModuleException;
use Codeception\Lib\Di;
use Codeception\Lib\Notification;
use Codeception\Scenario;
use Codeception\TestInterface;
/**
* Represents tests from PHPUnit compatible format.
*/
class Unit extends \Codeception\PHP... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
leadshop/leadshop | https://github.com/leadshop/leadshop/blob/5b533ee074d48dae356e32ca306e49a770b56750/vendor/codeception/codeception/src/Codeception/Test/Cest.php | vendor/codeception/codeception/src/Codeception/Test/Cest.php | <?php
namespace Codeception\Test;
use Codeception\Example;
use Codeception\Lib\Console\Message;
use Codeception\Lib\Parser;
use Codeception\Step\Comment;
use Codeception\Util\Annotation;
use Codeception\Util\ReflectionHelper;
/**
* Executes tests delivered in Cest format.
*
* Handles loading of Cest cases, executi... | php | Apache-2.0 | 5b533ee074d48dae356e32ca306e49a770b56750 | 2026-01-05T02:19:53.911414Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.