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 |
|---|---|---|---|---|---|---|---|---|
GrahamCampbell/Laravel-Binput | https://github.com/GrahamCampbell/Laravel-Binput/blob/015d92d073ddf3e9cf342982d17901eca86b77ab/src/Facades/Binput.php | src/Facades/Binput.php | <?php
declare(strict_types=1);
/*
* This file is part of Laravel Binput.
*
* (c) Graham Campbell <hello@gjcampbell.co.uk>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace GrahamCampbell\Binput\Facades;
use Illuminate\S... | php | MIT | 015d92d073ddf3e9cf342982d17901eca86b77ab | 2026-01-05T03:28:13.261210Z | false |
GrahamCampbell/Laravel-Binput | https://github.com/GrahamCampbell/Laravel-Binput/blob/015d92d073ddf3e9cf342982d17901eca86b77ab/tests/AbstractTestCase.php | tests/AbstractTestCase.php | <?php
declare(strict_types=1);
/*
* This file is part of Laravel Binput.
*
* (c) Graham Campbell <hello@gjcampbell.co.uk>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace GrahamCampbell\Tests\Binput;
use GrahamCampbell... | php | MIT | 015d92d073ddf3e9cf342982d17901eca86b77ab | 2026-01-05T03:28:13.261210Z | false |
GrahamCampbell/Laravel-Binput | https://github.com/GrahamCampbell/Laravel-Binput/blob/015d92d073ddf3e9cf342982d17901eca86b77ab/tests/AnalysisTest.php | tests/AnalysisTest.php | <?php
declare(strict_types=1);
/*
* This file is part of Laravel Binput.
*
* (c) Graham Campbell <hello@gjcampbell.co.uk>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace GrahamCampbell\Tests\Binput;
use GrahamCampbell... | php | MIT | 015d92d073ddf3e9cf342982d17901eca86b77ab | 2026-01-05T03:28:13.261210Z | false |
GrahamCampbell/Laravel-Binput | https://github.com/GrahamCampbell/Laravel-Binput/blob/015d92d073ddf3e9cf342982d17901eca86b77ab/tests/BinputTest.php | tests/BinputTest.php | <?php
declare(strict_types=1);
/*
* This file is part of Laravel Binput.
*
* (c) Graham Campbell <hello@gjcampbell.co.uk>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace GrahamCampbell\Tests\Binput;
use GrahamCampbell... | php | MIT | 015d92d073ddf3e9cf342982d17901eca86b77ab | 2026-01-05T03:28:13.261210Z | false |
GrahamCampbell/Laravel-Binput | https://github.com/GrahamCampbell/Laravel-Binput/blob/015d92d073ddf3e9cf342982d17901eca86b77ab/tests/ServiceProviderTest.php | tests/ServiceProviderTest.php | <?php
declare(strict_types=1);
/*
* This file is part of Laravel Binput.
*
* (c) Graham Campbell <hello@gjcampbell.co.uk>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace GrahamCampbell\Tests\Binput;
use GrahamCampbell... | php | MIT | 015d92d073ddf3e9cf342982d17901eca86b77ab | 2026-01-05T03:28:13.261210Z | false |
GrahamCampbell/Laravel-Binput | https://github.com/GrahamCampbell/Laravel-Binput/blob/015d92d073ddf3e9cf342982d17901eca86b77ab/tests/Functional/BinputTest.php | tests/Functional/BinputTest.php | <?php
declare(strict_types=1);
/*
* This file is part of Laravel Binput.
*
* (c) Graham Campbell <hello@gjcampbell.co.uk>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace GrahamCampbell\Tests\Binput\Functional;
use Gra... | php | MIT | 015d92d073ddf3e9cf342982d17901eca86b77ab | 2026-01-05T03:28:13.261210Z | false |
GrahamCampbell/Laravel-Binput | https://github.com/GrahamCampbell/Laravel-Binput/blob/015d92d073ddf3e9cf342982d17901eca86b77ab/tests/Facades/BinputTest.php | tests/Facades/BinputTest.php | <?php
declare(strict_types=1);
/*
* This file is part of Laravel Binput.
*
* (c) Graham Campbell <hello@gjcampbell.co.uk>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace GrahamCampbell\Tests\Binput\Facades;
use Graham... | php | MIT | 015d92d073ddf3e9cf342982d17901eca86b77ab | 2026-01-05T03:28:13.261210Z | false |
maize-tech/laravel-magic-login | https://github.com/maize-tech/laravel-magic-login/blob/ff1932509f338b27b2b7d913dae50f43c97346a4/src/MagicLoginServiceProvider.php | src/MagicLoginServiceProvider.php | <?php
namespace Maize\MagicLogin;
use Spatie\LaravelPackageTools\Commands\InstallCommand;
use Spatie\LaravelPackageTools\Package;
use Spatie\LaravelPackageTools\PackageServiceProvider;
class MagicLoginServiceProvider extends PackageServiceProvider
{
public function configurePackage(Package $package): void
{
... | php | MIT | ff1932509f338b27b2b7d913dae50f43c97346a4 | 2026-01-05T03:28:29.233649Z | false |
maize-tech/laravel-magic-login | https://github.com/maize-tech/laravel-magic-login/blob/ff1932509f338b27b2b7d913dae50f43c97346a4/src/MagicLink.php | src/MagicLink.php | <?php
namespace Maize\MagicLogin;
use Illuminate\Contracts\Auth\Authenticatable;
use Illuminate\Support\Carbon;
use Illuminate\Support\Facades\Route;
use Illuminate\Support\Facades\URL;
use Maize\MagicLogin\Support\AuthData;
use Maize\MagicLogin\Support\Config;
class MagicLink
{
public function make(
Aut... | php | MIT | ff1932509f338b27b2b7d913dae50f43c97346a4 | 2026-01-05T03:28:29.233649Z | false |
maize-tech/laravel-magic-login | https://github.com/maize-tech/laravel-magic-login/blob/ff1932509f338b27b2b7d913dae50f43c97346a4/src/Http/Requests/MagicLoginRequest.php | src/Http/Requests/MagicLoginRequest.php | <?php
namespace Maize\MagicLogin\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
use Maize\MagicLogin\Support\AuthData;
class MagicLoginRequest extends FormRequest
{
public function authorize(): bool
{
return true;
}
/** @return array<string, mixed> */
public function rules()
... | php | MIT | ff1932509f338b27b2b7d913dae50f43c97346a4 | 2026-01-05T03:28:29.233649Z | false |
maize-tech/laravel-magic-login | https://github.com/maize-tech/laravel-magic-login/blob/ff1932509f338b27b2b7d913dae50f43c97346a4/src/Http/Controllers/MagicLoginController.php | src/Http/Controllers/MagicLoginController.php | <?php
namespace Maize\MagicLogin\Http\Controllers;
use Exception;
use Illuminate\Http\RedirectResponse;
use Illuminate\Routing\Redirector;
use Maize\MagicLogin\Http\Requests\MagicLoginRequest;
use Maize\MagicLogin\Models\MagicLogin;
use Maize\MagicLogin\Support\Config;
class MagicLoginController
{
public functio... | php | MIT | ff1932509f338b27b2b7d913dae50f43c97346a4 | 2026-01-05T03:28:29.233649Z | false |
maize-tech/laravel-magic-login | https://github.com/maize-tech/laravel-magic-login/blob/ff1932509f338b27b2b7d913dae50f43c97346a4/src/Http/Middleware/ValidateSignature.php | src/Http/Middleware/ValidateSignature.php | <?php
namespace Maize\MagicLogin\Http\Middleware;
use Closure;
use Illuminate\Routing\Exceptions\InvalidSignatureException;
use Illuminate\Routing\Middleware\ValidateSignature as BaseValidateSignature;
use Maize\MagicLogin\Support\Config;
class ValidateSignature extends BaseValidateSignature
{
public function ha... | php | MIT | ff1932509f338b27b2b7d913dae50f43c97346a4 | 2026-01-05T03:28:29.233649Z | false |
maize-tech/laravel-magic-login | https://github.com/maize-tech/laravel-magic-login/blob/ff1932509f338b27b2b7d913dae50f43c97346a4/src/Support/AuthData.php | src/Support/AuthData.php | <?php
namespace Maize\MagicLogin\Support;
use Illuminate\Contracts\Encryption\DecryptException;
use Illuminate\Support\Facades\Crypt;
class AuthData
{
public function __construct(
public readonly array $data
) {}
public static function fromString(string $string): self
{
return new se... | php | MIT | ff1932509f338b27b2b7d913dae50f43c97346a4 | 2026-01-05T03:28:29.233649Z | false |
maize-tech/laravel-magic-login | https://github.com/maize-tech/laravel-magic-login/blob/ff1932509f338b27b2b7d913dae50f43c97346a4/src/Support/Config.php | src/Support/Config.php | <?php
namespace Maize\MagicLogin\Support;
use Exception;
use Illuminate\Routing\Exceptions\InvalidSignatureException;
use Illuminate\Support\Arr;
use Illuminate\Support\Carbon;
use Maize\MagicLogin\Actions\SendMagicLinkAction;
use Maize\MagicLogin\Http\Controllers\MagicLoginController;
use Maize\MagicLogin\Http\Middl... | php | MIT | ff1932509f338b27b2b7d913dae50f43c97346a4 | 2026-01-05T03:28:29.233649Z | false |
maize-tech/laravel-magic-login | https://github.com/maize-tech/laravel-magic-login/blob/ff1932509f338b27b2b7d913dae50f43c97346a4/src/Actions/SendMagicLinkAction.php | src/Actions/SendMagicLinkAction.php | <?php
namespace Maize\MagicLogin\Actions;
use Illuminate\Support\Facades\Notification;
use Maize\MagicLogin\Models\MagicLogin;
use Maize\MagicLogin\Support\Config;
class SendMagicLinkAction
{
public function __invoke(string $uri, MagicLogin $model): void
{
$notification = Config::getNotificationClass... | php | MIT | ff1932509f338b27b2b7d913dae50f43c97346a4 | 2026-01-05T03:28:29.233649Z | false |
maize-tech/laravel-magic-login | https://github.com/maize-tech/laravel-magic-login/blob/ff1932509f338b27b2b7d913dae50f43c97346a4/src/Notifications/MagicLinkNotification.php | src/Notifications/MagicLinkNotification.php | <?php
namespace Maize\MagicLogin\Notifications;
use Illuminate\Notifications\Messages\MailMessage;
use Illuminate\Notifications\Notification;
use Maize\MagicLogin\Models\MagicLogin;
class MagicLinkNotification extends Notification
{
/**
* Create a new notification instance.
*
* @return void
*... | php | MIT | ff1932509f338b27b2b7d913dae50f43c97346a4 | 2026-01-05T03:28:29.233649Z | false |
maize-tech/laravel-magic-login | https://github.com/maize-tech/laravel-magic-login/blob/ff1932509f338b27b2b7d913dae50f43c97346a4/src/Facades/MagicLink.php | src/Facades/MagicLink.php | <?php
namespace Maize\MagicLogin\Facades;
use Illuminate\Support\Facades\Facade;
/**
* @method static string make(\Illuminate\Contracts\Auth\Authenticatable $authenticatable, ?string $redirectUrl = null, \Illuminate\Support\Carbon|int|null $expiration = null, ?string $routeName = null, ?string $guard = null, ?int $... | php | MIT | ff1932509f338b27b2b7d913dae50f43c97346a4 | 2026-01-05T03:28:29.233649Z | false |
maize-tech/laravel-magic-login | https://github.com/maize-tech/laravel-magic-login/blob/ff1932509f338b27b2b7d913dae50f43c97346a4/src/Models/MagicLogin.php | src/Models/MagicLogin.php | <?php
namespace Maize\MagicLogin\Models;
use DateTime;
use Exception;
use Illuminate\Database\Eloquent\Builder;
use Illuminate\Database\Eloquent\Concerns\HasUuids;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Prunable;
use Illuminate\D... | php | MIT | ff1932509f338b27b2b7d913dae50f43c97346a4 | 2026-01-05T03:28:29.233649Z | false |
maize-tech/laravel-magic-login | https://github.com/maize-tech/laravel-magic-login/blob/ff1932509f338b27b2b7d913dae50f43c97346a4/tests/Pest.php | tests/Pest.php | <?php
use Maize\MagicLogin\Tests\Support\TestCase;
uses(TestCase::class)->in(__DIR__);
| php | MIT | ff1932509f338b27b2b7d913dae50f43c97346a4 | 2026-01-05T03:28:29.233649Z | false |
maize-tech/laravel-magic-login | https://github.com/maize-tech/laravel-magic-login/blob/ff1932509f338b27b2b7d913dae50f43c97346a4/tests/ArchTest.php | tests/ArchTest.php | <?php
it('will not use debugging functions')
->expect(['dd', 'dump', 'ray'])
->each->not->toBeUsed();
| php | MIT | ff1932509f338b27b2b7d913dae50f43c97346a4 | 2026-01-05T03:28:29.233649Z | false |
maize-tech/laravel-magic-login | https://github.com/maize-tech/laravel-magic-login/blob/ff1932509f338b27b2b7d913dae50f43c97346a4/tests/MagicLoginTest.php | tests/MagicLoginTest.php | <?php
use Illuminate\Contracts\Auth\Authenticatable;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Support\Facades\Notification;
use Maize\MagicLogin\Facades\MagicLink;
use Maize\MagicLogin\Models\MagicLogin;
use Maize\MagicLogin\Notifications\MagicLinkNotification;
use Maize\MagicLogin\Support\AuthData;
use ... | php | MIT | ff1932509f338b27b2b7d913dae50f43c97346a4 | 2026-01-05T03:28:29.233649Z | false |
maize-tech/laravel-magic-login | https://github.com/maize-tech/laravel-magic-login/blob/ff1932509f338b27b2b7d913dae50f43c97346a4/tests/Support/TestCase.php | tests/Support/TestCase.php | <?php
namespace Maize\MagicLogin\Tests\Support;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Route;
use Illuminate\Support\Facades\Schema;
use Maize\MagicLogin\Facades\MagicLink;
use Maize\MagicLogin\MagicLoginServiceProvider;
use Orchestra\Testbench\TestCase as Orchestra;
class TestCase ... | php | MIT | ff1932509f338b27b2b7d913dae50f43c97346a4 | 2026-01-05T03:28:29.233649Z | false |
maize-tech/laravel-magic-login | https://github.com/maize-tech/laravel-magic-login/blob/ff1932509f338b27b2b7d913dae50f43c97346a4/tests/Support/Exceptions/InvalidSignatureTestException.php | tests/Support/Exceptions/InvalidSignatureTestException.php | <?php
namespace Maize\MagicLogin\Tests\Support\Exceptions;
use Symfony\Component\HttpKernel\Exception\HttpException;
class InvalidSignatureTestException extends HttpException
{
public function __construct()
{
parent::__construct(418, 'Invalid signature (418).');
}
}
| php | MIT | ff1932509f338b27b2b7d913dae50f43c97346a4 | 2026-01-05T03:28:29.233649Z | false |
maize-tech/laravel-magic-login | https://github.com/maize-tech/laravel-magic-login/blob/ff1932509f338b27b2b7d913dae50f43c97346a4/tests/Support/Models/User.php | tests/Support/Models/User.php | <?php
namespace Maize\MagicLogin\Tests\Support\Models;
use Illuminate\Database\Eloquent\Factories\Factory;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Maize\MagicLogin\Tests\Support\Factories\UserFactory;
class User extends Authenticatable
{
... | php | MIT | ff1932509f338b27b2b7d913dae50f43c97346a4 | 2026-01-05T03:28:29.233649Z | false |
maize-tech/laravel-magic-login | https://github.com/maize-tech/laravel-magic-login/blob/ff1932509f338b27b2b7d913dae50f43c97346a4/tests/Support/Models/Admin.php | tests/Support/Models/Admin.php | <?php
namespace Maize\MagicLogin\Tests\Support\Models;
use Illuminate\Database\Eloquent\Factories\Factory;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Maize\MagicLogin\Tests\Support\Factories\AdminFactory;
class Admin extends Authenticatable
{
... | php | MIT | ff1932509f338b27b2b7d913dae50f43c97346a4 | 2026-01-05T03:28:29.233649Z | false |
maize-tech/laravel-magic-login | https://github.com/maize-tech/laravel-magic-login/blob/ff1932509f338b27b2b7d913dae50f43c97346a4/tests/Support/Factories/UserFactory.php | tests/Support/Factories/UserFactory.php | <?php
namespace Maize\MagicLogin\Tests\Support\Factories;
use Illuminate\Database\Eloquent\Factories\Factory;
use Maize\MagicLogin\Tests\Support\Models\User;
class UserFactory extends Factory
{
protected $model = User::class;
public function definition()
{
return [
//
];
... | php | MIT | ff1932509f338b27b2b7d913dae50f43c97346a4 | 2026-01-05T03:28:29.233649Z | false |
maize-tech/laravel-magic-login | https://github.com/maize-tech/laravel-magic-login/blob/ff1932509f338b27b2b7d913dae50f43c97346a4/tests/Support/Factories/AdminFactory.php | tests/Support/Factories/AdminFactory.php | <?php
namespace Maize\MagicLogin\Tests\Support\Factories;
use Illuminate\Database\Eloquent\Factories\Factory;
use Maize\MagicLogin\Tests\Support\Models\Admin;
class AdminFactory extends Factory
{
protected $model = Admin::class;
public function definition()
{
return [
//
];
... | php | MIT | ff1932509f338b27b2b7d913dae50f43c97346a4 | 2026-01-05T03:28:29.233649Z | false |
maize-tech/laravel-magic-login | https://github.com/maize-tech/laravel-magic-login/blob/ff1932509f338b27b2b7d913dae50f43c97346a4/config/magic-login.php | config/magic-login.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Magic Login model
|--------------------------------------------------------------------------
|
| Here you may specify the fully qualified class name of the magic login
| model.
| By default... | php | MIT | ff1932509f338b27b2b7d913dae50f43c97346a4 | 2026-01-05T03:28:29.233649Z | false |
ben-xo/dir2cast | https://github.com/ben-xo/dir2cast/blob/0e6a394e04dfca154c060f1571632d8925f89b73/dir2cast.php | dir2cast.php | <?php
/******************************************************************************
* Copyright (c) 2008-2022, Ben XO (me@ben-xo.com).
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
... | php | BSD-3-Clause | 0e6a394e04dfca154c060f1571632d8925f89b73 | 2026-01-05T03:28:45.066184Z | true |
ben-xo/dir2cast | https://github.com/ben-xo/dir2cast/blob/0e6a394e04dfca154c060f1571632d8925f89b73/getID3/module.tag.apetag.php | getID3/module.tag.apetag.php | <?php
/////////////////////////////////////////////////////////////////
/// getID3() by James Heinrich <info@getid3.org> //
// available at https://github.com/JamesHeinrich/getID3 //
// or https://www.getid3.org //
// or http://getid3.sourceforge.net ... | php | BSD-3-Clause | 0e6a394e04dfca154c060f1571632d8925f89b73 | 2026-01-05T03:28:45.066184Z | false |
ben-xo/dir2cast | https://github.com/ben-xo/dir2cast/blob/0e6a394e04dfca154c060f1571632d8925f89b73/getID3/module.tag.id3v1.php | getID3/module.tag.id3v1.php | <?php
/////////////////////////////////////////////////////////////////
/// getID3() by James Heinrich <info@getid3.org> //
// available at https://github.com/JamesHeinrich/getID3 //
// or https://www.getid3.org //
// or http://getid3.sourceforge.net ... | php | BSD-3-Clause | 0e6a394e04dfca154c060f1571632d8925f89b73 | 2026-01-05T03:28:45.066184Z | false |
ben-xo/dir2cast | https://github.com/ben-xo/dir2cast/blob/0e6a394e04dfca154c060f1571632d8925f89b73/getID3/module.audio.ac3.php | getID3/module.audio.ac3.php | <?php
/////////////////////////////////////////////////////////////////
/// getID3() by James Heinrich <info@getid3.org> //
// available at https://github.com/JamesHeinrich/getID3 //
// or https://www.getid3.org //
// or http://getid3.sourceforge.net ... | php | BSD-3-Clause | 0e6a394e04dfca154c060f1571632d8925f89b73 | 2026-01-05T03:28:45.066184Z | true |
ben-xo/dir2cast | https://github.com/ben-xo/dir2cast/blob/0e6a394e04dfca154c060f1571632d8925f89b73/getID3/module.tag.lyrics3.php | getID3/module.tag.lyrics3.php | <?php
/////////////////////////////////////////////////////////////////
/// getID3() by James Heinrich <info@getid3.org> //
// available at https://github.com/JamesHeinrich/getID3 //
// or https://www.getid3.org //
// or http://getid3.sourceforge.net ... | php | BSD-3-Clause | 0e6a394e04dfca154c060f1571632d8925f89b73 | 2026-01-05T03:28:45.066184Z | false |
ben-xo/dir2cast | https://github.com/ben-xo/dir2cast/blob/0e6a394e04dfca154c060f1571632d8925f89b73/getID3/getid3.lib.php | getID3/getid3.lib.php | <?php
/////////////////////////////////////////////////////////////////
/// getID3() by James Heinrich <info@getid3.org> //
// available at https://github.com/JamesHeinrich/getID3 //
// or https://www.getid3.org //
// or http://getid3.sourceforge.net ... | php | BSD-3-Clause | 0e6a394e04dfca154c060f1571632d8925f89b73 | 2026-01-05T03:28:45.066184Z | true |
ben-xo/dir2cast | https://github.com/ben-xo/dir2cast/blob/0e6a394e04dfca154c060f1571632d8925f89b73/getID3/module.audio-video.mpeg.php | getID3/module.audio-video.mpeg.php | <?php
/////////////////////////////////////////////////////////////////
/// getID3() by James Heinrich <info@getid3.org> //
// available at https://github.com/JamesHeinrich/getID3 //
// or https://www.getid3.org //
// or http://getid3.sourceforge.net ... | php | BSD-3-Clause | 0e6a394e04dfca154c060f1571632d8925f89b73 | 2026-01-05T03:28:45.066184Z | true |
ben-xo/dir2cast | https://github.com/ben-xo/dir2cast/blob/0e6a394e04dfca154c060f1571632d8925f89b73/getID3/module.tag.id3v2.php | getID3/module.tag.id3v2.php | <?php
/////////////////////////////////////////////////////////////////
/// getID3() by James Heinrich <info@getid3.org> //
// available at https://github.com/JamesHeinrich/getID3 //
// or https://www.getid3.org //
// or http://getid3.sourceforge.net ... | php | BSD-3-Clause | 0e6a394e04dfca154c060f1571632d8925f89b73 | 2026-01-05T03:28:45.066184Z | true |
ben-xo/dir2cast | https://github.com/ben-xo/dir2cast/blob/0e6a394e04dfca154c060f1571632d8925f89b73/getID3/module.audio.mp3.php | getID3/module.audio.mp3.php | <?php
/////////////////////////////////////////////////////////////////
/// getID3() by James Heinrich <info@getid3.org> //
// available at https://github.com/JamesHeinrich/getID3 //
// or https://www.getid3.org //
// or http://getid3.sourceforge.net ... | php | BSD-3-Clause | 0e6a394e04dfca154c060f1571632d8925f89b73 | 2026-01-05T03:28:45.066184Z | true |
ben-xo/dir2cast | https://github.com/ben-xo/dir2cast/blob/0e6a394e04dfca154c060f1571632d8925f89b73/getID3/module.audio-video.quicktime.php | getID3/module.audio-video.quicktime.php | <?php
/////////////////////////////////////////////////////////////////
/// getID3() by James Heinrich <info@getid3.org> //
// available at https://github.com/JamesHeinrich/getID3 //
// or https://www.getid3.org //
// or http://getid3.sourceforge.net ... | php | BSD-3-Clause | 0e6a394e04dfca154c060f1571632d8925f89b73 | 2026-01-05T03:28:45.066184Z | true |
ben-xo/dir2cast | https://github.com/ben-xo/dir2cast/blob/0e6a394e04dfca154c060f1571632d8925f89b73/getID3/module.graphic.tiff.php | getID3/module.graphic.tiff.php | <?php
/////////////////////////////////////////////////////////////////
/// getID3() by James Heinrich <info@getid3.org> //
// available at https://github.com/JamesHeinrich/getID3 //
// or https://www.getid3.org //
// or http://getid3.sourceforge.net ... | php | BSD-3-Clause | 0e6a394e04dfca154c060f1571632d8925f89b73 | 2026-01-05T03:28:45.066184Z | false |
ben-xo/dir2cast | https://github.com/ben-xo/dir2cast/blob/0e6a394e04dfca154c060f1571632d8925f89b73/getID3/getid3.php | getID3/getid3.php | <?php
/////////////////////////////////////////////////////////////////
/// getID3() by James Heinrich <info@getid3.org> //
// available at https://github.com/JamesHeinrich/getID3 //
// or https://www.getid3.org //
// or http://getid3.sourceforge.net ... | php | BSD-3-Clause | 0e6a394e04dfca154c060f1571632d8925f89b73 | 2026-01-05T03:28:45.066184Z | true |
ben-xo/dir2cast | https://github.com/ben-xo/dir2cast/blob/0e6a394e04dfca154c060f1571632d8925f89b73/getID3/module.audio.aac.php | getID3/module.audio.aac.php | <?php
/////////////////////////////////////////////////////////////////
/// getID3() by James Heinrich <info@getid3.org> //
// available at https://github.com/JamesHeinrich/getID3 //
// or https://www.getid3.org //
// or http://getid3.sourceforge.net ... | php | BSD-3-Clause | 0e6a394e04dfca154c060f1571632d8925f89b73 | 2026-01-05T03:28:45.066184Z | false |
ben-xo/dir2cast | https://github.com/ben-xo/dir2cast/blob/0e6a394e04dfca154c060f1571632d8925f89b73/test/Media_RSS_Item_id3v1_artist_titleTest.php | test/Media_RSS_Item_id3v1_artist_titleTest.php | <?php declare(strict_types=1);
use PHPUnit\Framework\TestCase;
class Media_RSS_Item_id3v1_artist_titleTest extends Media_RSS_ItemTest
{
public function getMediaFileContent()
{
return file_get_contents('fixtures/id3v1_artist_title.mp3');
}
public function getMediaFileLength()
{
ret... | php | BSD-3-Clause | 0e6a394e04dfca154c060f1571632d8925f89b73 | 2026-01-05T03:28:45.066184Z | false |
ben-xo/dir2cast | https://github.com/ben-xo/dir2cast/blob/0e6a394e04dfca154c060f1571632d8925f89b73/test/Caching_updates_to_feed_metadataTest.php | test/Caching_updates_to_feed_metadataTest.php | <?php declare(strict_types=1);
use PHPUnit\Framework\TestCase;
class Caching_updates_to_feed_metadataTest extends TestCase
{
public $file = 'out.xml';
public $output = '';
public $returncode = 0;
public $content = '';
public function setUp(): void
{
prepare_testing_dir();
if... | php | BSD-3-Clause | 0e6a394e04dfca154c060f1571632d8925f89b73 | 2026-01-05T03:28:45.066184Z | false |
ben-xo/dir2cast | https://github.com/ben-xo/dir2cast/blob/0e6a394e04dfca154c060f1571632d8925f89b73/test/FourOhFourTest.php | test/FourOhFourTest.php | <?php declare(strict_types=1);
use PHPUnit\Framework\TestCase;
final class FourOhFourTest extends TestCase
{
public static function setUpBeforeClass(): void
{
prepare_testing_dir();
}
public function test_non_existent_dir_prints_bare_error_CLI_case(): void
{
exec('php dir2cast.php... | php | BSD-3-Clause | 0e6a394e04dfca154c060f1571632d8925f89b73 | 2026-01-05T03:28:45.066184Z | false |
ben-xo/dir2cast | https://github.com/ben-xo/dir2cast/blob/0e6a394e04dfca154c060f1571632d8925f89b73/test/Media_RSS_Item_id3v1_artist_album_title_LONG_TITLESTest.php | test/Media_RSS_Item_id3v1_artist_album_title_LONG_TITLESTest.php | <?php declare(strict_types=1);
use PHPUnit\Framework\TestCase;
class Media_RSS_Item_id3v1_artist_album_title_LONG_TITLESTest extends Media_RSS_Item_id3v1_artist_album_titleTest
{
public static function setUpBeforeClass(): void
{
Media_RSS_Item_id3v1_artist_album_titleTest::setUpBeforeClass();
... | php | BSD-3-Clause | 0e6a394e04dfca154c060f1571632d8925f89b73 | 2026-01-05T03:28:45.066184Z | false |
ben-xo/dir2cast | https://github.com/ben-xo/dir2cast/blob/0e6a394e04dfca154c060f1571632d8925f89b73/test/Media_RSS_Item_id3v2_artist_album_title_LONG_TITLESTest.php | test/Media_RSS_Item_id3v2_artist_album_title_LONG_TITLESTest.php | <?php declare(strict_types=1);
use PHPUnit\Framework\TestCase;
class Media_RSS_Item_id3v2_artist_album_title_LONG_TITLESTest extends Media_RSS_Item_id3v2_artist_album_titleTest
{
public static function setUpBeforeClass(): void
{
Media_RSS_Item_id3v2_artist_album_titleTest::setUpBeforeClass();
... | php | BSD-3-Clause | 0e6a394e04dfca154c060f1571632d8925f89b73 | 2026-01-05T03:28:45.066184Z | false |
ben-xo/dir2cast | https://github.com/ben-xo/dir2cast/blob/0e6a394e04dfca154c060f1571632d8925f89b73/test/RSS_Item_getID3_Podcast_Helper_AUTO_SAVE_COVERTest.php | test/RSS_Item_getID3_Podcast_Helper_AUTO_SAVE_COVERTest.php | <?php declare(strict_types=1);
use PHPUnit\Framework\TestCase;
class RSS_Item_getID3_Podcast_Helper_AUTO_SAVE_COVERTest extends RSS_Item_getID3_Podcast_HelperTest
{
public static function setUpBeforeClass(): void
{
RSS_Item_getID3_Podcast_HelperTest::setUpBeforeClass();
getID3_Podcast_Helper... | php | BSD-3-Clause | 0e6a394e04dfca154c060f1571632d8925f89b73 | 2026-01-05T03:28:45.066184Z | false |
ben-xo/dir2cast | https://github.com/ben-xo/dir2cast/blob/0e6a394e04dfca154c060f1571632d8925f89b73/test/RSS_Item_iTunes_Podcast_HelperTest.php | test/RSS_Item_iTunes_Podcast_HelperTest.php | <?php declare(strict_types=1);
use PHPUnit\Framework\TestCase;
final class RSS_Item_iTunes_Podcast_HelperTest extends TestCase
{
public static function setUpBeforeClass(): void
{
}
public function test_rss_item_added_to_podcast_channel_has_itunes_properties()
{
$mp = new MyPodcast();
... | php | BSD-3-Clause | 0e6a394e04dfca154c060f1571632d8925f89b73 | 2026-01-05T03:28:45.066184Z | false |
ben-xo/dir2cast | https://github.com/ben-xo/dir2cast/blob/0e6a394e04dfca154c060f1571632d8925f89b73/test/RSS_Item_getID3_Podcast_HelperTest.php | test/RSS_Item_getID3_Podcast_HelperTest.php | <?php declare(strict_types=1);
use PHPUnit\Framework\TestCase;
class RSS_Item_getID3_Podcast_HelperTest extends TestCase
{
public static function setUpBeforeClass(): void
{
prepare_testing_dir();
getID3_Podcast_Helper::$AUTO_SAVE_COVER_ART = false;
RSS_File_Item::$FILES_URL = 'http://... | php | BSD-3-Clause | 0e6a394e04dfca154c060f1571632d8925f89b73 | 2026-01-05T03:28:45.066184Z | false |
ben-xo/dir2cast | https://github.com/ben-xo/dir2cast/blob/0e6a394e04dfca154c060f1571632d8925f89b73/test/Media_RSS_Item_id3v1_title_LONG_TITLESTest.php | test/Media_RSS_Item_id3v1_title_LONG_TITLESTest.php | <?php declare(strict_types=1);
use PHPUnit\Framework\TestCase;
class Media_RSS_Item_id3v1_title_LONG_TITLESTest extends Media_RSS_Item_id3v1_titleTest
{
public static function setUpBeforeClass(): void
{
Media_RSS_Item_id3v1_titleTest::setUpBeforeClass();
Media_RSS_Item::$LONG_TITLES = true;
... | php | BSD-3-Clause | 0e6a394e04dfca154c060f1571632d8925f89b73 | 2026-01-05T03:28:45.066184Z | false |
ben-xo/dir2cast | https://github.com/ben-xo/dir2cast/blob/0e6a394e04dfca154c060f1571632d8925f89b73/test/Media_RSS_Item_id3v2_artist_album_titleTest.php | test/Media_RSS_Item_id3v2_artist_album_titleTest.php | <?php declare(strict_types=1);
use PHPUnit\Framework\TestCase;
class Media_RSS_Item_id3v2_artist_album_titleTest extends Media_RSS_ItemTest
{
public function getMediaFileContent()
{
return file_get_contents('fixtures/id3v2_artist_album_title.mp3');
}
public function getMediaFileLength()
{... | php | BSD-3-Clause | 0e6a394e04dfca154c060f1571632d8925f89b73 | 2026-01-05T03:28:45.066184Z | false |
ben-xo/dir2cast | https://github.com/ben-xo/dir2cast/blob/0e6a394e04dfca154c060f1571632d8925f89b73/test/iTunes_Podcast_HelperTest.php | test/iTunes_Podcast_HelperTest.php | <?php declare(strict_types=1);
use PHPUnit\Framework\TestCase;
final class iTunes_Podcast_HelperTest extends TestCase
{
public function test_adds_namespace_to_podcast()
{
$mp = new MyPodcast();
$mp->addHelper(new iTunes_Podcast_Helper());
$content = $mp->generate();
$this->as... | php | BSD-3-Clause | 0e6a394e04dfca154c060f1571632d8925f89b73 | 2026-01-05T03:28:45.066184Z | false |
ben-xo/dir2cast | https://github.com/ben-xo/dir2cast/blob/0e6a394e04dfca154c060f1571632d8925f89b73/test/Media_RSS_Item_id3v1_artist_album_titleTest.php | test/Media_RSS_Item_id3v1_artist_album_titleTest.php | <?php declare(strict_types=1);
use PHPUnit\Framework\TestCase;
class Media_RSS_Item_id3v1_artist_album_titleTest extends Media_RSS_ItemTest
{
public function getMediaFileContent()
{
return file_get_contents('fixtures/id3v1_artist_album_title.mp3');
}
public function getMediaFileLength()
{... | php | BSD-3-Clause | 0e6a394e04dfca154c060f1571632d8925f89b73 | 2026-01-05T03:28:45.066184Z | false |
ben-xo/dir2cast | https://github.com/ben-xo/dir2cast/blob/0e6a394e04dfca154c060f1571632d8925f89b73/test/MagicStripslashesTest.php | test/MagicStripslashesTest.php | <?php declare(strict_types=1);
use PHPUnit\Framework\TestCase;
class MagicStripslashesTest extends TestCase
{
public function test_magic_striplashes()
{
$this->assertEquals('""\'\'', magic_stripslashes('""\'\''));
}
}
| php | BSD-3-Clause | 0e6a394e04dfca154c060f1571632d8925f89b73 | 2026-01-05T03:28:45.066184Z | false |
ben-xo/dir2cast | https://github.com/ben-xo/dir2cast/blob/0e6a394e04dfca154c060f1571632d8925f89b73/test/DefaultsTest.php | test/DefaultsTest.php | <?php declare(strict_types=1);
use PHPUnit\Framework\TestCase;
final class DefaultsTest extends TestCase
{
public static $file = 'out.xml';
public static $output = '';
public static $returncode = 0;
public static $content = '';
public static function setUpBeforeClass(): void
{
prepar... | php | BSD-3-Clause | 0e6a394e04dfca154c060f1571632d8925f89b73 | 2026-01-05T03:28:45.066184Z | false |
ben-xo/dir2cast | https://github.com/ben-xo/dir2cast/blob/0e6a394e04dfca154c060f1571632d8925f89b73/test/MixedMediaExampleTest.php | test/MixedMediaExampleTest.php | <?php declare(strict_types=1);
use PHPUnit\Framework\TestCase;
class MixedMediaExampleTest extends TestCase
{
public static $file = 'out.xml';
public static $output = '';
public static $returncode = 0;
public static $filemtime = 0;
public static function setUpBeforeClass(): void
{
pr... | php | BSD-3-Clause | 0e6a394e04dfca154c060f1571632d8925f89b73 | 2026-01-05T03:28:45.066184Z | false |
ben-xo/dir2cast | https://github.com/ben-xo/dir2cast/blob/0e6a394e04dfca154c060f1571632d8925f89b73/test/Media_RSS_Item_id3v2_title_LONG_TITLESTest.php | test/Media_RSS_Item_id3v2_title_LONG_TITLESTest.php | <?php declare(strict_types=1);
use PHPUnit\Framework\TestCase;
class Media_RSS_Item_id3v2_title_LONG_TITLESTest extends Media_RSS_Item_id3v2_titleTest
{
public static function setUpBeforeClass(): void
{
Media_RSS_Item_id3v2_titleTest::setUpBeforeClass();
Media_RSS_Item::$LONG_TITLES = true;
... | php | BSD-3-Clause | 0e6a394e04dfca154c060f1571632d8925f89b73 | 2026-01-05T03:28:45.066184Z | false |
ben-xo/dir2cast | https://github.com/ben-xo/dir2cast/blob/0e6a394e04dfca154c060f1571632d8925f89b73/test/Locking_Cached_Dir_PodcastTest.php | test/Locking_Cached_Dir_PodcastTest.php | <?php declare(strict_types=1);
use PHPUnit\Framework\TestCase;
class Locking_Cached_Dir_PodcastTest extends Cached_Dir_PodcastTest
{
public static function setUpBeforeClass(): void
{
Cached_Dir_PodcastTest::setUpBeforeClass();
}
public function newPodcast($offset=0)
{
$podcast = ... | php | BSD-3-Clause | 0e6a394e04dfca154c060f1571632d8925f89b73 | 2026-01-05T03:28:45.066184Z | false |
ben-xo/dir2cast | https://github.com/ben-xo/dir2cast/blob/0e6a394e04dfca154c060f1571632d8925f89b73/test/Atom_Podcast_HelperTest.php | test/Atom_Podcast_HelperTest.php | <?php declare(strict_types=1);
use PHPUnit\Framework\TestCase;
final class Atom_Podcast_HelperTest extends TestCase
{
public static function setUpBeforeClass(): void
{
define('ATOM_TYPE', 'application/rss+xml');
}
public function test_adds_namespace_to_podcast()
{
$mp = new MyPod... | php | BSD-3-Clause | 0e6a394e04dfca154c060f1571632d8925f89b73 | 2026-01-05T03:28:45.066184Z | false |
ben-xo/dir2cast | https://github.com/ben-xo/dir2cast/blob/0e6a394e04dfca154c060f1571632d8925f89b73/test/Media_RSS_Item_SerializationTest.php | test/Media_RSS_Item_SerializationTest.php | <?php declare(strict_types=1);
use PHPUnit\Framework\TestCase;
class Media_RSS_Item_SerializationTest extends TestCase
{
public static function setUpBeforeClass(): void
{
RSS_File_Item::$FILES_URL = 'http://www.example.com/mp3/';
RSS_File_Item::$FILES_DIR = getcwd();
}
public function... | php | BSD-3-Clause | 0e6a394e04dfca154c060f1571632d8925f89b73 | 2026-01-05T03:28:45.066184Z | false |
ben-xo/dir2cast | https://github.com/ben-xo/dir2cast/blob/0e6a394e04dfca154c060f1571632d8925f89b73/test/ITunesPodcastSeasonTest.php | test/ITunesPodcastSeasonTest.php | <?php declare(strict_types=1);
use PHPUnit\Framework\TestCase;
class ITunesPodcastSeasonTest extends MixedMediaExampleTest
{
public static function setUpBeforeClass(): void
{
prepare_testing_dir();
copy('../fixtures/id3v1_artist_album_title.mp3', '1.mp3');
copy('../fixtures/id3v2_arti... | php | BSD-3-Clause | 0e6a394e04dfca154c060f1571632d8925f89b73 | 2026-01-05T03:28:45.066184Z | false |
ben-xo/dir2cast | https://github.com/ben-xo/dir2cast/blob/0e6a394e04dfca154c060f1571632d8925f89b73/test/FakeGetoptTest.php | test/FakeGetoptTest.php | <?php declare(strict_types=1);
use PHPUnit\Framework\TestCase;
final class FakeGetoptTest extends TestCase
{
public function test_fake_getopt_no_args()
{
$this->assertEquals(
fake_getopt(array('php', '--halp'), '', array()),
array()
);
$this->assertEquals(
... | php | BSD-3-Clause | 0e6a394e04dfca154c060f1571632d8925f89b73 | 2026-01-05T03:28:45.066184Z | false |
ben-xo/dir2cast | https://github.com/ben-xo/dir2cast/blob/0e6a394e04dfca154c060f1571632d8925f89b73/test/PodcastHelperTest.php | test/PodcastHelperTest.php | <?php declare(strict_types=1);
use PHPUnit\Framework\TestCase;
final class PodcastHelperTest extends TestCase
{
public static function setUpBeforeClass(): void
{
}
public function test_helpers_applied_to_newly_added_items()
{
$helper = $this->createMock(Podcast_Helper::class);
$... | php | BSD-3-Clause | 0e6a394e04dfca154c060f1571632d8925f89b73 | 2026-01-05T03:28:45.066184Z | false |
ben-xo/dir2cast | https://github.com/ben-xo/dir2cast/blob/0e6a394e04dfca154c060f1571632d8925f89b73/test/Media_RSS_Item_id3v2_titleTest.php | test/Media_RSS_Item_id3v2_titleTest.php | <?php declare(strict_types=1);
use PHPUnit\Framework\TestCase;
class Media_RSS_Item_id3v2_titleTest extends Media_RSS_ItemTest
{
public function getMediaFileContent()
{
return file_get_contents('fixtures/id3v2_title.mp3');
}
public function getMediaFileLength()
{
return filesize('... | php | BSD-3-Clause | 0e6a394e04dfca154c060f1571632d8925f89b73 | 2026-01-05T03:28:45.066184Z | false |
ben-xo/dir2cast | https://github.com/ben-xo/dir2cast/blob/0e6a394e04dfca154c060f1571632d8925f89b73/test/Caching_updates_to_dir2cast_prepopulatedTest.php | test/Caching_updates_to_dir2cast_prepopulatedTest.php | <?php declare(strict_types=1);
use PHPUnit\Framework\TestCase;
class Caching_updates_to_dir2cast_prepopulatedTest extends Caching_updates_to_dir2castTest
{
public function setUp(): void
{
prepare_testing_dir();
file_put_contents('pre-existing.mp3', 'test');
touch('pre-existing.mp3', ti... | php | BSD-3-Clause | 0e6a394e04dfca154c060f1571632d8925f89b73 | 2026-01-05T03:28:45.066184Z | false |
ben-xo/dir2cast | https://github.com/ben-xo/dir2cast/blob/0e6a394e04dfca154c060f1571632d8925f89b73/test/RSS_File_ItemTest.php | test/RSS_File_ItemTest.php | <?php declare(strict_types=1);
use PHPUnit\Framework\TestCase;
class RSS_File_ItemTest extends RSS_ItemTest
{
public static function setUpBeforeClass(): void
{
RSS_File_Item::$FILES_URL = 'http://www.example.com/mp3/';
RSS_File_Item::$FILES_DIR = getcwd();
}
public function getDefaul... | php | BSD-3-Clause | 0e6a394e04dfca154c060f1571632d8925f89b73 | 2026-01-05T03:28:45.066184Z | false |
ben-xo/dir2cast | https://github.com/ben-xo/dir2cast/blob/0e6a394e04dfca154c060f1571632d8925f89b73/test/Media_RSS_Item_id3v2_artist_titleTest.php | test/Media_RSS_Item_id3v2_artist_titleTest.php | <?php declare(strict_types=1);
use PHPUnit\Framework\TestCase;
class Media_RSS_Item_id3v2_artist_titleTest extends Media_RSS_ItemTest
{
public function getMediaFileContent()
{
return file_get_contents('fixtures/id3v2_artist_title.mp3');
}
public function getMediaFileLength()
{
ret... | php | BSD-3-Clause | 0e6a394e04dfca154c060f1571632d8925f89b73 | 2026-01-05T03:28:45.066184Z | false |
ben-xo/dir2cast | https://github.com/ben-xo/dir2cast/blob/0e6a394e04dfca154c060f1571632d8925f89b73/test/AgeDirTest.php | test/AgeDirTest.php | <?php declare(strict_types=1);
use PHPUnit\Framework\TestCase;
final class AgeDirTest extends TestCase
{
public function setUp(): void
{
prepare_testing_dir();
exec('php dir2cast.php --output=out.xml --dont-uncache --ignore-dir2cast-mtime');
}
public function test_age_dir()
{
... | php | BSD-3-Clause | 0e6a394e04dfca154c060f1571632d8925f89b73 | 2026-01-05T03:28:45.066184Z | false |
ben-xo/dir2cast | https://github.com/ben-xo/dir2cast/blob/0e6a394e04dfca154c060f1571632d8925f89b73/test/MixedMediaExampleWithExtraFilesTest.php | test/MixedMediaExampleWithExtraFilesTest.php | <?php declare(strict_types=1);
use PHPUnit\Framework\TestCase;
final class MixedMediaExampleWithExtraFilesTest extends MixedMediaExampleTest
{
public static $file = 'out.xml';
public static $filemtime = 0;
public static function setUpBeforeClass(): void
{
prepare_testing_dir();
cop... | php | BSD-3-Clause | 0e6a394e04dfca154c060f1571632d8925f89b73 | 2026-01-05T03:28:45.066184Z | false |
ben-xo/dir2cast | https://github.com/ben-xo/dir2cast/blob/0e6a394e04dfca154c060f1571632d8925f89b73/test/M4A_RSS_ItemTest.php | test/M4A_RSS_ItemTest.php | <?php declare(strict_types=1);
use PHPUnit\Framework\TestCase;
class M4A_RSS_ItemTest extends Media_RSS_ItemTest
{
public function getDefaultType()
{
return 'audio/mp4';
}
protected $media_rss_item_class = 'M4A_RSS_Item';
}
| php | BSD-3-Clause | 0e6a394e04dfca154c060f1571632d8925f89b73 | 2026-01-05T03:28:45.066184Z | false |
ben-xo/dir2cast | https://github.com/ben-xo/dir2cast/blob/0e6a394e04dfca154c060f1571632d8925f89b73/test/Media_RSS_Item_id3v1_commentTest.php | test/Media_RSS_Item_id3v1_commentTest.php | <?php declare(strict_types=1);
use PHPUnit\Framework\TestCase;
class Media_RSS_Item_id3v1_commentTest extends Media_RSS_ItemTest
{
public function getMediaFileContent()
{
return file_get_contents('fixtures/id3v1_comment.mp3');
}
public function getMediaFileLength()
{
return filesi... | php | BSD-3-Clause | 0e6a394e04dfca154c060f1571632d8925f89b73 | 2026-01-05T03:28:45.066184Z | false |
ben-xo/dir2cast | https://github.com/ben-xo/dir2cast/blob/0e6a394e04dfca154c060f1571632d8925f89b73/test/Media_RSS_Item_id3v2_artist_title_LONG_TITLESTest.php | test/Media_RSS_Item_id3v2_artist_title_LONG_TITLESTest.php | <?php declare(strict_types=1);
use PHPUnit\Framework\TestCase;
class Media_RSS_Item_id3v2_artist_title_LONG_TITLESTest extends Media_RSS_Item_id3v2_artist_titleTest
{
public static function setUpBeforeClass(): void
{
Media_RSS_Item_id3v2_artist_titleTest::setUpBeforeClass();
Media_RSS_Item::$L... | php | BSD-3-Clause | 0e6a394e04dfca154c060f1571632d8925f89b73 | 2026-01-05T03:28:45.066184Z | false |
ben-xo/dir2cast | https://github.com/ben-xo/dir2cast/blob/0e6a394e04dfca154c060f1571632d8925f89b73/test/GetterSetterTest.php | test/GetterSetterTest.php | <?php declare(strict_types=1);
use PHPUnit\Framework\TestCase;
class MyGetterSetter extends GetterSetter { }
final class GetterSetterTest extends TestCase
{
public function test_getter_setter_magic_methods()
{
$mgc = new MyGetterSetter();
$mgc->setJunk('a');
$mgc->setOtherJunk('b');
... | php | BSD-3-Clause | 0e6a394e04dfca154c060f1571632d8925f89b73 | 2026-01-05T03:28:45.066184Z | false |
ben-xo/dir2cast | https://github.com/ben-xo/dir2cast/blob/0e6a394e04dfca154c060f1571632d8925f89b73/test/SettingsHandlerTest.php | test/SettingsHandlerTest.php | <?php declare(strict_types = 1);
use PHPUnit\Framework\TestCase;
class SettingsHandlerTest extends TestCase
{
static $DEFINE_LIST = array(
// from boostrap
'DIR2CAST_BASE',
'MIN_CACHE_TIME',
'FORCE_PASSWORD',
'TMP_DIR',
'MP3_BASE',
'MP3_DIR',
... | php | BSD-3-Clause | 0e6a394e04dfca154c060f1571632d8925f89b73 | 2026-01-05T03:28:45.066184Z | false |
ben-xo/dir2cast | https://github.com/ben-xo/dir2cast/blob/0e6a394e04dfca154c060f1571632d8925f89b73/test/CachingTest_prepopulatedTest.php | test/CachingTest_prepopulatedTest.php | <?php declare(strict_types=1);
use PHPUnit\Framework\TestCase;
class CachingTest_prepopulatedTest extends CachingTest
{
public function setUp(): void
{
prepare_testing_dir();
file_put_contents('pre-existing.mp3', 'test');
touch('pre-existing.mp3', time()-86400);
exec('php dir2c... | php | BSD-3-Clause | 0e6a394e04dfca154c060f1571632d8925f89b73 | 2026-01-05T03:28:45.066184Z | false |
ben-xo/dir2cast | https://github.com/ben-xo/dir2cast/blob/0e6a394e04dfca154c060f1571632d8925f89b73/test/Media_RSS_Item_id3v1_artist_title_LONG_TITLESTest.php | test/Media_RSS_Item_id3v1_artist_title_LONG_TITLESTest.php | <?php declare(strict_types=1);
use PHPUnit\Framework\TestCase;
class Media_RSS_Item_id3v1_artist_title_LONG_TITLESTest extends Media_RSS_Item_id3v1_artist_titleTest
{
public static function setUpBeforeClass(): void
{
Media_RSS_Item_id3v1_artist_titleTest::setUpBeforeClass();
Media_RSS_Item::$L... | php | BSD-3-Clause | 0e6a394e04dfca154c060f1571632d8925f89b73 | 2026-01-05T03:28:45.066184Z | false |
ben-xo/dir2cast | https://github.com/ben-xo/dir2cast/blob/0e6a394e04dfca154c060f1571632d8925f89b73/test/RSS_ItemTest.php | test/RSS_ItemTest.php | <?php declare(strict_types=1);
use PHPUnit\Framework\TestCase;
class RSS_ItemTest extends TestCase
{
public function newRSSItem()
{
return new RSS_Item();
}
public function getDefaultTitle()
{
return '(untitled)';
}
public function test_rss_item_added_to_podcast_channel()... | php | BSD-3-Clause | 0e6a394e04dfca154c060f1571632d8925f89b73 | 2026-01-05T03:28:45.066184Z | false |
ben-xo/dir2cast | https://github.com/ben-xo/dir2cast/blob/0e6a394e04dfca154c060f1571632d8925f89b73/test/Dir_Podcast_RecursiveTest.php | test/Dir_Podcast_RecursiveTest.php | <?php declare(strict_types=1);
use PHPUnit\Framework\TestCase;
class Dir_Podcast_RecursiveTest extends Dir_PodcastTest
{
public static function setUpBeforeClass(): void
{
Dir_PodcastTest::setUpBeforeClass();
}
public function setUp(): void
{
parent::setUp();
Dir_Podcast::... | php | BSD-3-Clause | 0e6a394e04dfca154c060f1571632d8925f89b73 | 2026-01-05T03:28:45.066184Z | false |
ben-xo/dir2cast | https://github.com/ben-xo/dir2cast/blob/0e6a394e04dfca154c060f1571632d8925f89b73/test/CachingTest.php | test/CachingTest.php | <?php declare(strict_types=1);
use PHPUnit\Framework\TestCase;
class CachingTest extends TestCase
{
public $file = 'out.xml';
public $output = '';
public $returncode = 0;
public $content = '';
public function setUp(): void
{
prepare_testing_dir();
exec('php dir2cast.php --out... | php | BSD-3-Clause | 0e6a394e04dfca154c060f1571632d8925f89b73 | 2026-01-05T03:28:45.066184Z | false |
ben-xo/dir2cast | https://github.com/ben-xo/dir2cast/blob/0e6a394e04dfca154c060f1571632d8925f89b73/test/Cached_Dir_PodcastTest.php | test/Cached_Dir_PodcastTest.php | <?php declare(strict_types=1);
use PHPUnit\Framework\TestCase;
class Cached_Dir_PodcastTest extends Dir_PodcastTest
{
public static function setUpBeforeClass(): void
{
Dir_PodcastTest::setUpBeforeClass();
Cached_Dir_Podcast::$MIN_CACHE_TIME = 5;
Cached_Dir_Podcast::$DEBUG = false;
... | php | BSD-3-Clause | 0e6a394e04dfca154c060f1571632d8925f89b73 | 2026-01-05T03:28:45.066184Z | false |
ben-xo/dir2cast | https://github.com/ben-xo/dir2cast/blob/0e6a394e04dfca154c060f1571632d8925f89b73/test/Caching_updates_to_dir2castTest.php | test/Caching_updates_to_dir2castTest.php | <?php declare(strict_types=1);
use PHPUnit\Framework\TestCase;
class Caching_updates_to_dir2castTest extends TestCase
{
public $file = 'out.xml';
public $output = '';
public $returncode = 0;
public $content = '';
public function temp_xml_glob()
{
return '.' . DIRECTORY_SEPARATOR . 't... | php | BSD-3-Clause | 0e6a394e04dfca154c060f1571632d8925f89b73 | 2026-01-05T03:28:45.066184Z | false |
ben-xo/dir2cast | https://github.com/ben-xo/dir2cast/blob/0e6a394e04dfca154c060f1571632d8925f89b73/test/Media_RSS_Item_id3v1_titleTest.php | test/Media_RSS_Item_id3v1_titleTest.php | <?php declare(strict_types=1);
use PHPUnit\Framework\TestCase;
class Media_RSS_Item_id3v1_titleTest extends Media_RSS_ItemTest
{
public function getMediaFileContent()
{
return file_get_contents('fixtures/id3v1_title.mp3');
}
public function getMediaFileLength()
{
return filesize('... | php | BSD-3-Clause | 0e6a394e04dfca154c060f1571632d8925f89b73 | 2026-01-05T03:28:45.066184Z | false |
ben-xo/dir2cast | https://github.com/ben-xo/dir2cast/blob/0e6a394e04dfca154c060f1571632d8925f89b73/test/bootstrap.php | test/bootstrap.php | <?php
/**
* @author Ben XO (me@ben-xo.com)
* @copyright Copyright (c) 2010 Ben XO
* @license MIT License (http://www.opensource.org/licenses/mit-license.html)
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (... | php | BSD-3-Clause | 0e6a394e04dfca154c060f1571632d8925f89b73 | 2026-01-05T03:28:45.066184Z | false |
ben-xo/dir2cast | https://github.com/ben-xo/dir2cast/blob/0e6a394e04dfca154c060f1571632d8925f89b73/test/Media_RSS_ItemTest.php | test/Media_RSS_ItemTest.php | <?php declare(strict_types=1);
use PHPUnit\Framework\TestCase;
class Media_RSS_ItemTest extends RSS_File_ItemTest
{
protected $mtime;
public static function setUpBeforeClass(): void
{
RSS_File_ItemTest::setUpBeforeClass();
Media_RSS_Item::$LONG_TITLES = false;
}
public function s... | php | BSD-3-Clause | 0e6a394e04dfca154c060f1571632d8925f89b73 | 2026-01-05T03:28:45.066184Z | false |
ben-xo/dir2cast | https://github.com/ben-xo/dir2cast/blob/0e6a394e04dfca154c060f1571632d8925f89b73/test/MP4_RSS_ItemTest.php | test/MP4_RSS_ItemTest.php | <?php declare(strict_types=1);
use PHPUnit\Framework\TestCase;
class MP4_RSS_ItemTest extends Media_RSS_ItemTest
{
public function getDefaultType()
{
return 'video/mp4';
}
protected $media_rss_item_class = 'MP4_RSS_Item';
}
| php | BSD-3-Clause | 0e6a394e04dfca154c060f1571632d8925f89b73 | 2026-01-05T03:28:45.066184Z | false |
ben-xo/dir2cast | https://github.com/ben-xo/dir2cast/blob/0e6a394e04dfca154c060f1571632d8925f89b73/test/combine_coverage.php | test/combine_coverage.php | <?php declare(strict_types=1);
ini_set('memory_limit', (string)(1024 * 1024 * 1024) );
require_once('vendor/autoload.php');
use SebastianBergmann\CodeCoverage\Report\Text as PHP_CodeCoverage_Report_Text;
$codeCoverage = require_once('/tmp/cov-main');
foreach (glob('/tmp/cov-*') as $filename) {
if($filename != '/t... | php | BSD-3-Clause | 0e6a394e04dfca154c060f1571632d8925f89b73 | 2026-01-05T03:28:45.066184Z | false |
ben-xo/dir2cast | https://github.com/ben-xo/dir2cast/blob/0e6a394e04dfca154c060f1571632d8925f89b73/test/PodcastTest.php | test/PodcastTest.php | <?php declare(strict_types=1);
use PHPUnit\Framework\TestCase;
class PodcastTest extends TestCase
{
public static function setUpBeforeClass(): void
{
}
public function newPodcast()
{
return new MyPodcast();
}
public function test_generate_with_defaults_is_valid_xml()
{
... | php | BSD-3-Clause | 0e6a394e04dfca154c060f1571632d8925f89b73 | 2026-01-05T03:28:45.066184Z | false |
ben-xo/dir2cast | https://github.com/ben-xo/dir2cast/blob/0e6a394e04dfca154c060f1571632d8925f89b73/test/Media_RSS_Item_id3v2_commentTest.php | test/Media_RSS_Item_id3v2_commentTest.php | <?php declare(strict_types=1);
use PHPUnit\Framework\TestCase;
class Media_RSS_Item_id3v2_commentTest extends Media_RSS_ItemTest
{
public function getMediaFileContent()
{
return file_get_contents('fixtures/id3v2_comment.mp3');
}
public function getMediaFileLength()
{
return filesi... | php | BSD-3-Clause | 0e6a394e04dfca154c060f1571632d8925f89b73 | 2026-01-05T03:28:45.066184Z | false |
ben-xo/dir2cast | https://github.com/ben-xo/dir2cast/blob/0e6a394e04dfca154c060f1571632d8925f89b73/test/dir2castWithCoverage.php | test/dir2castWithCoverage.php | <?php declare(strict_types=1);
require_once('../vendor/autoload.php');
use SebastianBergmann\CodeCoverage\Filter;
use SebastianBergmann\CodeCoverage\Driver\Selector;
use SebastianBergmann\CodeCoverage\CodeCoverage;
use SebastianBergmann\CodeCoverage\Report\Text as TextReport;
$filter = new Filter;
$filter->includeDi... | php | BSD-3-Clause | 0e6a394e04dfca154c060f1571632d8925f89b73 | 2026-01-05T03:28:45.066184Z | false |
ben-xo/dir2cast | https://github.com/ben-xo/dir2cast/blob/0e6a394e04dfca154c060f1571632d8925f89b73/test/Media_RSS_Item_id3v2_artist_title_partofsetTest.php | test/Media_RSS_Item_id3v2_artist_title_partofsetTest.php | <?php declare(strict_types=1);
use PHPUnit\Framework\TestCase;
class Media_RSS_Item_id3v2_artist_title_partofsetTest extends Media_RSS_ItemTest
{
public function getMediaFileContent()
{
return file_get_contents('fixtures/id3v2_artist_title_partofaset.mp3');
}
public function getMediaFileLengt... | php | BSD-3-Clause | 0e6a394e04dfca154c060f1571632d8925f89b73 | 2026-01-05T03:28:45.066184Z | false |
ben-xo/dir2cast | https://github.com/ben-xo/dir2cast/blob/0e6a394e04dfca154c060f1571632d8925f89b73/test/Dir_PodcastTest.php | test/Dir_PodcastTest.php | <?php declare(strict_types=1);
use PHPUnit\Framework\TestCase;
class Dir_PodcastTest extends PodcastTest
{
public static function setUpBeforeClass(): void
{
PodcastTest::setUpBeforeClass();
prepare_testing_dir();
}
public function setUp(): void
{
$this->delete_test_files(... | php | BSD-3-Clause | 0e6a394e04dfca154c060f1571632d8925f89b73 | 2026-01-05T03:28:45.066184Z | false |
ben-xo/dir2cast | https://github.com/ben-xo/dir2cast/blob/0e6a394e04dfca154c060f1571632d8925f89b73/test/MP3_RSS_ItemTest.php | test/MP3_RSS_ItemTest.php | <?php declare(strict_types=1);
use PHPUnit\Framework\TestCase;
class MP3_RSS_ItemTest extends Media_RSS_ItemTest
{
public function getDefaultType()
{
return 'audio/mpeg';
}
protected $media_rss_item_class = 'MP3_RSS_Item';
}
| php | BSD-3-Clause | 0e6a394e04dfca154c060f1571632d8925f89b73 | 2026-01-05T03:28:45.066184Z | false |
ben-xo/dir2cast | https://github.com/ben-xo/dir2cast/blob/0e6a394e04dfca154c060f1571632d8925f89b73/test/RSS_Item_Caching_getID3_Podcast_HelperTest.php | test/RSS_Item_Caching_getID3_Podcast_HelperTest.php | <?php declare(strict_types=1);
use PHPUnit\Framework\TestCase;
class RSS_Item_Caching_getID3_Podcast_HelperTest extends RSS_Item_getID3_Podcast_HelperTest
{
public static function setUpBeforeClass(): void
{
RSS_Item_getID3_Podcast_HelperTest::setUpBeforeClass();
}
public function setUp(): vo... | php | BSD-3-Clause | 0e6a394e04dfca154c060f1571632d8925f89b73 | 2026-01-05T03:28:45.066184Z | false |
pricecurrent/laravel-eloquent-filters | https://github.com/pricecurrent/laravel-eloquent-filters/blob/17e4e525ec3b2611691c5e7bd8d63bd9b383eac7/.php-cs-fixer.dist.php | .php-cs-fixer.dist.php | <?php
$finder = Symfony\Component\Finder\Finder::create()
->in([
__DIR__ . '/src',
__DIR__ . '/tests',
])
->name('*.php')
->notName('*.blade.php')
->ignoreDotFiles(true)
->ignoreVCS(true);
return (new PhpCsFixer\Config())
->setRules([
'@PSR2' => true,
'blank... | php | MIT | 17e4e525ec3b2611691c5e7bd8d63bd9b383eac7 | 2026-01-05T03:28:54.432803Z | false |
pricecurrent/laravel-eloquent-filters | https://github.com/pricecurrent/laravel-eloquent-filters/blob/17e4e525ec3b2611691c5e7bd8d63bd9b383eac7/src/EloquentFiltersServiceProvider.php | src/EloquentFiltersServiceProvider.php | <?php
namespace Pricecurrent\LaravelEloquentFilters;
use Illuminate\Support\ServiceProvider;
use Pricecurrent\LaravelEloquentFilters\Commands\FilterMakeCommand;
class EloquentFiltersServiceProvider extends ServiceProvider
{
public function boot()
{
$this->commands([FilterMakeCommand::class]);
}
}... | php | MIT | 17e4e525ec3b2611691c5e7bd8d63bd9b383eac7 | 2026-01-05T03:28:54.432803Z | false |
pricecurrent/laravel-eloquent-filters | https://github.com/pricecurrent/laravel-eloquent-filters/blob/17e4e525ec3b2611691c5e7bd8d63bd9b383eac7/src/Filterable.php | src/Filterable.php | <?php
namespace Pricecurrent\LaravelEloquentFilters;
use Illuminate\Database\Eloquent\Builder;
trait Filterable
{
/**
* @param \Illuminate\Database\Eloquent\Builder $query
* @param \Pricecurrent\LaravelEloquentFilters\EloquentFilters $filters
* @return \Illuminate\Database\Eloquent\Builder
... | php | MIT | 17e4e525ec3b2611691c5e7bd8d63bd9b383eac7 | 2026-01-05T03:28:54.432803Z | false |
pricecurrent/laravel-eloquent-filters | https://github.com/pricecurrent/laravel-eloquent-filters/blob/17e4e525ec3b2611691c5e7bd8d63bd9b383eac7/src/EloquentFilters.php | src/EloquentFilters.php | <?php
namespace Pricecurrent\LaravelEloquentFilters;
use Illuminate\Database\Eloquent\Builder;
use Illuminate\Support\Collection;
use Pricecurrent\LaravelEloquentFilters\Contracts\EloquentFilterContract;
use Pricecurrent\LaravelEloquentFilters\Exceptions\EloquentFiltersException;
use Throwable;
class EloquentFilters... | php | MIT | 17e4e525ec3b2611691c5e7bd8d63bd9b383eac7 | 2026-01-05T03:28:54.432803Z | false |
pricecurrent/laravel-eloquent-filters | https://github.com/pricecurrent/laravel-eloquent-filters/blob/17e4e525ec3b2611691c5e7bd8d63bd9b383eac7/src/AbstractEloquentFilter.php | src/AbstractEloquentFilter.php | <?php
namespace Pricecurrent\LaravelEloquentFilters;
use Illuminate\Database\Eloquent\Builder;
use Pricecurrent\LaravelEloquentFilters\Contracts\EloquentFilterContract;
abstract class AbstractEloquentFilter implements EloquentFilterContract
{
abstract public function apply(Builder $query): Builder;
public f... | php | MIT | 17e4e525ec3b2611691c5e7bd8d63bd9b383eac7 | 2026-01-05T03:28:54.432803Z | false |
pricecurrent/laravel-eloquent-filters | https://github.com/pricecurrent/laravel-eloquent-filters/blob/17e4e525ec3b2611691c5e7bd8d63bd9b383eac7/src/Exceptions/EloquentFiltersException.php | src/Exceptions/EloquentFiltersException.php | <?php
namespace Pricecurrent\LaravelEloquentFilters\Exceptions;
use Exception;
class EloquentFiltersException extends Exception
{
}
| php | MIT | 17e4e525ec3b2611691c5e7bd8d63bd9b383eac7 | 2026-01-05T03:28:54.432803Z | false |
pricecurrent/laravel-eloquent-filters | https://github.com/pricecurrent/laravel-eloquent-filters/blob/17e4e525ec3b2611691c5e7bd8d63bd9b383eac7/src/Contracts/EloquentFilterContract.php | src/Contracts/EloquentFilterContract.php | <?php
namespace Pricecurrent\LaravelEloquentFilters\Contracts;
use Illuminate\Database\Eloquent\Builder;
interface EloquentFilterContract
{
public function apply(Builder $query): Builder;
}
| php | MIT | 17e4e525ec3b2611691c5e7bd8d63bd9b383eac7 | 2026-01-05T03:28:54.432803Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.