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/src/Test/TestClassF.php
test/src/Test/TestClassF.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Test; class TestClassF { final public static function testClassFStaticMethodA() { return implode(func_get_args()); } final public function testClassFMethodA() { return implode(func_get_args()); } }
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/src/Test/TestMatcherA.php
test/src/Test/TestMatcherA.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Test; class TestMatcherA { }
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/src/Test/TestException.php
test/src/Test/TestException.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Test; use RuntimeException; class TestException extends RuntimeException { public mixed $arbitrary; }
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/src/Test/TestTraitI.php
test/src/Test/TestTraitI.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Test; trait TestTraitI { public static function testClassFStaticMethodA() { return implode(func_get_args()); } public function testClassFMethodA() { return implode(func_get_args()); } }
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/src/Test/TestTraitB.php
test/src/Test/TestTraitB.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Test; trait TestTraitB { use TestTraitA; public function testClassAMethodB( $first, $second, &$third = null, &$fourth = null, &$fifth = null ) { return implode(func_get_args()); } public func...
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/src/Test/TestClassJ.php
test/src/Test/TestClassJ.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Test; class TestClassJ { public function __destruct() { } }
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/src/Test/TestClassWithVoidReturnType.php
test/src/Test/TestClassWithVoidReturnType.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Test; class TestClassWithVoidReturnType { public static function staticMethod(): void {} public static function __callStatic($name, array $arguments): void {} public function method(): void {} public function __call($name, array $arguments): ...
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/src/Test/TestInterfaceWithNeverReturnType.php
test/src/Test/TestInterfaceWithNeverReturnType.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Test; interface TestInterfaceWithNeverReturnType { public static function staticMethod(): never; public static function __callStatic($name, array $arguments): never; public function method(): never; public function __call($name, array $argume...
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/src/Test/TestInterfaceWithVariadicParameterWithNullableType.php
test/src/Test/TestInterfaceWithVariadicParameterWithNullableType.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Test; use stdClass; interface TestInterfaceWithVariadicParameterWithNullableType { public function method(?stdClass ...$arguments); }
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/src/Test/TestFinalClassA.php
test/src/Test/TestFinalClassA.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Test; final class TestFinalClassA { }
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/src/Test/TestInterfaceG.php
test/src/Test/TestInterfaceG.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Test; interface TestInterfaceG { public function testClassFMethodA(); }
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/src/Test/TestClassWithSerializeMagicMethods.php
test/src/Test/TestClassWithSerializeMagicMethods.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Test; class TestClassWithSerializeMagicMethods { public function __construct(array $values) { $this->values = $values; } public function __serialize(): array { return $this->values; } public function __unserialize(a...
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/src/Test/TestInterfaceE.php
test/src/Test/TestInterfaceE.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Test; interface TestInterfaceE { public function methodA(); }
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/src/Test/TestInterfaceWithVariadicParameter.php
test/src/Test/TestInterfaceWithVariadicParameter.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Test; interface TestInterfaceWithVariadicParameter { public function method(...$arguments); }
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/src/Test/TestClassG.php
test/src/Test/TestClassG.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Test; class TestClassG { public static function &testClassGStaticMethodA($a, &$b, &$c) { if ($a) { return $b; } return $c; } public static function &__callStatic($name, array $arguments) { if ($a...
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/src/Test/TestTraitJ.php
test/src/Test/TestTraitJ.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Test; trait TestTraitJ { public static function __callStatic($name, array $arguments) { return 'magic ' . $name . ' ' . implode($arguments); } public function __call($name, array $arguments) { return 'magic ' . $name . ' ' ....
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/src/Test/TestInterfaceC.php
test/src/Test/TestInterfaceC.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Test; use Traversable; interface TestInterfaceC extends Traversable { }
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/src/Test/TestInterfaceF.php
test/src/Test/TestInterfaceF.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Test; use Throwable; interface TestInterfaceF extends Throwable { }
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/src/Test/TestCountableIterator.php
test/src/Test/TestCountableIterator.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Test; use Countable; use Iterator; class TestCountableIterator implements Countable, Iterator { public function count(): int { return 0; } public function current(): int { return 0; } public function key(): int ...
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/src/Test/TestInterfaceWithScalarTypeHint.php
test/src/Test/TestInterfaceWithScalarTypeHint.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Test; interface TestInterfaceWithScalarTypeHint { public function method( int $a, float $b, string $c, bool $d ); }
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/src/Test/functions.php
test/src/Test/functions.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Test; function testFunctionWithFinalReturnType(): TestFinalClassA { return new TestFinalClassA(); }
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/src/Test/TestInterfaceWithNullableTypes.php
test/src/Test/TestInterfaceWithNullableTypes.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Test; use stdClass; interface TestInterfaceWithNullableTypes { public function staticMethodA(? string $string, ? stdClass $object): ? TestClassA; public function staticMethodB(): ? TestClassB; public function methodA(? string $string, ? stdClass ...
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/src/Test/TestClock.php
test/src/Test/TestClock.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Test; use Eloquent\Phony\Clock\Clock; class TestClock implements Clock { public function time(): float { return $this->time += 1.0; } public function setTime($time) { $this->time = $time - 1.0; } public function re...
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/src/Test/TestTraitG.php
test/src/Test/TestTraitG.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Test; trait TestTraitG { final public static function testTraitGStaticMethodA() { return implode(func_get_args()); } final public function testTraitGMethodA() { return implode(func_get_args()); } }
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/src/Test/TestInvocable.php
test/src/Test/TestInvocable.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Test; use Eloquent\Phony\Call\Arguments; use Eloquent\Phony\Invocation\Invocable; class TestInvocable implements Invocable { public function invokeWith($arguments = []) { if (!$arguments instanceof Arguments) { $arguments = Argument...
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/src/Test/TestInterfaceWithVariadicParameterByReference.php
test/src/Test/TestInterfaceWithVariadicParameterByReference.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Test; interface TestInterfaceWithVariadicParameterByReference { public function method(&...$arguments); }
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/src/Test/TestInterfaceWithVariadicParameterWithType.php
test/src/Test/TestInterfaceWithVariadicParameterWithType.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Test; use stdClass; interface TestInterfaceWithVariadicParameterWithType { public function method(stdClass ...$arguments); }
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/src/Test/TestInterfaceWithKeywordMethods.php
test/src/Test/TestInterfaceWithKeywordMethods.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Test; interface TestInterfaceWithKeywordMethods { public function return(); public function throw(); }
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/src/Test/TestClassI.php
test/src/Test/TestClassI.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Test; class TestClassI { final public function __construct($a, $b) { $this->constructorArguments = func_get_args(); } public $constructorArguments; }
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/src/Test/TestInterfaceWithVoidReturnType.php
test/src/Test/TestInterfaceWithVoidReturnType.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Test; interface TestInterfaceWithVoidReturnType { public static function staticMethod(): void; public static function __callStatic($name, array $arguments): void; public function method(): void; public function __call($name, array $arguments)...
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/src/Test/TestInterfaceH.php
test/src/Test/TestInterfaceH.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Test; use DateTimeInterface; interface TestInterfaceH extends DateTimeInterface { }
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/src/Test/TestTraitWithSelfType.php
test/src/Test/TestTraitWithSelfType.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Test; trait TestTraitWithSelfType { abstract public static function staticMethod(self $a): self; abstract public function method(self $a): self; }
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/src/Test/AbstractTestClassWithFinalReturnType.php
test/src/Test/AbstractTestClassWithFinalReturnType.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Test; abstract class AbstractTestClassWithFinalReturnType { abstract public function finalReturnType(): TestFinalClassA; abstract public function __call(string $name, array $arguments): TestFinalClassA; }
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/src/Test/TestFunctionHookGenerator.php
test/src/Test/TestFunctionHookGenerator.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Test; use Eloquent\Phony\Hook\FunctionHookGenerator; class TestFunctionHookGenerator extends FunctionHookGenerator { public function __construct($source) { $this->source = $source; } public function generateHook( string $name, ...
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/src/Test/TestEvent.php
test/src/Test/TestEvent.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Test; use Eloquent\Phony\Event\Event; class TestEvent implements Event { public function __construct(int $sequenceNumber, float $time) { $this->sequenceNumber = $sequenceNumber; $this->time = $time; } public function sequenceNu...
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/src/Test/TestInterfaceWithNullableBuiltinTypes.php
test/src/Test/TestInterfaceWithNullableBuiltinTypes.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Test; interface TestInterfaceWithNullableBuiltinTypes { public function staticMethodA(? string $string, ? int $object): ? bool; public function staticMethodB(): ? int; public function methodA(? string $string, ? int $object): ? bool; public f...
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/src/Test/GeneratorFactory.php
test/src/Test/GeneratorFactory.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Test; abstract class GeneratorFactory { public static function createEmpty() { return (function () { return; yield null; })(); } }
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/src/Test/TupleIterator.php
test/src/Test/TupleIterator.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Test; use Iterator; class TupleIterator implements Iterator { public function __construct(array $tuples) { $this->tuples = $tuples; } public function current(): mixed { return $this->tuples[key($this->tuples)][1]; } ...
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/src/Test/TestClassWithToStringException.php
test/src/Test/TestClassWithToStringException.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Test; use RuntimeException; class TestClassWithToStringException { public function __toString(): string { throw new RuntimeException('You done goofed'); } }
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/src/Test/TestCallEventFactory.php
test/src/Test/TestCallEventFactory.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Test; use Eloquent\Phony\Call\Arguments; use Eloquent\Phony\Call\Event\CalledEvent; use Eloquent\Phony\Call\Event\CallEventFactory; use Eloquent\Phony\Sequencer\Sequencer; class TestCallEventFactory extends CallEventFactory { public function __construct() ...
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/src/Test/TestTraitF.php
test/src/Test/TestTraitF.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Test; trait TestTraitF { public array $constructorArguments; private function __construct($first, $second) { $this->constructorArguments = func_get_args(); } }
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/src/Test/TestTraitD.php
test/src/Test/TestTraitD.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Test; trait TestTraitD { public array $constructorArguments; public function __construct($first, $second) { $this->constructorArguments = func_get_args(); } }
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/src/Test/TestInterfaceB.php
test/src/Test/TestInterfaceB.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Test; interface TestInterfaceB extends TestInterfaceA { public static function testClassBStaticMethodA(); public function testClassBMethodA(); public function testClassBMethodB(&$first, &$second); }
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/src/Test/TestFinalClassB.php
test/src/Test/TestFinalClassB.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Test; final class TestFinalClassB { }
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/src/Test/TestInterfaceWithUnionFinalReturnType.php
test/src/Test/TestInterfaceWithUnionFinalReturnType.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Test; interface TestInterfaceWithUnionFinalReturnType { public function finalReturnType(): TestFinalClassA|TestFinalClassB; }
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/src/Test/TestClassH.php
test/src/Test/TestClassH.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Test; final class TestClassH { final public static function testClassAStaticMethodA() { return 'final ' . implode(func_get_args()); } final public static function testClassAStaticMethodB($first, $second) { return 'final ' . ...
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/src/Test/TestClassWithTypedProperties.php
test/src/Test/TestClassWithTypedProperties.php
<?php declare(strict_types=1); $definition = join("\n", [ 'namespace Eloquent\Phony\Test;', 'class TestClassWithTypedProperties {', ' public int $int;', ' public string $string;', '}', ]); eval($definition);
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/src/Test/TestClassC.php
test/src/Test/TestClassC.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Test; class TestClassC { const CONSTANT_A = 'a'; public function methodA(self $first, $second = self::CONSTANT_A) { return implode(func_get_args()); } public function methodB($first, $second = 111, $third = 'second') { ...
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/src/Test/TestInterfaceA.php
test/src/Test/TestInterfaceA.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Test; interface TestInterfaceA { public static function testClassAStaticMethodA(); public static function testClassAStaticMethodB($first, $second); public function testClassAMethodA(); public function testClassAMethodB($first, $second); }
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/src/Test/TestTraitA.php
test/src/Test/TestTraitA.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Test; trait TestTraitA { public static function testClassAStaticMethodA(&$first = null) { return implode(func_get_args()); } public function testClassAMethodB( $first, $second, &$third = null, &$fourth = ...
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/src/Test/TestClassB.php
test/src/Test/TestClassB.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Test; class TestClassB extends TestClassA implements TestInterfaceB { public static function testClassAStaticMethodB( $first, $second, &$third = null ) { $result = implode(func_get_args()); $third = 'third'; ...
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/src/Test/TestCallFactory.php
test/src/Test/TestCallFactory.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Test; use Eloquent\Phony\Call\Arguments; use Eloquent\Phony\Call\CallData; use Eloquent\Phony\Call\CallFactory; use Eloquent\Phony\Call\Event\CalledEvent; use Eloquent\Phony\Call\Event\EndEvent; use Eloquent\Phony\Call\Event\ResponseEvent; use Eloquent\Phony\In...
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/src/Test/TestMockGenerator.php
test/src/Test/TestMockGenerator.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Test; use Eloquent\Phony\Mock\Builder\MockDefinition; use Eloquent\Phony\Mock\MockGenerator; use Eloquent\Phony\Reflection\FeatureDetector; use Eloquent\Phony\Reflection\FunctionSignatureInspector; use Eloquent\Phony\Sequencer\Sequencer; class TestMockGenerato...
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/src/Test/TestInterfaceWithReturnType.php
test/src/Test/TestInterfaceWithReturnType.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Test; interface TestInterfaceWithReturnType { public function classType(): TestClassA; public function scalarType(): int; public function __call($name, array $arguments): string; public static function __callStatic($name, array $arguments): s...
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/src/Test/TestIteratorAggregate.php
test/src/Test/TestIteratorAggregate.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Test; use IteratorAggregate; use Traversable; class TestIteratorAggregate implements IteratorAggregate { public function __construct($iterator) { $this->iterator = $iterator; } public function getIterator(): Traversable { r...
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/src/Test/TestInterfaceWithSelfReturnType.php
test/src/Test/TestInterfaceWithSelfReturnType.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Test; interface TestInterfaceWithSelfReturnType { public static function staticMethod(): self; public static function __callStatic($name, array $arguments): self; public function method(): self; public function __call($name, array $arguments)...
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/src/Test/TestInterfaceWithUnionTypes.php
test/src/Test/TestInterfaceWithUnionTypes.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Test; interface TestInterfaceWithUnionTypes { public static function staticMethodA(string|int $a): string|int; public function methodA(string|int $a): string|int; }
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/src/Test/Properties/TestBaseClass.php
test/src/Test/Properties/TestBaseClass.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Test\Properties; class TestBaseClass { public $basePublic = '<base-public>'; private $basePrivate = '<base-private>'; protected $baseProtected = '<base-protected>'; }
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/src/Test/Properties/TestDerivedClassB.php
test/src/Test/Properties/TestDerivedClassB.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Test\Properties; class TestDerivedClassB extends TestBaseClass { public function __construct( $publicValue = null, $privateValue = null, $protectedValue = null ) { if (null !== $publicValue) { $this->derivedPu...
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/src/Test/Properties/TestDerivedClassWithTraitB.php
test/src/Test/Properties/TestDerivedClassWithTraitB.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Test\Properties; class TestDerivedClassWithTraitB extends TestBaseClass { use TestTrait; public function __construct( $publicValue = null, $privateValue = null, $protectedValue = null ) { if (null !== $publicValue) {...
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/src/Test/Properties/TestDerivedClassWithTraitA.php
test/src/Test/Properties/TestDerivedClassWithTraitA.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Test\Properties; class TestDerivedClassWithTraitA extends TestBaseClass { use TestTrait; public function __construct( $publicValue = null, $privateValue = null, $protectedValue = null ) { if (null !== $publicValue) {...
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/src/Test/Properties/TestTrait.php
test/src/Test/Properties/TestTrait.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Test\Properties; trait TestTrait { public $traitPublic = '<trait-public>'; private $traitPrivate = '<trait-private>'; protected $traitProtected = '<trait-protected>'; }
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/src/Test/Properties/TestDerivedClassA.php
test/src/Test/Properties/TestDerivedClassA.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Test\Properties; class TestDerivedClassA extends TestBaseClass { public function __construct( $publicValue = null, $privateValue = null, $protectedValue = null ) { if (null !== $publicValue) { $this->derivedPu...
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/src/Test/Facade/FacadeContainer.php
test/src/Test/Facade/FacadeContainer.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Test\Facade; use Eloquent\Phony\Assertion\AssertionRenderer; use Eloquent\Phony\Assertion\ExceptionAssertionRecorder; use Eloquent\Phony\Call\CallFactory; use Eloquent\Phony\Call\CallVerifierFactory; use Eloquent\Phony\Call\Event\CallEventFactory; use Eloquent\...
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/src/Test/Facade/Phony.php
test/src/Test/Facade/Phony.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Test\Facade; use Eloquent\Phony\Facade\FacadeTrait; /** * A facade for Phony integration tests. */ class Phony { use FacadeTrait; public static function reset() { Globals::$container->exporter->reset(); foreach (Globals::$contai...
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/src/Test/Facade/Globals.php
test/src/Test/Facade/Globals.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Test\Facade; class Globals { public static $container; }
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/src/Test/Php82/TestClassReadonlySubclass.php
test/src/Test/Php82/TestClassReadonlySubclass.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Test\Php82; readonly class TestClassReadonlySubclass extends TestClassReadonly { public bool $propertyC; public function __construct() { parent::__construct(); $this->propertyC = true; } }
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/src/Test/Php82/TestClassReadonly.php
test/src/Test/Php82/TestClassReadonly.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Test\Php82; readonly class TestClassReadonly { public string $propertyA; public int $propertyB; public function __construct() { $this->propertyA = 'a'; $this->propertyB = 111; } }
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/src/Test/Php82/TestInterfaceWithPhp82StandaloneTypes.php
test/src/Test/Php82/TestInterfaceWithPhp82StandaloneTypes.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Test\Php82; interface TestInterfaceWithPhp82StandaloneTypes { public static function staticMethodA(true $a): true; public static function staticMethodB(false $a): false; public static function staticMethodC(null $a): null; public function met...
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/src/Test/Php82/TestInterfaceWithDnfTypes.php
test/src/Test/Php82/TestInterfaceWithDnfTypes.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Test\Php82; use Countable; use Iterator; use IteratorAggregate; interface TestInterfaceWithDnfTypes { public static function staticMethodA( (Countable&Iterator)|(Countable&IteratorAggregate) $a ): (Countable&Iterator)|(Countable&IteratorAggrega...
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/src/Test/Php81/TestBasicEnum.php
test/src/Test/Php81/TestBasicEnum.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Test\Php81; enum TestBasicEnum { case A; case B; case C; }
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/src/Test/Php81/TestInterfaceWithIntersectionFinalReturnType.php
test/src/Test/Php81/TestInterfaceWithIntersectionFinalReturnType.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Test\Php81; use Countable; use Eloquent\Phony\Test\TestFinalClassA; interface TestInterfaceWithIntersectionFinalReturnType { public function finalReturnType(): Countable&TestFinalClassA; }
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/src/Test/Php81/TestInterfaceUsingEnums.php
test/src/Test/Php81/TestInterfaceUsingEnums.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Test\Php81; interface TestInterfaceUsingEnums { public static function staticMethodA(): TestBasicEnum; public static function staticMethodB(TestBasicEnum $case): TestBasicEnum; public static function staticMethodC(): TestBackedEnum; public st...
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/src/Test/Php81/TestInterfaceWithIntersectionTypes.php
test/src/Test/Php81/TestInterfaceWithIntersectionTypes.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Test\Php81; use Countable; use Iterator; interface TestInterfaceWithIntersectionTypes { public static function staticMethodA(Countable&Iterator $a): Countable&Iterator; public function methodA(Countable&Iterator $a): Countable&Iterator; }
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/src/Test/Php81/TestBackedEnum.php
test/src/Test/Php81/TestBackedEnum.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Test\Php81; enum TestBackedEnum: string { case A = 'A'; case B = 'B'; case C = 'C'; }
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/src/Test/Php81/TestZeroCaseEnum.php
test/src/Test/Php81/TestZeroCaseEnum.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Test\Php81; enum TestZeroCaseEnum { }
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/src/Test/Php81/TestClassWithReadonlyProperties.php
test/src/Test/Php81/TestClassWithReadonlyProperties.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Test\Php81; class TestClassWithReadonlyProperties { public readonly int $public; protected readonly int $protected; private readonly int $private; public function __construct( public readonly int $publicConstructor, protected re...
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/suite/VerificationTest.php
test/suite/VerificationTest.php
<?php declare(strict_types=1); namespace Eloquent\Phony; use Eloquent\Phony\Assertion\Exception\AssertionException; use Eloquent\Phony\Test\Facade\Phony; use PHPUnit\Framework\TestCase; use RuntimeException; class VerificationTest extends TestCase { protected function setUp(): void { Phony::setUseCo...
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/suite/FunctionalTest.php
test/suite/FunctionalTest.php
<?php use function Eloquent\Phony\anyOrder; use Eloquent\Phony\Assertion\Exception\AssertionException; use function Eloquent\Phony\equalTo; use Eloquent\Phony\Facade\Globals; use function Eloquent\Phony\inOrder; use function Eloquent\Phony\mock; use Eloquent\Phony\Mock\Exception\AnonymousClassException; use Eloquent\P...
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
true
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/suite/PhonyTest.php
test/suite/PhonyTest.php
<?php declare(strict_types=1); namespace Eloquent\Phony; use AllowDynamicProperties; use Countable; use Eloquent\Phony\Assertion\Exception\AssertionException; use Eloquent\Phony\Call\Arguments; use Eloquent\Phony\Event\EventSequence; use Eloquent\Phony\Facade as TestNamespace; use Eloquent\Phony\Matcher\AnyMatcher; ...
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/suite/Event/EventOrderVerifierTest.php
test/suite/Event/EventOrderVerifierTest.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Event; use AllowDynamicProperties; use Eloquent\Phony\Assertion\Exception\AssertionException; use Eloquent\Phony\Call\Arguments; use Eloquent\Phony\Test\Facade\FacadeContainer; use InvalidArgumentException; use PHPUnit\Framework\TestCase; #[AllowDynamicPropert...
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/suite/Event/EventSequenceTest.php
test/suite/Event/EventSequenceTest.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Event; 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 PHPUnit\Framework\Tes...
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/suite/Event/Exception/UndefinedEventExceptionTest.php
test/suite/Event/Exception/UndefinedEventExceptionTest.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Event\Exception; use Exception; use PHPUnit\Framework\TestCase; class UndefinedEventExceptionTest extends TestCase { public function testException() { $index = 111; $cause = new Exception(); $exception = new UndefinedEventExcept...
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/suite/Hamcrest/HamcrestMatcherTest.php
test/suite/Hamcrest/HamcrestMatcherTest.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Hamcrest; use AllowDynamicProperties; use PHPUnit\Framework\TestCase; #[AllowDynamicProperties] class HamcrestMatcherTest extends TestCase { protected function setUp(): void { $this->matcher = equalTo('value'); $this->subject = new Hamc...
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/suite/Hamcrest/HamcrestMatcherDriverTest.php
test/suite/Hamcrest/HamcrestMatcherDriverTest.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Hamcrest; use AllowDynamicProperties; use Hamcrest\Matcher; use Hamcrest\Util; use PHPUnit\Framework\TestCase; #[AllowDynamicProperties] class HamcrestMatcherDriverTest extends TestCase { protected function setUp(): void { Util::registerGlobalF...
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/suite/Reflection/FeatureDetectorTest.php
test/suite/Reflection/FeatureDetectorTest.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Reflection; use AllowDynamicProperties; use Eloquent\Phony\Reflection\Exception\UndefinedFeatureException; use PHPUnit\Framework\TestCase; #[AllowDynamicProperties] class FeatureDetectorTest 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/Reflection/FunctionSignatureInspectorTest.php
test/suite/Reflection/FunctionSignatureInspectorTest.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Reflection; use AllowDynamicProperties; use Eloquent\Phony\Test\TestTraitWithSelfType; use PHPUnit\Framework\TestCase; use ReflectionFunction; use ReflectionMethod; #[AllowDynamicProperties] class FunctionSignatureInspectorTest extends TestCase { const CON...
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/suite/Reflection/Exception/UndefinedFeatureExceptionTest.php
test/suite/Reflection/Exception/UndefinedFeatureExceptionTest.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Reflection\Exception; use PHPUnit\Framework\TestCase; class UndefinedFeatureExceptionTest extends TestCase { public function testException() { $feature = 'feature'; $exception = new UndefinedFeatureException($feature); $this->a...
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/suite/Exporter/InlineExporterTest.php
test/suite/Exporter/InlineExporterTest.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Exporter; use AllowDynamicProperties; use ClassWithProperty; use Eloquent\Phony\Test\Facade\FacadeContainer; use Eloquent\Phony\Test\Properties\TestBaseClass; use Eloquent\Phony\Test\Properties\TestDerivedClassA; use Eloquent\Phony\Test\TestClassA; use Eloquent...
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/suite/Hook/FunctionHookGeneratorTest.php
test/suite/Hook/FunctionHookGeneratorTest.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Hook; use AllowDynamicProperties; use Eloquent\Phony\Test\Facade\FacadeContainer; use PHPUnit\Framework\TestCase; #[AllowDynamicProperties] class FunctionHookGeneratorTest 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/Hook/FunctionHookManagerTest.php
test/suite/Hook/FunctionHookManagerTest.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Hook; use AllowDynamicProperties; use Eloquent\Phony\Hook\Exception\FunctionExistsException; use Eloquent\Phony\Hook\Exception\FunctionHookGenerationFailedException; use Eloquent\Phony\Hook\Exception\FunctionSignatureMismatchException; use Eloquent\Phony\Test\F...
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/suite/Hook/Exception/FunctionHookGenerationFailedExceptionTest.php
test/suite/Hook/Exception/FunctionHookGenerationFailedExceptionTest.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Hook\Exception; use AllowDynamicProperties; use Exception; use PHPUnit\Framework\TestCase; #[AllowDynamicProperties] class FunctionHookGenerationFailedExceptionTest extends TestCase { protected function setUp(): void { $this->functionName = 'fu...
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/suite/Hook/Exception/FunctionSignatureMismatchExceptionTest.php
test/suite/Hook/Exception/FunctionSignatureMismatchExceptionTest.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Hook\Exception; use PHPUnit\Framework\TestCase; class FunctionSignatureMismatchExceptionTest extends TestCase { public function testException() { $functionName = 'functionName'; $exception = new FunctionSignatureMismatchException($funct...
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/suite/Hook/Exception/FunctionExistsExceptionTest.php
test/suite/Hook/Exception/FunctionExistsExceptionTest.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Hook\Exception; use PHPUnit\Framework\TestCase; class FunctionExistsExceptionTest extends TestCase { public function testException() { $functionName = 'functionName'; $exception = new FunctionExistsException($functionName); $th...
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/suite/Invocation/InvokerTest.php
test/suite/Invocation/InvokerTest.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Invocation; use AllowDynamicProperties; use Eloquent\Phony\Call\Arguments; use Eloquent\Phony\Test\TestInvocable; use PHPUnit\Framework\TestCase; #[AllowDynamicProperties] class InvokerTest 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/Invocation/InvocableInspectorTest.php
test/suite/Invocation/InvocableInspectorTest.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Invocation; use AllowDynamicProperties; use Eloquent\Phony\Test\Facade\FacadeContainer; use Eloquent\Phony\Test\TestClassA; use Eloquent\Phony\Test\TestInvocable; use Eloquent\Phony\Test\TestWrappedInvocable; use PHPUnit\Framework\TestCase; use ReflectionFuncti...
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/suite/Clock/SystemClockTest.php
test/suite/Clock/SystemClockTest.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Clock; use AllowDynamicProperties; use PHPUnit\Framework\TestCase; #[AllowDynamicProperties] class SystemClockTest extends TestCase { protected function setUp(): void { $time = 0.123; $this->microtime = function ($isFloat) use (&$time) ...
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/suite/Facade/FacadeContainerTest.php
test/suite/Facade/FacadeContainerTest.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Facade; use PHPUnit\Framework\TestCase; class FacadeContainerTest extends TestCase { public function testContainer() { $error = null; try { new FacadeContainer(); } catch (Throwable $e) { $error = $e; ...
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/suite/Assertion/AssertionRendererTest.php
test/suite/Assertion/AssertionRendererTest.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Assertion; use AllowDynamicProperties; use Eloquent\Phony\Call\Arguments; use Eloquent\Phony\Test\Facade\FacadeContainer; use Eloquent\Phony\Test\TestClassA; use Eloquent\Phony\Verification\Cardinality; use IteratorAggregate; use PHPUnit\Framework\TestCase; use...
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/test/suite/Assertion/ExceptionAssertionRecorderTest.php
test/suite/Assertion/ExceptionAssertionRecorderTest.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Assertion; use AllowDynamicProperties; use Eloquent\Phony\Assertion\Exception\AssertionException; use Eloquent\Phony\Call\Event\ReturnedEvent; use Eloquent\Phony\Event\EventSequence; use Eloquent\Phony\Test\Facade\FacadeContainer; use PHPUnit\Framework\TestCase...
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false