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
renatocassino/dephpugger
https://github.com/renatocassino/dephpugger/blob/58cbd70b661a7f8d9cab2e507867230c51842c9d/src/Dephpug/Command/ContinueCommand.php
src/Dephpug/Command/ContinueCommand.php
<?php namespace Dephpug\Command; class ContinueCommand extends \Dephpug\Command { public function getName() { return 'Continue'; } public function getShortDescription() { return 'Run the script to the next breakpoint or finish the code'; } public function getDescription()...
php
MIT
58cbd70b661a7f8d9cab2e507867230c51842c9d
2026-01-05T02:15:37.369464Z
false
renatocassino/dephpugger
https://github.com/renatocassino/dephpugger/blob/58cbd70b661a7f8d9cab2e507867230c51842c9d/src/Dephpug/Command/SetValueCommand.php
src/Dephpug/Command/SetValueCommand.php
<?php namespace Dephpug\Command; class SetValueCommand extends \Dephpug\Command { public function getName() { return 'SetValue'; } public function getShortDescription() { return 'Set variable value'; } public function getDescription() { return implode( ...
php
MIT
58cbd70b661a7f8d9cab2e507867230c51842c9d
2026-01-05T02:15:37.369464Z
false
renatocassino/dephpugger
https://github.com/renatocassino/dephpugger/blob/58cbd70b661a7f8d9cab2e507867230c51842c9d/src/Dephpug/Command/EvalCommand.php
src/Dephpug/Command/EvalCommand.php
<?php namespace Dephpug\Command; class EvalCommand extends \Dephpug\Command { public $level = 2; public function getName() { return 'eval'; } public function getShortDescription() { return 'If command does not match in any case, run eval.'; } public function getDescr...
php
MIT
58cbd70b661a7f8d9cab2e507867230c51842c9d
2026-01-05T02:15:37.369464Z
false
renatocassino/dephpugger
https://github.com/renatocassino/dephpugger/blob/58cbd70b661a7f8d9cab2e507867230c51842c9d/src/Dephpug/Command/ListPreviousCommand.php
src/Dephpug/Command/ListPreviousCommand.php
<?php namespace Dephpug\Command; use Dephpug\Output; class ListPreviousCommand extends \Dephpug\Command { public function getName() { return 'ListPrevious'; } public function getShortDescription() { return 'List previous file lines'; } public function getDescription() ...
php
MIT
58cbd70b661a7f8d9cab2e507867230c51842c9d
2026-01-05T02:15:37.369464Z
false
renatocassino/dephpugger
https://github.com/renatocassino/dephpugger/blob/58cbd70b661a7f8d9cab2e507867230c51842c9d/tests/_bootstrap.php
tests/_bootstrap.php
<?php // Here you can initialize variables that will be available to your tests require 'vendor/autoload.php'; $paths = array_merge( glob('src/Dephpug/*.php'), glob('src/Dephpug/*/*.php'), glob('src/Dephpug/*/*/*.php') ); foreach ($paths as $file) { include_once $file; } use Symfony\Component\Console...
php
MIT
58cbd70b661a7f8d9cab2e507867230c51842c9d
2026-01-05T02:15:37.369464Z
false
renatocassino/dephpugger
https://github.com/renatocassino/dephpugger/blob/58cbd70b661a7f8d9cab2e507867230c51842c9d/tests/unit/FilePrinterTest.php
tests/unit/FilePrinterTest.php
<?php use Dephpug\FilePrinter; class FilePrinterTest extends \PHPUnit\Framework\TestCase { protected $smallFilePrinter; protected $bigFilePrinter; /** * @before */ protected function _before() { $this->smallFilePrinter = new FilePrinter(); $this->bigFilePrinter = new Fil...
php
MIT
58cbd70b661a7f8d9cab2e507867230c51842c9d
2026-01-05T02:15:37.369464Z
false
renatocassino/dephpugger
https://github.com/renatocassino/dephpugger/blob/58cbd70b661a7f8d9cab2e507867230c51842c9d/tests/unit/MessageParseTest.php
tests/unit/MessageParseTest.php
<?php use Dephpug\MessageParse; class MessageParseTest extends \PHPUnit\Framework\TestCase { protected $messageParse; /** * @before */ protected function _before() { $this->messageParse = new MessageParse(); } public function testRemovingNumbersBeforeXML() { $me...
php
MIT
58cbd70b661a7f8d9cab2e507867230c51842c9d
2026-01-05T02:15:37.369464Z
false
renatocassino/dephpugger
https://github.com/renatocassino/dephpugger/blob/58cbd70b661a7f8d9cab2e507867230c51842c9d/tests/unit/OutputTest.php
tests/unit/OutputTest.php
<?php use Dephpug\Output; use Symfony\Component\Console\Output\ConsoleOutput; class OutputTest extends \PHPUnit\Framework\TestCase { // tests public function testIfGettingASymfonyOutput() { $output = Output::getOutput(); $hasASymfonyClass = ($output instanceof ConsoleOutput); $this...
php
MIT
58cbd70b661a7f8d9cab2e507867230c51842c9d
2026-01-05T02:15:37.369464Z
false
renatocassino/dephpugger
https://github.com/renatocassino/dephpugger/blob/58cbd70b661a7f8d9cab2e507867230c51842c9d/tests/unit/ExceptionExitProgramTest.php
tests/unit/ExceptionExitProgramTest.php
<?php use Dephpug\Exception\ExitProgram; class ExceptionExitProgramTest extends \PHPUnit\Framework\TestCase { public function testExceptionMessage() { try { throw new ExitProgram('Status 0', 0); } catch (ExitProgram $e) { $this->assertEquals('Dephpug\Exception\ExitProgr...
php
MIT
58cbd70b661a7f8d9cab2e507867230c51842c9d
2026-01-05T02:15:37.369464Z
false
renatocassino/dephpugger
https://github.com/renatocassino/dephpugger/blob/58cbd70b661a7f8d9cab2e507867230c51842c9d/tests/unit/ConfigTest.php
tests/unit/ConfigTest.php
<?php use Dephpug\Config; use PHPUnit\Framework\TestCase; class ConfigTest extends TestCase { protected $defaultConfig; /** * @before */ protected function _before() { $config = new Config(); $this->defaultConfig = $config->getConfig(); } // tests public functio...
php
MIT
58cbd70b661a7f8d9cab2e507867230c51842c9d
2026-01-05T02:15:37.369464Z
false
renatocassino/dephpugger
https://github.com/renatocassino/dephpugger/blob/58cbd70b661a7f8d9cab2e507867230c51842c9d/tests/unit/Exporter/ExporterTest.php
tests/unit/Exporter/ExporterTest.php
<?php namespace Exporter; class ExporterTest extends \PHPUnit\Framework\TestCase { protected $arrayXml; protected $boolXml; protected $floatXml; protected $integerXml; protected $nullXml; protected $objectXml; protected $resourceXml; protected $stringXml; protected $unknowXml; ...
php
MIT
58cbd70b661a7f8d9cab2e507867230c51842c9d
2026-01-05T02:15:37.369464Z
false
renatocassino/dephpugger
https://github.com/renatocassino/dephpugger/blob/58cbd70b661a7f8d9cab2e507867230c51842c9d/tests/unit/Exporter/Type/ArrayExporterTest.php
tests/unit/Exporter/Type/ArrayExporterTest.php
<?php namespace Exporter\Type; class ArrayExporterTest extends \PHPUnit\Framework\TestCase { public function testMixArray() { // Example of response $message = <<<'EOL' <?xml version="1.0" encoding="UTF-8"?> <response> <property> <property name="0" type="int"><![CDATA[0]]></property> ...
php
MIT
58cbd70b661a7f8d9cab2e507867230c51842c9d
2026-01-05T02:15:37.369464Z
false
renatocassino/dephpugger
https://github.com/renatocassino/dephpugger/blob/58cbd70b661a7f8d9cab2e507867230c51842c9d/tests/unit/Exporter/Type/FloatExplorerTest.php
tests/unit/Exporter/Type/FloatExplorerTest.php
<?php namespace Exporter\Type; use Dephpug\Exporter\Type\FloatExporter; class FloatExplorerTest extends \PHPUnit\Framework\TestCase { public function testPrintValueWithAFloat() { $message = <<<'EOL' <?xml version="1.0" encoding="iso-8859-1"?> <response><property name="$f" type="float"><![CDATA[3.141]...
php
MIT
58cbd70b661a7f8d9cab2e507867230c51842c9d
2026-01-05T02:15:37.369464Z
false
renatocassino/dephpugger
https://github.com/renatocassino/dephpugger/blob/58cbd70b661a7f8d9cab2e507867230c51842c9d/tests/unit/Exporter/Type/IntegerExplorerTest.php
tests/unit/Exporter/Type/IntegerExplorerTest.php
<?php namespace Exporter\Type; use Dephpug\Exporter\Type\IntegerExporter; class IntegerExplorerTest extends \PHPUnit\Framework\TestCase { public function testPrintValueWithAnInteger() { $message = <<<'EOL' <?xml version="1.0" encoding="iso-8859-1"?> <response><property name="$i" type="int"><![CDATA[1...
php
MIT
58cbd70b661a7f8d9cab2e507867230c51842c9d
2026-01-05T02:15:37.369464Z
false
renatocassino/dephpugger
https://github.com/renatocassino/dephpugger/blob/58cbd70b661a7f8d9cab2e507867230c51842c9d/tests/unit/Exporter/Type/ObjectExporterTest.php
tests/unit/Exporter/Type/ObjectExporterTest.php
<?php namespace Exporter\Type; class ObjectExporterTest extends \PHPUnit\Framework\TestCase { public function testPrintValueWithAClass() { $message = <<<'EOL' <?xml version="1.0" encoding="iso-8859-1"?><response><property name="$klass" type="object" classname="stdClass"><property name="i" facet="publi...
php
MIT
58cbd70b661a7f8d9cab2e507867230c51842c9d
2026-01-05T02:15:37.369464Z
false
renatocassino/dephpugger
https://github.com/renatocassino/dephpugger/blob/58cbd70b661a7f8d9cab2e507867230c51842c9d/tests/unit/Exporter/Type/BoolExporterTest.php
tests/unit/Exporter/Type/BoolExporterTest.php
<?php namespace Exporter\Type; use Dephpug\Exporter\Type\BoolExporter; class BoolExporterTest extends \PHPUnit\Framework\TestCase { public function testGettingBoolVariableWhenTrue() { $message = <<<'EOL' <?xml version="1.0" encoding="iso-8859-1"?> <response><property name="$i" type="bool"><![CDATA[1]...
php
MIT
58cbd70b661a7f8d9cab2e507867230c51842c9d
2026-01-05T02:15:37.369464Z
false
renatocassino/dephpugger
https://github.com/renatocassino/dephpugger/blob/58cbd70b661a7f8d9cab2e507867230c51842c9d/tests/unit/Exporter/Type/NullExporterTest.php
tests/unit/Exporter/Type/NullExporterTest.php
<?php namespace Exporter\Type; use Dephpug\Exporter\Type\NullExporter; class NullExporterTest extends \PHPUnit\Framework\TestCase { public function testPrintValueWithAnInteger() { $message = <<<'EOL' <?xml version="1.0" encoding="iso-8859-1"?> <response><property name="$i" type="null"></property></re...
php
MIT
58cbd70b661a7f8d9cab2e507867230c51842c9d
2026-01-05T02:15:37.369464Z
false
renatocassino/dephpugger
https://github.com/renatocassino/dephpugger/blob/58cbd70b661a7f8d9cab2e507867230c51842c9d/tests/unit/Exporter/Type/UnknowExporterTest.php
tests/unit/Exporter/Type/UnknowExporterTest.php
<?php namespace Exporter\Type; class UnknowExporterTest extends \PHPUnit\Framework\TestCase { public function testMe() { // Write tests $this->assertTrue(true); } }
php
MIT
58cbd70b661a7f8d9cab2e507867230c51842c9d
2026-01-05T02:15:37.369464Z
false
renatocassino/dephpugger
https://github.com/renatocassino/dephpugger/blob/58cbd70b661a7f8d9cab2e507867230c51842c9d/tests/unit/Exporter/Type/ResourceExporterTest.php
tests/unit/Exporter/Type/ResourceExporterTest.php
<?php namespace Exporter\Type; use Dephpug\Exporter\Type\ResourceExporter; class ResourceExporterTest extends \PHPUnit\Framework\TestCase { public function testPrintValueWithResource() { $message = <<<'EOL' <?xml version="1.0" encoding="iso-8859-1"?> <response><property name="$fp" type="resource"><![...
php
MIT
58cbd70b661a7f8d9cab2e507867230c51842c9d
2026-01-05T02:15:37.369464Z
false
renatocassino/dephpugger
https://github.com/renatocassino/dephpugger/blob/58cbd70b661a7f8d9cab2e507867230c51842c9d/tests/unit/Exporter/Type/StringExporterTest.php
tests/unit/Exporter/Type/StringExporterTest.php
<?php namespace Exporter\Type; use Dephpug\Exporter\Type\StringExporter; class StringExporterTest extends \PHPUnit\Framework\TestCase { public function testPrintValueWithAString() { $message = <<<'EOL' <?xml version="1.0" encoding="iso-8859-1"?> <response><property name="$str" type="string"><![CDATA[...
php
MIT
58cbd70b661a7f8d9cab2e507867230c51842c9d
2026-01-05T02:15:37.369464Z
false
renatocassino/dephpugger
https://github.com/renatocassino/dephpugger/blob/58cbd70b661a7f8d9cab2e507867230c51842c9d/tests/unit/Mocks/dbgpServerSocket.php
tests/unit/Mocks/dbgpServerSocket.php
<?php namespace Dephpug\Dbgp; class GlobalAttribute { public static $startClientValue; public static $socketRecv; public static $buffer; public static $socketWrite; public static $socketAccept; } function startClient($host = 'localhost', $port = 9005) { return GlobalAttribute::$startClientVal...
php
MIT
58cbd70b661a7f8d9cab2e507867230c51842c9d
2026-01-05T02:15:37.369464Z
false
renatocassino/dephpugger
https://github.com/renatocassino/dephpugger/blob/58cbd70b661a7f8d9cab2e507867230c51842c9d/tests/unit/Parser/VerboseModeMessageEventTest.php
tests/unit/Parser/VerboseModeMessageEventTest.php
<?php namespace Parser; use Dephpug\Parser\VerboseModeMessageParse; class VerboseModeMessageEventTest extends \PHPUnit\Framework\TestCase { /** * @before */ protected function _before() { $this->verboseMode = new VerboseModeMessageParse(); } public function testMatch() { ...
php
MIT
58cbd70b661a7f8d9cab2e507867230c51842c9d
2026-01-05T02:15:37.369464Z
false
renatocassino/dephpugger
https://github.com/renatocassino/dephpugger/blob/58cbd70b661a7f8d9cab2e507867230c51842c9d/tests/unit/Parser/CloseMessageEventTest.php
tests/unit/Parser/CloseMessageEventTest.php
<?php namespace Parser; use Dephpug\Parser\CloseMessageEvent; class CloseMessageEventTest extends \PHPUnit\Framework\TestCase { /** * @before */ public function _before() { $this->closeMessageEvent = new CloseMessageEvent(); } public function testErrorMatchingRunState() { ...
php
MIT
58cbd70b661a7f8d9cab2e507867230c51842c9d
2026-01-05T02:15:37.369464Z
false
renatocassino/dephpugger
https://github.com/renatocassino/dephpugger/blob/58cbd70b661a7f8d9cab2e507867230c51842c9d/tests/unit/Parser/InitMessageEventTest.php
tests/unit/Parser/InitMessageEventTest.php
<?php namespace Parser; use Dephpug\Parser\InitMessageEvent; class InitMessageEventTest extends \PHPUnit\Framework\TestCase { /** * @before */ protected function _before() { $this->initMessageEvent = new InitMessageEvent(); } // tests public function testMatching() { ...
php
MIT
58cbd70b661a7f8d9cab2e507867230c51842c9d
2026-01-05T02:15:37.369464Z
false
renatocassino/dephpugger
https://github.com/renatocassino/dephpugger/blob/58cbd70b661a7f8d9cab2e507867230c51842c9d/tests/unit/Parser/PropertyGetMessageTest.php
tests/unit/Parser/PropertyGetMessageTest.php
<?php namespace Parser; use Dephpug\Parser\PropertyGetMessageEvent; class PropertyGetMessageTest extends \PHPUnit\Framework\TestCase { /** * @before */ protected function _before() { $this->propertyGetMessage = new PropertyGetMessageEvent(); } public function testPassingToExpor...
php
MIT
58cbd70b661a7f8d9cab2e507867230c51842c9d
2026-01-05T02:15:37.369464Z
false
renatocassino/dephpugger
https://github.com/renatocassino/dephpugger/blob/58cbd70b661a7f8d9cab2e507867230c51842c9d/tests/unit/Parser/ErrorMessageEventTest.php
tests/unit/Parser/ErrorMessageEventTest.php
<?php namespace Parser; use Dephpug\Parser\ErrorMessageEvent; class ErrorMessageEventTest extends \PHPUnit\Framework\TestCase { /** * @before */ protected function _before() { $this->errorMessageEvent = new ErrorMessageEvent(); } public function testMatchingErrorMessage() {...
php
MIT
58cbd70b661a7f8d9cab2e507867230c51842c9d
2026-01-05T02:15:37.369464Z
false
renatocassino/dephpugger
https://github.com/renatocassino/dephpugger/blob/58cbd70b661a7f8d9cab2e507867230c51842c9d/tests/unit/Parser/FilePrinterMessageEventTest.php
tests/unit/Parser/FilePrinterMessageEventTest.php
<?php namespace Parser; use Dephpug\Parser\FilePrinterMessageEvent; use Dephpug\FilePrinter; class FilePrinterMessageEventTest extends \PHPUnit\Framework\TestCase { /** * @before */ protected function _before() { $this->filePrinterMessageEvent = new FilePrinterMessageEvent(); } ...
php
MIT
58cbd70b661a7f8d9cab2e507867230c51842c9d
2026-01-05T02:15:37.369464Z
false
renatocassino/dephpugger
https://github.com/renatocassino/dephpugger/blob/58cbd70b661a7f8d9cab2e507867230c51842c9d/tests/unit/Dbgp/ClientTest.php
tests/unit/Dbgp/ClientTest.php
<?php use Dephpug\Dbgp\Client; class DbgpClientTest extends \PHPUnit\Framework\TestCase { /** * @before */ protected function _before() { $this->dbgpClient = new Client(); } public function testAutoIncrementInTransactionId() { $id = $this->dbgpClient->getTransactionI...
php
MIT
58cbd70b661a7f8d9cab2e507867230c51842c9d
2026-01-05T02:15:37.369464Z
false
renatocassino/dephpugger
https://github.com/renatocassino/dephpugger/blob/58cbd70b661a7f8d9cab2e507867230c51842c9d/tests/unit/Dbgp/ServerTest.php
tests/unit/Dbgp/ServerTest.php
<?php use Dephpug\Dbgp\Server; require_once __DIR__ . '/../Mocks/dbgpServerSocket.php'; use Dephpug\Dbgp\GlobalAttribute; class DbgpServerTest extends \PHPUnit\Framework\TestCase { /** * @before */ protected function _before() { $this->dbgpServer = new Server(); } public funct...
php
MIT
58cbd70b661a7f8d9cab2e507867230c51842c9d
2026-01-05T02:15:37.369464Z
false
renatocassino/dephpugger
https://github.com/renatocassino/dephpugger/blob/58cbd70b661a7f8d9cab2e507867230c51842c9d/tests/unit/Command/ListCommandTest.php
tests/unit/Command/ListCommandTest.php
<?php namespace Command; use Dephpug\Command\ListCommand; class ListCommandTest extends \PHPUnit\Framework\TestCase { /** * @before */ protected function _before() { $this->listCommand = new ListCommand(); } public function testRegexpAliasL() { $regexp = $this->list...
php
MIT
58cbd70b661a7f8d9cab2e507867230c51842c9d
2026-01-05T02:15:37.369464Z
false
renatocassino/dephpugger
https://github.com/renatocassino/dephpugger/blob/58cbd70b661a7f8d9cab2e507867230c51842c9d/tests/unit/Command/SetCommandTest.php
tests/unit/Command/SetCommandTest.php
<?php namespace Command; use Dephpug\Command\SetCommand; class SetCommandTest extends \PHPUnit\Framework\TestCase { /** * @before */ protected function _before() { $this->setCommand = new SetCommand(); } public function testRegexpSettingVerboseModeAsTrue() { $regexp ...
php
MIT
58cbd70b661a7f8d9cab2e507867230c51842c9d
2026-01-05T02:15:37.369464Z
false
renatocassino/dephpugger
https://github.com/renatocassino/dephpugger/blob/58cbd70b661a7f8d9cab2e507867230c51842c9d/tests/unit/Command/StepIntoCommandTest.php
tests/unit/Command/StepIntoCommandTest.php
<?php namespace Command; use Dephpug\Command\StepIntoCommand; class StepIntoCommandTest extends \PHPUnit\Framework\TestCase { /** * @before */ protected function _before() { $this->stepIntoCommand = new StepIntoCommand(); } public function testRegexpAliasS() { $rege...
php
MIT
58cbd70b661a7f8d9cab2e507867230c51842c9d
2026-01-05T02:15:37.369464Z
false
renatocassino/dephpugger
https://github.com/renatocassino/dephpugger/blob/58cbd70b661a7f8d9cab2e507867230c51842c9d/tests/unit/Command/EvalCommandTest.php
tests/unit/Command/EvalCommandTest.php
<?php namespace Command; use Dephpug\Command\EvalCommand; class EvalCommandTest extends \PHPUnit\Framework\TestCase { /** * @before */ protected function _before() { $this->evalCommand = new EvalCommand(); } public function testLevelMoreThanOne() { $this->assertTrue...
php
MIT
58cbd70b661a7f8d9cab2e507867230c51842c9d
2026-01-05T02:15:37.369464Z
false
renatocassino/dephpugger
https://github.com/renatocassino/dephpugger/blob/58cbd70b661a7f8d9cab2e507867230c51842c9d/tests/unit/Command/GetValueCommandTest.php
tests/unit/Command/GetValueCommandTest.php
<?php namespace Command; use Dephpug\Command\GetValueCommand; class GetValueCommandTest extends \PHPUnit\Framework\TestCase { /** * @before */ protected function _before() { $this->getValueCommand = new GetValueCommand(); } public function testGetSimpleVar() { $rege...
php
MIT
58cbd70b661a7f8d9cab2e507867230c51842c9d
2026-01-05T02:15:37.369464Z
false
renatocassino/dephpugger
https://github.com/renatocassino/dephpugger/blob/58cbd70b661a7f8d9cab2e507867230c51842c9d/tests/unit/Command/NextCommandTest.php
tests/unit/Command/NextCommandTest.php
<?php namespace Command; use Dephpug\Command\NextCommand; class NextCommandTest extends \PHPUnit\Framework\TestCase { /** * @before */ protected function _before() { $this->nextCommand = new NextCommand(); } public function testRegexpAliasN() { $regexp = $this->next...
php
MIT
58cbd70b661a7f8d9cab2e507867230c51842c9d
2026-01-05T02:15:37.369464Z
false
renatocassino/dephpugger
https://github.com/renatocassino/dephpugger/blob/58cbd70b661a7f8d9cab2e507867230c51842c9d/tests/unit/Command/SetValueCommandTest.php
tests/unit/Command/SetValueCommandTest.php
<?php namespace Command; use Dephpug\Command\SetValueCommand; class SetValueCommandTest extends \PHPUnit\Framework\TestCase { /** * @before */ protected function _before() { $this->setValueCommand = new SetValueCommand(); } public function testInstantiateAIntegerVar() { ...
php
MIT
58cbd70b661a7f8d9cab2e507867230c51842c9d
2026-01-05T02:15:37.369464Z
false
renatocassino/dephpugger
https://github.com/renatocassino/dephpugger/blob/58cbd70b661a7f8d9cab2e507867230c51842c9d/tests/unit/Command/ListPreviousCommandTest.php
tests/unit/Command/ListPreviousCommandTest.php
<?php namespace Command; use Dephpug\Command\ListPreviousCommand; class ListPreviousCommandTest extends \PHPUnit\Framework\TestCase { /** * @before */ protected function _before() { $this->listPreviousCommand = new ListPreviousCommand(); } public function testRegexpAliasLP() ...
php
MIT
58cbd70b661a7f8d9cab2e507867230c51842c9d
2026-01-05T02:15:37.369464Z
false
renatocassino/dephpugger
https://github.com/renatocassino/dephpugger/blob/58cbd70b661a7f8d9cab2e507867230c51842c9d/tests/unit/Command/ContinueCommandTest.php
tests/unit/Command/ContinueCommandTest.php
<?php namespace Command; use Dephpug\Command\ContinueCommand; class ContinueCommandTest extends \PHPUnit\Framework\TestCase { /** * @before */ protected function _before() { $this->continueCommand = new ContinueCommand(); } public function testRegexpC() { $regexp = ...
php
MIT
58cbd70b661a7f8d9cab2e507867230c51842c9d
2026-01-05T02:15:37.369464Z
false
renatocassino/dephpugger
https://github.com/renatocassino/dephpugger/blob/58cbd70b661a7f8d9cab2e507867230c51842c9d/tests/unit/Command/HelpCommandTest.php
tests/unit/Command/HelpCommandTest.php
<?php namespace Command; use Dephpug\Command\HelpCommand; use PHPUnit\Framework\TestCase; class HelpCommandTest extends TestCase { /** * @before */ protected function _before() { $this->helpCommand = new HelpCommand(); } public function testRegexpH() { $regexp = $th...
php
MIT
58cbd70b661a7f8d9cab2e507867230c51842c9d
2026-01-05T02:15:37.369464Z
false
renatocassino/dephpugger
https://github.com/renatocassino/dephpugger/blob/58cbd70b661a7f8d9cab2e507867230c51842c9d/tests/unit/Command/DbgpCommandTest.php
tests/unit/Command/DbgpCommandTest.php
<?php namespace Command; use Dephpug\Command\DbgpCommand; class DbgpCommandTest extends \PHPUnit\Framework\TestCase { /** * @before */ protected function _before() { $this->dbgpCommand = new DbgpCommand(); } public function testMatchCommand() { $regexp = $this->dbgp...
php
MIT
58cbd70b661a7f8d9cab2e507867230c51842c9d
2026-01-05T02:15:37.369464Z
false
renatocassino/dephpugger
https://github.com/renatocassino/dephpugger/blob/58cbd70b661a7f8d9cab2e507867230c51842c9d/tests/unit/Command/QuitCommandTest.php
tests/unit/Command/QuitCommandTest.php
<?php namespace Command; use Dephpug\Command\QuitCommand; class QuitCommandTest extends \PHPUnit\Framework\TestCase { /** * @before */ protected function _before() { $this->quitCommand = new QuitCommand(); } public function testRegextAliasQ() { $regexp = $this->quit...
php
MIT
58cbd70b661a7f8d9cab2e507867230c51842c9d
2026-01-05T02:15:37.369464Z
false
spatie/laravel-notification-log
https://github.com/spatie/laravel-notification-log/blob/a6da79fa7f91783d496a8094b670acb7811b2ce7/src/NotificationLog.php
src/NotificationLog.php
<?php namespace Spatie\NotificationLog; class NotificationLog {}
php
MIT
a6da79fa7f91783d496a8094b670acb7811b2ce7
2026-01-05T02:15:56.974652Z
false
spatie/laravel-notification-log
https://github.com/spatie/laravel-notification-log/blob/a6da79fa7f91783d496a8094b670acb7811b2ce7/src/NotificationEventSubscriber.php
src/NotificationEventSubscriber.php
<?php namespace Spatie\NotificationLog; use Illuminate\Notifications\Events\NotificationSending; use Illuminate\Notifications\Events\NotificationSent; use Spatie\NotificationLog\Support\Config; use WeakMap; class NotificationEventSubscriber { protected static ?WeakMap $sentNotifications = null; public funct...
php
MIT
a6da79fa7f91783d496a8094b670acb7811b2ce7
2026-01-05T02:15:56.974652Z
false
spatie/laravel-notification-log
https://github.com/spatie/laravel-notification-log/blob/a6da79fa7f91783d496a8094b670acb7811b2ce7/src/NotificationLogServiceProvider.php
src/NotificationLogServiceProvider.php
<?php namespace Spatie\NotificationLog; use Illuminate\Support\Facades\Event; use Spatie\LaravelPackageTools\Package; use Spatie\LaravelPackageTools\PackageServiceProvider; use Spatie\NotificationLog\Support\Config; class NotificationLogServiceProvider extends PackageServiceProvider { public function configurePa...
php
MIT
a6da79fa7f91783d496a8094b670acb7811b2ce7
2026-01-05T02:15:56.974652Z
false
spatie/laravel-notification-log
https://github.com/spatie/laravel-notification-log/blob/a6da79fa7f91783d496a8094b670acb7811b2ce7/src/Exceptions/InvalidExtraContent.php
src/Exceptions/InvalidExtraContent.php
<?php namespace Spatie\NotificationLog\Exceptions; use Exception; use Illuminate\Notifications\Notification; class InvalidExtraContent extends Exception { public static function make(Notification $notification): self { $notificationClass = $notification::class; return new self("The `logExtra...
php
MIT
a6da79fa7f91783d496a8094b670acb7811b2ce7
2026-01-05T02:15:56.974652Z
false
spatie/laravel-notification-log
https://github.com/spatie/laravel-notification-log/blob/a6da79fa7f91783d496a8094b670acb7811b2ce7/src/Exceptions/InvalidNotifiable.php
src/Exceptions/InvalidNotifiable.php
<?php namespace Spatie\NotificationLog\Exceptions; use Exception; use Illuminate\Database\Eloquent\Model; use Spatie\NotificationLog\Models\Concerns\HasNotifiableHistory; class InvalidNotifiable extends Exception { public static function shouldBeAModel(): self { return new static('The notifiable shou...
php
MIT
a6da79fa7f91783d496a8094b670acb7811b2ce7
2026-01-05T02:15:56.974652Z
false
spatie/laravel-notification-log
https://github.com/spatie/laravel-notification-log/blob/a6da79fa7f91783d496a8094b670acb7811b2ce7/src/Exceptions/InvalidActionClass.php
src/Exceptions/InvalidActionClass.php
<?php namespace Spatie\NotificationLog\Exceptions; use Exception; class InvalidActionClass extends Exception { public static function make(string $actionKey, string $expectedToExtendClass): self { return new self("The class you put in the `notification-log.actions.{$actionKey}` config key is invalid....
php
MIT
a6da79fa7f91783d496a8094b670acb7811b2ce7
2026-01-05T02:15:56.974652Z
false
spatie/laravel-notification-log
https://github.com/spatie/laravel-notification-log/blob/a6da79fa7f91783d496a8094b670acb7811b2ce7/src/Support/NotificationHistoryQueryBuilder.php
src/Support/NotificationHistoryQueryBuilder.php
<?php namespace Spatie\NotificationLog\Support; use Illuminate\Database\Eloquent\Builder; use Illuminate\Database\Eloquent\Model; use Illuminate\Notifications\Notification; class NotificationHistoryQueryBuilder { protected Builder $query; public function __construct( protected Notification $notifica...
php
MIT
a6da79fa7f91783d496a8094b670acb7811b2ce7
2026-01-05T02:15:56.974652Z
false
spatie/laravel-notification-log
https://github.com/spatie/laravel-notification-log/blob/a6da79fa7f91783d496a8094b670acb7811b2ce7/src/Support/Config.php
src/Support/Config.php
<?php namespace Spatie\NotificationLog\Support; use Spatie\NotificationLog\Actions\ConvertNotificationSendingEventToLogItemAction; use Spatie\NotificationLog\Exceptions\InvalidActionClass; use Spatie\NotificationLog\Models\NotificationLogItem; use Spatie\NotificationLog\NotificationEventSubscriber; class Config { ...
php
MIT
a6da79fa7f91783d496a8094b670acb7811b2ce7
2026-01-05T02:15:56.974652Z
false
spatie/laravel-notification-log
https://github.com/spatie/laravel-notification-log/blob/a6da79fa7f91783d496a8094b670acb7811b2ce7/src/Actions/ConvertNotificationSendingEventToLogItemAction.php
src/Actions/ConvertNotificationSendingEventToLogItemAction.php
<?php namespace Spatie\NotificationLog\Actions; use Illuminate\Database\Eloquent\Model; use Illuminate\Notifications\AnonymousNotifiable; use Illuminate\Notifications\Events\NotificationSending; use Illuminate\Notifications\Notification; use Spatie\NotificationLog\Exceptions\InvalidExtraContent; use Spatie\Notificati...
php
MIT
a6da79fa7f91783d496a8094b670acb7811b2ce7
2026-01-05T02:15:56.974652Z
false
spatie/laravel-notification-log
https://github.com/spatie/laravel-notification-log/blob/a6da79fa7f91783d496a8094b670acb7811b2ce7/src/Facades/NotificationHistory.php
src/Facades/NotificationHistory.php
<?php namespace Spatie\NotificationLog\Facades; use Illuminate\Support\Facades\Facade; use Spatie\NotificationLog\NotificationLog; /** * @see \Spatie\NotificationLog\NotificationLog */ class NotificationHistory extends Facade { protected static function getFacadeAccessor() { return NotificationLog:...
php
MIT
a6da79fa7f91783d496a8094b670acb7811b2ce7
2026-01-05T02:15:56.974652Z
false
spatie/laravel-notification-log
https://github.com/spatie/laravel-notification-log/blob/a6da79fa7f91783d496a8094b670acb7811b2ce7/src/Models/NotificationLogItem.php
src/Models/NotificationLogItem.php
<?php namespace Spatie\NotificationLog\Models; use Carbon\Carbon; use Illuminate\Database\Eloquent\Builder; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\MassPrunable; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\MorphTo; use Illuminate\S...
php
MIT
a6da79fa7f91783d496a8094b670acb7811b2ce7
2026-01-05T02:15:56.974652Z
false
spatie/laravel-notification-log
https://github.com/spatie/laravel-notification-log/blob/a6da79fa7f91783d496a8094b670acb7811b2ce7/src/Models/Concerns/HasHistory.php
src/Models/Concerns/HasHistory.php
<?php namespace Spatie\NotificationLog\Models\Concerns; use Illuminate\Database\Eloquent\Model; use Spatie\NotificationLog\Exceptions\InvalidNotifiable; use Spatie\NotificationLog\Support\NotificationHistoryQueryBuilder; trait HasHistory { public function wasSentTo($notifiable, $withSameFingerprint = false): Not...
php
MIT
a6da79fa7f91783d496a8094b670acb7811b2ce7
2026-01-05T02:15:56.974652Z
false
spatie/laravel-notification-log
https://github.com/spatie/laravel-notification-log/blob/a6da79fa7f91783d496a8094b670acb7811b2ce7/src/Models/Concerns/HasNotifiableHistory.php
src/Models/Concerns/HasNotifiableHistory.php
<?php namespace Spatie\NotificationLog\Models\Concerns; use Carbon\Carbon; use Illuminate\Database\Eloquent\Builder; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\MorphMany; use Spatie\NotificationLog\Models\NotificationLogItem; use Spatie\NotificationLog\Support\Config; /** @mix...
php
MIT
a6da79fa7f91783d496a8094b670acb7811b2ce7
2026-01-05T02:15:56.974652Z
false
spatie/laravel-notification-log
https://github.com/spatie/laravel-notification-log/blob/a6da79fa7f91783d496a8094b670acb7811b2ce7/tests/NotificationEventSubscriberTest.php
tests/NotificationEventSubscriberTest.php
<?php use Illuminate\Support\Facades\Notification; use Spatie\NotificationLog\Exceptions\InvalidExtraContent; use Spatie\NotificationLog\Models\NotificationLogItem; use Spatie\NotificationLog\Tests\TestSupport\Channels\DummyChannel\DummyChannel; use Spatie\NotificationLog\Tests\TestSupport\Channels\DummyChannel\DummyC...
php
MIT
a6da79fa7f91783d496a8094b670acb7811b2ce7
2026-01-05T02:15:56.974652Z
false
spatie/laravel-notification-log
https://github.com/spatie/laravel-notification-log/blob/a6da79fa7f91783d496a8094b670acb7811b2ce7/tests/Pest.php
tests/Pest.php
<?php use Illuminate\Database\Eloquent\Model; use Spatie\NotificationLog\Tests\TestSupport\TestCase; uses(TestCase::class)->in(__DIR__); expect()->extend('toBeModel', function (?object $model) { if (is_null($model)) { return false; } if (! $model instanceof Model) { return false; } ...
php
MIT
a6da79fa7f91783d496a8094b670acb7811b2ce7
2026-01-05T02:15:56.974652Z
false
spatie/laravel-notification-log
https://github.com/spatie/laravel-notification-log/blob/a6da79fa7f91783d496a8094b670acb7811b2ce7/tests/ArchTest.php
tests/ArchTest.php
<?php it('will not use debugging functions') ->expect(['dd', 'dump', 'ray']) ->not->toBeUsed();
php
MIT
a6da79fa7f91783d496a8094b670acb7811b2ce7
2026-01-05T02:15:56.974652Z
false
spatie/laravel-notification-log
https://github.com/spatie/laravel-notification-log/blob/a6da79fa7f91783d496a8094b670acb7811b2ce7/tests/ConfigTest.php
tests/ConfigTest.php
<?php use Spatie\NotificationLog\Exceptions\InvalidActionClass; use Spatie\NotificationLog\Models\NotificationLogItem; use Spatie\NotificationLog\Support\Config; use Spatie\NotificationLog\Tests\TestSupport\CustomConvertEventToModelClassAction; use Spatie\NotificationLog\Tests\TestSupport\CustomNotificationLogItem; us...
php
MIT
a6da79fa7f91783d496a8094b670acb7811b2ce7
2026-01-05T02:15:56.974652Z
false
spatie/laravel-notification-log
https://github.com/spatie/laravel-notification-log/blob/a6da79fa7f91783d496a8094b670acb7811b2ce7/tests/TestSupport/TestCase.php
tests/TestSupport/TestCase.php
<?php namespace Spatie\NotificationLog\Tests\TestSupport; use Illuminate\Database\Eloquent\Factories\Factory; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; use Orchestra\Testbench\TestCase as Orchestra; use Spatie\NotificationLog\NotificationLogServiceProvider; class TestCase exten...
php
MIT
a6da79fa7f91783d496a8094b670acb7811b2ce7
2026-01-05T02:15:56.974652Z
false
spatie/laravel-notification-log
https://github.com/spatie/laravel-notification-log/blob/a6da79fa7f91783d496a8094b670acb7811b2ce7/tests/TestSupport/CustomConvertEventToModelClassAction.php
tests/TestSupport/CustomConvertEventToModelClassAction.php
<?php namespace Spatie\NotificationLog\Tests\TestSupport; use Illuminate\Notifications\Events\NotificationSending; use Spatie\NotificationLog\Actions\ConvertNotificationSendingEventToLogItemAction; class CustomConvertEventToModelClassAction extends ConvertNotificationSendingEventToLogItemAction { protected funct...
php
MIT
a6da79fa7f91783d496a8094b670acb7811b2ce7
2026-01-05T02:15:56.974652Z
false
spatie/laravel-notification-log
https://github.com/spatie/laravel-notification-log/blob/a6da79fa7f91783d496a8094b670acb7811b2ce7/tests/TestSupport/CustomNotificationLogItem.php
tests/TestSupport/CustomNotificationLogItem.php
<?php namespace Spatie\NotificationLog\Tests\TestSupport; use Illuminate\Database\Eloquent\Builder; use Spatie\NotificationLog\Models\NotificationLogItem; class CustomNotificationLogItem extends NotificationLogItem { public $table = 'notification_log_items'; public function scopeConfirmed(Builder $query): B...
php
MIT
a6da79fa7f91783d496a8094b670acb7811b2ce7
2026-01-05T02:15:56.974652Z
false
spatie/laravel-notification-log
https://github.com/spatie/laravel-notification-log/blob/a6da79fa7f91783d496a8094b670acb7811b2ce7/tests/TestSupport/Channels/DummyChannel/DummyChannel.php
tests/TestSupport/Channels/DummyChannel/DummyChannel.php
<?php namespace Spatie\NotificationLog\Tests\TestSupport\Channels\DummyChannel; use Illuminate\Notifications\Notification; class DummyChannel { public function send(object $notifiable, Notification $notification): void { $result = $notification->toDummyChannel(); if ($result === 'throw-excep...
php
MIT
a6da79fa7f91783d496a8094b670acb7811b2ce7
2026-01-05T02:15:56.974652Z
false
spatie/laravel-notification-log
https://github.com/spatie/laravel-notification-log/blob/a6da79fa7f91783d496a8094b670acb7811b2ce7/tests/TestSupport/Channels/DummyChannel/DummyChannelException.php
tests/TestSupport/Channels/DummyChannel/DummyChannelException.php
<?php namespace Spatie\NotificationLog\Tests\TestSupport\Channels\DummyChannel; use Exception; class DummyChannelException extends Exception {}
php
MIT
a6da79fa7f91783d496a8094b670acb7811b2ce7
2026-01-05T02:15:56.974652Z
false
spatie/laravel-notification-log
https://github.com/spatie/laravel-notification-log/blob/a6da79fa7f91783d496a8094b670acb7811b2ce7/tests/TestSupport/Notifications/InvalidLogExtraNotification.php
tests/TestSupport/Notifications/InvalidLogExtraNotification.php
<?php namespace Spatie\NotificationLog\Tests\TestSupport\Notifications; class InvalidLogExtraNotification extends TestNotification { public function logExtra() { return $this; } }
php
MIT
a6da79fa7f91783d496a8094b670acb7811b2ce7
2026-01-05T02:15:56.974652Z
false
spatie/laravel-notification-log
https://github.com/spatie/laravel-notification-log/blob/a6da79fa7f91783d496a8094b670acb7811b2ce7/tests/TestSupport/Notifications/ChannelWillThrowExceptionNotification.php
tests/TestSupport/Notifications/ChannelWillThrowExceptionNotification.php
<?php namespace Spatie\NotificationLog\Tests\TestSupport\Notifications; use Spatie\NotificationLog\Tests\TestSupport\Channels\DummyChannel\DummyChannel; class ChannelWillThrowExceptionNotification extends TestNotification { public function via(object $notifiable): array { return [DummyChannel::class]...
php
MIT
a6da79fa7f91783d496a8094b670acb7811b2ce7
2026-01-05T02:15:56.974652Z
false
spatie/laravel-notification-log
https://github.com/spatie/laravel-notification-log/blob/a6da79fa7f91783d496a8094b670acb7811b2ce7/tests/TestSupport/Notifications/MultipleChannelsNotification.php
tests/TestSupport/Notifications/MultipleChannelsNotification.php
<?php namespace Spatie\NotificationLog\Tests\TestSupport\Notifications; use Spatie\NotificationLog\Tests\TestSupport\Channels\DummyChannel\DummyChannel; class MultipleChannelsNotification extends TestNotification { public function via(object $notifiable): array { return ['mail', DummyChannel::class];...
php
MIT
a6da79fa7f91783d496a8094b670acb7811b2ce7
2026-01-05T02:15:56.974652Z
false
spatie/laravel-notification-log
https://github.com/spatie/laravel-notification-log/blob/a6da79fa7f91783d496a8094b670acb7811b2ce7/tests/TestSupport/Notifications/HasHistoryNotification.php
tests/TestSupport/Notifications/HasHistoryNotification.php
<?php namespace Spatie\NotificationLog\Tests\TestSupport\Notifications; use Closure; use Illuminate\Support\Arr; use Spatie\NotificationLog\Models\Concerns\HasHistory; class HasHistoryNotification extends TestNotification { use HasHistory; protected static Closure $historyTestCallable; public static fu...
php
MIT
a6da79fa7f91783d496a8094b670acb7811b2ce7
2026-01-05T02:15:56.974652Z
false
spatie/laravel-notification-log
https://github.com/spatie/laravel-notification-log/blob/a6da79fa7f91783d496a8094b670acb7811b2ce7/tests/TestSupport/Notifications/ShouldNotLogNotification.php
tests/TestSupport/Notifications/ShouldNotLogNotification.php
<?php namespace Spatie\NotificationLog\Tests\TestSupport\Notifications; use Illuminate\Notifications\Events\NotificationSending; class ShouldNotLogNotification extends TestNotification { public function shouldLog(NotificationSending $event): bool { return false; } }
php
MIT
a6da79fa7f91783d496a8094b670acb7811b2ce7
2026-01-05T02:15:56.974652Z
false
spatie/laravel-notification-log
https://github.com/spatie/laravel-notification-log/blob/a6da79fa7f91783d496a8094b670acb7811b2ce7/tests/TestSupport/Notifications/CustomTypeNotification.php
tests/TestSupport/Notifications/CustomTypeNotification.php
<?php namespace Spatie\NotificationLog\Tests\TestSupport\Notifications; class CustomTypeNotification extends TestNotification { public function logType(): string { return 'customType'; } }
php
MIT
a6da79fa7f91783d496a8094b670acb7811b2ce7
2026-01-05T02:15:56.974652Z
false
spatie/laravel-notification-log
https://github.com/spatie/laravel-notification-log/blob/a6da79fa7f91783d496a8094b670acb7811b2ce7/tests/TestSupport/Notifications/TestNotification.php
tests/TestSupport/Notifications/TestNotification.php
<?php namespace Spatie\NotificationLog\Tests\TestSupport\Notifications; use Illuminate\Notifications\Messages\MailMessage; use Illuminate\Notifications\Notification; class TestNotification extends Notification { public function via(object $notifiable): array { return ['mail']; } public funct...
php
MIT
a6da79fa7f91783d496a8094b670acb7811b2ce7
2026-01-05T02:15:56.974652Z
false
spatie/laravel-notification-log
https://github.com/spatie/laravel-notification-log/blob/a6da79fa7f91783d496a8094b670acb7811b2ce7/tests/TestSupport/Notifications/FingerprintNotification.php
tests/TestSupport/Notifications/FingerprintNotification.php
<?php namespace Spatie\NotificationLog\Tests\TestSupport\Notifications; class FingerprintNotification extends TestNotification { public function fingerprint(): ?string { return 'this-is-a-fingerprint'; } }
php
MIT
a6da79fa7f91783d496a8094b670acb7811b2ce7
2026-01-05T02:15:56.974652Z
false
spatie/laravel-notification-log
https://github.com/spatie/laravel-notification-log/blob/a6da79fa7f91783d496a8094b670acb7811b2ce7/tests/TestSupport/Notifications/LogExtraNotification.php
tests/TestSupport/Notifications/LogExtraNotification.php
<?php namespace Spatie\NotificationLog\Tests\TestSupport\Notifications; class LogExtraNotification extends TestNotification { public function logExtra(): array { return ['extraKey' => 'extraValue']; } }
php
MIT
a6da79fa7f91783d496a8094b670acb7811b2ce7
2026-01-05T02:15:56.974652Z
false
spatie/laravel-notification-log
https://github.com/spatie/laravel-notification-log/blob/a6da79fa7f91783d496a8094b670acb7811b2ce7/tests/TestSupport/Models/User.php
tests/TestSupport/Models/User.php
<?php namespace Spatie\NotificationLog\Tests\TestSupport\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Foundation\Auth\User as BaseUser; use Illuminate\Notifications\Notifiable; use Spatie\NotificationLog\Models\Concerns\HasNotifiableHistory; class User extends BaseUser { use HasF...
php
MIT
a6da79fa7f91783d496a8094b670acb7811b2ce7
2026-01-05T02:15:56.974652Z
false
spatie/laravel-notification-log
https://github.com/spatie/laravel-notification-log/blob/a6da79fa7f91783d496a8094b670acb7811b2ce7/tests/TestSupport/Models/UuidUser.php
tests/TestSupport/Models/UuidUser.php
<?php namespace Spatie\NotificationLog\Tests\TestSupport\Models; use Illuminate\Database\Eloquent\Concerns\HasUuids; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Foundation\Auth\User as BaseUser; use Illuminate\Notifications\Notifiable; use Spatie\NotificationLog\Models\Concerns\HasNotifiable...
php
MIT
a6da79fa7f91783d496a8094b670acb7811b2ce7
2026-01-05T02:15:56.974652Z
false
spatie/laravel-notification-log
https://github.com/spatie/laravel-notification-log/blob/a6da79fa7f91783d496a8094b670acb7811b2ce7/tests/TestSupport/Factories/UuidUserFactory.php
tests/TestSupport/Factories/UuidUserFactory.php
<?php namespace Spatie\NotificationLog\Tests\TestSupport\Factories; use Illuminate\Database\Eloquent\Factories\Factory; use Illuminate\Support\Str; use Spatie\NotificationLog\Tests\TestSupport\Models\UuidUser; class UuidUserFactory extends Factory { public $model = UuidUser::class; public function definitio...
php
MIT
a6da79fa7f91783d496a8094b670acb7811b2ce7
2026-01-05T02:15:56.974652Z
false
spatie/laravel-notification-log
https://github.com/spatie/laravel-notification-log/blob/a6da79fa7f91783d496a8094b670acb7811b2ce7/tests/TestSupport/Factories/NotificationLogItemFactory.php
tests/TestSupport/Factories/NotificationLogItemFactory.php
<?php namespace Spatie\NotificationLog\Tests\TestSupport\Factories; use Illuminate\Database\Eloquent\Factories\Factory; use Illuminate\Database\Eloquent\Model; use Spatie\NotificationLog\Models\NotificationLogItem; use Spatie\NotificationLog\Tests\TestSupport\Models\User; use Spatie\NotificationLog\Tests\TestSupport\...
php
MIT
a6da79fa7f91783d496a8094b670acb7811b2ce7
2026-01-05T02:15:56.974652Z
false
spatie/laravel-notification-log
https://github.com/spatie/laravel-notification-log/blob/a6da79fa7f91783d496a8094b670acb7811b2ce7/tests/TestSupport/Factories/UserFactory.php
tests/TestSupport/Factories/UserFactory.php
<?php namespace Spatie\NotificationLog\Tests\TestSupport\Factories; use Illuminate\Database\Eloquent\Factories\Factory; use Spatie\NotificationLog\Tests\TestSupport\Models\User; class UserFactory extends Factory { public $model = User::class; public function definition(): array { return [ ...
php
MIT
a6da79fa7f91783d496a8094b670acb7811b2ce7
2026-01-05T02:15:56.974652Z
false
spatie/laravel-notification-log
https://github.com/spatie/laravel-notification-log/blob/a6da79fa7f91783d496a8094b670acb7811b2ce7/tests/TestSupport/Factories/CustomNotificationLogItemFactory.php
tests/TestSupport/Factories/CustomNotificationLogItemFactory.php
<?php namespace Spatie\NotificationLog\Tests\TestSupport\Factories; use Illuminate\Database\Eloquent\Factories\Factory; use Illuminate\Database\Eloquent\Model; use Spatie\NotificationLog\Tests\TestSupport\CustomNotificationLogItem; use Spatie\NotificationLog\Tests\TestSupport\Models\User; use Spatie\NotificationLog\T...
php
MIT
a6da79fa7f91783d496a8094b670acb7811b2ce7
2026-01-05T02:15:56.974652Z
false
spatie/laravel-notification-log
https://github.com/spatie/laravel-notification-log/blob/a6da79fa7f91783d496a8094b670acb7811b2ce7/tests/Models/NotificationLogItemTest.php
tests/Models/NotificationLogItemTest.php
<?php use Carbon\Carbon; use Illuminate\Database\Eloquent\Factories\Sequence; use Spatie\NotificationLog\Models\NotificationLogItem; use Spatie\NotificationLog\Tests\TestSupport\Models\User; beforeEach(function () { $this->user = User::factory()->create(); $this->anotherUser = User::factory()->create(); }); ...
php
MIT
a6da79fa7f91783d496a8094b670acb7811b2ce7
2026-01-05T02:15:56.974652Z
false
spatie/laravel-notification-log
https://github.com/spatie/laravel-notification-log/blob/a6da79fa7f91783d496a8094b670acb7811b2ce7/tests/Models/NotificationLogItemBuilderTest.php
tests/Models/NotificationLogItemBuilderTest.php
<?php use Illuminate\Database\Eloquent\Builder; use Spatie\NotificationLog\Models\NotificationLogItem; use Spatie\NotificationLog\Tests\TestSupport\CustomNotificationLogItem; use Spatie\NotificationLog\Tests\TestSupport\Models\User; beforeEach(function () { $this->user = User::factory()->create(); }); it('prunab...
php
MIT
a6da79fa7f91783d496a8094b670acb7811b2ce7
2026-01-05T02:15:56.974652Z
false
spatie/laravel-notification-log
https://github.com/spatie/laravel-notification-log/blob/a6da79fa7f91783d496a8094b670acb7811b2ce7/tests/Models/Concerns/HasNotifiableHistoryOrderingTest.php
tests/Models/Concerns/HasNotifiableHistoryOrderingTest.php
<?php namespace Spatie\NotificationLog\Tests\Models\Concerns; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; use Spatie\NotificationLog\Models\NotificationLogItem; use Spatie\NotificationLog\Tests\TestSupport\Models\User; use Spatie\NotificationLog\Tests\TestSupport\Models\UuidUser; ...
php
MIT
a6da79fa7f91783d496a8094b670acb7811b2ce7
2026-01-05T02:15:56.974652Z
false
spatie/laravel-notification-log
https://github.com/spatie/laravel-notification-log/blob/a6da79fa7f91783d496a8094b670acb7811b2ce7/tests/Models/Concerns/HasNotifiableHistoryTest.php
tests/Models/Concerns/HasNotifiableHistoryTest.php
<?php namespace Spatie\NotificationLog\Tests\Models\Concerns; use Illuminate\Database\Eloquent\Relations\MorphMany; use Spatie\NotificationLog\Models\NotificationLogItem; use Spatie\NotificationLog\Tests\TestSupport\Models\User; beforeEach(function () { $this->user = User::factory()->create(); $this->anothe...
php
MIT
a6da79fa7f91783d496a8094b670acb7811b2ce7
2026-01-05T02:15:56.974652Z
false
spatie/laravel-notification-log
https://github.com/spatie/laravel-notification-log/blob/a6da79fa7f91783d496a8094b670acb7811b2ce7/tests/Models/Concerns/HasHistoryTest/WasNotSentToTest.php
tests/Models/Concerns/HasHistoryTest/WasNotSentToTest.php
<?php use Spatie\NotificationLog\Models\NotificationLogItem; use Spatie\NotificationLog\Tests\TestSupport\Models\User; use Spatie\NotificationLog\Tests\TestSupport\Notifications\HasHistoryNotification; use Spatie\TestTime\TestTime; beforeEach(function () { TestTime::freeze(); $this->notifiable = User::factor...
php
MIT
a6da79fa7f91783d496a8094b670acb7811b2ce7
2026-01-05T02:15:56.974652Z
false
spatie/laravel-notification-log
https://github.com/spatie/laravel-notification-log/blob/a6da79fa7f91783d496a8094b670acb7811b2ce7/tests/Models/Concerns/HasHistoryTest/WasSentToTest.php
tests/Models/Concerns/HasHistoryTest/WasSentToTest.php
<?php use Spatie\NotificationLog\Models\NotificationLogItem; use Spatie\NotificationLog\Tests\TestSupport\Models\User; use Spatie\NotificationLog\Tests\TestSupport\Notifications\HasHistoryNotification; use Spatie\TestTime\TestTime; beforeEach(function () { TestTime::freeze(); $this->notifiable = User::factor...
php
MIT
a6da79fa7f91783d496a8094b670acb7811b2ce7
2026-01-05T02:15:56.974652Z
false
spatie/laravel-notification-log
https://github.com/spatie/laravel-notification-log/blob/a6da79fa7f91783d496a8094b670acb7811b2ce7/config/notification-log.php
config/notification-log.php
<?php return [ /* * This model will be used to log all sent notifications */ 'model' => Spatie\NotificationLog\Models\NotificationLogItem::class, /* * Log items older than this number of days will be automatically be removed. * * This feature uses Laravel's native pruning feature:...
php
MIT
a6da79fa7f91783d496a8094b670acb7811b2ce7
2026-01-05T02:15:56.974652Z
false
spatie/laravel-notification-log
https://github.com/spatie/laravel-notification-log/blob/a6da79fa7f91783d496a8094b670acb7811b2ce7/database/migrations/create_notification_log_items_table.php
database/migrations/create_notification_log_items_table.php
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; return new class extends Migration { public function up() { Schema::create('notification_log_items', function (Blueprint $table) { $table->id(); ...
php
MIT
a6da79fa7f91783d496a8094b670acb7811b2ce7
2026-01-05T02:15:56.974652Z
false
wmde/Diff
https://github.com/wmde/Diff/blob/75ac2806a4bc293816f76b4d07c10a60ac849c69/Diff.php
Diff.php
<?php declare( strict_types = 1 ); if ( defined( 'Diff_VERSION' ) ) { // Do not initialize more than once. return 1; } /** * @deprecated Will be removed in 4.0 */ define( 'Diff_VERSION', '3.3' );
php
BSD-3-Clause
75ac2806a4bc293816f76b4d07c10a60ac849c69
2026-01-05T02:16:09.869499Z
false
wmde/Diff
https://github.com/wmde/Diff/blob/75ac2806a4bc293816f76b4d07c10a60ac849c69/src/DiffOpFactory.php
src/DiffOpFactory.php
<?php declare( strict_types = 1 ); namespace Diff; use Diff\DiffOp\Diff\Diff; use Diff\DiffOp\DiffOpAdd; use Diff\DiffOp\DiffOpChange; use Diff\DiffOp\DiffOpRemove; use InvalidArgumentException; /** * Constructs a DiffOp from its array form (which can be obtained via @see DiffOp::toArray). * * @since 0.5 * * @...
php
BSD-3-Clause
75ac2806a4bc293816f76b4d07c10a60ac849c69
2026-01-05T02:16:09.869499Z
false
wmde/Diff
https://github.com/wmde/Diff/blob/75ac2806a4bc293816f76b4d07c10a60ac849c69/src/ArrayComparer/StrategicArrayComparer.php
src/ArrayComparer/StrategicArrayComparer.php
<?php declare( strict_types = 1 ); namespace Diff\ArrayComparer; use Diff\Comparer\ValueComparer; /** * Computes the difference between two arrays by comparing elements with * a ValueComparer. * * Quantity matters: [42, 42] and [42] are different * * @since 0.8 * * @license BSD-3-Clause * @author Jeroen De...
php
BSD-3-Clause
75ac2806a4bc293816f76b4d07c10a60ac849c69
2026-01-05T02:16:09.869499Z
false
wmde/Diff
https://github.com/wmde/Diff/blob/75ac2806a4bc293816f76b4d07c10a60ac849c69/src/ArrayComparer/StrictArrayComparer.php
src/ArrayComparer/StrictArrayComparer.php
<?php declare( strict_types = 1 ); namespace Diff\ArrayComparer; /** * Strict variant of PHPs array_diff method. * * Similar to @see array_diff with the following differences: * * - Strict comparison for arrays: ['42'] and [42] are different * - Quantity matters: [42, 42] and [42] are different * - Arrays and...
php
BSD-3-Clause
75ac2806a4bc293816f76b4d07c10a60ac849c69
2026-01-05T02:16:09.869499Z
false
wmde/Diff
https://github.com/wmde/Diff/blob/75ac2806a4bc293816f76b4d07c10a60ac849c69/src/ArrayComparer/NativeArrayComparer.php
src/ArrayComparer/NativeArrayComparer.php
<?php declare( strict_types = 1 ); namespace Diff\ArrayComparer; /** * Adapter for PHPs native array_diff method. * * @since 0.8 * * @license BSD-3-Clause * @author Jeroen De Dauw < jeroendedauw@gmail.com > */ class NativeArrayComparer implements ArrayComparer { /** * @see ArrayComparer::diffArrays * ...
php
BSD-3-Clause
75ac2806a4bc293816f76b4d07c10a60ac849c69
2026-01-05T02:16:09.869499Z
false
wmde/Diff
https://github.com/wmde/Diff/blob/75ac2806a4bc293816f76b4d07c10a60ac849c69/src/ArrayComparer/ArrayComparer.php
src/ArrayComparer/ArrayComparer.php
<?php declare( strict_types = 1 ); namespace Diff\ArrayComparer; /** * Interface for objects that can compute the difference between two arrays * in similar fashion to PHPs native array_diff. * * @since 0.8 * * @license BSD-3-Clause * @author Jeroen De Dauw < jeroendedauw@gmail.com > */ interface ArrayCompar...
php
BSD-3-Clause
75ac2806a4bc293816f76b4d07c10a60ac849c69
2026-01-05T02:16:09.869499Z
false
wmde/Diff
https://github.com/wmde/Diff/blob/75ac2806a4bc293816f76b4d07c10a60ac849c69/src/ArrayComparer/OrderedArrayComparer.php
src/ArrayComparer/OrderedArrayComparer.php
<?php declare( strict_types = 1 ); namespace Diff\ArrayComparer; use Diff\Comparer\ValueComparer; /** * Computes the difference between two ordered arrays by comparing elements with * a ValueComparer. * * Quantity matters: [42, 42] and [42] are different * Order matters: [42, 43] and [43, 42] are different * ...
php
BSD-3-Clause
75ac2806a4bc293816f76b4d07c10a60ac849c69
2026-01-05T02:16:09.869499Z
false
wmde/Diff
https://github.com/wmde/Diff/blob/75ac2806a4bc293816f76b4d07c10a60ac849c69/src/Patcher/MapPatcher.php
src/Patcher/MapPatcher.php
<?php declare( strict_types = 1 ); namespace Diff\Patcher; use Diff\Comparer\StrictComparer; use Diff\Comparer\ValueComparer; use Diff\DiffOp\Diff\Diff; use Diff\DiffOp\DiffOp; use Diff\DiffOp\DiffOpAdd; use Diff\DiffOp\DiffOpChange; use Diff\DiffOp\DiffOpRemove; /** * Map patcher. * * @since 0.4 * * @license ...
php
BSD-3-Clause
75ac2806a4bc293816f76b4d07c10a60ac849c69
2026-01-05T02:16:09.869499Z
false
wmde/Diff
https://github.com/wmde/Diff/blob/75ac2806a4bc293816f76b4d07c10a60ac849c69/src/Patcher/ListPatcher.php
src/Patcher/ListPatcher.php
<?php declare( strict_types = 1 ); namespace Diff\Patcher; use Diff\DiffOp\Diff\Diff; use Diff\DiffOp\DiffOpAdd; use Diff\DiffOp\DiffOpRemove; /** * @since 0.4 * * @license BSD-3-Clause * @author Jeroen De Dauw < jeroendedauw@gmail.com > */ class ListPatcher extends ThrowingPatcher { /** * @see Patcher::pa...
php
BSD-3-Clause
75ac2806a4bc293816f76b4d07c10a60ac849c69
2026-01-05T02:16:09.869499Z
false
wmde/Diff
https://github.com/wmde/Diff/blob/75ac2806a4bc293816f76b4d07c10a60ac849c69/src/Patcher/PreviewablePatcher.php
src/Patcher/PreviewablePatcher.php
<?php declare( strict_types = 1 ); namespace Diff\Patcher; use Diff\DiffOp\Diff\Diff; /** * Interface for patchers that can, given a base and a diff, provide * the difference between the base and the result once the diff is * provided to it. This difference can differ from the diff since * some operations might...
php
BSD-3-Clause
75ac2806a4bc293816f76b4d07c10a60ac849c69
2026-01-05T02:16:09.869499Z
false
wmde/Diff
https://github.com/wmde/Diff/blob/75ac2806a4bc293816f76b4d07c10a60ac849c69/src/Patcher/PatcherException.php
src/Patcher/PatcherException.php
<?php declare( strict_types = 1 ); namespace Diff\Patcher; use RuntimeException; /** * @since 0.4 * * @license BSD-3-Clause * @author Jeroen De Dauw < jeroendedauw@gmail.com > */ class PatcherException extends RuntimeException { }
php
BSD-3-Clause
75ac2806a4bc293816f76b4d07c10a60ac849c69
2026-01-05T02:16:09.869499Z
false
wmde/Diff
https://github.com/wmde/Diff/blob/75ac2806a4bc293816f76b4d07c10a60ac849c69/src/Patcher/ThrowingPatcher.php
src/Patcher/ThrowingPatcher.php
<?php declare( strict_types = 1 ); namespace Diff\Patcher; use Diff\Differ\ListDiffer; use Diff\Differ\MapDiffer; use Diff\DiffOp\Diff\Diff; /** * Base class for patchers that have the ability to throw errors * when they encounter diff operations they can not handle or * ignore them if specified. * * @since 0....
php
BSD-3-Clause
75ac2806a4bc293816f76b4d07c10a60ac849c69
2026-01-05T02:16:09.869499Z
false
wmde/Diff
https://github.com/wmde/Diff/blob/75ac2806a4bc293816f76b4d07c10a60ac849c69/src/Patcher/Patcher.php
src/Patcher/Patcher.php
<?php declare( strict_types = 1 ); namespace Diff\Patcher; use Diff\DiffOp\Diff\Diff; /** * Interface for objects that can apply an array of DiffOp on an array. * * @since 0.4 * * @license BSD-3-Clause * @author Jeroen De Dauw < jeroendedauw@gmail.com > */ interface Patcher { /** * Applies the applicable...
php
BSD-3-Clause
75ac2806a4bc293816f76b4d07c10a60ac849c69
2026-01-05T02:16:09.869499Z
false
wmde/Diff
https://github.com/wmde/Diff/blob/75ac2806a4bc293816f76b4d07c10a60ac849c69/src/DiffOp/DiffOp.php
src/DiffOp/DiffOp.php
<?php declare( strict_types = 1 ); namespace Diff\DiffOp; use Countable; use Serializable; /** * Interface for diff operations. A diff operation * represents a change to a single element. * In case the elements are maps or diffs, the resulting operation * can be a Diff which contains its own list of DiffOp obje...
php
BSD-3-Clause
75ac2806a4bc293816f76b4d07c10a60ac849c69
2026-01-05T02:16:09.869499Z
false