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 |
|---|---|---|---|---|---|---|---|---|
eloquent/phony | https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/suite/Assertion/Exception/AssertionExceptionTest.php | test/suite/Assertion/Exception/AssertionExceptionTest.php | <?php
declare(strict_types=1);
namespace Eloquent\Phony\Assertion\Exception;
use Eloquent\Phony as TestNamespace;
use Eloquent\Phony\ClassA;
use Eloquent\Phony\ClassB;
use PHPUnit\Framework\TestCase;
class AssertionExceptionTest extends TestCase
{
public function testException()
{
$message = 'messag... | php | MIT | 3d093d78e83fa5066559854505f01b6ea19af12e | 2026-01-05T02:35:49.024953Z | false |
eloquent/phony | https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/suite/Mock/MockGeneratorTest.php | test/suite/Mock/MockGeneratorTest.php | <?php
declare(strict_types=1);
namespace Eloquent\Phony\Mock;
use AllowDynamicProperties;
use Countable;
use Eloquent\Phony\Mock\Builder\MockDefinition;
use Eloquent\Phony\Reflection\FeatureDetector;
use Eloquent\Phony\Sequencer\Sequencer;
use Eloquent\Phony\Test\Facade\FacadeContainer;
use Eloquent\Phony\Test\TestC... | php | MIT | 3d093d78e83fa5066559854505f01b6ea19af12e | 2026-01-05T02:35:49.024953Z | false |
eloquent/phony | https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/suite/Mock/MockFactoryTest.php | test/suite/Mock/MockFactoryTest.php | <?php
declare(strict_types=1);
namespace Eloquent\Phony\Mock;
use AllowDynamicProperties;
use Eloquent\Phony\Mock\Exception\ClassExistsException;
use Eloquent\Phony\Mock\Exception\MockGenerationFailedException;
use Eloquent\Phony\Test\Facade\FacadeContainer;
use Eloquent\Phony\Test\TestClassA;
use Eloquent\Phony\Tes... | php | MIT | 3d093d78e83fa5066559854505f01b6ea19af12e | 2026-01-05T02:35:49.024953Z | false |
eloquent/phony | https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/suite/Mock/Handle/StaticHandleTest.php | test/suite/Mock/Handle/StaticHandleTest.php | <?php
declare(strict_types=1);
namespace Eloquent\Phony\Mock\Handle;
use AllowDynamicProperties;
use Eloquent\Phony\Assertion\Exception\AssertionException;
use Eloquent\Phony\Event\EventSequence;
use Eloquent\Phony\Mock\Exception\FinalMethodStubException;
use Eloquent\Phony\Mock\Exception\UndefinedMethodStubExceptio... | php | MIT | 3d093d78e83fa5066559854505f01b6ea19af12e | 2026-01-05T02:35:49.024953Z | false |
eloquent/phony | https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/suite/Mock/Handle/InstanceHandleTest.php | test/suite/Mock/Handle/InstanceHandleTest.php | <?php
declare(strict_types=1);
namespace Eloquent\Phony\Mock\Handle;
use AllowDynamicProperties;
use Eloquent\Phony\Assertion\Exception\AssertionException;
use Eloquent\Phony\Event\EventSequence;
use Eloquent\Phony\Mock\Exception\FinalMethodStubException;
use Eloquent\Phony\Mock\Exception\UndefinedMethodStubExceptio... | php | MIT | 3d093d78e83fa5066559854505f01b6ea19af12e | 2026-01-05T02:35:49.024953Z | false |
eloquent/phony | https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/suite/Mock/Handle/HandleFactoryTest.php | test/suite/Mock/Handle/HandleFactoryTest.php | <?php
declare(strict_types=1);
namespace Eloquent\Phony\Mock\Handle;
use AllowDynamicProperties;
use Countable;
use Eloquent\Phony\Mock\Exception\InvalidMockClassException;
use Eloquent\Phony\Mock\Exception\InvalidMockException;
use Eloquent\Phony\Mock\Exception\NonMockClassException;
use Eloquent\Phony\Stub\StubDat... | php | MIT | 3d093d78e83fa5066559854505f01b6ea19af12e | 2026-01-05T02:35:49.024953Z | false |
eloquent/phony | https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/suite/Mock/Builder/MockDefinitionTest.php | test/suite/Mock/Builder/MockDefinitionTest.php | <?php
declare(strict_types=1);
namespace Eloquent\Phony\Mock\Builder;
use AllowDynamicProperties;
use Countable;
use Eloquent\Phony\Mock\Builder\Method\CustomMethodDefinition;
use Eloquent\Phony\Mock\Builder\Method\MethodDefinitionCollection;
use Eloquent\Phony\Mock\Builder\Method\RealMethodDefinition;
use Eloquent\... | php | MIT | 3d093d78e83fa5066559854505f01b6ea19af12e | 2026-01-05T02:35:49.024953Z | false |
eloquent/phony | https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/suite/Mock/Builder/MockBuilderFactoryTest.php | test/suite/Mock/Builder/MockBuilderFactoryTest.php | <?php
declare(strict_types=1);
namespace Eloquent\Phony\Mock\Builder;
use AllowDynamicProperties;
use Eloquent\Phony\Test\Facade\FacadeContainer;
use Eloquent\Phony\Test\TestInterfaceA;
use Eloquent\Phony\Test\TestInterfaceB;
use PHPUnit\Framework\TestCase;
#[AllowDynamicProperties]
class MockBuilderFactoryTest ext... | php | MIT | 3d093d78e83fa5066559854505f01b6ea19af12e | 2026-01-05T02:35:49.024953Z | false |
eloquent/phony | https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/suite/Mock/Builder/MockBuilderTest.php | test/suite/Mock/Builder/MockBuilderTest.php | <?php
declare(strict_types=1);
namespace Eloquent\Phony\Mock\Builder;
use AllowDynamicProperties;
use ArrayIterator;
use ArrayObject;
use Countable;
use DateTime;
use DateTimeImmutable;
use DateTimeInterface;
use Eloquent\Phony\Mock\Exception\ClassExistsException;
use Eloquent\Phony\Mock\Exception\FinalClassExceptio... | php | MIT | 3d093d78e83fa5066559854505f01b6ea19af12e | 2026-01-05T02:35:49.024953Z | false |
eloquent/phony | https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/suite/Mock/Builder/Method/RealMethodDefinitionTest.php | test/suite/Mock/Builder/Method/RealMethodDefinitionTest.php | <?php
declare(strict_types=1);
namespace Eloquent\Phony\Mock\Builder\Method;
use AllowDynamicProperties;
use Eloquent\Phony\Test\TestClassA;
use Eloquent\Phony\Test\TestInterfaceA;
use PHPUnit\Framework\TestCase;
use ReflectionMethod;
#[AllowDynamicProperties]
class RealMethodDefinitionTest extends TestCase
{
p... | php | MIT | 3d093d78e83fa5066559854505f01b6ea19af12e | 2026-01-05T02:35:49.024953Z | false |
eloquent/phony | https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/suite/Mock/Builder/Method/MethodDefinitionCollectionTest.php | test/suite/Mock/Builder/Method/MethodDefinitionCollectionTest.php | <?php
declare(strict_types=1);
namespace Eloquent\Phony\Mock\Builder\Method;
use AllowDynamicProperties;
use Eloquent\Phony\Test\TestClassA;
use PHPUnit\Framework\TestCase;
use ReflectionFunction;
use ReflectionMethod;
#[AllowDynamicProperties]
class MethodDefinitionCollectionTest extends TestCase
{
protected f... | php | MIT | 3d093d78e83fa5066559854505f01b6ea19af12e | 2026-01-05T02:35:49.024953Z | false |
eloquent/phony | https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/suite/Mock/Builder/Method/CustomMethodDefinitionTest.php | test/suite/Mock/Builder/Method/CustomMethodDefinitionTest.php | <?php
declare(strict_types=1);
namespace Eloquent\Phony\Mock\Builder\Method;
use AllowDynamicProperties;
use PHPUnit\Framework\TestCase;
use ReflectionFunction;
#[AllowDynamicProperties]
class CustomMethodDefinitionTest extends TestCase
{
protected function setUp(): void
{
$this->isStatic = false;
... | php | MIT | 3d093d78e83fa5066559854505f01b6ea19af12e | 2026-01-05T02:35:49.024953Z | false |
eloquent/phony | https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/suite/Mock/Exception/AnonymousClassExceptionTest.php | test/suite/Mock/Exception/AnonymousClassExceptionTest.php | <?php
declare(strict_types=1);
namespace Eloquent\Phony\Mock\Exception;
use PHPUnit\Framework\TestCase;
class AnonymousClassExceptionTest extends TestCase
{
public function testException()
{
$exception = new AnonymousClassException();
$this->assertSame('Anonymous classes cannot be mocked.',... | php | MIT | 3d093d78e83fa5066559854505f01b6ea19af12e | 2026-01-05T02:35:49.024953Z | false |
eloquent/phony | https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/suite/Mock/Exception/InvalidMockClassExceptionTest.php | test/suite/Mock/Exception/InvalidMockClassExceptionTest.php | <?php
declare(strict_types=1);
namespace Eloquent\Phony\Mock\Exception;
use PHPUnit\Framework\TestCase;
class InvalidMockClassExceptionTest extends TestCase
{
public function testException()
{
$value = 111;
$exception = new InvalidMockClassException($value);
$this->assertSame($value... | php | MIT | 3d093d78e83fa5066559854505f01b6ea19af12e | 2026-01-05T02:35:49.024953Z | false |
eloquent/phony | https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/suite/Mock/Exception/ClassExistsExceptionTest.php | test/suite/Mock/Exception/ClassExistsExceptionTest.php | <?php
declare(strict_types=1);
namespace Eloquent\Phony\Mock\Exception;
use PHPUnit\Framework\TestCase;
class ClassExistsExceptionTest extends TestCase
{
public function testException()
{
$className = 'ClassName';
$exception = new ClassExistsException($className);
$this->assertSame(... | php | MIT | 3d093d78e83fa5066559854505f01b6ea19af12e | 2026-01-05T02:35:49.024953Z | false |
eloquent/phony | https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/suite/Mock/Exception/NonMockClassExceptionTest.php | test/suite/Mock/Exception/NonMockClassExceptionTest.php | <?php
declare(strict_types=1);
namespace Eloquent\Phony\Mock\Exception;
use Exception;
use PHPUnit\Framework\TestCase;
class NonMockClassExceptionTest extends TestCase
{
public function testException()
{
$className = 'ClassName';
$cause = new Exception();
$exception = new NonMockClas... | php | MIT | 3d093d78e83fa5066559854505f01b6ea19af12e | 2026-01-05T02:35:49.024953Z | false |
eloquent/phony | https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/suite/Mock/Exception/MultipleInheritanceExceptionTest.php | test/suite/Mock/Exception/MultipleInheritanceExceptionTest.php | <?php
declare(strict_types=1);
namespace Eloquent\Phony\Mock\Exception;
use PHPUnit\Framework\TestCase;
class MultipleInheritanceExceptionTest extends TestCase
{
public function testException()
{
$classNames = ['ClassNameA', 'ClassNameB', 'ClassNameC'];
$exception = new MultipleInheritanceEx... | php | MIT | 3d093d78e83fa5066559854505f01b6ea19af12e | 2026-01-05T02:35:49.024953Z | false |
eloquent/phony | https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/suite/Mock/Exception/InvalidMockExceptionTest.php | test/suite/Mock/Exception/InvalidMockExceptionTest.php | <?php
declare(strict_types=1);
namespace Eloquent\Phony\Mock\Exception;
use PHPUnit\Framework\TestCase;
class InvalidMockExceptionTest extends TestCase
{
public function testException()
{
$value = 111;
$exception = new InvalidMockException($value);
$this->assertSame($value, $excepti... | php | MIT | 3d093d78e83fa5066559854505f01b6ea19af12e | 2026-01-05T02:35:49.024953Z | false |
eloquent/phony | https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/suite/Mock/Exception/UndefinedMethodStubExceptionTest.php | test/suite/Mock/Exception/UndefinedMethodStubExceptionTest.php | <?php
declare(strict_types=1);
namespace Eloquent\Phony\Mock\Exception;
use PHPUnit\Framework\TestCase;
class UndefinedMethodStubExceptionTest extends TestCase
{
public function testException()
{
$className = 'ClassName';
$name = 'method';
$exception = new UndefinedMethodStubExceptio... | php | MIT | 3d093d78e83fa5066559854505f01b6ea19af12e | 2026-01-05T02:35:49.024953Z | false |
eloquent/phony | https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/suite/Mock/Exception/InvalidClassNameExceptionTest.php | test/suite/Mock/Exception/InvalidClassNameExceptionTest.php | <?php
declare(strict_types=1);
namespace Eloquent\Phony\Mock\Exception;
use PHPUnit\Framework\TestCase;
class InvalidClassNameExceptionTest extends TestCase
{
public function testException()
{
$className = '1';
$exception = new InvalidClassNameException($className);
$this->assertSam... | php | MIT | 3d093d78e83fa5066559854505f01b6ea19af12e | 2026-01-05T02:35:49.024953Z | false |
eloquent/phony | https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/suite/Mock/Exception/FinalMethodStubExceptionTest.php | test/suite/Mock/Exception/FinalMethodStubExceptionTest.php | <?php
declare(strict_types=1);
namespace Eloquent\Phony\Mock\Exception;
use PHPUnit\Framework\TestCase;
class FinalMethodStubExceptionTest extends TestCase
{
public function testException()
{
$className = 'ClassName';
$name = 'method';
$exception = new FinalMethodStubException($class... | php | MIT | 3d093d78e83fa5066559854505f01b6ea19af12e | 2026-01-05T02:35:49.024953Z | false |
eloquent/phony | https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/suite/Mock/Exception/FinalClassExceptionTest.php | test/suite/Mock/Exception/FinalClassExceptionTest.php | <?php
declare(strict_types=1);
namespace Eloquent\Phony\Mock\Exception;
use PHPUnit\Framework\TestCase;
class FinalClassExceptionTest extends TestCase
{
public function testException()
{
$className = 'ClassName';
$exception = new FinalClassException($className);
$this->assertSame($c... | php | MIT | 3d093d78e83fa5066559854505f01b6ea19af12e | 2026-01-05T02:35:49.024953Z | false |
eloquent/phony | https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/suite/Mock/Exception/InvalidTypeExceptionTest.php | test/suite/Mock/Exception/InvalidTypeExceptionTest.php | <?php
declare(strict_types=1);
namespace Eloquent\Phony\Mock\Exception;
use Exception;
use PHPUnit\Framework\TestCase;
class InvalidTypeExceptionTest extends TestCase
{
public function testException()
{
$type = null;
$cause = new Exception();
$exception = new InvalidTypeException($ty... | php | MIT | 3d093d78e83fa5066559854505f01b6ea19af12e | 2026-01-05T02:35:49.024953Z | false |
eloquent/phony | https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/suite/Mock/Exception/MockGenerationFailedExceptionTest.php | test/suite/Mock/Exception/MockGenerationFailedExceptionTest.php | <?php
declare(strict_types=1);
namespace Eloquent\Phony\Mock\Exception;
use AllowDynamicProperties;
use Eloquent\Phony\Mock\Builder\MockDefinition;
use Eloquent\Phony\Reflection\FeatureDetector;
use Exception;
use PHPUnit\Framework\TestCase;
#[AllowDynamicProperties]
class MockGenerationFailedExceptionTest extends ... | php | MIT | 3d093d78e83fa5066559854505f01b6ea19af12e | 2026-01-05T02:35:49.024953Z | false |
eloquent/phony | https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/suite/Mock/Exception/FinalizedMockExceptionTest.php | test/suite/Mock/Exception/FinalizedMockExceptionTest.php | <?php
declare(strict_types=1);
namespace Eloquent\Phony\Mock\Exception;
use PHPUnit\Framework\TestCase;
class FinalizedMockExceptionTest extends TestCase
{
public function testException()
{
$exception = new FinalizedMockException();
$this->assertSame('Unable to modify a finalized mock.', $e... | php | MIT | 3d093d78e83fa5066559854505f01b6ea19af12e | 2026-01-05T02:35:49.024953Z | false |
eloquent/phony | https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/suite/Mock/Exception/InvalidDefinitionExceptionTest.php | test/suite/Mock/Exception/InvalidDefinitionExceptionTest.php | <?php
declare(strict_types=1);
namespace Eloquent\Phony\Mock\Exception;
use PHPUnit\Framework\TestCase;
class InvalidDefinitionExceptionTest extends TestCase
{
public function testException()
{
$name = 111;
$value = 'value';
$exception = new InvalidDefinitionException($name, $value);... | php | MIT | 3d093d78e83fa5066559854505f01b6ea19af12e | 2026-01-05T02:35:49.024953Z | false |
eloquent/phony | https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/suite/Mock/Method/WrappedCustomMethodTest.php | test/suite/Mock/Method/WrappedCustomMethodTest.php | <?php
declare(strict_types=1);
namespace Eloquent\Phony\Mock\Method;
use AllowDynamicProperties;
use Eloquent\Phony\Invocation\Invoker;
use Eloquent\Phony\Test\Facade\FacadeContainer;
use Eloquent\Phony\Test\TestClassB;
use PHPUnit\Framework\TestCase;
use ReflectionMethod;
#[AllowDynamicProperties]
class WrappedCus... | php | MIT | 3d093d78e83fa5066559854505f01b6ea19af12e | 2026-01-05T02:35:49.024953Z | false |
eloquent/phony | https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/suite/Mock/Method/WrappedParentMethodTest.php | test/suite/Mock/Method/WrappedParentMethodTest.php | <?php
declare(strict_types=1);
namespace Eloquent\Phony\Mock\Method;
use AllowDynamicProperties;
use Eloquent\Phony\Test\Facade\FacadeContainer;
use Eloquent\Phony\Test\TestClassA;
use PHPUnit\Framework\TestCase;
use ReflectionMethod;
#[AllowDynamicProperties]
class WrappedParentMethodTest extends TestCase
{
pr... | php | MIT | 3d093d78e83fa5066559854505f01b6ea19af12e | 2026-01-05T02:35:49.024953Z | false |
eloquent/phony | https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/suite/Mock/Method/WrappedTraitMethodTest.php | test/suite/Mock/Method/WrappedTraitMethodTest.php | <?php
declare(strict_types=1);
namespace Eloquent\Phony\Mock\Method;
use AllowDynamicProperties;
use Eloquent\Phony\Test\Facade\FacadeContainer;
use Eloquent\Phony\Test\TestTraitA;
use PHPUnit\Framework\TestCase;
use ReflectionMethod;
#[AllowDynamicProperties]
class WrappedTraitMethodTest extends TestCase
{
pro... | php | MIT | 3d093d78e83fa5066559854505f01b6ea19af12e | 2026-01-05T02:35:49.024953Z | false |
eloquent/phony | https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/suite/Mock/Method/WrappedUncallableMethodTest.php | test/suite/Mock/Method/WrappedUncallableMethodTest.php | <?php
declare(strict_types=1);
namespace Eloquent\Phony\Mock\Method;
use AllowDynamicProperties;
use Eloquent\Phony\Test\Facade\FacadeContainer;
use Eloquent\Phony\Test\TestClassA;
use PHPUnit\Framework\TestCase;
use ReflectionMethod;
use RuntimeException;
#[AllowDynamicProperties]
class WrappedUncallableMethodTest... | php | MIT | 3d093d78e83fa5066559854505f01b6ea19af12e | 2026-01-05T02:35:49.024953Z | false |
eloquent/phony | https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/suite/Mock/Method/WrappedMagicMethodTest.php | test/suite/Mock/Method/WrappedMagicMethodTest.php | <?php
declare(strict_types=1);
namespace Eloquent\Phony\Mock\Method;
use AllowDynamicProperties;
use DateTime;
use Eloquent\Phony\Test\Facade\FacadeContainer;
use Eloquent\Phony\Test\TestClassB;
use PHPUnit\Framework\TestCase;
use ReflectionMethod;
use RuntimeException;
#[AllowDynamicProperties]
class WrappedMagicM... | php | MIT | 3d093d78e83fa5066559854505f01b6ea19af12e | 2026-01-05T02:35:49.024953Z | false |
eloquent/phony | https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/suite/Sequencer/SequencerTest.php | test/suite/Sequencer/SequencerTest.php | <?php
declare(strict_types=1);
namespace Eloquent\Phony\Sequencer;
use AllowDynamicProperties;
use PHPUnit\Framework\TestCase;
use ReflectionClass;
#[AllowDynamicProperties]
class SequencerTest extends TestCase
{
protected function setUp(): void
{
$this->subject = new Sequencer();
}
public ... | php | MIT | 3d093d78e83fa5066559854505f01b6ea19af12e | 2026-01-05T02:35:49.024953Z | false |
eloquent/phony | https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/suite/Difference/DifferenceEngineTest.php | test/suite/Difference/DifferenceEngineTest.php | <?php
declare(strict_types=1);
namespace Eloquent\Phony\Difference;
use AllowDynamicProperties;
use Eloquent\Phony\Test\Facade\FacadeContainer;
use PHPUnit\Framework\TestCase;
#[AllowDynamicProperties]
class DifferenceEngineTest extends TestCase
{
protected function setUp(): void
{
$this->container ... | php | MIT | 3d093d78e83fa5066559854505f01b6ea19af12e | 2026-01-05T02:35:49.024953Z | false |
eloquent/phony | https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/suite/Call/ArgumentsTest.php | test/suite/Call/ArgumentsTest.php | <?php
declare(strict_types=1);
namespace Eloquent\Phony\Call;
use AllowDynamicProperties;
use Eloquent\Phony\Call\Exception\UndefinedArgumentException;
use PHPUnit\Framework\TestCase;
#[AllowDynamicProperties]
class ArgumentsTest extends TestCase
{
protected function setUp(): void
{
$this->a = 'a';
... | php | MIT | 3d093d78e83fa5066559854505f01b6ea19af12e | 2026-01-05T02:35:49.024953Z | false |
eloquent/phony | https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/suite/Call/CallDataTest.php | test/suite/Call/CallDataTest.php | <?php
declare(strict_types=1);
namespace Eloquent\Phony\Call;
use AllowDynamicProperties;
use ArrayIterator;
use Eloquent\Phony\Call\Exception\UndefinedCallException;
use Eloquent\Phony\Call\Exception\UndefinedResponseException;
use Eloquent\Phony\Event\Exception\UndefinedEventException;
use Eloquent\Phony\Test\Gene... | php | MIT | 3d093d78e83fa5066559854505f01b6ea19af12e | 2026-01-05T02:35:49.024953Z | false |
eloquent/phony | https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/suite/Call/CallVerifierFactoryTest.php | test/suite/Call/CallVerifierFactoryTest.php | <?php
declare(strict_types=1);
namespace Eloquent\Phony\Call;
use AllowDynamicProperties;
use Eloquent\Phony\Test\Facade\FacadeContainer;
use PHPUnit\Framework\TestCase;
#[AllowDynamicProperties]
class CallVerifierFactoryTest extends TestCase
{
protected function setUp(): void
{
$this->container = F... | php | MIT | 3d093d78e83fa5066559854505f01b6ea19af12e | 2026-01-05T02:35:49.024953Z | false |
eloquent/phony | https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/suite/Call/CallVerifierTest.php | test/suite/Call/CallVerifierTest.php | <?php
declare(strict_types=1);
namespace Eloquent\Phony\Call;
use AllowDynamicProperties;
use Eloquent\Phony\Assertion\Exception\AssertionException;
use Eloquent\Phony\Call\Exception\UndefinedCallException;
use Eloquent\Phony\Event\EventSequence;
use Eloquent\Phony\Test\Facade\FacadeContainer;
use Eloquent\Phony\Tes... | php | MIT | 3d093d78e83fa5066559854505f01b6ea19af12e | 2026-01-05T02:35:49.024953Z | true |
eloquent/phony | https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/suite/Call/CallFactoryTest.php | test/suite/Call/CallFactoryTest.php | <?php
declare(strict_types=1);
namespace Eloquent\Phony\Call;
use AllowDynamicProperties;
use Eloquent\Phony\Call\Event\ReturnedEvent;
use Eloquent\Phony\Test\Facade\FacadeContainer;
use Eloquent\Phony\Test\TestCallEventFactory;
use Error;
use PHPUnit\Framework\TestCase;
use RuntimeException;
#[AllowDynamicProperti... | php | MIT | 3d093d78e83fa5066559854505f01b6ea19af12e | 2026-01-05T02:35:49.024953Z | false |
eloquent/phony | https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/suite/Call/Event/CalledEventTest.php | test/suite/Call/Event/CalledEventTest.php | <?php
declare(strict_types=1);
namespace Eloquent\Phony\Call\Event;
use AllowDynamicProperties;
use Eloquent\Phony\Call\Arguments;
use Eloquent\Phony\Test\TestCallFactory;
use PHPUnit\Framework\TestCase;
#[AllowDynamicProperties]
class CalledEventTest extends TestCase
{
protected function setUp(): void
{
... | php | MIT | 3d093d78e83fa5066559854505f01b6ea19af12e | 2026-01-05T02:35:49.024953Z | false |
eloquent/phony | https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/suite/Call/Event/ReturnedEventTest.php | test/suite/Call/Event/ReturnedEventTest.php | <?php
declare(strict_types=1);
namespace Eloquent\Phony\Call\Event;
use AllowDynamicProperties;
use Eloquent\Phony\Test\TestCallFactory;
use PHPUnit\Framework\TestCase;
#[AllowDynamicProperties]
class ReturnedEventTest extends TestCase
{
protected function setUp(): void
{
$this->sequenceNumber = 111... | php | MIT | 3d093d78e83fa5066559854505f01b6ea19af12e | 2026-01-05T02:35:49.024953Z | false |
eloquent/phony | https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/suite/Call/Event/ProducedEventTest.php | test/suite/Call/Event/ProducedEventTest.php | <?php
declare(strict_types=1);
namespace Eloquent\Phony\Call\Event;
use AllowDynamicProperties;
use Eloquent\Phony\Test\TestCallFactory;
use PHPUnit\Framework\TestCase;
#[AllowDynamicProperties]
class ProducedEventTest extends TestCase
{
protected function setUp(): void
{
$this->sequenceNumber = 111... | php | MIT | 3d093d78e83fa5066559854505f01b6ea19af12e | 2026-01-05T02:35:49.024953Z | false |
eloquent/phony | https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/suite/Call/Event/ReceivedExceptionEventTest.php | test/suite/Call/Event/ReceivedExceptionEventTest.php | <?php
declare(strict_types=1);
namespace Eloquent\Phony\Call\Event;
use AllowDynamicProperties;
use Eloquent\Phony\Test\TestCallFactory;
use Exception;
use PHPUnit\Framework\TestCase;
#[AllowDynamicProperties]
class ReceivedExceptionEventTest extends TestCase
{
protected function setUp(): void
{
$th... | php | MIT | 3d093d78e83fa5066559854505f01b6ea19af12e | 2026-01-05T02:35:49.024953Z | false |
eloquent/phony | https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/suite/Call/Event/ThrewEventTest.php | test/suite/Call/Event/ThrewEventTest.php | <?php
declare(strict_types=1);
namespace Eloquent\Phony\Call\Event;
use AllowDynamicProperties;
use Eloquent\Phony\Test\TestCallFactory;
use Exception;
use PHPUnit\Framework\TestCase;
#[AllowDynamicProperties]
class ThrewEventTest extends TestCase
{
protected function setUp(): void
{
$this->sequence... | php | MIT | 3d093d78e83fa5066559854505f01b6ea19af12e | 2026-01-05T02:35:49.024953Z | false |
eloquent/phony | https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/suite/Call/Event/ReceivedEventTest.php | test/suite/Call/Event/ReceivedEventTest.php | <?php
declare(strict_types=1);
namespace Eloquent\Phony\Call\Event;
use AllowDynamicProperties;
use Eloquent\Phony\Test\TestCallFactory;
use PHPUnit\Framework\TestCase;
#[AllowDynamicProperties]
class ReceivedEventTest extends TestCase
{
protected function setUp(): void
{
$this->sequenceNumber = 111... | php | MIT | 3d093d78e83fa5066559854505f01b6ea19af12e | 2026-01-05T02:35:49.024953Z | false |
eloquent/phony | https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/suite/Call/Event/CallEventFactoryTest.php | test/suite/Call/Event/CallEventFactoryTest.php | <?php
declare(strict_types=1);
namespace Eloquent\Phony\Call\Event;
use AllowDynamicProperties;
use Eloquent\Phony\Call\Arguments;
use Eloquent\Phony\Test\Facade\FacadeContainer;
use Eloquent\Phony\Test\TestClock;
use PHPUnit\Framework\TestCase;
use RuntimeException;
#[AllowDynamicProperties]
class CallEventFactory... | php | MIT | 3d093d78e83fa5066559854505f01b6ea19af12e | 2026-01-05T02:35:49.024953Z | false |
eloquent/phony | https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/suite/Call/Exception/UndefinedResponseExceptionTest.php | test/suite/Call/Exception/UndefinedResponseExceptionTest.php | <?php
declare(strict_types=1);
namespace Eloquent\Phony\Call\Exception;
use PHPUnit\Framework\TestCase;
class UndefinedResponseExceptionTest extends TestCase
{
public function testConstructor()
{
$message = 'You done goofed.';
$exception = new UndefinedResponseException($message);
$... | php | MIT | 3d093d78e83fa5066559854505f01b6ea19af12e | 2026-01-05T02:35:49.024953Z | false |
eloquent/phony | https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/suite/Call/Exception/UndefinedArgumentExceptionTest.php | test/suite/Call/Exception/UndefinedArgumentExceptionTest.php | <?php
declare(strict_types=1);
namespace Eloquent\Phony\Call\Exception;
use PHPUnit\Framework\TestCase;
class UndefinedArgumentExceptionTest extends TestCase
{
public function testException()
{
$index = 111;
$exception = new UndefinedArgumentException($index);
$this->assertSame($ind... | php | MIT | 3d093d78e83fa5066559854505f01b6ea19af12e | 2026-01-05T02:35:49.024953Z | false |
eloquent/phony | https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/suite/Call/Exception/UndefinedCallExceptionTest.php | test/suite/Call/Exception/UndefinedCallExceptionTest.php | <?php
declare(strict_types=1);
namespace Eloquent\Phony\Call\Exception;
use PHPUnit\Framework\TestCase;
class UndefinedCallExceptionTest extends TestCase
{
public function testConstructor()
{
$index = 111;
$exception = new UndefinedCallException($index);
$this->assertSame($index, $e... | php | MIT | 3d093d78e83fa5066559854505f01b6ea19af12e | 2026-01-05T02:35:49.024953Z | false |
eloquent/phony | https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/suite/Spy/ArraySpyTest.php | test/suite/Spy/ArraySpyTest.php | <?php
declare(strict_types=1);
namespace Eloquent\Phony\Spy;
use AllowDynamicProperties;
use Eloquent\Phony\Test\TestCallFactory;
use PHPUnit\Framework\TestCase;
#[AllowDynamicProperties]
class ArraySpyTest extends TestCase
{
protected function setUp(): void
{
$this->callFactory = new TestCallFactor... | php | MIT | 3d093d78e83fa5066559854505f01b6ea19af12e | 2026-01-05T02:35:49.024953Z | false |
eloquent/phony | https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/suite/Spy/GeneratorSpyFactoryTest.php | test/suite/Spy/GeneratorSpyFactoryTest.php | <?php
declare(strict_types=1);
namespace Eloquent\Phony\Spy;
use AllowDynamicProperties;
use Eloquent\Phony\Test\Facade\FacadeContainer;
use Eloquent\Phony\Test\GeneratorFactory;
use Generator;
use PHPUnit\Framework\TestCase;
use RuntimeException;
#[AllowDynamicProperties]
class GeneratorSpyFactoryTest extends Test... | php | MIT | 3d093d78e83fa5066559854505f01b6ea19af12e | 2026-01-05T02:35:49.024953Z | false |
eloquent/phony | https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/suite/Spy/SpyFactoryTest.php | test/suite/Spy/SpyFactoryTest.php | <?php
declare(strict_types=1);
namespace Eloquent\Phony\Spy;
use AllowDynamicProperties;
use Eloquent\Phony\Test\Facade\FacadeContainer;
use PHPUnit\Framework\TestCase;
#[AllowDynamicProperties]
class SpyFactoryTest extends TestCase
{
protected function setUp(): void
{
$this->container = new FacadeC... | php | MIT | 3d093d78e83fa5066559854505f01b6ea19af12e | 2026-01-05T02:35:49.024953Z | false |
eloquent/phony | https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/suite/Spy/IterableSpyFactoryTest.php | test/suite/Spy/IterableSpyFactoryTest.php | <?php
declare(strict_types=1);
namespace Eloquent\Phony\Spy;
use AllowDynamicProperties;
use ArrayIterator;
use Eloquent\Phony\Test\Facade\FacadeContainer;
use Eloquent\Phony\Test\TestIteratorAggregate;
use InvalidArgumentException;
use PHPUnit\Framework\TestCase;
use Traversable;
#[AllowDynamicProperties]
class It... | php | MIT | 3d093d78e83fa5066559854505f01b6ea19af12e | 2026-01-05T02:35:49.024953Z | false |
eloquent/phony | https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/suite/Spy/TraversableSpyTest.php | test/suite/Spy/TraversableSpyTest.php | <?php
declare(strict_types=1);
namespace Eloquent\Phony\Spy;
use AllowDynamicProperties;
use ArrayObject;
use Eloquent\Phony\Spy\Exception\NonArrayAccessTraversableException;
use Eloquent\Phony\Spy\Exception\NonCountableTraversableException;
use Eloquent\Phony\Test\TestCallFactory;
use Eloquent\Phony\Test\TestIterat... | php | MIT | 3d093d78e83fa5066559854505f01b6ea19af12e | 2026-01-05T02:35:49.024953Z | false |
eloquent/phony | https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/suite/Spy/SpyVerifierTest.php | test/suite/Spy/SpyVerifierTest.php | <?php
declare(strict_types=1);
namespace Eloquent\Phony\Spy;
use AllowDynamicProperties;
use Eloquent\Phony\Assertion\Exception\AssertionException;
use Eloquent\Phony\Call\Arguments;
use Eloquent\Phony\Call\Exception\UndefinedCallException;
use Eloquent\Phony\Event\EventSequence;
use Eloquent\Phony\Event\Exception\U... | php | MIT | 3d093d78e83fa5066559854505f01b6ea19af12e | 2026-01-05T02:35:49.024953Z | true |
eloquent/phony | https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/suite/Spy/SpyVerifierFactoryTest.php | test/suite/Spy/SpyVerifierFactoryTest.php | <?php
declare(strict_types=1);
namespace Eloquent\Phony\Spy;
use AllowDynamicProperties;
use Eloquent\Phony\Test\Facade\FacadeContainer;
use Eloquent\Phony\Test\SpyVerifierFactory as TestNamespace;
use InvalidArgumentException;
use PHPUnit\Framework\TestCase;
#[AllowDynamicProperties]
class SpyVerifierFactoryTest e... | php | MIT | 3d093d78e83fa5066559854505f01b6ea19af12e | 2026-01-05T02:35:49.024953Z | false |
eloquent/phony | https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/suite/Spy/SpyDataTest.php | test/suite/Spy/SpyDataTest.php | <?php
declare(strict_types=1);
namespace Eloquent\Phony\Spy;
use AllowDynamicProperties;
use Eloquent\Phony\Call\Arguments;
use Eloquent\Phony\Call\Exception\UndefinedCallException;
use Eloquent\Phony\Event\Exception\UndefinedEventException;
use Eloquent\Phony\Test\Facade\FacadeContainer;
use Exception;
use Generato... | php | MIT | 3d093d78e83fa5066559854505f01b6ea19af12e | 2026-01-05T02:35:49.024953Z | false |
eloquent/phony | https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/suite/Spy/Exception/NonCountableTraversableExceptionTest.php | test/suite/Spy/Exception/NonCountableTraversableExceptionTest.php | <?php
declare(strict_types=1);
namespace Eloquent\Phony\Spy\Exception;
use EmptyIterator;
use PHPUnit\Framework\TestCase;
class NonCountableTraversableExceptionTest extends TestCase
{
public function testException()
{
$traversable = new EmptyIterator();
$exception = new NonCountableTraversab... | php | MIT | 3d093d78e83fa5066559854505f01b6ea19af12e | 2026-01-05T02:35:49.024953Z | false |
eloquent/phony | https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/suite/Spy/Exception/NonArrayAccessTraversableExceptionTest.php | test/suite/Spy/Exception/NonArrayAccessTraversableExceptionTest.php | <?php
declare(strict_types=1);
namespace Eloquent\Phony\Spy\Exception;
use EmptyIterator;
use PHPUnit\Framework\TestCase;
class NonArrayAccessTraversableExceptionTest extends TestCase
{
public function testException()
{
$traversable = new EmptyIterator();
$exception = new NonArrayAccessTrave... | php | MIT | 3d093d78e83fa5066559854505f01b6ea19af12e | 2026-01-05T02:35:49.024953Z | false |
eloquent/phony | https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/suite/Matcher/WildcardMatcherTest.php | test/suite/Matcher/WildcardMatcherTest.php | <?php
declare(strict_types=1);
namespace Eloquent\Phony\Matcher;
use AllowDynamicProperties;
use Eloquent\Phony\Test\Facade\FacadeContainer;
use PHPUnit\Framework\TestCase;
#[AllowDynamicProperties]
class WildcardMatcherTest extends TestCase
{
protected function setUp(): void
{
$container = new Faca... | php | MIT | 3d093d78e83fa5066559854505f01b6ea19af12e | 2026-01-05T02:35:49.024953Z | false |
eloquent/phony | https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/suite/Matcher/AnyMatcherTest.php | test/suite/Matcher/AnyMatcherTest.php | <?php
declare(strict_types=1);
namespace Eloquent\Phony\Matcher;
use AllowDynamicProperties;
use PHPUnit\Framework\TestCase;
#[AllowDynamicProperties]
class AnyMatcherTest extends TestCase
{
protected function setUp(): void
{
$this->subject = new AnyMatcher();
}
public function testConstruc... | php | MIT | 3d093d78e83fa5066559854505f01b6ea19af12e | 2026-01-05T02:35:49.024953Z | false |
eloquent/phony | https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/suite/Matcher/EqualToMatcherTest.php | test/suite/Matcher/EqualToMatcherTest.php | <?php
declare(strict_types=1);
namespace Eloquent\Phony\Matcher;
use AllowDynamicProperties;
use Eloquent\Phony\Test\Facade\FacadeContainer;
use Eloquent\Phony\Test\Properties\TestBaseClass;
use Eloquent\Phony\Test\Properties\TestDerivedClassA;
use Eloquent\Phony\Test\Properties\TestDerivedClassB;
use Eloquent\Phony... | php | MIT | 3d093d78e83fa5066559854505f01b6ea19af12e | 2026-01-05T02:35:49.024953Z | false |
eloquent/phony | https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/suite/Matcher/MatcherVerifierTest.php | test/suite/Matcher/MatcherVerifierTest.php | <?php
declare(strict_types=1);
namespace Eloquent\Phony\Matcher;
use AllowDynamicProperties;
use Eloquent\Phony\Test\Facade\FacadeContainer;
use PHPUnit\Framework\TestCase;
#[AllowDynamicProperties]
class MatcherVerifierTest extends TestCase
{
protected function setUp(): void
{
$container = new Faca... | php | MIT | 3d093d78e83fa5066559854505f01b6ea19af12e | 2026-01-05T02:35:49.024953Z | false |
eloquent/phony | https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/suite/Matcher/MatcherFactoryTest.php | test/suite/Matcher/MatcherFactoryTest.php | <?php
declare(strict_types=1);
namespace Eloquent\Phony\Matcher;
use AllowDynamicProperties;
use Eloquent\Phony\Test\Facade\FacadeContainer;
use Eloquent\Phony\Test\TestClassA;
use Eloquent\Phony\Test\TestMatcherA;
use Eloquent\Phony\Test\TestMatcherB;
use Eloquent\Phony\Test\TestMatcherDriverA;
use Eloquent\Phony\T... | php | MIT | 3d093d78e83fa5066559854505f01b6ea19af12e | 2026-01-05T02:35:49.024953Z | false |
eloquent/phony | https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/suite/Matcher/InstanceOfMatcherTest.php | test/suite/Matcher/InstanceOfMatcherTest.php | <?php
declare(strict_types=1);
namespace Eloquent\Phony\Matcher;
use Eloquent\Phony\Matcher\Exception\UndefinedTypeException;
use Eloquent\Phony\Test\TestClassA;
use Eloquent\Phony\Test\TestClassB;
use Eloquent\Phony\Test\TestInterfaceA;
use PHPUnit\Framework\TestCase;
class InstanceOfMatcherTest extends TestCase
{... | php | MIT | 3d093d78e83fa5066559854505f01b6ea19af12e | 2026-01-05T02:35:49.024953Z | false |
eloquent/phony | https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/suite/Matcher/Exception/UndefinedTypeExceptionTest.php | test/suite/Matcher/Exception/UndefinedTypeExceptionTest.php | <?php
declare(strict_types=1);
namespace Eloquent\Phony\Matcher\Exception;
use PHPUnit\Framework\TestCase;
class UndefinedTypeExceptionTest extends TestCase
{
public function testException()
{
$type = Undefined::class;
$exception = new UndefinedTypeException($type);
$this->assertSam... | php | MIT | 3d093d78e83fa5066559854505f01b6ea19af12e | 2026-01-05T02:35:49.024953Z | false |
eloquent/phony | https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/suite/Verification/IterableVerifierFactoryTest.php | test/suite/Verification/IterableVerifierFactoryTest.php | <?php
declare(strict_types=1);
namespace Eloquent\Phony\Verification;
use AllowDynamicProperties;
use Eloquent\Phony\Test\Facade\FacadeContainer;
use PHPUnit\Framework\TestCase;
#[AllowDynamicProperties]
class IterableVerifierFactoryTest extends TestCase
{
protected function setUp(): void
{
$this->c... | php | MIT | 3d093d78e83fa5066559854505f01b6ea19af12e | 2026-01-05T02:35:49.024953Z | false |
eloquent/phony | https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/suite/Verification/IterableVerifierTest.php | test/suite/Verification/IterableVerifierTest.php | <?php
declare(strict_types=1);
namespace Eloquent\Phony\Verification;
use AllowDynamicProperties;
use Eloquent\Phony\Assertion\Exception\AssertionException;
use Eloquent\Phony\Call\Arguments;
use Eloquent\Phony\Call\Exception\UndefinedCallException;
use Eloquent\Phony\Event\EventSequence;
use Eloquent\Phony\Event\Ex... | php | MIT | 3d093d78e83fa5066559854505f01b6ea19af12e | 2026-01-05T02:35:49.024953Z | false |
eloquent/phony | https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/suite/Verification/GeneratorVerifierTest.php | test/suite/Verification/GeneratorVerifierTest.php | <?php
declare(strict_types=1);
namespace Eloquent\Phony\Verification;
use AllowDynamicProperties;
use Eloquent\Phony\Assertion\Exception\AssertionException;
use Eloquent\Phony\Call\Arguments;
use Eloquent\Phony\Call\Exception\UndefinedCallException;
use Eloquent\Phony\Event\EventSequence;
use Eloquent\Phony\Event\Ex... | php | MIT | 3d093d78e83fa5066559854505f01b6ea19af12e | 2026-01-05T02:35:49.024953Z | true |
eloquent/phony | https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/suite/Verification/CardinalityTest.php | test/suite/Verification/CardinalityTest.php | <?php
declare(strict_types=1);
namespace Eloquent\Phony\Verification;
use AllowDynamicProperties;
use Eloquent\Phony\Verification\Exception\InvalidCardinalityStateException;
use Eloquent\Phony\Verification\Exception\InvalidSingularCardinalityException;
use PHPUnit\Framework\TestCase;
#[AllowDynamicProperties]
class... | php | MIT | 3d093d78e83fa5066559854505f01b6ea19af12e | 2026-01-05T02:35:49.024953Z | false |
eloquent/phony | https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/suite/Verification/GeneratorVerifierFactoryTest.php | test/suite/Verification/GeneratorVerifierFactoryTest.php | <?php
declare(strict_types=1);
namespace Eloquent\Phony\Verification;
use AllowDynamicProperties;
use Eloquent\Phony\Test\Facade\FacadeContainer;
use PHPUnit\Framework\TestCase;
#[AllowDynamicProperties]
class GeneratorVerifierFactoryTest extends TestCase
{
protected function setUp(): void
{
$this->... | php | MIT | 3d093d78e83fa5066559854505f01b6ea19af12e | 2026-01-05T02:35:49.024953Z | false |
eloquent/phony | https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/suite/Verification/Exception/InvalidSingularCardinalityExceptionTest.php | test/suite/Verification/Exception/InvalidSingularCardinalityExceptionTest.php | <?php
declare(strict_types=1);
namespace Eloquent\Phony\Verification\Exception;
use Eloquent\Phony\Verification\Cardinality;
use PHPUnit\Framework\TestCase;
class InvalidSingularCardinalityExceptionTest extends TestCase
{
public function testException()
{
$cardinality = new Cardinality();
$e... | php | MIT | 3d093d78e83fa5066559854505f01b6ea19af12e | 2026-01-05T02:35:49.024953Z | false |
eloquent/phony | https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/suite/Stub/EmptyValueFactoryTest.php | test/suite/Stub/EmptyValueFactoryTest.php | <?php
declare(strict_types=1);
namespace Eloquent\Phony\Stub;
use AllowDynamicProperties;
use AppendIterator;
use ArithmeticError;
use ArrayAccess;
use ArrayIterator;
use AssertionError;
use BadFunctionCallException;
use BadMethodCallException;
use CachingIterator;
use CallbackFilterIterator;
use Closure;
use Counta... | php | MIT | 3d093d78e83fa5066559854505f01b6ea19af12e | 2026-01-05T02:35:49.024953Z | false |
eloquent/phony | https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/suite/Stub/StubVerifierFactoryTest.php | test/suite/Stub/StubVerifierFactoryTest.php | <?php
declare(strict_types=1);
namespace Eloquent\Phony\Stub;
use AllowDynamicProperties;
use Eloquent\Phony\Test\Facade\FacadeContainer;
use Eloquent\Phony\Test\StubVerifierFactory as TestNamespace;
use InvalidArgumentException;
use PHPUnit\Framework\TestCase;
#[AllowDynamicProperties]
class StubVerifierFactoryTes... | php | MIT | 3d093d78e83fa5066559854505f01b6ea19af12e | 2026-01-05T02:35:49.024953Z | false |
eloquent/phony | https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/suite/Stub/StubFactoryTest.php | test/suite/Stub/StubFactoryTest.php | <?php
declare(strict_types=1);
namespace Eloquent\Phony\Stub;
use AllowDynamicProperties;
use Eloquent\Phony\Test\Facade\FacadeContainer;
use PHPUnit\Framework\TestCase;
#[AllowDynamicProperties]
class StubFactoryTest extends TestCase
{
protected function setUp(): void
{
$this->container = new Facad... | php | MIT | 3d093d78e83fa5066559854505f01b6ea19af12e | 2026-01-05T02:35:49.024953Z | false |
eloquent/phony | https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/suite/Stub/StubDataTest.php | test/suite/Stub/StubDataTest.php | <?php
declare(strict_types=1);
namespace Eloquent\Phony\Stub;
use AllowDynamicProperties;
use Eloquent\Phony\Call\Arguments;
use Eloquent\Phony\Stub\Answer\Builder\GeneratorAnswerBuilder;
use Eloquent\Phony\Stub\Exception\FinalReturnTypeException;
use Eloquent\Phony\Stub\Exception\UnusedStubCriteriaException;
use El... | php | MIT | 3d093d78e83fa5066559854505f01b6ea19af12e | 2026-01-05T02:35:49.024953Z | true |
eloquent/phony | https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/suite/Stub/StubRuleTest.php | test/suite/Stub/StubRuleTest.php | <?php
declare(strict_types=1);
namespace Eloquent\Phony\Stub;
use AllowDynamicProperties;
use Eloquent\Phony\Call\Arguments;
use Eloquent\Phony\Stub\Answer\Answer;
use Eloquent\Phony\Stub\Answer\CallRequest;
use Eloquent\Phony\Stub\Exception\UndefinedAnswerException;
use Eloquent\Phony\Test\Facade\FacadeContainer;
u... | php | MIT | 3d093d78e83fa5066559854505f01b6ea19af12e | 2026-01-05T02:35:49.024953Z | false |
eloquent/phony | https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/suite/Stub/StubVerifierTest.php | test/suite/Stub/StubVerifierTest.php | <?php
declare(strict_types=1);
namespace Eloquent\Phony\Stub;
use AllowDynamicProperties;
use Eloquent\Phony\Call\Arguments;
use Eloquent\Phony\Stub\Answer\Builder\GeneratorAnswerBuilder;
use Eloquent\Phony\Stub\Exception\UnusedStubCriteriaException;
use Eloquent\Phony\Test\Facade\FacadeContainer;
use Eloquent\Phony... | php | MIT | 3d093d78e83fa5066559854505f01b6ea19af12e | 2026-01-05T02:35:49.024953Z | true |
eloquent/phony | https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/suite/Stub/Answer/CallRequestTest.php | test/suite/Stub/Answer/CallRequestTest.php | <?php
declare(strict_types=1);
namespace Eloquent\Phony\Stub\Answer;
use AllowDynamicProperties;
use Eloquent\Phony\Call\Arguments;
use Eloquent\Phony\Facade\FacadeContainer;
use PHPUnit\Framework\TestCase;
#[AllowDynamicProperties]
class CallRequestTest extends TestCase
{
protected function setUp(): void
{... | php | MIT | 3d093d78e83fa5066559854505f01b6ea19af12e | 2026-01-05T02:35:49.024953Z | false |
eloquent/phony | https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/suite/Stub/Answer/AnswerTest.php | test/suite/Stub/Answer/AnswerTest.php | <?php
declare(strict_types=1);
namespace Eloquent\Phony\Stub\Answer;
use AllowDynamicProperties;
use Eloquent\Phony\Call\Arguments;
use PHPUnit\Framework\TestCase;
#[AllowDynamicProperties]
class AnswerTest extends TestCase
{
protected function setUp(): void
{
$this->primaryRequest = new CallRequest... | php | MIT | 3d093d78e83fa5066559854505f01b6ea19af12e | 2026-01-05T02:35:49.024953Z | false |
eloquent/phony | https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/suite/Stub/Answer/Builder/GeneratorAnswerBuilderFactoryTest.php | test/suite/Stub/Answer/Builder/GeneratorAnswerBuilderFactoryTest.php | <?php
declare(strict_types=1);
namespace Eloquent\Phony\Stub\Answer\Builder;
use AllowDynamicProperties;
use Eloquent\Phony\Test\Facade\FacadeContainer;
use PHPUnit\Framework\TestCase;
#[AllowDynamicProperties]
class GeneratorAnswerBuilderFactoryTest extends TestCase
{
protected function setUp(): void
{
... | php | MIT | 3d093d78e83fa5066559854505f01b6ea19af12e | 2026-01-05T02:35:49.024953Z | false |
eloquent/phony | https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/suite/Stub/Answer/Builder/GeneratorAnswerBuilderTest.php | test/suite/Stub/Answer/Builder/GeneratorAnswerBuilderTest.php | <?php
declare(strict_types=1);
namespace Eloquent\Phony\Stub\Answer\Builder;
use AllowDynamicProperties;
use ArrayIterator;
use Eloquent\Phony\Call\Arguments;
use Eloquent\Phony\Call\Exception\UndefinedArgumentException;
use Eloquent\Phony\Test\Facade\FacadeContainer;
use Eloquent\Phony\Test\TupleIterator;
use Excep... | php | MIT | 3d093d78e83fa5066559854505f01b6ea19af12e | 2026-01-05T02:35:49.024953Z | false |
eloquent/phony | https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/suite/Stub/Exception/UnusedStubCriteriaExceptionTest.php | test/suite/Stub/Exception/UnusedStubCriteriaExceptionTest.php | <?php
declare(strict_types=1);
namespace Eloquent\Phony\Stub\Exception;
use Eloquent\Phony\Test\Facade\FacadeContainer;
use PHPUnit\Framework\TestCase;
class UnusedStubCriteriaExceptionTest extends TestCase
{
public function testException()
{
$container = new FacadeContainer();
$assertionRen... | php | MIT | 3d093d78e83fa5066559854505f01b6ea19af12e | 2026-01-05T02:35:49.024953Z | false |
eloquent/phony | https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/suite/Stub/Exception/UndefinedAnswerExceptionTest.php | test/suite/Stub/Exception/UndefinedAnswerExceptionTest.php | <?php
declare(strict_types=1);
namespace Eloquent\Phony\Stub\Exception;
use PHPUnit\Framework\TestCase;
class UndefinedAnswerExceptionTest extends TestCase
{
public function testException()
{
$exception = new UndefinedAnswerException();
$this->assertSame('No answer was defined, or the answe... | php | MIT | 3d093d78e83fa5066559854505f01b6ea19af12e | 2026-01-05T02:35:49.024953Z | false |
eloquent/phony | https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/suite-edge-cases/EdgeCaseTest.php | test/suite-edge-cases/EdgeCaseTest.php | <?php
use function Eloquent\Phony\mock;
use function Eloquent\Phony\partialMock;
use function Eloquent\Phony\stubGlobal;
use Eloquent\Phony\Test\EdgeCase as TestNamespace;
use PHPUnit\Framework\TestCase;
class EdgeCaseTest extends TestCase
{
public function testSimpleXmlElementFull()
{
$this->markTest... | php | MIT | 3d093d78e83fa5066559854505f01b6ea19af12e | 2026-01-05T02:35:49.024953Z | false |
eloquent/phony | https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/assets/router.php | assets/router.php | <?php
$path = parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH);
if (preg_match('/[^.]*[a-z]+[^.]*\./', basename($path))) {
return false;
}
$htmlPath = '/' === substr($path, -1) ? "$path/index.html" : "$path.html";
$content = @file_get_contents($_SERVER['DOCUMENT_ROOT'] . $htmlPath);
if (false === $content) {
... | php | MIT | 3d093d78e83fa5066559854505f01b6ea19af12e | 2026-01-05T02:35:49.024953Z | false |
PiPass/blockpage | https://github.com/PiPass/blockpage/blob/06468b9647b0dc8503da0943c91f624ca8fdd57f/config.php | config.php | <?php
/*
For your PiPass system to function properly, it's reccomended that you
modify all of these variables to appropriate values. An explanation of
each variable is listed as a comment below the variable.
NOTE: All PiPass files are dependent upon this one configuration file. Your
changes will be widespread!
*/
$i... | php | BSD-3-Clause | 06468b9647b0dc8503da0943c91f624ca8fdd57f | 2026-01-05T02:36:00.390858Z | false |
PiPass/blockpage | https://github.com/PiPass/blockpage/blob/06468b9647b0dc8503da0943c91f624ca8fdd57f/index.php | index.php | <?php
require('config.php');
$url = "{$_SERVER['HTTP_HOST']}";
$bpLocal = $conf['blockpage_url'];
if(empty($conf['blockpage_url'])) {
die("blockpage_url cannot be blank. Check config.php.");
}
echo <<<EOL
<form action="$bpLocal" method="get" id="urlpass">
<input type="hidden" name="url" value="$url">
</form... | php | BSD-3-Clause | 06468b9647b0dc8503da0943c91f624ca8fdd57f | 2026-01-05T02:36:00.390858Z | false |
PiPass/blockpage | https://github.com/PiPass/blockpage/blob/06468b9647b0dc8503da0943c91f624ca8fdd57f/locale/locale-de.php | locale/locale-de.php | <?php
$hostname = gethostname();
$server_ip = $_SERVER['SERVER_ADDR'];
$date = $conf['date'];
$safeurl = $conf['safeurl'];
$adminemail = $conf['adminemail'];
$unblockLength = date('H:i:s', mktime(0, 0, $conf['unblock_seconds']));
$pipass_version = $conf['pipass_version'];
// GEBIETSSCHEMA FÜR FOLGENDE SPRACHE: "DEUTS... | php | BSD-3-Clause | 06468b9647b0dc8503da0943c91f624ca8fdd57f | 2026-01-05T02:36:00.390858Z | false |
PiPass/blockpage | https://github.com/PiPass/blockpage/blob/06468b9647b0dc8503da0943c91f624ca8fdd57f/locale/locale-nl.php | locale/locale-nl.php | <?php
$hostname = gethostname();
$server_ip = $_SERVER['SERVER_ADDR'];
$date = $conf['date'];
$safeurl = $conf['safeurl'];
$adminemail = $conf['adminemail'];
$unblockLength = date('H:i:s', mktime(0, 0, $conf['unblock_seconds']));
$pipass_version = $conf['pipass_version'];
// LOCALE FILE FOR LANGUAGE: "DUTCH"
// -----... | php | BSD-3-Clause | 06468b9647b0dc8503da0943c91f624ca8fdd57f | 2026-01-05T02:36:00.390858Z | false |
PiPass/blockpage | https://github.com/PiPass/blockpage/blob/06468b9647b0dc8503da0943c91f624ca8fdd57f/locale/locale-it.php | locale/locale-it.php | <?php
$hostname = gethostname();
$server_ip = $_SERVER['SERVER_ADDR'];
$date = $conf['date'];
$safeurl = $conf['safeurl'];
$adminemail = $conf['adminemail'];
$unblockLength = date('H:i:s', mktime(0, 0, $conf['unblock_seconds']));
$pipass_version = $conf['pipass_version'];
// LOCALE FILE FOR LANGUAGE: "ITALIANO"
// ---... | php | BSD-3-Clause | 06468b9647b0dc8503da0943c91f624ca8fdd57f | 2026-01-05T02:36:00.390858Z | false |
PiPass/blockpage | https://github.com/PiPass/blockpage/blob/06468b9647b0dc8503da0943c91f624ca8fdd57f/locale/locale-sl.php | locale/locale-sl.php | <?php
$hostname = gethostname();
$server_ip = $_SERVER['SERVER_ADDR'];
$date = $conf['date'];
$safeurl = $conf['safeurl'];
$adminemail = $conf['adminemail'];
$unblockLength = date('H:i:s', mktime(0, 0, $conf['unblock_seconds']));
$pipass_version = $conf['pipass_version'];
// LOCALE FILE FOR LANGUAGE: "SLOVENIAN"
// --... | php | BSD-3-Clause | 06468b9647b0dc8503da0943c91f624ca8fdd57f | 2026-01-05T02:36:00.390858Z | false |
PiPass/blockpage | https://github.com/PiPass/blockpage/blob/06468b9647b0dc8503da0943c91f624ca8fdd57f/locale/locale-en.php | locale/locale-en.php | <?php
$hostname = gethostname();
$server_ip = $_SERVER['SERVER_ADDR'];
$date = $conf['date'];
$safeurl = $conf['safeurl'];
$adminemail = $conf['adminemail'];
$unblockLength = date('H:i:s', mktime(0, 0, $conf['unblock_seconds']));
$pipass_version = $conf['pipass_version'];
// LOCALE FILE FOR LANGUAGE: "ENGLISH"
// ---... | php | BSD-3-Clause | 06468b9647b0dc8503da0943c91f624ca8fdd57f | 2026-01-05T02:36:00.390858Z | false |
PiPass/blockpage | https://github.com/PiPass/blockpage/blob/06468b9647b0dc8503da0943c91f624ca8fdd57f/blockpage/index.php | blockpage/index.php | <?php
require('../config.php');
$usrLanguage = $conf['language'];
require("../locale/locale-$usrLanguage.php");
if(isset($_GET['url'])) {
if(strpos($_GET['url'], ':') !== false) {
// Strip port out of DNS name since PiHole does not deal with ports
$url = substr($_GET['url'], 0, strpos($_GET['url']... | php | BSD-3-Clause | 06468b9647b0dc8503da0943c91f624ca8fdd57f | 2026-01-05T02:36:00.390858Z | false |
PiPass/blockpage | https://github.com/PiPass/blockpage/blob/06468b9647b0dc8503da0943c91f624ca8fdd57f/blockpage/unblock/index.php | blockpage/unblock/index.php | <?php
require('../../config.php');
$usrLanguage = $conf['language'];
require("../../locale/locale-$usrLanguage.php");
$GLOBALS['unblockTimeSec'] = $conf['unblock_seconds'];
if(isset($_GET['url'])) {
if(strpos($_GET['url'], ':') !== false) {
// Strip port out of DNS name since PiHole does not deal with po... | php | BSD-3-Clause | 06468b9647b0dc8503da0943c91f624ca8fdd57f | 2026-01-05T02:36:00.390858Z | false |
Rodots/WHMCS-zh-CN | https://github.com/Rodots/WHMCS-zh-CN/blob/8be602ec246295558710bd30c82bf2db6d146502/8.3.2/lang/chinese-as.php | 8.3.2/lang/chinese-as.php | <?php
/**
* WHMCS Language File
* Simplified Chinese (zh_CN)
*
* Please Note: These language files are overwritten during software updates
* and therefore editing of these files directly is not advised. Instead we
* recommend that you use overrides to customise the text displayed in a way
* which will be safely ... | php | MIT | 8be602ec246295558710bd30c82bf2db6d146502 | 2026-01-05T02:36:16.965422Z | true |
Rodots/WHMCS-zh-CN | https://github.com/Rodots/WHMCS-zh-CN/blob/8be602ec246295558710bd30c82bf2db6d146502/8.3.2/admin/lang/chinese-as.php | 8.3.2/admin/lang/chinese-as.php | <?php
// @by Rodots 傲世 WHMCS8.3.2 WHMCS-zh-CN
if (!defined("WHMCS")) die("This file cannot be accessed directly");
$_ADMINLANG['locale'] = "zh_CN";
# Global
$_ADMINLANG['global']['hometitle'] = "仪表盘";
$_ADMINLANG['global']['searchfilter'] = "搜索";
$_ADMINLANG['global']['search'] = "搜索";
$_ADMINLANG['global']['recordsf... | php | MIT | 8be602ec246295558710bd30c82bf2db6d146502 | 2026-01-05T02:36:16.965422Z | true |
Rodots/WHMCS-zh-CN | https://github.com/Rodots/WHMCS-zh-CN/blob/8be602ec246295558710bd30c82bf2db6d146502/8.10.1/lang/chinese-as.php | 8.10.1/lang/chinese-as.php | <?php
/**
* WHMCS Language File
* Simplified Chinese (zh_CN)
*
* Please Note: These language files are overwritten during software updates
* and therefore editing of these files directly is not advised. Instead we
* recommend that you use overrides to customise the text displayed in a way
* which will be safely ... | php | MIT | 8be602ec246295558710bd30c82bf2db6d146502 | 2026-01-05T02:36:16.965422Z | true |
Rodots/WHMCS-zh-CN | https://github.com/Rodots/WHMCS-zh-CN/blob/8be602ec246295558710bd30c82bf2db6d146502/8.10.1/admin/lang/chinese-as.php | 8.10.1/admin/lang/chinese-as.php | <?php
// @by Rodots 傲世 WHMCS 8.10.1 WHMCS-zh-CN
if (!defined("WHMCS")) die("This file cannot be accessed directly");
$_ADMINLANG['locale'] = "zh_CN";
# Global
$_ADMINLANG['global']['hometitle'] = "仪表盘";
$_ADMINLANG['global']['searchfilter'] = "搜索";
$_ADMINLANG['global']['search'] = "搜索";
$_ADMINLANG['global']['record... | php | MIT | 8be602ec246295558710bd30c82bf2db6d146502 | 2026-01-05T02:36:16.965422Z | true |
Rodots/WHMCS-zh-CN | https://github.com/Rodots/WHMCS-zh-CN/blob/8be602ec246295558710bd30c82bf2db6d146502/8.13.0/lang/overrides/chinese.php | 8.13.0/lang/overrides/chinese.php | <?php
/**
* WHMCS Language File
* Simplified Chinese (zh_CN)
*
* Please Note: These language files are overwritten during software updates
* and therefore editing of these files directly is not advised. Instead we
* recommend that you use overrides to customise the text displayed in a way
* which will be safely ... | php | MIT | 8be602ec246295558710bd30c82bf2db6d146502 | 2026-01-05T02:36:16.965422Z | true |
Rodots/WHMCS-zh-CN | https://github.com/Rodots/WHMCS-zh-CN/blob/8be602ec246295558710bd30c82bf2db6d146502/8.13.0/admin/lang/chinese.php | 8.13.0/admin/lang/chinese.php | <?php
/**
* WHMCS Language File
* Simplified Chinese (zh_001)
*
* Please Note: These language files are overwritten during software updates
* and therefore editing of these files directly is not advised. Instead we
* recommend that you use overrides to customise the text displayed in a way
* which will be safely... | php | MIT | 8be602ec246295558710bd30c82bf2db6d146502 | 2026-01-05T02:36:16.965422Z | true |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.