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
10up/wpacceptance
https://github.com/10up/wpacceptance/blob/fc47e928216eb583e80b6f11908d51c36b1ffe79/src/classes/Exception/PageNotSet.php
src/classes/Exception/PageNotSet.php
<?php /** * Thrown when a test tries to interact with a page that has never been opened. * * @package wpacceptance */ namespace WPAcceptance\Exception; /** * Exception class */ class PageNotSet extends \Exception { }
php
MIT
fc47e928216eb583e80b6f11908d51c36b1ffe79
2026-01-05T04:14:09.241160Z
false
10up/wpacceptance
https://github.com/10up/wpacceptance/blob/fc47e928216eb583e80b6f11908d51c36b1ffe79/src/classes/Exception/ElementNotFound.php
src/classes/Exception/ElementNotFound.php
<?php /** * Thrown when trying to retrieve an element on the page that doesn't exist * * @package wpacceptance */ namespace WPAcceptance\Exception; /** * Exception class */ class ElementNotFound extends \Exception { }
php
MIT
fc47e928216eb583e80b6f11908d51c36b1ffe79
2026-01-05T04:14:09.241160Z
false
10up/wpacceptance
https://github.com/10up/wpacceptance/blob/fc47e928216eb583e80b6f11908d51c36b1ffe79/src/classes/Exception/ReadHostFile.php
src/classes/Exception/ReadHostFile.php
<?php /** * Thrown when a host file can not be read * * @package wpacceptance */ namespace WPAcceptance\Exception; /** * Exception class */ class ReadHostFile extends \Exception { }
php
MIT
fc47e928216eb583e80b6f11908d51c36b1ffe79
2026-01-05T04:14:09.241160Z
false
10up/wpacceptance
https://github.com/10up/wpacceptance/blob/fc47e928216eb583e80b6f11908d51c36b1ffe79/src/classes/Command/Init.php
src/classes/Command/Init.php
<?php /** * Init command - creates wpacceptance.json * * @package wpacceptance */ namespace WPAcceptance\Command; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Question\Question; use Symfony\Component\Console\Question\ConfirmationQuestion; use Symfony\Component\Console\Input\InputIn...
php
MIT
fc47e928216eb583e80b6f11908d51c36b1ffe79
2026-01-05T04:14:09.241160Z
false
10up/wpacceptance
https://github.com/10up/wpacceptance/blob/fc47e928216eb583e80b6f11908d51c36b1ffe79/src/classes/Command/Run.php
src/classes/Command/Run.php
<?php /** * Run test suite command * * @package wpacceptance */ namespace WPAcceptance\Command; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; use Symfony\Component\Console\Input\InputArgument; use Symfony\Co...
php
MIT
fc47e928216eb583e80b6f11908d51c36b1ffe79
2026-01-05T04:14:09.241160Z
false
10up/wpacceptance
https://github.com/10up/wpacceptance/blob/fc47e928216eb583e80b6f11908d51c36b1ffe79/src/classes/Command/Destroy.php
src/classes/Command/Destroy.php
<?php /** * Stops and destroys a running WP Acceptance environment * * @package wpacceptance */ namespace WPAcceptance\Command; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Question\Question; use Symfony\Component\Console\Question\ConfirmationQuestion; use Symfony\Component\Console...
php
MIT
fc47e928216eb583e80b6f11908d51c36b1ffe79
2026-01-05T04:14:09.241160Z
false
10up/wpacceptance
https://github.com/10up/wpacceptance/blob/fc47e928216eb583e80b6f11908d51c36b1ffe79/example/ExampleTest.php
example/ExampleTest.php
<?php /** * Example test class * * @package wpacceptance */ /** * PHPUnit test class */ class ExampleTest extends \WPAcceptance\PHPUnit\TestCase { /** * Example test */ public function testExample() { $this->assertTrue( true ); } }
php
MIT
fc47e928216eb583e80b6f11908d51c36b1ffe79
2026-01-05T04:14:09.241160Z
false
10up/wpacceptance
https://github.com/10up/wpacceptance/blob/fc47e928216eb583e80b6f11908d51c36b1ffe79/example/twentynineteen/tests/HomePage.php
example/twentynineteen/tests/HomePage.php
<?php /** * Test if homepage is showing properly * * @package wpacceptance */ /** * PHPUnit test class */ class HomePageTest extends \WPAcceptance\PHPUnit\TestCase { /** * @testdox I fill out search form, press enter, and the search page shows with results. */ public function testSearchForm() { $I = $th...
php
MIT
fc47e928216eb583e80b6f11908d51c36b1ffe79
2026-01-05T04:14:09.241160Z
false
10up/wpacceptance
https://github.com/10up/wpacceptance/blob/fc47e928216eb583e80b6f11908d51c36b1ffe79/example/twentynineteen/tests/Standard.php
example/twentynineteen/tests/Standard.php
<?php /** * Test standard WP functionality * * @package wpacceptance */ /** * PHPUnit test class */ class StandardTest extends \WPAcceptance\PHPUnit\TestCase { /** * @testdox I see required HTML tags on front end. */ public function testRequiredHTMLTagsOnFrontEnd() { parent::_testRequiredHTMLTags(); } ...
php
MIT
fc47e928216eb583e80b6f11908d51c36b1ffe79
2026-01-05T04:14:09.241160Z
false
10up/wpacceptance
https://github.com/10up/wpacceptance/blob/fc47e928216eb583e80b6f11908d51c36b1ffe79/example/twentyseventeen/tests/HomePage.php
example/twentyseventeen/tests/HomePage.php
<?php /** * Test if homepage is showing properly * * @package wpacceptance */ /** * PHPUnit test class */ class HomePageTest extends \WPAcceptance\PHPUnit\TestCase { /** * @testdox I fill out search form, press enter, and the search page shows with results. */ public function testSearchForm() { $I = $th...
php
MIT
fc47e928216eb583e80b6f11908d51c36b1ffe79
2026-01-05T04:14:09.241160Z
false
10up/wpacceptance
https://github.com/10up/wpacceptance/blob/fc47e928216eb583e80b6f11908d51c36b1ffe79/example/twentyseventeen/tests/ContactForm.php
example/twentyseventeen/tests/ContactForm.php
<?php /** * Test contact form is functioning properly * Located on /contact/ * * @package wpacceptance */ /** * PHPUnit test class */ class ContactFormTest extends \WPAcceptance\PHPUnit\TestCase { /** * @testdox When I don't fill out required fields, the contact form wont submit. */ public function testR...
php
MIT
fc47e928216eb583e80b6f11908d51c36b1ffe79
2026-01-05T04:14:09.241160Z
false
10up/wpacceptance
https://github.com/10up/wpacceptance/blob/fc47e928216eb583e80b6f11908d51c36b1ffe79/example/twentyseventeen/tests/MainMenu.php
example/twentyseventeen/tests/MainMenu.php
<?php /** * Test menu is functioning properly * * @package wpacceptance */ /** * PHPUnit test class */ class MainMenuTest extends \WPAcceptance\PHPUnit\TestCase { /** * @testdox On a small screen, the menu is hidden initially and opens on click */ public function testSmallScreenOpen() { $I = $this->open...
php
MIT
fc47e928216eb583e80b6f11908d51c36b1ffe79
2026-01-05T04:14:09.241160Z
false
10up/wpacceptance
https://github.com/10up/wpacceptance/blob/fc47e928216eb583e80b6f11908d51c36b1ffe79/example/twentyseventeen/tests/AdminPost.php
example/twentyseventeen/tests/AdminPost.php
<?php /** * Test that admins can manage posts * * @package wpacceptance */ /** * PHPUnit test class */ class AdminPostTest extends \WPAcceptance\PHPUnit\TestCase { /** * @testdox I can successfully publish a post in Gutenberg. */ public function testPostPublish() { $I = $this->openBrowserPage(); $I->...
php
MIT
fc47e928216eb583e80b6f11908d51c36b1ffe79
2026-01-05T04:14:09.241160Z
false
10up/wpacceptance
https://github.com/10up/wpacceptance/blob/fc47e928216eb583e80b6f11908d51c36b1ffe79/example/twentyseventeen/tests/Gallery.php
example/twentyseventeen/tests/Gallery.php
<?php /** * Test gallery is functioning properly * * @package wpacceptance */ /** * PHPUnit test class */ class GalleryTest extends \WPAcceptance\PHPUnit\TestCase { /** * @testdox Clicking gallery dots works. */ public function testGalleryNav() { $I = $this->openBrowserPage(); $I->moveTo( '/' ); $...
php
MIT
fc47e928216eb583e80b6f11908d51c36b1ffe79
2026-01-05T04:14:09.241160Z
false
antonioribeiro/countries-laravel
https://github.com/antonioribeiro/countries-laravel/blob/0d83b2f197e5244ddc17885caf9fe96a31306693/src/config/countries.php
src/config/countries.php
<?php return [ 'cache' => [ 'enabled' => true, 'service' => PragmaRX\Countries\Package\Services\Cache\Service::class, 'duration' => 180, 'directory' => sys_get_temp_dir().'/__PRAGMARX_COUNTRIES__/cache', ], 'hydrate' => [ 'before' => true, 'after' => tr...
php
BSD-3-Clause
0d83b2f197e5244ddc17885caf9fe96a31306693
2026-01-05T04:14:24.719084Z
false
antonioribeiro/countries-laravel
https://github.com/antonioribeiro/countries-laravel/blob/0d83b2f197e5244ddc17885caf9fe96a31306693/src/package/Facade.php
src/package/Facade.php
<?php namespace PragmaRX\CountriesLaravel\Package; use Illuminate\Support\Facades\Facade as IlluminateFacade; class Facade extends IlluminateFacade { /** * Get the registered name of the component. * * @return string */ protected static function getFacadeAccessor() { return 'p...
php
BSD-3-Clause
0d83b2f197e5244ddc17885caf9fe96a31306693
2026-01-05T04:14:24.719084Z
false
antonioribeiro/countries-laravel
https://github.com/antonioribeiro/countries-laravel/blob/0d83b2f197e5244ddc17885caf9fe96a31306693/src/package/ServiceProvider.php
src/package/ServiceProvider.php
<?php namespace PragmaRX\CountriesLaravel\Package; use Illuminate\Support\Facades\Route; use Illuminate\Support\Facades\Validator; use Illuminate\Support\ServiceProvider as IlluminateServiceProvider; use PragmaRX\Countries\Package\Countries as CountriesService; use PragmaRX\Countries\Package\Data\Repository; use Prag...
php
BSD-3-Clause
0d83b2f197e5244ddc17885caf9fe96a31306693
2026-01-05T04:14:24.719084Z
false
antonioribeiro/countries-laravel
https://github.com/antonioribeiro/countries-laravel/blob/0d83b2f197e5244ddc17885caf9fe96a31306693/src/package/Http/Controllers/Flag.php
src/package/Http/Controllers/Flag.php
<?php namespace PragmaRX\CountriesLaravel\Package\Http\Controllers; use Illuminate\Routing\Controller; use Illuminate\Support\Str; use PragmaRX\CountriesLaravel\Package\Facade as CountriesFacade; class Flag extends Controller { /** * Find a country by its cca3 code and hydrate flag. * * @param $cc...
php
BSD-3-Clause
0d83b2f197e5244ddc17885caf9fe96a31306693
2026-01-05T04:14:24.719084Z
false
antonioribeiro/countries-laravel
https://github.com/antonioribeiro/countries-laravel/blob/0d83b2f197e5244ddc17885caf9fe96a31306693/src/package/Console/Commands/Base.php
src/package/Console/Commands/Base.php
<?php namespace PragmaRX\CountriesLaravel\Package\Console\Commands; use Illuminate\Console\Command; class Base extends Command { }
php
BSD-3-Clause
0d83b2f197e5244ddc17885caf9fe96a31306693
2026-01-05T04:14:24.719084Z
false
antonioribeiro/countries-laravel
https://github.com/antonioribeiro/countries-laravel/blob/0d83b2f197e5244ddc17885caf9fe96a31306693/src/package/Console/Commands/Update.php
src/package/Console/Commands/Update.php
<?php namespace PragmaRX\CountriesLaravel\Package\Console\Commands; use PragmaRX\CountriesLaravel\Package\Update\Updater; /** * @codeCoverageIgnore */ class Update extends Base { /** * The console command name. * * @var string */ protected $name = 'countries:update'; /** * The...
php
BSD-3-Clause
0d83b2f197e5244ddc17885caf9fe96a31306693
2026-01-05T04:14:24.719084Z
false
antonioribeiro/countries-laravel
https://github.com/antonioribeiro/countries-laravel/blob/0d83b2f197e5244ddc17885caf9fe96a31306693/tests/ValidationTest.php
tests/ValidationTest.php
<?php namespace PragmaRX\CountriesLaravel\Tests\Service; use Illuminate\Support\Facades\Validator; use PragmaRX\CountriesLaravel\Tests\TestCase; class ValidationTest extends TestCase { public function testCommonNameRule() { // Valid country /** @var \Illuminate\Validation\Validator $validator...
php
BSD-3-Clause
0d83b2f197e5244ddc17885caf9fe96a31306693
2026-01-05T04:14:24.719084Z
false
antonioribeiro/countries-laravel
https://github.com/antonioribeiro/countries-laravel/blob/0d83b2f197e5244ddc17885caf9fe96a31306693/tests/CountriesTest.php
tests/CountriesTest.php
<?php namespace PragmaRX\CountriesLaravel\Tests\Service; use PragmaRX\CountriesLaravel\Package\Facade as Countries; use PragmaRX\CountriesLaravel\Tests\TestCase; class CountriesTest extends TestCase { public function testCountriesIsInstantiable() { $country = Countries::where('name.common', 'Brazil')...
php
BSD-3-Clause
0d83b2f197e5244ddc17885caf9fe96a31306693
2026-01-05T04:14:24.719084Z
false
antonioribeiro/countries-laravel
https://github.com/antonioribeiro/countries-laravel/blob/0d83b2f197e5244ddc17885caf9fe96a31306693/tests/TestCase.php
tests/TestCase.php
<?php namespace PragmaRX\CountriesLaravel\Tests; use Orchestra\Testbench\TestCase as OrchestraTestCase; class TestCase extends OrchestraTestCase { protected function getPackageProviders($app) { return [ \Illuminate\Cache\CacheServiceProvider::class, \PragmaRX\CountriesLaravel\...
php
BSD-3-Clause
0d83b2f197e5244ddc17885caf9fe96a31306693
2026-01-05T04:14:24.719084Z
false
antonioribeiro/countries-laravel
https://github.com/antonioribeiro/countries-laravel/blob/0d83b2f197e5244ddc17885caf9fe96a31306693/tests/bootstrap.php
tests/bootstrap.php
<?php /* |-------------------------------------------------------------------------- | Register The Composer Auto Loader |-------------------------------------------------------------------------- | | Composer provides a convenient, automatically generated class loader | for our application. We just need to utilize it...
php
BSD-3-Clause
0d83b2f197e5244ddc17885caf9fe96a31306693
2026-01-05T04:14:24.719084Z
false
sandervanhooft/laravel-invoicable
https://github.com/sandervanhooft/laravel-invoicable/blob/70d5156b6cffe4a607a75c91c209f9e539e56a3a/.php-cs-fixer.dist.php
.php-cs-fixer.dist.php
<?php $finder = Symfony\Component\Finder\Finder::create() ->in([ __DIR__ . '/src', __DIR__ . '/config', __DIR__ . '/tests', __DIR__ . '/database', ]) ->name('*.php') ->notName('*.blade.php') ->ignoreDotFiles(true) ->ignoreVCS(true); return (new PhpCsFixer\Config(...
php
MIT
70d5156b6cffe4a607a75c91c209f9e539e56a3a
2026-01-05T04:14:33.494024Z
false
sandervanhooft/laravel-invoicable
https://github.com/sandervanhooft/laravel-invoicable/blob/70d5156b6cffe4a607a75c91c209f9e539e56a3a/src/InvoiceReferenceGenerator.php
src/InvoiceReferenceGenerator.php
<?php namespace SanderVanHooft\Invoicable; use Carbon\Carbon; class InvoiceReferenceGenerator { public static function generate() { $date = Carbon::now(); return $date->format('Y-m-d') . '-' . self::generateRandomCode(); } protected static function generateRandomCode() { ...
php
MIT
70d5156b6cffe4a607a75c91c209f9e539e56a3a
2026-01-05T04:14:33.494024Z
false
sandervanhooft/laravel-invoicable
https://github.com/sandervanhooft/laravel-invoicable/blob/70d5156b6cffe4a607a75c91c209f9e539e56a3a/src/Invoice.php
src/Invoice.php
<?php namespace SanderVanHooft\Invoicable; use Dompdf\Dompdf; use Illuminate\Database\Eloquent\Model; use Illuminate\Support\Facades\View; use Symfony\Component\HttpFoundation\Response; class Invoice extends Model { protected $guarded = []; /** * Get the invoice lines for this invoice */ publi...
php
MIT
70d5156b6cffe4a607a75c91c209f9e539e56a3a
2026-01-05T04:14:33.494024Z
false
sandervanhooft/laravel-invoicable
https://github.com/sandervanhooft/laravel-invoicable/blob/70d5156b6cffe4a607a75c91c209f9e539e56a3a/src/MoneyFormatter.php
src/MoneyFormatter.php
<?php namespace SanderVanHooft\Invoicable; class MoneyFormatter { /** * The current currency. * * @var string */ protected $currency; /** * The current locale. * * @var string */ protected $locale; public function __construct($currency = 'EUR', $locale = '...
php
MIT
70d5156b6cffe4a607a75c91c209f9e539e56a3a
2026-01-05T04:14:33.494024Z
false
sandervanhooft/laravel-invoicable
https://github.com/sandervanhooft/laravel-invoicable/blob/70d5156b6cffe4a607a75c91c209f9e539e56a3a/src/InvoiceLine.php
src/InvoiceLine.php
<?php namespace SanderVanHooft\Invoicable; use Illuminate\Database\Eloquent\Model; class InvoiceLine extends Model { protected $guarded = []; public function invoice() { return $this->belongsTo(Invoice::class); } }
php
MIT
70d5156b6cffe4a607a75c91c209f9e539e56a3a
2026-01-05T04:14:33.494024Z
false
sandervanhooft/laravel-invoicable
https://github.com/sandervanhooft/laravel-invoicable/blob/70d5156b6cffe4a607a75c91c209f9e539e56a3a/src/InvoicableServiceProvider.php
src/InvoicableServiceProvider.php
<?php namespace SanderVanHooft\Invoicable; use Illuminate\Support\ServiceProvider; class InvoicableServiceProvider extends ServiceProvider { /** * Perform post-registration booting of services. * * @return void */ public function boot() { $sourceViewsPath = __DIR__.'/../resour...
php
MIT
70d5156b6cffe4a607a75c91c209f9e539e56a3a
2026-01-05T04:14:33.494024Z
false
sandervanhooft/laravel-invoicable
https://github.com/sandervanhooft/laravel-invoicable/blob/70d5156b6cffe4a607a75c91c209f9e539e56a3a/src/IsInvoicable/IsInvoicableTrait.php
src/IsInvoicable/IsInvoicableTrait.php
<?php namespace SanderVanHooft\Invoicable\IsInvoicable; use SanderVanHooft\Invoicable\Invoice; trait IsInvoicableTrait { /** * Set the polymorphic relation. * * @return mixed */ public function invoices() { return $this->morphMany(Invoice::class, 'invoicable'); } }
php
MIT
70d5156b6cffe4a607a75c91c209f9e539e56a3a
2026-01-05T04:14:33.494024Z
false
sandervanhooft/laravel-invoicable
https://github.com/sandervanhooft/laravel-invoicable/blob/70d5156b6cffe4a607a75c91c209f9e539e56a3a/tests/AbstractTestCase.php
tests/AbstractTestCase.php
<?php namespace SanderVanHooft\Invoicable; use GrahamCampbell\TestBench\AbstractPackageTestCase; class AbstractTestCase extends AbstractPackageTestCase { /** * @param \Illuminate\Foundation\Application $app */ protected function getEnvironmentSetUp($app) { $app['config']->set('database....
php
MIT
70d5156b6cffe4a607a75c91c209f9e539e56a3a
2026-01-05T04:14:33.494024Z
false
sandervanhooft/laravel-invoicable
https://github.com/sandervanhooft/laravel-invoicable/blob/70d5156b6cffe4a607a75c91c209f9e539e56a3a/tests/TestModel.php
tests/TestModel.php
<?php namespace SanderVanHooft\Invoicable; use Illuminate\Database\Eloquent\Model; use SanderVanHooft\Invoicable\IsInvoicable\IsInvoicableTrait; class TestModel extends Model { use IsInvoicableTrait; protected $guarded = []; }
php
MIT
70d5156b6cffe4a607a75c91c209f9e539e56a3a
2026-01-05T04:14:33.494024Z
false
sandervanhooft/laravel-invoicable
https://github.com/sandervanhooft/laravel-invoicable/blob/70d5156b6cffe4a607a75c91c209f9e539e56a3a/tests/CreateTestModelsTable.php
tests/CreateTestModelsTable.php
<?php namespace SanderVanHooft\Invoicable; use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateTestModelsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() ...
php
MIT
70d5156b6cffe4a607a75c91c209f9e539e56a3a
2026-01-05T04:14:33.494024Z
false
sandervanhooft/laravel-invoicable
https://github.com/sandervanhooft/laravel-invoicable/blob/70d5156b6cffe4a607a75c91c209f9e539e56a3a/tests/Feature/InvoiceTest.php
tests/Feature/InvoiceTest.php
<?php namespace SanderVanHooft\Invoicable\Feature; use Illuminate\Foundation\Testing\DatabaseMigrations; use SanderVanHooft\Invoicable\AbstractTestCase; use SanderVanHooft\Invoicable\Invoice; use SanderVanHooft\Invoicable\TestModel; class InvoiceTest extends AbstractTestCase { use DatabaseMigrations; public...
php
MIT
70d5156b6cffe4a607a75c91c209f9e539e56a3a
2026-01-05T04:14:33.494024Z
false
sandervanhooft/laravel-invoicable
https://github.com/sandervanhooft/laravel-invoicable/blob/70d5156b6cffe4a607a75c91c209f9e539e56a3a/tests/Unit/MoneyFormatterTest.php
tests/Unit/MoneyFormatterTest.php
<?php namespace SanderVanHooft\Invoicable\Unit; use SanderVanHooft\Invoicable\AbstractTestCase; use SanderVanHooft\Invoicable\MoneyFormatter; class MoneyFormatterTest extends AbstractTestCase { public function setUp() : void { parent::setUp(); $this->formatter = new MoneyFormatter(); } ...
php
MIT
70d5156b6cffe4a607a75c91c209f9e539e56a3a
2026-01-05T04:14:33.494024Z
false
sandervanhooft/laravel-invoicable
https://github.com/sandervanhooft/laravel-invoicable/blob/70d5156b6cffe4a607a75c91c209f9e539e56a3a/tests/Unit/InvoiceReferenceTest.php
tests/Unit/InvoiceReferenceTest.php
<?php namespace SanderVanHooft\Invoicable\Unit; use Carbon\Carbon; use Illuminate\Foundation\Testing\DatabaseMigrations; use SanderVanHooft\Invoicable\AbstractTestCase; use SanderVanHooft\Invoicable\InvoiceReferenceGenerator; class InvoiceReferenceTest extends AbstractTestCase { use DatabaseMigrations; publ...
php
MIT
70d5156b6cffe4a607a75c91c209f9e539e56a3a
2026-01-05T04:14:33.494024Z
false
sandervanhooft/laravel-invoicable
https://github.com/sandervanhooft/laravel-invoicable/blob/70d5156b6cffe4a607a75c91c209f9e539e56a3a/config/invoicable.php
config/invoicable.php
<?php return [ 'default_currency' => 'EUR', 'default_status' => 'concept', 'locale' => 'nl_NL', ];
php
MIT
70d5156b6cffe4a607a75c91c209f9e539e56a3a
2026-01-05T04:14:33.494024Z
false
sandervanhooft/laravel-invoicable
https://github.com/sandervanhooft/laravel-invoicable/blob/70d5156b6cffe4a607a75c91c209f9e539e56a3a/database/migrations/2017_06_17_163005_create_invoices_tables.php
database/migrations/2017_06_17_163005_create_invoices_tables.php
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateInvoicesTables extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('invoices', fu...
php
MIT
70d5156b6cffe4a607a75c91c209f9e539e56a3a
2026-01-05T04:14:33.494024Z
false
sandervanhooft/laravel-invoicable
https://github.com/sandervanhooft/laravel-invoicable/blob/70d5156b6cffe4a607a75c91c209f9e539e56a3a/resources/views/receipt.blade.php
resources/views/receipt.blade.php
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Receipt</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <style> body { background: #fff; background-image: none; font-size: 12px; } address{ ...
php
MIT
70d5156b6cffe4a607a75c91c209f9e539e56a3a
2026-01-05T04:14:33.494024Z
false
tddwizard/magento2-fixtures
https://github.com/tddwizard/magento2-fixtures/blob/d1c2e684103227bb2235178b349c31e244c4a4d5/registration.php
registration.php
<?php \Magento\Framework\Component\ComponentRegistrar::register( \Magento\Framework\Component\ComponentRegistrar::MODULE, 'TddWizard_Fixtures', __DIR__ . '/src' );
php
MIT
d1c2e684103227bb2235178b349c31e244c4a4d5
2026-01-05T04:14:37.028346Z
false
tddwizard/magento2-fixtures
https://github.com/tddwizard/magento2-fixtures/blob/d1c2e684103227bb2235178b349c31e244c4a4d5/src/Theme/ThemeFixture.php
src/Theme/ThemeFixture.php
<?php declare(strict_types=1); namespace TddWizard\Fixtures\Theme; use Magento\Framework\View\DesignInterface; use Magento\TestFramework\Helper\Bootstrap; use Magento\Theme\Model\Theme\Registration; /** * A fixture to test theme features, e.g. with with test themes in `@magentoComponentsDir` */ class ThemeFixture ...
php
MIT
d1c2e684103227bb2235178b349c31e244c4a4d5
2026-01-05T04:14:37.028346Z
false
tddwizard/magento2-fixtures
https://github.com/tddwizard/magento2-fixtures/blob/d1c2e684103227bb2235178b349c31e244c4a4d5/src/Sales/CreditmemoFixture.php
src/Sales/CreditmemoFixture.php
<?php declare(strict_types=1); namespace TddWizard\Fixtures\Sales; use Magento\Sales\Api\Data\CreditmemoInterface; class CreditmemoFixture { /** * @var CreditmemoInterface */ private $creditmemo; public function __construct(CreditmemoInterface $creditmemo) { $this->creditmemo = $cr...
php
MIT
d1c2e684103227bb2235178b349c31e244c4a4d5
2026-01-05T04:14:37.028346Z
false
tddwizard/magento2-fixtures
https://github.com/tddwizard/magento2-fixtures/blob/d1c2e684103227bb2235178b349c31e244c4a4d5/src/Sales/OrderFixtureRollback.php
src/Sales/OrderFixtureRollback.php
<?php declare(strict_types=1); namespace TddWizard\Fixtures\Sales; use Magento\Catalog\Api\ProductRepositoryInterface; use Magento\Customer\Api\CustomerRepositoryInterface; use Magento\Framework\Exception\LocalizedException; use Magento\Framework\Exception\NoSuchEntityException; use Magento\Framework\Registry; use Ma...
php
MIT
d1c2e684103227bb2235178b349c31e244c4a4d5
2026-01-05T04:14:37.028346Z
false
tddwizard/magento2-fixtures
https://github.com/tddwizard/magento2-fixtures/blob/d1c2e684103227bb2235178b349c31e244c4a4d5/src/Sales/ShipmentFixturePool.php
src/Sales/ShipmentFixturePool.php
<?php declare(strict_types=1); namespace TddWizard\Fixtures\Sales; use Magento\Sales\Api\Data\ShipmentInterface; class ShipmentFixturePool { /** * @var ShipmentFixture[] */ private $shipmentFixtures = []; public function add(ShipmentInterface $shipment, ?string $key = null): void { ...
php
MIT
d1c2e684103227bb2235178b349c31e244c4a4d5
2026-01-05T04:14:37.028346Z
false
tddwizard/magento2-fixtures
https://github.com/tddwizard/magento2-fixtures/blob/d1c2e684103227bb2235178b349c31e244c4a4d5/src/Sales/OrderFixturePool.php
src/Sales/OrderFixturePool.php
<?php declare(strict_types=1); namespace TddWizard\Fixtures\Sales; use Magento\Sales\Model\Order; use function array_values as values; class OrderFixturePool { /** * @var OrderFixture[] */ private $orderFixtures = []; public function add(Order $order, ?string $key = null): void { ...
php
MIT
d1c2e684103227bb2235178b349c31e244c4a4d5
2026-01-05T04:14:37.028346Z
false
tddwizard/magento2-fixtures
https://github.com/tddwizard/magento2-fixtures/blob/d1c2e684103227bb2235178b349c31e244c4a4d5/src/Sales/OrderFixture.php
src/Sales/OrderFixture.php
<?php declare(strict_types=1); namespace TddWizard\Fixtures\Sales; use Magento\Sales\Model\Order; class OrderFixture { /** * @var Order */ private $order; public function __construct(Order $order) { $this->order = $order; } public function getOrder(): Order { r...
php
MIT
d1c2e684103227bb2235178b349c31e244c4a4d5
2026-01-05T04:14:37.028346Z
false
tddwizard/magento2-fixtures
https://github.com/tddwizard/magento2-fixtures/blob/d1c2e684103227bb2235178b349c31e244c4a4d5/src/Sales/InvoiceFixturePool.php
src/Sales/InvoiceFixturePool.php
<?php declare(strict_types=1); namespace TddWizard\Fixtures\Sales; use Magento\Sales\Api\Data\InvoiceInterface; class InvoiceFixturePool { /** * @var InvoiceFixture[] */ private $invoiceFixtures = []; public function add(InvoiceInterface $invoice, ?string $key = null): void { if (...
php
MIT
d1c2e684103227bb2235178b349c31e244c4a4d5
2026-01-05T04:14:37.028346Z
false
tddwizard/magento2-fixtures
https://github.com/tddwizard/magento2-fixtures/blob/d1c2e684103227bb2235178b349c31e244c4a4d5/src/Sales/ShipmentBuilder.php
src/Sales/ShipmentBuilder.php
<?php declare(strict_types=1); namespace TddWizard\Fixtures\Sales; use Magento\Sales\Api\Data\ShipmentInterface; use Magento\Sales\Api\Data\ShipmentItemCreationInterfaceFactory; use Magento\Sales\Api\Data\ShipmentTrackCreationInterface; use Magento\Sales\Api\Data\ShipmentTrackCreationInterfaceFactory; use Magento\Sal...
php
MIT
d1c2e684103227bb2235178b349c31e244c4a4d5
2026-01-05T04:14:37.028346Z
false
tddwizard/magento2-fixtures
https://github.com/tddwizard/magento2-fixtures/blob/d1c2e684103227bb2235178b349c31e244c4a4d5/src/Sales/OrderBuilder.php
src/Sales/OrderBuilder.php
<?php declare(strict_types=1); namespace TddWizard\Fixtures\Sales; use Magento\Sales\Model\Order; use TddWizard\Fixtures\Catalog\ProductBuilder; use TddWizard\Fixtures\Checkout\CartBuilder; use TddWizard\Fixtures\Checkout\CustomerCheckout; use TddWizard\Fixtures\Customer\AddressBuilder; use TddWizard\Fixtures\Custome...
php
MIT
d1c2e684103227bb2235178b349c31e244c4a4d5
2026-01-05T04:14:37.028346Z
false
tddwizard/magento2-fixtures
https://github.com/tddwizard/magento2-fixtures/blob/d1c2e684103227bb2235178b349c31e244c4a4d5/src/Sales/InvoiceFixture.php
src/Sales/InvoiceFixture.php
<?php declare(strict_types=1); namespace TddWizard\Fixtures\Sales; use Magento\Sales\Api\Data\InvoiceInterface; class InvoiceFixture { /** * @var InvoiceInterface */ private $invoice; public function __construct(InvoiceInterface $shipment) { $this->invoice = $shipment; } p...
php
MIT
d1c2e684103227bb2235178b349c31e244c4a4d5
2026-01-05T04:14:37.028346Z
false
tddwizard/magento2-fixtures
https://github.com/tddwizard/magento2-fixtures/blob/d1c2e684103227bb2235178b349c31e244c4a4d5/src/Sales/ShipmentFixture.php
src/Sales/ShipmentFixture.php
<?php declare(strict_types=1); namespace TddWizard\Fixtures\Sales; use Magento\Sales\Api\Data\ShipmentInterface; class ShipmentFixture { /** * @var ShipmentInterface */ private $shipment; public function __construct(ShipmentInterface $shipment) { $this->shipment = $shipment; } ...
php
MIT
d1c2e684103227bb2235178b349c31e244c4a4d5
2026-01-05T04:14:37.028346Z
false
tddwizard/magento2-fixtures
https://github.com/tddwizard/magento2-fixtures/blob/d1c2e684103227bb2235178b349c31e244c4a4d5/src/Sales/CreditmemoBuilder.php
src/Sales/CreditmemoBuilder.php
<?php declare(strict_types=1); namespace TddWizard\Fixtures\Sales; use Magento\Sales\Api\CreditmemoRepositoryInterface; use Magento\Sales\Api\Data\CreditmemoInterface; use Magento\Sales\Api\Data\CreditmemoItemCreationInterfaceFactory; use Magento\Sales\Api\RefundOrderInterface; use Magento\Sales\Model\Order; use Mage...
php
MIT
d1c2e684103227bb2235178b349c31e244c4a4d5
2026-01-05T04:14:37.028346Z
false
tddwizard/magento2-fixtures
https://github.com/tddwizard/magento2-fixtures/blob/d1c2e684103227bb2235178b349c31e244c4a4d5/src/Sales/InvoiceBuilder.php
src/Sales/InvoiceBuilder.php
<?php declare(strict_types=1); namespace TddWizard\Fixtures\Sales; use Magento\Sales\Api\Data\InvoiceInterface; use Magento\Sales\Api\Data\InvoiceItemCreationInterfaceFactory; use Magento\Sales\Api\InvoiceOrderInterface; use Magento\Sales\Api\InvoiceRepositoryInterface; use Magento\Sales\Model\Order; use Magento\Test...
php
MIT
d1c2e684103227bb2235178b349c31e244c4a4d5
2026-01-05T04:14:37.028346Z
false
tddwizard/magento2-fixtures
https://github.com/tddwizard/magento2-fixtures/blob/d1c2e684103227bb2235178b349c31e244c4a4d5/src/Sales/CreditmemoFixturePool.php
src/Sales/CreditmemoFixturePool.php
<?php declare(strict_types=1); namespace TddWizard\Fixtures\Sales; use Magento\Sales\Api\Data\CreditmemoInterface; class CreditmemoFixturePool { /** * @var CreditmemoFixture[] */ private $creditmemoFixtures = []; public function add(CreditmemoInterface $creditmemo, ?string $key = null): void ...
php
MIT
d1c2e684103227bb2235178b349c31e244c4a4d5
2026-01-05T04:14:37.028346Z
false
tddwizard/magento2-fixtures
https://github.com/tddwizard/magento2-fixtures/blob/d1c2e684103227bb2235178b349c31e244c4a4d5/src/Checkout/CartBuilder.php
src/Checkout/CartBuilder.php
<?php declare(strict_types=1); namespace TddWizard\Fixtures\Checkout; use Magento\Catalog\Api\ProductRepositoryInterface; use Magento\Catalog\Model\Product; use Magento\Checkout\Model\Cart; use Magento\Framework\DataObject; use Magento\Framework\Exception\LocalizedException; use Magento\TestFramework\Helper\Bootstrap...
php
MIT
d1c2e684103227bb2235178b349c31e244c4a4d5
2026-01-05T04:14:37.028346Z
false
tddwizard/magento2-fixtures
https://github.com/tddwizard/magento2-fixtures/blob/d1c2e684103227bb2235178b349c31e244c4a4d5/src/Checkout/CustomerCheckout.php
src/Checkout/CustomerCheckout.php
<?php declare(strict_types=1); namespace TddWizard\Fixtures\Checkout; use Magento\Checkout\Model\Cart; use Magento\Customer\Api\AddressRepositoryInterface; use Magento\Payment\Model\Config as PaymentConfig; use Magento\Quote\Api\CartRepositoryInterface; use Magento\Quote\Model\Quote; use Magento\Quote\Model\QuoteMana...
php
MIT
d1c2e684103227bb2235178b349c31e244c4a4d5
2026-01-05T04:14:37.028346Z
false
tddwizard/magento2-fixtures
https://github.com/tddwizard/magento2-fixtures/blob/d1c2e684103227bb2235178b349c31e244c4a4d5/src/Customer/CustomerBuilder.php
src/Customer/CustomerBuilder.php
<?php declare(strict_types=1); namespace TddWizard\Fixtures\Customer; use Magento\Customer\Api\CustomerRepositoryInterface; use Magento\Customer\Api\Data\CustomerInterface; use Magento\Framework\Encryption\EncryptorInterface as Encryptor; use Magento\Framework\Exception\LocalizedException; use Magento\TestFramework\H...
php
MIT
d1c2e684103227bb2235178b349c31e244c4a4d5
2026-01-05T04:14:37.028346Z
false
tddwizard/magento2-fixtures
https://github.com/tddwizard/magento2-fixtures/blob/d1c2e684103227bb2235178b349c31e244c4a4d5/src/Customer/CustomerFixture.php
src/Customer/CustomerFixture.php
<?php declare(strict_types=1); namespace TddWizard\Fixtures\Customer; use Magento\Customer\Api\Data\AddressInterface; use Magento\Customer\Api\Data\CustomerInterface; use Magento\Customer\Model\Session; use Magento\TestFramework\Helper\Bootstrap; /** * Object that can be returned from customer fixture, contains ids...
php
MIT
d1c2e684103227bb2235178b349c31e244c4a4d5
2026-01-05T04:14:37.028346Z
false
tddwizard/magento2-fixtures
https://github.com/tddwizard/magento2-fixtures/blob/d1c2e684103227bb2235178b349c31e244c4a4d5/src/Customer/AddressBuilder.php
src/Customer/AddressBuilder.php
<?php declare(strict_types=1); namespace TddWizard\Fixtures\Customer; use Faker\Factory as FakerFactory; use InvalidArgumentException; use Magento\Customer\Api\AddressRepositoryInterface; use Magento\Customer\Api\Data\AddressInterface; use Magento\Directory\Model\Region; use Magento\Framework\Exception\LocalizedExcep...
php
MIT
d1c2e684103227bb2235178b349c31e244c4a4d5
2026-01-05T04:14:37.028346Z
false
tddwizard/magento2-fixtures
https://github.com/tddwizard/magento2-fixtures/blob/d1c2e684103227bb2235178b349c31e244c4a4d5/src/Customer/CustomerFixtureRollback.php
src/Customer/CustomerFixtureRollback.php
<?php declare(strict_types=1); namespace TddWizard\Fixtures\Customer; use Magento\Customer\Api\CustomerRepositoryInterface; use Magento\Framework\Exception\LocalizedException; use Magento\Framework\Registry; use Magento\TestFramework\Helper\Bootstrap; /** * @internal Use CustomerFixture::rollback() or CustomerFixtu...
php
MIT
d1c2e684103227bb2235178b349c31e244c4a4d5
2026-01-05T04:14:37.028346Z
false
tddwizard/magento2-fixtures
https://github.com/tddwizard/magento2-fixtures/blob/d1c2e684103227bb2235178b349c31e244c4a4d5/src/Customer/CustomerFixturePool.php
src/Customer/CustomerFixturePool.php
<?php declare(strict_types=1); namespace TddWizard\Fixtures\Customer; use Magento\Customer\Api\Data\CustomerInterface; use function array_values as values; class CustomerFixturePool { /** * @var CustomerFixture[] */ private $customerFixtures = []; public function add(CustomerInterface $custom...
php
MIT
d1c2e684103227bb2235178b349c31e244c4a4d5
2026-01-05T04:14:37.028346Z
false
tddwizard/magento2-fixtures
https://github.com/tddwizard/magento2-fixtures/blob/d1c2e684103227bb2235178b349c31e244c4a4d5/src/Catalog/OptionFixtureRollback.php
src/Catalog/OptionFixtureRollback.php
<?php declare(strict_types=1); namespace TddWizard\Fixtures\Catalog; use Magento\Catalog\Model\Product; use Magento\Eav\Api\AttributeOptionManagementInterface; use Magento\Framework\Exception\InputException; use Magento\Framework\Exception\NoSuchEntityException; use Magento\Framework\Exception\StateException; use Mag...
php
MIT
d1c2e684103227bb2235178b349c31e244c4a4d5
2026-01-05T04:14:37.028346Z
false
tddwizard/magento2-fixtures
https://github.com/tddwizard/magento2-fixtures/blob/d1c2e684103227bb2235178b349c31e244c4a4d5/src/Catalog/ProductBuilder.php
src/Catalog/ProductBuilder.php
<?php declare(strict_types=1); namespace TddWizard\Fixtures\Catalog; use Exception; use Magento\Catalog\Api\Data\ProductInterface; use Magento\Catalog\Api\Data\ProductWebsiteLinkInterfaceFactory; use Magento\Catalog\Api\ProductRepositoryInterface; use Magento\Catalog\Api\ProductWebsiteLinkRepositoryInterface; use Mag...
php
MIT
d1c2e684103227bb2235178b349c31e244c4a4d5
2026-01-05T04:14:37.028346Z
false
tddwizard/magento2-fixtures
https://github.com/tddwizard/magento2-fixtures/blob/d1c2e684103227bb2235178b349c31e244c4a4d5/src/Catalog/CategoryFixturePool.php
src/Catalog/CategoryFixturePool.php
<?php declare(strict_types=1); namespace TddWizard\Fixtures\Catalog; use Magento\Catalog\Api\Data\CategoryInterface; use function array_values as values; class CategoryFixturePool { /** * @var CategoryFixture[] */ private $categoryFixtures = []; public function add(CategoryInterface $category...
php
MIT
d1c2e684103227bb2235178b349c31e244c4a4d5
2026-01-05T04:14:37.028346Z
false
tddwizard/magento2-fixtures
https://github.com/tddwizard/magento2-fixtures/blob/d1c2e684103227bb2235178b349c31e244c4a4d5/src/Catalog/OptionFixturePool.php
src/Catalog/OptionFixturePool.php
<?php declare(strict_types=1); namespace TddWizard\Fixtures\Catalog; use Magento\Eav\Model\Entity\Attribute\Option as AttributeOption; use function array_values as values; /** * Class OptionFixturePool */ class OptionFixturePool { /** * @var OptionFixture[] */ private $optionFixtures = []; ...
php
MIT
d1c2e684103227bb2235178b349c31e244c4a4d5
2026-01-05T04:14:37.028346Z
false
tddwizard/magento2-fixtures
https://github.com/tddwizard/magento2-fixtures/blob/d1c2e684103227bb2235178b349c31e244c4a4d5/src/Catalog/OptionFixture.php
src/Catalog/OptionFixture.php
<?php declare(strict_types=1); namespace TddWizard\Fixtures\Catalog; use Magento\Eav\Model\Entity\Attribute\Option as AttributeOption; use Magento\Framework\Exception\LocalizedException; /** * Class OptionFixture */ class OptionFixture { /** * @var string */ private $attributeCode; /** ...
php
MIT
d1c2e684103227bb2235178b349c31e244c4a4d5
2026-01-05T04:14:37.028346Z
false
tddwizard/magento2-fixtures
https://github.com/tddwizard/magento2-fixtures/blob/d1c2e684103227bb2235178b349c31e244c4a4d5/src/Catalog/ProductFixturePool.php
src/Catalog/ProductFixturePool.php
<?php declare(strict_types=1); namespace TddWizard\Fixtures\Catalog; use Magento\Catalog\Api\Data\ProductInterface; use function array_values as values; class ProductFixturePool { /** * @var ProductFixture[] */ private $productFixtures = []; public function add(ProductInterface $product, ?str...
php
MIT
d1c2e684103227bb2235178b349c31e244c4a4d5
2026-01-05T04:14:37.028346Z
false
tddwizard/magento2-fixtures
https://github.com/tddwizard/magento2-fixtures/blob/d1c2e684103227bb2235178b349c31e244c4a4d5/src/Catalog/IndexFailed.php
src/Catalog/IndexFailed.php
<?php declare(strict_types=1); namespace TddWizard\Fixtures\Catalog; class IndexFailed extends \RuntimeException { public static function becauseInitiallyTriggeredInTransaction(\Exception $previous): self { return new self( <<<TXT The fixture could not be set up because creating index tabl...
php
MIT
d1c2e684103227bb2235178b349c31e244c4a4d5
2026-01-05T04:14:37.028346Z
false
tddwizard/magento2-fixtures
https://github.com/tddwizard/magento2-fixtures/blob/d1c2e684103227bb2235178b349c31e244c4a4d5/src/Catalog/ProductFixture.php
src/Catalog/ProductFixture.php
<?php declare(strict_types=1); namespace TddWizard\Fixtures\Catalog; use Magento\Catalog\Api\Data\ProductInterface; class ProductFixture { /** * @var ProductInterface */ private $product; public function __construct(ProductInterface $product) { $this->product = $product; } ...
php
MIT
d1c2e684103227bb2235178b349c31e244c4a4d5
2026-01-05T04:14:37.028346Z
false
tddwizard/magento2-fixtures
https://github.com/tddwizard/magento2-fixtures/blob/d1c2e684103227bb2235178b349c31e244c4a4d5/src/Catalog/ProductFixtureRollback.php
src/Catalog/ProductFixtureRollback.php
<?php declare(strict_types=1); namespace TddWizard\Fixtures\Catalog; use Magento\Catalog\Api\ProductRepositoryInterface; use Magento\Framework\Exception\LocalizedException; use Magento\Framework\Registry; use Magento\TestFramework\Helper\Bootstrap; /** * @internal Use ProductFixture::rollback() or ProductFixturePoo...
php
MIT
d1c2e684103227bb2235178b349c31e244c4a4d5
2026-01-05T04:14:37.028346Z
false
tddwizard/magento2-fixtures
https://github.com/tddwizard/magento2-fixtures/blob/d1c2e684103227bb2235178b349c31e244c4a4d5/src/Catalog/OptionBuilder.php
src/Catalog/OptionBuilder.php
<?php declare(strict_types=1); namespace TddWizard\Fixtures\Catalog; use Magento\Catalog\Api\ProductAttributeRepositoryInterface; use Magento\Catalog\Model\Product; use Magento\Eav\Api\AttributeOptionManagementInterface; use Magento\Eav\Api\Data\AttributeOptionLabelInterface; use Magento\Eav\Model\Entity\Attribute\Op...
php
MIT
d1c2e684103227bb2235178b349c31e244c4a4d5
2026-01-05T04:14:37.028346Z
false
tddwizard/magento2-fixtures
https://github.com/tddwizard/magento2-fixtures/blob/d1c2e684103227bb2235178b349c31e244c4a4d5/src/Catalog/CategoryBuilder.php
src/Catalog/CategoryBuilder.php
<?php declare(strict_types=1); namespace TddWizard\Fixtures\Catalog; use Magento\Catalog\Api\CategoryLinkRepositoryInterface; use Magento\Catalog\Api\CategoryRepositoryInterface; use Magento\Catalog\Api\Data\CategoryInterface; use Magento\Catalog\Api\Data\CategoryProductLinkInterfaceFactory; use Magento\Catalog\Model...
php
MIT
d1c2e684103227bb2235178b349c31e244c4a4d5
2026-01-05T04:14:37.028346Z
false
tddwizard/magento2-fixtures
https://github.com/tddwizard/magento2-fixtures/blob/d1c2e684103227bb2235178b349c31e244c4a4d5/src/Catalog/FulltextIndex.php
src/Catalog/FulltextIndex.php
<?php declare(strict_types=1); namespace TddWizard\Fixtures\Catalog; use Magento\Indexer\Model\IndexerFactory; use Magento\TestFramework\Helper\Bootstrap; /** * Can run the fulltext catalog index once from tests to ensure that tables for all stores are created */ class FulltextIndex { /** * @var bool ...
php
MIT
d1c2e684103227bb2235178b349c31e244c4a4d5
2026-01-05T04:14:37.028346Z
false
tddwizard/magento2-fixtures
https://github.com/tddwizard/magento2-fixtures/blob/d1c2e684103227bb2235178b349c31e244c4a4d5/src/Catalog/CategoryFixtureRollback.php
src/Catalog/CategoryFixtureRollback.php
<?php declare(strict_types=1); namespace TddWizard\Fixtures\Catalog; use Magento\Catalog\Api\CategoryRepositoryInterface; use Magento\Framework\Exception\LocalizedException; use Magento\Framework\Registry; use Magento\TestFramework\Helper\Bootstrap; /** * @internal Use CategoryFixture::rollback() or CategoryFixture...
php
MIT
d1c2e684103227bb2235178b349c31e244c4a4d5
2026-01-05T04:14:37.028346Z
false
tddwizard/magento2-fixtures
https://github.com/tddwizard/magento2-fixtures/blob/d1c2e684103227bb2235178b349c31e244c4a4d5/src/Catalog/CategoryFixture.php
src/Catalog/CategoryFixture.php
<?php declare(strict_types=1); namespace TddWizard\Fixtures\Catalog; use Magento\Catalog\Api\Data\CategoryInterface; use Magento\Catalog\Model\Category; class CategoryFixture { /** * @var CategoryInterface */ private $category; /** * @return CategoryInterface */ public function g...
php
MIT
d1c2e684103227bb2235178b349c31e244c4a4d5
2026-01-05T04:14:37.028346Z
false
tddwizard/magento2-fixtures
https://github.com/tddwizard/magento2-fixtures/blob/d1c2e684103227bb2235178b349c31e244c4a4d5/src/Core/ConfigFixture.php
src/Core/ConfigFixture.php
<?php declare(strict_types=1); namespace TddWizard\Fixtures\Core; use Magento\Framework\App\Config\MutableScopeConfigInterface; use Magento\Framework\App\Config\ScopeConfigInterface; use Magento\Store\Api\StoreRepositoryInterface; use Magento\Store\Model\ScopeInterface; use Magento\TestFramework\Helper\Bootstrap; cl...
php
MIT
d1c2e684103227bb2235178b349c31e244c4a4d5
2026-01-05T04:14:37.028346Z
false
tddwizard/magento2-fixtures
https://github.com/tddwizard/magento2-fixtures/blob/d1c2e684103227bb2235178b349c31e244c4a4d5/tests/install-config-mysql.php
tests/install-config-mysql.php
<?php return [ 'db-host' => 'DB_HOST', 'db-user' => 'DB_USER', 'db-password' => 'DB_PASSWORD', 'db-name' => 'DB_NAME', 'db-prefix' => '', 'backend-frontname' => 'backend', 'admin-user' => \Magento\TestFramework\Bootstrap::ADMIN_NAME, 'admin-password' => \Magento\TestFramework\Bootstrap:...
php
MIT
d1c2e684103227bb2235178b349c31e244c4a4d5
2026-01-05T04:14:37.028346Z
false
tddwizard/magento2-fixtures
https://github.com/tddwizard/magento2-fixtures/blob/d1c2e684103227bb2235178b349c31e244c4a4d5/tests/Theme/ThemeFixtureTest.php
tests/Theme/ThemeFixtureTest.php
<?php declare(strict_types=1); namespace TddWizard\Fixtures\Theme; use Magento\Framework\View\DesignInterface; use Magento\TestFramework\Helper\Bootstrap; use PHPUnit\Framework\TestCase; /** * @magentoAppIsolation enabled * @magentoAppArea frontend * @magentoComponentsDir ../../../../vendor/tddwizard/magento2-fix...
php
MIT
d1c2e684103227bb2235178b349c31e244c4a4d5
2026-01-05T04:14:37.028346Z
false
tddwizard/magento2-fixtures
https://github.com/tddwizard/magento2-fixtures/blob/d1c2e684103227bb2235178b349c31e244c4a4d5/tests/Theme/_files/design/frontend/Custom/default/registration.php
tests/Theme/_files/design/frontend/Custom/default/registration.php
<?php /** * Hyvä Themes - https://hyva.io * Copyright © Hyvä Themes 2020-present. All rights reserved. * This product is licensed per Magento install * See https://hyva.io/license */ use \Magento\Framework\Component\ComponentRegistrar; ComponentRegistrar::register(ComponentRegistrar::THEME, 'frontend/Custom/defa...
php
MIT
d1c2e684103227bb2235178b349c31e244c4a4d5
2026-01-05T04:14:37.028346Z
false
tddwizard/magento2-fixtures
https://github.com/tddwizard/magento2-fixtures/blob/d1c2e684103227bb2235178b349c31e244c4a4d5/tests/Sales/InvoiceBuilderTest.php
tests/Sales/InvoiceBuilderTest.php
<?php namespace TddWizard\Fixtures\Sales; use Magento\Framework\Exception\LocalizedException; use Magento\Sales\Api\Data\InvoiceInterface; use Magento\Sales\Api\Data\OrderItemInterface; use Magento\Sales\Api\InvoiceRepositoryInterface; use Magento\TestFramework\Helper\Bootstrap; use PHPUnit\Framework\TestCase; use Td...
php
MIT
d1c2e684103227bb2235178b349c31e244c4a4d5
2026-01-05T04:14:37.028346Z
false
tddwizard/magento2-fixtures
https://github.com/tddwizard/magento2-fixtures/blob/d1c2e684103227bb2235178b349c31e244c4a4d5/tests/Sales/OrderBuilderTest.php
tests/Sales/OrderBuilderTest.php
<?php namespace TddWizard\Fixtures\Sales; use Magento\Framework\Exception\LocalizedException; use Magento\Sales\Api\Data\OrderInterface; use Magento\Sales\Api\OrderRepositoryInterface; use Magento\TestFramework\Helper\Bootstrap; use PHPUnit\Framework\TestCase; use TddWizard\Fixtures\Catalog\ProductBuilder; use TddWiz...
php
MIT
d1c2e684103227bb2235178b349c31e244c4a4d5
2026-01-05T04:14:37.028346Z
false
tddwizard/magento2-fixtures
https://github.com/tddwizard/magento2-fixtures/blob/d1c2e684103227bb2235178b349c31e244c4a4d5/tests/Sales/OrderFixturePoolRollbackTest.php
tests/Sales/OrderFixturePoolRollbackTest.php
<?php declare(strict_types=1); namespace TddWizard\Fixtures\Sales; use Magento\Framework\Exception\NoSuchEntityException; use Magento\Sales\Api\OrderRepositoryInterface; use Magento\TestFramework\Helper\Bootstrap; use PHPUnit\Framework\TestCase; /** * @magentoAppIsolation enabled * @magentoDbIsolation enabled */ ...
php
MIT
d1c2e684103227bb2235178b349c31e244c4a4d5
2026-01-05T04:14:37.028346Z
false
tddwizard/magento2-fixtures
https://github.com/tddwizard/magento2-fixtures/blob/d1c2e684103227bb2235178b349c31e244c4a4d5/tests/Sales/InvoiceFixturePoolTest.php
tests/Sales/InvoiceFixturePoolTest.php
<?php declare(strict_types=1); namespace TddWizard\Fixtures\Sales; use Magento\Sales\Api\Data\InvoiceInterface; use Magento\Sales\Api\InvoiceRepositoryInterface; use Magento\TestFramework\Helper\Bootstrap; use PHPUnit\Framework\TestCase; /** * @magentoAppIsolation enabled * @magentoDbIsolation enabled */ class In...
php
MIT
d1c2e684103227bb2235178b349c31e244c4a4d5
2026-01-05T04:14:37.028346Z
false
tddwizard/magento2-fixtures
https://github.com/tddwizard/magento2-fixtures/blob/d1c2e684103227bb2235178b349c31e244c4a4d5/tests/Sales/CreditmemoBuilderTest.php
tests/Sales/CreditmemoBuilderTest.php
<?php namespace TddWizard\Fixtures\Sales; use Magento\Framework\Exception\LocalizedException; use Magento\Sales\Api\CreditmemoRepositoryInterface; use Magento\Sales\Api\Data\CreditmemoInterface; use Magento\Sales\Api\Data\OrderItemInterface; use Magento\TestFramework\Helper\Bootstrap; use PHPUnit\Framework\TestCase; ...
php
MIT
d1c2e684103227bb2235178b349c31e244c4a4d5
2026-01-05T04:14:37.028346Z
false
tddwizard/magento2-fixtures
https://github.com/tddwizard/magento2-fixtures/blob/d1c2e684103227bb2235178b349c31e244c4a4d5/tests/Sales/ShipmentFixturePoolTest.php
tests/Sales/ShipmentFixturePoolTest.php
<?php declare(strict_types=1); namespace TddWizard\Fixtures\Sales; use Magento\Sales\Api\Data\ShipmentInterface; use Magento\Sales\Api\ShipmentRepositoryInterface; use Magento\TestFramework\Helper\Bootstrap; use PHPUnit\Framework\TestCase; /** * @magentoAppIsolation enabled * @magentoDbIsolation enabled */ class ...
php
MIT
d1c2e684103227bb2235178b349c31e244c4a4d5
2026-01-05T04:14:37.028346Z
false
tddwizard/magento2-fixtures
https://github.com/tddwizard/magento2-fixtures/blob/d1c2e684103227bb2235178b349c31e244c4a4d5/tests/Sales/ShipmentBuilderTest.php
tests/Sales/ShipmentBuilderTest.php
<?php namespace TddWizard\Fixtures\Sales; use Magento\Framework\Exception\LocalizedException; use Magento\Sales\Api\Data\OrderItemInterface; use Magento\Sales\Api\Data\ShipmentInterface; use Magento\Sales\Api\Data\ShipmentTrackInterface; use Magento\Sales\Api\ShipmentRepositoryInterface; use Magento\TestFramework\Hel...
php
MIT
d1c2e684103227bb2235178b349c31e244c4a4d5
2026-01-05T04:14:37.028346Z
false
tddwizard/magento2-fixtures
https://github.com/tddwizard/magento2-fixtures/blob/d1c2e684103227bb2235178b349c31e244c4a4d5/tests/Sales/OrderFixturePoolTest.php
tests/Sales/OrderFixturePoolTest.php
<?php declare(strict_types=1); namespace TddWizard\Fixtures\Sales; use Magento\Sales\Model\Order; use Magento\TestFramework\Helper\Bootstrap; use PHPUnit\Framework\TestCase; /** * @magentoAppIsolation enabled * @magentoDbIsolation enabled */ class OrderFixturePoolTest extends TestCase { /** * @var OrderF...
php
MIT
d1c2e684103227bb2235178b349c31e244c4a4d5
2026-01-05T04:14:37.028346Z
false
tddwizard/magento2-fixtures
https://github.com/tddwizard/magento2-fixtures/blob/d1c2e684103227bb2235178b349c31e244c4a4d5/tests/Sales/CreditmemoFixturePoolTest.php
tests/Sales/CreditmemoFixturePoolTest.php
<?php declare(strict_types=1); namespace TddWizard\Fixtures\Sales; use Magento\Sales\Api\CreditmemoRepositoryInterface; use Magento\Sales\Api\Data\CreditmemoInterface; use Magento\TestFramework\Helper\Bootstrap; use PHPUnit\Framework\TestCase; /** * @magentoAppIsolation enabled * @magentoDbIsolation enabled */ cl...
php
MIT
d1c2e684103227bb2235178b349c31e244c4a4d5
2026-01-05T04:14:37.028346Z
false
tddwizard/magento2-fixtures
https://github.com/tddwizard/magento2-fixtures/blob/d1c2e684103227bb2235178b349c31e244c4a4d5/tests/Checkout/CustomerCheckoutTest.php
tests/Checkout/CustomerCheckoutTest.php
<?php namespace TddWizard\Fixtures\Checkout; use PHPUnit\Framework\TestCase; use TddWizard\Fixtures\Catalog\ProductBuilder; use TddWizard\Fixtures\Catalog\ProductFixturePool; use TddWizard\Fixtures\Customer\AddressBuilder; use TddWizard\Fixtures\Customer\CustomerBuilder; use TddWizard\Fixtures\Customer\CustomerFixtur...
php
MIT
d1c2e684103227bb2235178b349c31e244c4a4d5
2026-01-05T04:14:37.028346Z
false
tddwizard/magento2-fixtures
https://github.com/tddwizard/magento2-fixtures/blob/d1c2e684103227bb2235178b349c31e244c4a4d5/tests/Checkout/CartBuilderTest.php
tests/Checkout/CartBuilderTest.php
<?php namespace TddWizard\Fixtures\Checkout; use Magento\Quote\Model\Quote\Item; use PHPUnit\Framework\TestCase; use TddWizard\Fixtures\Catalog\ProductBuilder; use TddWizard\Fixtures\Catalog\ProductFixture; class CartBuilderTest extends TestCase { /** * @var ProductFixture */ private $productFixtur...
php
MIT
d1c2e684103227bb2235178b349c31e244c4a4d5
2026-01-05T04:14:37.028346Z
false
tddwizard/magento2-fixtures
https://github.com/tddwizard/magento2-fixtures/blob/d1c2e684103227bb2235178b349c31e244c4a4d5/tests/Customer/CustomerBuilderTest.php
tests/Customer/CustomerBuilderTest.php
<?php namespace TddWizard\Fixtures\Customer; use Magento\Customer\Api\CustomerRepositoryInterface; use Magento\Customer\Api\Data\AddressInterface; use Magento\Framework\Exception\LocalizedException; use Magento\Framework\ObjectManagerInterface; use Magento\Store\Model\StoreManagerInterface; use Magento\TestFramework\...
php
MIT
d1c2e684103227bb2235178b349c31e244c4a4d5
2026-01-05T04:14:37.028346Z
false
tddwizard/magento2-fixtures
https://github.com/tddwizard/magento2-fixtures/blob/d1c2e684103227bb2235178b349c31e244c4a4d5/tests/Customer/CustomerFixturePoolTest.php
tests/Customer/CustomerFixturePoolTest.php
<?php declare(strict_types=1); namespace TddWizard\Fixtures\Customer; use Magento\Customer\Api\CustomerRepositoryInterface; use Magento\Customer\Api\Data\CustomerInterface; use Magento\Framework\Exception\NoSuchEntityException; use Magento\TestFramework\Helper\Bootstrap; use PHPUnit\Framework\TestCase; /** * @magen...
php
MIT
d1c2e684103227bb2235178b349c31e244c4a4d5
2026-01-05T04:14:37.028346Z
false
tddwizard/magento2-fixtures
https://github.com/tddwizard/magento2-fixtures/blob/d1c2e684103227bb2235178b349c31e244c4a4d5/tests/Customer/CustomerFixtureRollbackTest.php
tests/Customer/CustomerFixtureRollbackTest.php
<?php namespace TddWizard\Fixtures\Customer; use Magento\Customer\Api\CustomerRepositoryInterface; use Magento\Framework\Exception\NoSuchEntityException; use Magento\TestFramework\Helper\Bootstrap; use PHPUnit\Framework\TestCase; /** * @magentoAppIsolation enabled * @magentoDbIsolation enabled */ class CustomerFi...
php
MIT
d1c2e684103227bb2235178b349c31e244c4a4d5
2026-01-05T04:14:37.028346Z
false
tddwizard/magento2-fixtures
https://github.com/tddwizard/magento2-fixtures/blob/d1c2e684103227bb2235178b349c31e244c4a4d5/tests/Catalog/CategoryFixturePoolTest.php
tests/Catalog/CategoryFixturePoolTest.php
<?php declare(strict_types=1); namespace TddWizard\Fixtures\Catalog; use Magento\Catalog\Api\CategoryRepositoryInterface; use Magento\Catalog\Model\Category; use Magento\Framework\Exception\NoSuchEntityException; use Magento\TestFramework\Helper\Bootstrap; use PHPUnit\Framework\TestCase; /** * @magentoDataFixtureBe...
php
MIT
d1c2e684103227bb2235178b349c31e244c4a4d5
2026-01-05T04:14:37.028346Z
false
tddwizard/magento2-fixtures
https://github.com/tddwizard/magento2-fixtures/blob/d1c2e684103227bb2235178b349c31e244c4a4d5/tests/Catalog/CategoryBuilderTest.php
tests/Catalog/CategoryBuilderTest.php
<?php namespace TddWizard\Fixtures\Catalog; use Magento\Catalog\Api\CategoryRepositoryInterface; use Magento\Catalog\Model\Category; use Magento\TestFramework\Helper\Bootstrap; use PHPUnit\Framework\TestCase; /** * @magentoDataFixtureBeforeTransaction Magento/Catalog/_files/enable_reindex_schedule.php * @magentoAp...
php
MIT
d1c2e684103227bb2235178b349c31e244c4a4d5
2026-01-05T04:14:37.028346Z
false
tddwizard/magento2-fixtures
https://github.com/tddwizard/magento2-fixtures/blob/d1c2e684103227bb2235178b349c31e244c4a4d5/tests/Catalog/OptionBuilderTest.php
tests/Catalog/OptionBuilderTest.php
<?php declare(strict_types=1); namespace TddWizard\Fixtures\Catalog; use TddWizard\Fixtures\Catalog\OptionBuilder; use TddWizard\Fixtures\Catalog\OptionFixture; use TddWizard\Fixtures\Catalog\OptionFixtureRollback; use Magento\Catalog\Model\Product; use Magento\Eav\Api\AttributeOptionManagementInterface; use Magento\...
php
MIT
d1c2e684103227bb2235178b349c31e244c4a4d5
2026-01-05T04:14:37.028346Z
false
tddwizard/magento2-fixtures
https://github.com/tddwizard/magento2-fixtures/blob/d1c2e684103227bb2235178b349c31e244c4a4d5/tests/Catalog/ProductFixturePoolTest.php
tests/Catalog/ProductFixturePoolTest.php
<?php declare(strict_types=1); namespace TddWizard\Fixtures\Catalog; use Magento\Catalog\Api\Data\ProductInterface; use Magento\Catalog\Api\ProductRepositoryInterface; use Magento\Framework\Exception\NoSuchEntityException; use Magento\TestFramework\Helper\Bootstrap; use PHPUnit\Framework\TestCase; /** * @magentoDat...
php
MIT
d1c2e684103227bb2235178b349c31e244c4a4d5
2026-01-05T04:14:37.028346Z
false
tddwizard/magento2-fixtures
https://github.com/tddwizard/magento2-fixtures/blob/d1c2e684103227bb2235178b349c31e244c4a4d5/tests/Catalog/ProductFixtureRollbackTest.php
tests/Catalog/ProductFixtureRollbackTest.php
<?php namespace TddWizard\Fixtures\Catalog; use Magento\Catalog\Api\ProductRepositoryInterface; use Magento\Framework\Exception\NoSuchEntityException; use Magento\TestFramework\Helper\Bootstrap; use PHPUnit\Framework\TestCase; /** * @magentoDataFixtureBeforeTransaction Magento/Catalog/_files/enable_reindex_schedule...
php
MIT
d1c2e684103227bb2235178b349c31e244c4a4d5
2026-01-05T04:14:37.028346Z
false
tddwizard/magento2-fixtures
https://github.com/tddwizard/magento2-fixtures/blob/d1c2e684103227bb2235178b349c31e244c4a4d5/tests/Catalog/ProductBuilderTest.php
tests/Catalog/ProductBuilderTest.php
<?php namespace TddWizard\Fixtures\Catalog; use Magento\Catalog\Api\ProductRepositoryInterface; use Magento\Catalog\Model\Product; use Magento\Catalog\Model\Product\Attribute\Source\Status; use Magento\Catalog\Model\Product\Type; use Magento\Framework\Api\SearchCriteriaBuilder; use Magento\Framework\ObjectManagerInte...
php
MIT
d1c2e684103227bb2235178b349c31e244c4a4d5
2026-01-05T04:14:37.028346Z
false