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 |
|---|---|---|---|---|---|---|---|---|
symfony/mailgun-mailer | https://github.com/symfony/mailgun-mailer/blob/8c18f2bff4e70ed5669ab8228302edd2fecd689b/Tests/Webhook/Fixtures/suppression_failure.php | Tests/Webhook/Fixtures/suppression_failure.php | <?php
use Symfony\Component\RemoteEvent\Event\Mailer\MailerDeliveryEvent;
$wh = new MailerDeliveryEvent(MailerDeliveryEvent::DROPPED, 'G9Bn5sl1TC6nu79C8C0bwg', json_decode(file_get_contents(str_replace('.php', '.json', __FILE__)), true, flags: JSON_THROW_ON_ERROR)['event-data']);
$wh->setRecipientEmail('alice@example... | php | MIT | 8c18f2bff4e70ed5669ab8228302edd2fecd689b | 2026-01-05T04:25:33.146056Z | false |
webbingbrasil/filament-advancedfilter | https://github.com/webbingbrasil/filament-advancedfilter/blob/c4c9265509ff4fe3ebab2ffb7e73a93874deb65d/src/FilamentAdvancedFilterProvider.php | src/FilamentAdvancedFilterProvider.php | <?php
namespace Webbingbrasil\FilamentAdvancedFilter;
use Spatie\LaravelPackageTools\Package;
use Spatie\LaravelPackageTools\PackageServiceProvider;
class FilamentAdvancedFilterProvider extends PackageServiceProvider
{
public static string $name = 'filament-advancedfilter';
public function configurePackage(... | php | MIT | c4c9265509ff4fe3ebab2ffb7e73a93874deb65d | 2026-01-05T04:25:45.949584Z | false |
webbingbrasil/filament-advancedfilter | https://github.com/webbingbrasil/filament-advancedfilter/blob/c4c9265509ff4fe3ebab2ffb7e73a93874deb65d/src/FilamentAdvancedFilter.php | src/FilamentAdvancedFilter.php | <?php
namespace Webbingbrasil\FilamentAdvancedFilter;
class FilamentAdvancedFilter
{
}
| php | MIT | c4c9265509ff4fe3ebab2ffb7e73a93874deb65d | 2026-01-05T04:25:45.949584Z | false |
webbingbrasil/filament-advancedfilter | https://github.com/webbingbrasil/filament-advancedfilter/blob/c4c9265509ff4fe3ebab2ffb7e73a93874deb65d/src/Concerns/HasClauses.php | src/Concerns/HasClauses.php | <?php
namespace Webbingbrasil\FilamentAdvancedFilter\Concerns;
use Filament\Forms\Components\Component;
use Filament\Forms\Components\Fieldset;
use Filament\Forms\Components\Select;
use Filament\Tables\Filters\Concerns\HasRelationship;
use Closure;
use Illuminate\Database\Eloquent\Builder;
trait HasClauses
{
use... | php | MIT | c4c9265509ff4fe3ebab2ffb7e73a93874deb65d | 2026-01-05T04:25:45.949584Z | false |
webbingbrasil/filament-advancedfilter | https://github.com/webbingbrasil/filament-advancedfilter/blob/c4c9265509ff4fe3ebab2ffb7e73a93874deb65d/src/Filters/TextFilter.php | src/Filters/TextFilter.php | <?php
namespace Webbingbrasil\FilamentAdvancedFilter\Filters;
use Filament\Forms\Get;
use Filament\Tables\Filters\BaseFilter;
use Filament\Forms\Components\TextInput;
use Illuminate\Database\Eloquent\Builder;
use Webbingbrasil\FilamentAdvancedFilter\Concerns\HasClauses;
class TextFilter extends BaseFilter
{
use ... | php | MIT | c4c9265509ff4fe3ebab2ffb7e73a93874deb65d | 2026-01-05T04:25:45.949584Z | false |
webbingbrasil/filament-advancedfilter | https://github.com/webbingbrasil/filament-advancedfilter/blob/c4c9265509ff4fe3ebab2ffb7e73a93874deb65d/src/Filters/BooleanFilter.php | src/Filters/BooleanFilter.php | <?php
namespace Webbingbrasil\FilamentAdvancedFilter\Filters;
use Filament\Tables\Filters\BaseFilter;
use Illuminate\Database\Eloquent\Builder;
use Webbingbrasil\FilamentAdvancedFilter\Concerns\HasClauses;
class BooleanFilter extends BaseFilter
{
use HasClauses;
const CLAUSE_IS_TRUE = 'true';
const CLAU... | php | MIT | c4c9265509ff4fe3ebab2ffb7e73a93874deb65d | 2026-01-05T04:25:45.949584Z | false |
webbingbrasil/filament-advancedfilter | https://github.com/webbingbrasil/filament-advancedfilter/blob/c4c9265509ff4fe3ebab2ffb7e73a93874deb65d/src/Filters/NumberFilter.php | src/Filters/NumberFilter.php | <?php
namespace Webbingbrasil\FilamentAdvancedFilter\Filters;
use Filament\Forms\Get;
use Filament\Tables\Filters\BaseFilter;
use Filament\Forms\Components\TextInput;
use Illuminate\Database\Eloquent\Builder;
use Webbingbrasil\FilamentAdvancedFilter\Concerns\HasClauses;
class NumberFilter extends BaseFilter
{
us... | php | MIT | c4c9265509ff4fe3ebab2ffb7e73a93874deb65d | 2026-01-05T04:25:45.949584Z | false |
webbingbrasil/filament-advancedfilter | https://github.com/webbingbrasil/filament-advancedfilter/blob/c4c9265509ff4fe3ebab2ffb7e73a93874deb65d/src/Filters/DateFilter.php | src/Filters/DateFilter.php | <?php
namespace Webbingbrasil\FilamentAdvancedFilter\Filters;
use Carbon\Carbon;
use Filament\Forms\Get;
use Filament\Forms\Components\Select;
use Filament\Tables\Filters\BaseFilter;
use Filament\Forms\Components\TextInput;
use Filament\Forms\Components\DatePicker;
use Illuminate\Database\Eloquent\Builder;
use Webbin... | php | MIT | c4c9265509ff4fe3ebab2ffb7e73a93874deb65d | 2026-01-05T04:25:45.949584Z | false |
webbingbrasil/filament-advancedfilter | https://github.com/webbingbrasil/filament-advancedfilter/blob/c4c9265509ff4fe3ebab2ffb7e73a93874deb65d/resources/lang/de/clauses.php | resources/lang/de/clauses.php | <?php
return [
'true' => 'Ist wahr',
'false' => 'Ist falsch',
'set' => 'Ist gesetzt',
'not_set' => 'Ist nicht gesetzt',
'equal' => 'Ist gleich',
'not_equal' => 'Ist nicht gleich',
'on_after' => 'Ist am oder nach',
'on_before' => 'Ist am oder vor',
'greater_equal' => 'Ist größer oder... | php | MIT | c4c9265509ff4fe3ebab2ffb7e73a93874deb65d | 2026-01-05T04:25:45.949584Z | false |
webbingbrasil/filament-advancedfilter | https://github.com/webbingbrasil/filament-advancedfilter/blob/c4c9265509ff4fe3ebab2ffb7e73a93874deb65d/resources/lang/en/clauses.php | resources/lang/en/clauses.php | <?php
return [
'true' => 'Is true',
'false' => 'Is false',
'set' => 'Is set',
'not_set' => 'Is not set',
'equal' => 'Is equal to',
'not_equal' => 'Is not equal to',
'on_after' => 'Is on or after',
'on_before' => 'Is on or before',
'greater_equal' => 'Is greater than or equal to',
... | php | MIT | c4c9265509ff4fe3ebab2ffb7e73a93874deb65d | 2026-01-05T04:25:45.949584Z | false |
webbingbrasil/filament-advancedfilter | https://github.com/webbingbrasil/filament-advancedfilter/blob/c4c9265509ff4fe3ebab2ffb7e73a93874deb65d/resources/lang/ar/clauses.php | resources/lang/ar/clauses.php | <?php
return [
'true' => 'صحيح',
'false' => 'خطأ',
'set' => 'معيين',
'not_set' => 'غير معيين',
'equal' => 'مساوي لـ',
'not_equal' => 'لا يساوي',
'on_after' => 'في أو بعد',
'on_before' => 'في أو قبل',
'greater_equal' => 'أكبر من او مساوى لـ',
'less_equal' => 'أقل من أو مساوى لـ',... | php | MIT | c4c9265509ff4fe3ebab2ffb7e73a93874deb65d | 2026-01-05T04:25:45.949584Z | false |
webbingbrasil/filament-advancedfilter | https://github.com/webbingbrasil/filament-advancedfilter/blob/c4c9265509ff4fe3ebab2ffb7e73a93874deb65d/resources/lang/fr/clauses.php | resources/lang/fr/clauses.php | <?php
return [
'true' => 'Est vrai',
'false' => 'Est faux',
'set' => 'Est défini',
'not_set' => 'N\'est pas défini',
'equal' => 'Est égal à',
'not_equal' => 'N\'est pas égal à',
'on_after' => 'Est le ou après le',
'on_before' => 'Est le ou avant le',
'greater_equal' => 'Est supérieu... | php | MIT | c4c9265509ff4fe3ebab2ffb7e73a93874deb65d | 2026-01-05T04:25:45.949584Z | false |
webbingbrasil/filament-advancedfilter | https://github.com/webbingbrasil/filament-advancedfilter/blob/c4c9265509ff4fe3ebab2ffb7e73a93874deb65d/resources/lang/id/clauses.php | resources/lang/id/clauses.php | <?php
return [
'true' => 'Benar',
'false' => 'Salah',
'set' => 'Diatur',
'not_set' => 'Tidak diatur',
'equal' => 'Sama dengan',
'not_equal' => 'Tidak sama dengan',
'on_after' => 'Pada atau setelah',
'on_before' => 'Pada atau sebelum',
'greater_equal' => 'Lebih besar atau sama dengan... | php | MIT | c4c9265509ff4fe3ebab2ffb7e73a93874deb65d | 2026-01-05T04:25:45.949584Z | false |
webbingbrasil/filament-advancedfilter | https://github.com/webbingbrasil/filament-advancedfilter/blob/c4c9265509ff4fe3ebab2ffb7e73a93874deb65d/resources/lang/fa/clauses.php | resources/lang/fa/clauses.php | <?php
return [
'true' => 'درست است',
'false' => 'نادرست است',
'set' => 'تنظیم شده است',
'not_set' => 'تنظیم نشده است',
'equal' => 'برابر است با',
'not_equal' => 'برابر نیست با',
'on_after' => 'در یا بعد از',
'on_before' => 'در یا قبل از',
'greater_equal' => 'بزرگتر یا مساوی است با',... | php | MIT | c4c9265509ff4fe3ebab2ffb7e73a93874deb65d | 2026-01-05T04:25:45.949584Z | false |
webbingbrasil/filament-advancedfilter | https://github.com/webbingbrasil/filament-advancedfilter/blob/c4c9265509ff4fe3ebab2ffb7e73a93874deb65d/resources/lang/pt-BR/clauses.php | resources/lang/pt-BR/clauses.php | <?php
return [
'true' => 'É verdadeiro',
'false' => 'É falso',
'set' => 'Está definido',
'not_set' => 'Não está definido',
'equal' => 'É igual a',
'not_equal' => 'Não é igual a',
'on_after' => 'É igual ou depois',
'on_before' => 'É igual ou antes',
'greater_equal' => 'É maior ou igu... | php | MIT | c4c9265509ff4fe3ebab2ffb7e73a93874deb65d | 2026-01-05T04:25:45.949584Z | false |
webbingbrasil/filament-advancedfilter | https://github.com/webbingbrasil/filament-advancedfilter/blob/c4c9265509ff4fe3ebab2ffb7e73a93874deb65d/resources/lang/es/clauses.php | resources/lang/es/clauses.php | <?php
return [
'true' => 'Es verdadero',
'false' => 'Es falso',
'set' => 'Está establecido',
'not_set' => 'No está establecido',
'equal' => 'Es igual a',
'not_equal' => 'No es igual a',
'on_after' => 'Es en o después de',
'on_before' => 'Es en o antes de',
'greater_equal' => 'Es may... | php | MIT | c4c9265509ff4fe3ebab2ffb7e73a93874deb65d | 2026-01-05T04:25:45.949584Z | false |
devrabiul/laravel-geo-genius | https://github.com/devrabiul/laravel-geo-genius/blob/3884460d3af7e36af7c7ae301714e687e45cdbf6/src/LaravelGeoGenius.php | src/LaravelGeoGenius.php | <?php
namespace Devrabiul\LaravelGeoGenius;
use Devrabiul\LaravelGeoGenius\Services\GeoLocationService;
use Devrabiul\LaravelGeoGenius\Services\TimezoneService;
use Devrabiul\LaravelGeoGenius\Services\LanguageService;
use Illuminate\Support\Facades\File;
/**
* @property-read GeoLocationService $geo
* @property-rea... | php | MIT | 3884460d3af7e36af7c7ae301714e687e45cdbf6 | 2026-01-05T04:25:53.888374Z | false |
devrabiul/laravel-geo-genius | https://github.com/devrabiul/laravel-geo-genius/blob/3884460d3af7e36af7c7ae301714e687e45cdbf6/src/LaravelTimezoneServiceProvider.php | src/LaravelTimezoneServiceProvider.php | <?php
namespace Devrabiul\LaravelGeoGenius;
use Illuminate\Support\Facades\Event;
use Illuminate\Support\ServiceProvider;
use JamesMills\LaravelTimezone\Listeners\Auth\UpdateUsersTimezone;
class LaravelTimezoneServiceProvider extends ServiceProvider
{
/**
* Bootstrap services after registration.
*
... | php | MIT | 3884460d3af7e36af7c7ae301714e687e45cdbf6 | 2026-01-05T04:25:53.888374Z | false |
devrabiul/laravel-geo-genius | https://github.com/devrabiul/laravel-geo-genius/blob/3884460d3af7e36af7c7ae301714e687e45cdbf6/src/AssetsServiceProvider.php | src/AssetsServiceProvider.php | <?php
namespace Devrabiul\LaravelGeoGenius;
use Illuminate\Support\ServiceProvider;
use Illuminate\Support\Facades\File;
/**
* Class LaravelGeoGeniusServiceProvider
*
* Service provider for the LaravelGeoGenius Laravel package.
*
* Handles bootstrapping of the package including
* - Setting up asset routes for ... | php | MIT | 3884460d3af7e36af7c7ae301714e687e45cdbf6 | 2026-01-05T04:25:53.888374Z | false |
devrabiul/laravel-geo-genius | https://github.com/devrabiul/laravel-geo-genius/blob/3884460d3af7e36af7c7ae301714e687e45cdbf6/src/LaravelGeoGeniusServiceProvider.php | src/LaravelGeoGeniusServiceProvider.php | <?php
namespace Devrabiul\LaravelGeoGenius;
use Devrabiul\LaravelGeoGenius\Commands\AddNewLanguage;
use Devrabiul\LaravelGeoGenius\Commands\AddTimezoneColumn;
use Devrabiul\LaravelGeoGenius\Commands\GenerateTranslationFiles;
use Devrabiul\LaravelGeoGenius\Commands\TranslateLanguageAll;
use Devrabiul\LaravelGeoGenius\... | php | MIT | 3884460d3af7e36af7c7ae301714e687e45cdbf6 | 2026-01-05T04:25:53.888374Z | false |
devrabiul/laravel-geo-genius | https://github.com/devrabiul/laravel-geo-genius/blob/3884460d3af7e36af7c7ae301714e687e45cdbf6/src/Listeners/Auth/UpdateUsersTimezone.php | src/Listeners/Auth/UpdateUsersTimezone.php | <?php
namespace Devrabiul\LaravelGeoGenius\Listeners\Auth;
use Illuminate\Auth\Events\Login;
use Illuminate\Support\Facades\Auth;
use Laravel\Passport\Events\AccessTokenCreated;
class UpdateUsersTimezone
{
public function handle($event): void
{
// Handle Passport token creation
if ($event ins... | php | MIT | 3884460d3af7e36af7c7ae301714e687e45cdbf6 | 2026-01-05T04:25:53.888374Z | false |
devrabiul/laravel-geo-genius | https://github.com/devrabiul/laravel-geo-genius/blob/3884460d3af7e36af7c7ae301714e687e45cdbf6/src/Services/LanguageService.php | src/Services/LanguageService.php | <?php
namespace Devrabiul\LaravelGeoGenius\Services;
use Devrabiul\LaravelGeoGenius\Services\TranslateService\TranslateService;
use Devrabiul\LaravelGeoGenius\Trait\LanguageTrait;
use Illuminate\Support\Facades\Request;
use Illuminate\Support\Str;
use Illuminate\Support\Facades\App;
use Illuminate\Support\Facades\Ses... | php | MIT | 3884460d3af7e36af7c7ae301714e687e45cdbf6 | 2026-01-05T04:25:53.888374Z | false |
devrabiul/laravel-geo-genius | https://github.com/devrabiul/laravel-geo-genius/blob/3884460d3af7e36af7c7ae301714e687e45cdbf6/src/Services/TimezoneService.php | src/Services/TimezoneService.php | <?php
namespace Devrabiul\LaravelGeoGenius\Services;
use DateTime;
use DateTimeZone;
use Exception;
class TimezoneService
{
/**
* Detect the current user’s timezone.
* 1. Use stored timezone on the authenticated user if available.
* 2. Otherwise, detect by IP (GeoGenius).
*/
public functi... | php | MIT | 3884460d3af7e36af7c7ae301714e687e45cdbf6 | 2026-01-05T04:25:53.888374Z | false |
devrabiul/laravel-geo-genius | https://github.com/devrabiul/laravel-geo-genius/blob/3884460d3af7e36af7c7ae301714e687e45cdbf6/src/Services/GeoLocationService.php | src/Services/GeoLocationService.php | <?php
namespace Devrabiul\LaravelGeoGenius\Services;
use Exception;
use Illuminate\Support\Facades\Cache;
use Illuminate\Support\Facades\Http;
class GeoLocationService
{
public function isInternetAvailable(): bool
{
try {
Http::timeout(2)->get('https://github.com/devrabiul'); // https://w... | php | MIT | 3884460d3af7e36af7c7ae301714e687e45cdbf6 | 2026-01-05T04:25:53.888374Z | false |
devrabiul/laravel-geo-genius | https://github.com/devrabiul/laravel-geo-genius/blob/3884460d3af7e36af7c7ae301714e687e45cdbf6/src/Services/TranslateService/GoogleTokenGenerator.php | src/Services/TranslateService/GoogleTokenGenerator.php | <?php
namespace Devrabiul\LaravelGeoGenius\Services\TranslateService;
class GoogleTokenGenerator implements TokenProviderInterface
{
/**
* Generate and return a token.
*
* @param string $source Source language
* @param string $target Target language
* @param string $text Text to translate... | php | MIT | 3884460d3af7e36af7c7ae301714e687e45cdbf6 | 2026-01-05T04:25:53.888374Z | false |
devrabiul/laravel-geo-genius | https://github.com/devrabiul/laravel-geo-genius/blob/3884460d3af7e36af7c7ae301714e687e45cdbf6/src/Services/TranslateService/RateLimitException.php | src/Services/TranslateService/RateLimitException.php | <?php
namespace Devrabiul\LaravelGeoGenius\Services\TranslateService;
use ErrorException;
class RateLimitException extends ErrorException
{
//
}
| php | MIT | 3884460d3af7e36af7c7ae301714e687e45cdbf6 | 2026-01-05T04:25:53.888374Z | false |
devrabiul/laravel-geo-genius | https://github.com/devrabiul/laravel-geo-genius/blob/3884460d3af7e36af7c7ae301714e687e45cdbf6/src/Services/TranslateService/TokenProviderInterface.php | src/Services/TranslateService/TokenProviderInterface.php | <?php
namespace Devrabiul\LaravelGeoGenius\Services\TranslateService;
interface TokenProviderInterface
{
/**
* Generate and return a token.
*
* @param string $source Source language
* @param string $target Target language
* @param string $text Text to translate
* @return string Token... | php | MIT | 3884460d3af7e36af7c7ae301714e687e45cdbf6 | 2026-01-05T04:25:53.888374Z | false |
devrabiul/laravel-geo-genius | https://github.com/devrabiul/laravel-geo-genius/blob/3884460d3af7e36af7c7ae301714e687e45cdbf6/src/Services/TranslateService/LargeTextException.php | src/Services/TranslateService/LargeTextException.php | <?php
namespace Devrabiul\LaravelGeoGenius\Services\TranslateService;
use ErrorException;
class LargeTextException extends ErrorException
{
//
}
| php | MIT | 3884460d3af7e36af7c7ae301714e687e45cdbf6 | 2026-01-05T04:25:53.888374Z | false |
devrabiul/laravel-geo-genius | https://github.com/devrabiul/laravel-geo-genius/blob/3884460d3af7e36af7c7ae301714e687e45cdbf6/src/Services/TranslateService/SampleTokenGenerator.php | src/Services/TranslateService/SampleTokenGenerator.php | <?php
namespace Devrabiul\LaravelGeoGenius\Services\TranslateService;
/**
* A nice interface for providing tokens.
*/
class SampleTokenGenerator implements TokenProviderInterface
{
/**
* Generate a fake token just as an example.
*
* @param string $source Source language
* @param string $targ... | php | MIT | 3884460d3af7e36af7c7ae301714e687e45cdbf6 | 2026-01-05T04:25:53.888374Z | false |
devrabiul/laravel-geo-genius | https://github.com/devrabiul/laravel-geo-genius/blob/3884460d3af7e36af7c7ae301714e687e45cdbf6/src/Services/TranslateService/TranslateService.php | src/Services/TranslateService/TranslateService.php | <?php
namespace Devrabiul\LaravelGeoGenius\Services\TranslateService;
use GuzzleHttp\Client;
use GuzzleHttp\Exception\GuzzleException;
use JsonException;
use Throwable;
class TranslateService
{
/**
* @var Client HTTP Client
*/
protected Client $client;
/**
* @var string|null Source langua... | php | MIT | 3884460d3af7e36af7c7ae301714e687e45cdbf6 | 2026-01-05T04:25:53.888374Z | false |
devrabiul/laravel-geo-genius | https://github.com/devrabiul/laravel-geo-genius/blob/3884460d3af7e36af7c7ae301714e687e45cdbf6/src/Services/TranslateService/TranslationRequestException.php | src/Services/TranslateService/TranslationRequestException.php | <?php
namespace Devrabiul\LaravelGeoGenius\Services\TranslateService;
use ErrorException;
class TranslationRequestException extends ErrorException
{
//
}
| php | MIT | 3884460d3af7e36af7c7ae301714e687e45cdbf6 | 2026-01-05T04:25:53.888374Z | false |
devrabiul/laravel-geo-genius | https://github.com/devrabiul/laravel-geo-genius/blob/3884460d3af7e36af7c7ae301714e687e45cdbf6/src/Services/TranslateService/TranslationDecodingException.php | src/Services/TranslateService/TranslationDecodingException.php | <?php
namespace Devrabiul\LaravelGeoGenius\Services\TranslateService;
use UnexpectedValueException;
class TranslationDecodingException extends UnexpectedValueException
{
//
}
| php | MIT | 3884460d3af7e36af7c7ae301714e687e45cdbf6 | 2026-01-05T04:25:53.888374Z | false |
devrabiul/laravel-geo-genius | https://github.com/devrabiul/laravel-geo-genius/blob/3884460d3af7e36af7c7ae301714e687e45cdbf6/src/utils/GeniusHelpers.php | src/utils/GeniusHelpers.php | <?php
use Devrabiul\LaravelGeoGenius\Facades\LaravelGeoGenius;
if (!function_exists('laravelGeoGenius')) {
/**
* Get the LaravelGeoGenius core service.
*
* This helper provides quick access to Geo, Timezone, Language services.
* Example usage:
*
* ```php
* laravelGeoGenius()->ge... | php | MIT | 3884460d3af7e36af7c7ae301714e687e45cdbf6 | 2026-01-05T04:25:53.888374Z | false |
devrabiul/laravel-geo-genius | https://github.com/devrabiul/laravel-geo-genius/blob/3884460d3af7e36af7c7ae301714e687e45cdbf6/src/utils/GeniusTranslate.php | src/utils/GeniusTranslate.php | <?php
use Devrabiul\LaravelGeoGenius\Trait\LanguageTrait;
use Illuminate\Support\Facades\App;
use Illuminate\Support\Facades\File;
if (!function_exists('geniusTrans')) {
function geniusTrans($key = null): string|null
{
return geniusTranslate($key);
}
}
if (!function_exists('geniusTranslate')) {
... | php | MIT | 3884460d3af7e36af7c7ae301714e687e45cdbf6 | 2026-01-05T04:25:53.888374Z | false |
devrabiul/laravel-geo-genius | https://github.com/devrabiul/laravel-geo-genius/blob/3884460d3af7e36af7c7ae301714e687e45cdbf6/src/Middlewares/SetUserTimezone.php | src/Middlewares/SetUserTimezone.php | <?php
namespace Devrabiul\LaravelGeoGenius\Middlewares;
use Closure;
use Illuminate\Support\Facades\Auth;
use DateTimeZone;
class SetUserTimezone
{
public function handle($request, Closure $next)
{
if (Auth::check() && Auth::user()->timezone) {
try {
date_default_timezone_... | php | MIT | 3884460d3af7e36af7c7ae301714e687e45cdbf6 | 2026-01-05T04:25:53.888374Z | false |
devrabiul/laravel-geo-genius | https://github.com/devrabiul/laravel-geo-genius/blob/3884460d3af7e36af7c7ae301714e687e45cdbf6/src/Facades/LaravelGeoGenius.php | src/Facades/LaravelGeoGenius.php | <?php
namespace Devrabiul\LaravelGeoGenius\Facades;
use Illuminate\Support\Facades\Facade;
class LaravelGeoGenius extends Facade
{
protected static function getFacadeAccessor(): string
{
return 'laravelGeoGenius';
}
}
| php | MIT | 3884460d3af7e36af7c7ae301714e687e45cdbf6 | 2026-01-05T04:25:53.888374Z | false |
devrabiul/laravel-geo-genius | https://github.com/devrabiul/laravel-geo-genius/blob/3884460d3af7e36af7c7ae301714e687e45cdbf6/src/Trait/LanguageTrait.php | src/Trait/LanguageTrait.php | <?php
namespace Devrabiul\LaravelGeoGenius\Trait;
use Illuminate\Support\Facades\File;
use Illuminate\Support\Facades\Cache;
use Devrabiul\LaravelGeoGenius\Services\LanguageService;
trait LanguageTrait
{
public static function geniusSortTranslateArrayByKey($targetPath): void
{
$getMessagesArray = in... | php | MIT | 3884460d3af7e36af7c7ae301714e687e45cdbf6 | 2026-01-05T04:25:53.888374Z | false |
devrabiul/laravel-geo-genius | https://github.com/devrabiul/laravel-geo-genius/blob/3884460d3af7e36af7c7ae301714e687e45cdbf6/src/Commands/GenerateTranslationFiles.php | src/Commands/GenerateTranslationFiles.php | <?php
namespace Devrabiul\LaravelGeoGenius\Commands;
use Illuminate\Console\Command;
use Illuminate\Support\Facades\File;
use Devrabiul\LaravelGeoGenius\Trait\LanguageTrait;
/**
* Class GenerateTranslationFiles
*
* Scans all PHP files in the project for translation calls
* (`geniusTranslate`, `geniusTrans`, `tra... | php | MIT | 3884460d3af7e36af7c7ae301714e687e45cdbf6 | 2026-01-05T04:25:53.888374Z | false |
devrabiul/laravel-geo-genius | https://github.com/devrabiul/laravel-geo-genius/blob/3884460d3af7e36af7c7ae301714e687e45cdbf6/src/Commands/TranslateLanguageAll.php | src/Commands/TranslateLanguageAll.php | <?php
namespace Devrabiul\LaravelGeoGenius\Commands;
use Illuminate\Console\Command;
use Illuminate\Support\Facades\File;
/**
* Class TranslateLanguageAll
*
* Runs the `geo:translate-language-batch` command repeatedly until all
* strings in `new-messages.php` are translated and moved into `messages.php`.
*
* U... | php | MIT | 3884460d3af7e36af7c7ae301714e687e45cdbf6 | 2026-01-05T04:25:53.888374Z | false |
devrabiul/laravel-geo-genius | https://github.com/devrabiul/laravel-geo-genius/blob/3884460d3af7e36af7c7ae301714e687e45cdbf6/src/Commands/TranslateLanguage.php | src/Commands/TranslateLanguage.php | <?php
namespace Devrabiul\LaravelGeoGenius\Commands;
use Illuminate\Console\Command;
use Illuminate\Support\Facades\File;
use Devrabiul\LaravelGeoGenius\Trait\LanguageTrait;
/**
* Class TranslateLanguage
*
* This command translates missing strings for a given locale
* from `new-messages.php` and saves them into ... | php | MIT | 3884460d3af7e36af7c7ae301714e687e45cdbf6 | 2026-01-05T04:25:53.888374Z | false |
devrabiul/laravel-geo-genius | https://github.com/devrabiul/laravel-geo-genius/blob/3884460d3af7e36af7c7ae301714e687e45cdbf6/src/Commands/TranslateLanguageBatch.php | src/Commands/TranslateLanguageBatch.php | <?php
namespace Devrabiul\LaravelGeoGenius\Commands;
use Illuminate\Console\Command;
use Illuminate\Support\Facades\File;
use Devrabiul\LaravelGeoGenius\Trait\LanguageTrait;
use Devrabiul\LaravelGeoGenius\Services\TranslateService\TranslateService;
/**
* Class TranslateLanguageBatch
*
* Translates a limited numbe... | php | MIT | 3884460d3af7e36af7c7ae301714e687e45cdbf6 | 2026-01-05T04:25:53.888374Z | false |
devrabiul/laravel-geo-genius | https://github.com/devrabiul/laravel-geo-genius/blob/3884460d3af7e36af7c7ae301714e687e45cdbf6/src/Commands/AddNewLanguage.php | src/Commands/AddNewLanguage.php | <?php
namespace Devrabiul\LaravelGeoGenius\Commands;
use Devrabiul\LaravelGeoGenius\Trait\LanguageTrait;
use Illuminate\Console\Command;
use Illuminate\Support\Facades\File;
/**
* Class AddNewLanguage
*
* This command adds a new language to the LaravelGeoGenius setup.
* It ensures that the language directory and... | php | MIT | 3884460d3af7e36af7c7ae301714e687e45cdbf6 | 2026-01-05T04:25:53.888374Z | false |
devrabiul/laravel-geo-genius | https://github.com/devrabiul/laravel-geo-genius/blob/3884460d3af7e36af7c7ae301714e687e45cdbf6/src/Commands/AddTimezoneColumn.php | src/Commands/AddTimezoneColumn.php | <?php
namespace Devrabiul\LaravelGeoGenius\Commands;
use Illuminate\Console\Command;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AddTimezoneColumn extends Command
{
/**
* Usage: php artisan geo:add-timezone-column users
*/
protected $signature = 'geo:add-t... | php | MIT | 3884460d3af7e36af7c7ae301714e687e45cdbf6 | 2026-01-05T04:25:53.888374Z | false |
devrabiul/laravel-geo-genius | https://github.com/devrabiul/laravel-geo-genius/blob/3884460d3af7e36af7c7ae301714e687e45cdbf6/src/config/laravel-geo-genius.php | src/config/laravel-geo-genius.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Application Locale
|--------------------------------------------------------------------------
|
| This value determines the default locale that will be used by the package
| for translations wh... | php | MIT | 3884460d3af7e36af7c7ae301714e687e45cdbf6 | 2026-01-05T04:25:53.888374Z | false |
devrabiul/laravel-geo-genius | https://github.com/devrabiul/laravel-geo-genius/blob/3884460d3af7e36af7c7ae301714e687e45cdbf6/assets/version.php | assets/version.php | <?php
return [
'version' => 'v1.4',
];
| php | MIT | 3884460d3af7e36af7c7ae301714e687e45cdbf6 | 2026-01-05T04:25:53.888374Z | false |
facile-it/paraunit | https://github.com/facile-it/paraunit/blob/c5bdee0de7c5292df1a0377fe6f6869f9c318177/rector.php | rector.php | <?php
declare(strict_types=1);
use Rector\Config\RectorConfig;
use Rector\PHPUnit\PHPUnit100\Rector\Class_\ParentTestClassConstructorRector;
use Rector\PHPUnit\Set\PHPUnitSetList;
use Rector\TypeDeclaration\Rector\ClassMethod\ReturnNeverTypeRector;
return RectorConfig::configure()
->withImportNames(
impo... | php | Apache-2.0 | c5bdee0de7c5292df1a0377fe6f6869f9c318177 | 2026-01-05T04:26:02.126557Z | false |
facile-it/paraunit | https://github.com/facile-it/paraunit/blob/c5bdee0de7c5292df1a0377fe6f6869f9c318177/.php-cs-fixer.dist.php | .php-cs-fixer.dist.php | <?php
$additionalRules = [
'declare_strict_types' => true,
'php_unit_construct' => true,
'php_unit_dedicate_assert' => true,
'phpdoc_to_comment' => false,
'random_api_migration' => true,
'self_accessor' => true,
];
$rulesProvider = new Facile\CodingStandards\Rules\CompositeRulesProvider([
n... | php | Apache-2.0 | c5bdee0de7c5292df1a0377fe6f6869f9c318177 | 2026-01-05T04:26:02.126557Z | false |
facile-it/paraunit | https://github.com/facile-it/paraunit/blob/c5bdee0de7c5292df1a0377fe6f6869f9c318177/src/Process/Process.php | src/Process/Process.php | <?php
declare(strict_types=1);
namespace Paraunit\Process;
interface Process
{
public function getOutput(): string;
public function getErrorOutput(): string;
/**
* @param positive-int $pipelineNumber
*/
public function start(int $pipelineNumber): void;
public function isTerminated():... | php | Apache-2.0 | c5bdee0de7c5292df1a0377fe6f6869f9c318177 | 2026-01-05T04:26:02.126557Z | false |
facile-it/paraunit | https://github.com/facile-it/paraunit/blob/c5bdee0de7c5292df1a0377fe6f6869f9c318177/src/Process/CommandLine.php | src/Process/CommandLine.php | <?php
declare(strict_types=1);
namespace Paraunit\Process;
use Paraunit\Configuration\ChunkSize;
use Paraunit\Configuration\PHPUnitBinFile;
use Paraunit\Configuration\PHPUnitConfig;
class CommandLine
{
public function __construct(
protected PHPUnitBinFile $phpUnitBin,
protected ChunkSize $chunkS... | php | Apache-2.0 | c5bdee0de7c5292df1a0377fe6f6869f9c318177 | 2026-01-05T04:26:02.126557Z | false |
facile-it/paraunit | https://github.com/facile-it/paraunit/blob/c5bdee0de7c5292df1a0377fe6f6869f9c318177/src/Process/CommandLineWithCoverage.php | src/Process/CommandLineWithCoverage.php | <?php
declare(strict_types=1);
namespace Paraunit\Process;
use Paraunit\Configuration\ChunkSize;
use Paraunit\Configuration\PHPDbgBinFile;
use Paraunit\Configuration\PHPUnitBinFile;
use Paraunit\Configuration\TempFilenameFactory;
use Paraunit\Coverage\CoverageDriver;
use Paraunit\Proxy\PcovProxy;
use Paraunit\Proxy\... | php | Apache-2.0 | c5bdee0de7c5292df1a0377fe6f6869f9c318177 | 2026-01-05T04:26:02.126557Z | false |
facile-it/paraunit | https://github.com/facile-it/paraunit/blob/c5bdee0de7c5292df1a0377fe6f6869f9c318177/src/Process/SymfonyProcessWrapper.php | src/Process/SymfonyProcessWrapper.php | <?php
declare(strict_types=1);
namespace Paraunit\Process;
use Paraunit\Configuration\EnvVariables;
use Symfony\Component\Process\Exception\LogicException;
use Symfony\Component\Process\Exception\RuntimeException;
use Symfony\Component\Process\Process as SymfonyProcess;
class SymfonyProcessWrapper implements Proces... | php | Apache-2.0 | c5bdee0de7c5292df1a0377fe6f6869f9c318177 | 2026-01-05T04:26:02.126557Z | false |
facile-it/paraunit | https://github.com/facile-it/paraunit/blob/c5bdee0de7c5292df1a0377fe6f6869f9c318177/src/Process/ProcessFactory.php | src/Process/ProcessFactory.php | <?php
declare(strict_types=1);
namespace Paraunit\Process;
use Paraunit\Configuration\ChunkSize;
use Paraunit\Configuration\EnvVariables;
use Paraunit\Configuration\PassThrough;
use Paraunit\Configuration\PHPUnitConfig;
use Paraunit\Configuration\TempFilenameFactory;
use Paraunit\Coverage\CoverageDriver;
use Symfony... | php | Apache-2.0 | c5bdee0de7c5292df1a0377fe6f6869f9c318177 | 2026-01-05T04:26:02.126557Z | false |
facile-it/paraunit | https://github.com/facile-it/paraunit/blob/c5bdee0de7c5292df1a0377fe6f6869f9c318177/src/Filter/Filter.php | src/Filter/Filter.php | <?php
declare(strict_types=1);
namespace Paraunit\Filter;
use Paraunit\Configuration\PHPUnitConfig;
use PHPUnit\Util\Xml\Loader;
use SebastianBergmann\FileIterator\Facade;
class Filter implements TestList
{
private readonly Loader $xmlLoader;
/** @var non-empty-string */
private readonly string $relati... | php | Apache-2.0 | c5bdee0de7c5292df1a0377fe6f6869f9c318177 | 2026-01-05T04:26:02.126557Z | false |
facile-it/paraunit | https://github.com/facile-it/paraunit/blob/c5bdee0de7c5292df1a0377fe6f6869f9c318177/src/Filter/TestList.php | src/Filter/TestList.php | <?php
declare(strict_types=1);
namespace Paraunit\Filter;
interface TestList
{
/**
* @return string[] a list of test files to be executed
*/
public function getTests(): array;
}
| php | Apache-2.0 | c5bdee0de7c5292df1a0377fe6f6869f9c318177 | 2026-01-05T04:26:02.126557Z | false |
facile-it/paraunit | https://github.com/facile-it/paraunit/blob/c5bdee0de7c5292df1a0377fe6f6869f9c318177/src/Filter/RandomizeList.php | src/Filter/RandomizeList.php | <?php
declare(strict_types=1);
namespace Paraunit\Filter;
class RandomizeList implements TestList
{
public function __construct(private readonly TestList $testList) {}
public function getTests(): array
{
$tests = $this->testList->getTests();
shuffle($tests);
return $tests;
... | php | Apache-2.0 | c5bdee0de7c5292df1a0377fe6f6869f9c318177 | 2026-01-05T04:26:02.126557Z | false |
facile-it/paraunit | https://github.com/facile-it/paraunit/blob/c5bdee0de7c5292df1a0377fe6f6869f9c318177/src/Configuration/CoverageConfiguration.php | src/Configuration/CoverageConfiguration.php | <?php
declare(strict_types=1);
namespace Paraunit\Configuration;
use Paraunit\Configuration\DependencyInjection\CoverageContainerDefinition;
use Paraunit\Coverage\CoverageResult;
use Paraunit\Coverage\Processor\Clover;
use Paraunit\Coverage\Processor\Cobertura;
use Paraunit\Coverage\Processor\CoverageProcessorInterf... | php | Apache-2.0 | c5bdee0de7c5292df1a0377fe6f6869f9c318177 | 2026-01-05T04:26:02.126557Z | false |
facile-it/paraunit | https://github.com/facile-it/paraunit/blob/c5bdee0de7c5292df1a0377fe6f6869f9c318177/src/Configuration/ChunkSize.php | src/Configuration/ChunkSize.php | <?php
declare(strict_types=1);
namespace Paraunit\Configuration;
class ChunkSize
{
/** @var positive-int */
private readonly int $chunkSize;
public function __construct(int $chunkSize)
{
if ($chunkSize < 1) {
throw new \InvalidArgumentException('Chunk size must be 1 or greater');... | php | Apache-2.0 | c5bdee0de7c5292df1a0377fe6f6869f9c318177 | 2026-01-05T04:26:02.126557Z | false |
facile-it/paraunit | https://github.com/facile-it/paraunit/blob/c5bdee0de7c5292df1a0377fe6f6869f9c318177/src/Configuration/OutputPath.php | src/Configuration/OutputPath.php | <?php
declare(strict_types=1);
namespace Paraunit\Configuration;
class OutputPath
{
private readonly string $path;
public function __construct(string $path)
{
if ($path === '') {
throw new \InvalidArgumentException('Empty path provided: not valid');
}
$this->path = $... | php | Apache-2.0 | c5bdee0de7c5292df1a0377fe6f6869f9c318177 | 2026-01-05T04:26:02.126557Z | false |
facile-it/paraunit | https://github.com/facile-it/paraunit/blob/c5bdee0de7c5292df1a0377fe6f6869f9c318177/src/Configuration/PHPUnitBinFile.php | src/Configuration/PHPUnitBinFile.php | <?php
declare(strict_types=1);
namespace Paraunit\Configuration;
class PHPUnitBinFile
{
// I'm using Paraunit as a vendor package
private const PHPUNIT_REALPATH_FOR_VENDOR = '/../../../../phpunit/phpunit/phpunit';
// I'm using Paraunit standalone (developing)
private const PHPUNIT_REALPATH_FOR_STAND... | php | Apache-2.0 | c5bdee0de7c5292df1a0377fe6f6869f9c318177 | 2026-01-05T04:26:02.126557Z | false |
facile-it/paraunit | https://github.com/facile-it/paraunit/blob/c5bdee0de7c5292df1a0377fe6f6869f9c318177/src/Configuration/EnvVariables.php | src/Configuration/EnvVariables.php | <?php
declare(strict_types=1);
namespace Paraunit\Configuration;
class EnvVariables
{
final public const LOG_DIR = 'PARAUNIT_LOG_DIR';
final public const PIPELINE_NUMBER = 'PARAUNIT_PIPELINE_NUMBER';
final public const PROCESS_UNIQUE_ID = 'PARAUNIT_PROCESS_UNIQUE_ID';
final public const XDEBUG_MOD... | php | Apache-2.0 | c5bdee0de7c5292df1a0377fe6f6869f9c318177 | 2026-01-05T04:26:02.126557Z | false |
facile-it/paraunit | https://github.com/facile-it/paraunit/blob/c5bdee0de7c5292df1a0377fe6f6869f9c318177/src/Configuration/ParallelConfiguration.php | src/Configuration/ParallelConfiguration.php | <?php
declare(strict_types=1);
namespace Paraunit\Configuration;
use Paraunit\Configuration\DependencyInjection\ParallelContainerDefinition;
use Paraunit\Filter\Filter;
use Paraunit\Filter\RandomizeList;
use Paraunit\Filter\TestList;
use Paraunit\Printer\DebugPrinter;
use Psr\Container\ContainerInterface;
use Symfon... | php | Apache-2.0 | c5bdee0de7c5292df1a0377fe6f6869f9c318177 | 2026-01-05T04:26:02.126557Z | false |
facile-it/paraunit | https://github.com/facile-it/paraunit/blob/c5bdee0de7c5292df1a0377fe6f6869f9c318177/src/Configuration/TempFilenameFactory.php | src/Configuration/TempFilenameFactory.php | <?php
declare(strict_types=1);
namespace Paraunit\Configuration;
use Paraunit\File\TempDirectory;
class TempFilenameFactory
{
public function __construct(private readonly TempDirectory $tempDirectory) {}
/**
* @phpstan-return non-empty-string
*/
public function getPathForLog(): string
{
... | php | Apache-2.0 | c5bdee0de7c5292df1a0377fe6f6869f9c318177 | 2026-01-05T04:26:02.126557Z | false |
facile-it/paraunit | https://github.com/facile-it/paraunit/blob/c5bdee0de7c5292df1a0377fe6f6869f9c318177/src/Configuration/PHPUnitConfig.php | src/Configuration/PHPUnitConfig.php | <?php
declare(strict_types=1);
namespace Paraunit\Configuration;
use PHPUnit\Util\Xml\Loader;
class PHPUnitConfig
{
final public const DEFAULT_FILE_NAME = 'phpunit.xml';
final public const FALLBACK_CONFIG_FILE_NAME = 'phpunit.xml.dist';
private readonly string $configFilename;
private readonly Lo... | php | Apache-2.0 | c5bdee0de7c5292df1a0377fe6f6869f9c318177 | 2026-01-05T04:26:02.126557Z | false |
facile-it/paraunit | https://github.com/facile-it/paraunit/blob/c5bdee0de7c5292df1a0377fe6f6869f9c318177/src/Configuration/PassThrough.php | src/Configuration/PassThrough.php | <?php
declare(strict_types=1);
namespace Paraunit\Configuration;
class PassThrough
{
private const DISALLOWED_OPTIONS = [
'--no-configuration',
'--extension',
'--no-extensions',
'--no-logging',
'--coverage-php',
'--teamcity',
'--testdox',
'--atleast... | php | Apache-2.0 | c5bdee0de7c5292df1a0377fe6f6869f9c318177 | 2026-01-05T04:26:02.126557Z | false |
facile-it/paraunit | https://github.com/facile-it/paraunit/blob/c5bdee0de7c5292df1a0377fe6f6869f9c318177/src/Configuration/ParaunitExtension.php | src/Configuration/ParaunitExtension.php | <?php
declare(strict_types=1);
namespace Paraunit\Configuration;
use Paraunit\Logs\TestHook\Deprecation;
use Paraunit\Logs\TestHook\Error;
use Paraunit\Logs\TestHook\ExecutionStarted;
use Paraunit\Logs\TestHook\Failure;
use Paraunit\Logs\TestHook\Incomplete;
use Paraunit\Logs\TestHook\Passed;
use Paraunit\Logs\TestH... | php | Apache-2.0 | c5bdee0de7c5292df1a0377fe6f6869f9c318177 | 2026-01-05T04:26:02.126557Z | false |
facile-it/paraunit | https://github.com/facile-it/paraunit/blob/c5bdee0de7c5292df1a0377fe6f6869f9c318177/src/Configuration/PHPDbgBinFile.php | src/Configuration/PHPDbgBinFile.php | <?php
declare(strict_types=1);
namespace Paraunit\Configuration;
use Symfony\Component\Process\Process;
class PHPDbgBinFile
{
/** @var string Realpath to the PHPDbg bin location */
private readonly string $phpDbgBin;
public function __construct()
{
$this->phpDbgBin = $this->getPhpDbgBinLoca... | php | Apache-2.0 | c5bdee0de7c5292df1a0377fe6f6869f9c318177 | 2026-01-05T04:26:02.126557Z | false |
facile-it/paraunit | https://github.com/facile-it/paraunit/blob/c5bdee0de7c5292df1a0377fe6f6869f9c318177/src/Configuration/OutputFile.php | src/Configuration/OutputFile.php | <?php
declare(strict_types=1);
namespace Paraunit\Configuration;
class OutputFile
{
private readonly string $filePath;
public function __construct(string $filePath)
{
if ($filePath === '') {
throw new \InvalidArgumentException('Empty path provided: not valid');
}
$th... | php | Apache-2.0 | c5bdee0de7c5292df1a0377fe6f6869f9c318177 | 2026-01-05T04:26:02.126557Z | false |
facile-it/paraunit | https://github.com/facile-it/paraunit/blob/c5bdee0de7c5292df1a0377fe6f6869f9c318177/src/Configuration/DependencyInjection/CoverageContainerDefinition.php | src/Configuration/DependencyInjection/CoverageContainerDefinition.php | <?php
declare(strict_types=1);
namespace Paraunit\Configuration\DependencyInjection;
use Paraunit\Configuration\PHPDbgBinFile;
use Paraunit\Coverage\CoverageFetcher;
use Paraunit\Coverage\CoverageMerger;
use Paraunit\Coverage\CoverageResult;
use Paraunit\Printer\CoveragePrinter;
use Paraunit\Process\CommandLineWithC... | php | Apache-2.0 | c5bdee0de7c5292df1a0377fe6f6869f9c318177 | 2026-01-05T04:26:02.126557Z | false |
facile-it/paraunit | https://github.com/facile-it/paraunit/blob/c5bdee0de7c5292df1a0377fe6f6869f9c318177/src/Configuration/DependencyInjection/ParallelContainerDefinition.php | src/Configuration/DependencyInjection/ParallelContainerDefinition.php | <?php
declare(strict_types=1);
namespace Paraunit\Configuration\DependencyInjection;
use Paraunit\Configuration\ChunkSize;
use Paraunit\Configuration\PassThrough;
use Paraunit\Configuration\PHPUnitBinFile;
use Paraunit\Configuration\PHPUnitConfig;
use Paraunit\Configuration\TempFilenameFactory;
use Paraunit\File\Cle... | php | Apache-2.0 | c5bdee0de7c5292df1a0377fe6f6869f9c318177 | 2026-01-05T04:26:02.126557Z | false |
facile-it/paraunit | https://github.com/facile-it/paraunit/blob/c5bdee0de7c5292df1a0377fe6f6869f9c318177/src/Configuration/DependencyInjection/ParserDefinition.php | src/Configuration/DependencyInjection/ParserDefinition.php | <?php
declare(strict_types=1);
namespace Paraunit\Configuration\DependencyInjection;
use Paraunit\Logs\JSON\LogFetcher;
use Paraunit\Logs\JSON\LogHandler;
use Paraunit\Logs\JSON\LogParser;
use Paraunit\Logs\JSON\RetryParser;
use Symfony\Component\DependencyInjection\ContainerBuilder;
class ParserDefinition
{
pu... | php | Apache-2.0 | c5bdee0de7c5292df1a0377fe6f6869f9c318177 | 2026-01-05T04:26:02.126557Z | false |
facile-it/paraunit | https://github.com/facile-it/paraunit/blob/c5bdee0de7c5292df1a0377fe6f6869f9c318177/src/Printer/CoveragePrinter.php | src/Printer/CoveragePrinter.php | <?php
declare(strict_types=1);
namespace Paraunit\Printer;
use Paraunit\Coverage\CoverageDriver;
use Paraunit\Lifecycle\BeforeEngineStart;
use Paraunit\Process\CommandLineWithCoverage;
use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
class Coverag... | php | Apache-2.0 | c5bdee0de7c5292df1a0377fe6f6869f9c318177 | 2026-01-05T04:26:02.126557Z | false |
facile-it/paraunit | https://github.com/facile-it/paraunit/blob/c5bdee0de7c5292df1a0377fe6f6869f9c318177/src/Printer/ConsoleFormatter.php | src/Printer/ConsoleFormatter.php | <?php
declare(strict_types=1);
namespace Paraunit\Printer;
use Paraunit\Lifecycle\BeforeEngineStart;
use Paraunit\Printer\ValueObject\OutputStyle;
use Symfony\Component\Console\Formatter\OutputFormatterInterface;
use Symfony\Component\Console\Formatter\OutputFormatterStyle;
use Symfony\Component\EventDispatcher\Even... | php | Apache-2.0 | c5bdee0de7c5292df1a0377fe6f6869f9c318177 | 2026-01-05T04:26:02.126557Z | false |
facile-it/paraunit | https://github.com/facile-it/paraunit/blob/c5bdee0de7c5292df1a0377fe6f6869f9c318177/src/Printer/FailuresPrinter.php | src/Printer/FailuresPrinter.php | <?php
declare(strict_types=1);
namespace Paraunit\Printer;
use Paraunit\Configuration\PHPUnitConfig;
use Paraunit\Lifecycle\EngineEnd;
use Paraunit\Printer\ValueObject\OutputStyle;
use Paraunit\TestResult\TestResultContainer;
use Paraunit\TestResult\TestResultWithMessage;
use Paraunit\TestResult\ValueObject\TestIssu... | php | Apache-2.0 | c5bdee0de7c5292df1a0377fe6f6869f9c318177 | 2026-01-05T04:26:02.126557Z | false |
facile-it/paraunit | https://github.com/facile-it/paraunit/blob/c5bdee0de7c5292df1a0377fe6f6869f9c318177/src/Printer/FilesRecapPrinter.php | src/Printer/FilesRecapPrinter.php | <?php
declare(strict_types=1);
namespace Paraunit\Printer;
use Paraunit\Configuration\ChunkSize;
use Paraunit\Lifecycle\EngineEnd;
use Paraunit\Printer\ValueObject\OutputStyle;
use Paraunit\TestResult\TestResultContainer;
use Paraunit\TestResult\ValueObject\TestIssue;
use Paraunit\TestResult\ValueObject\TestOutcome;... | php | Apache-2.0 | c5bdee0de7c5292df1a0377fe6f6869f9c318177 | 2026-01-05T04:26:02.126557Z | false |
facile-it/paraunit | https://github.com/facile-it/paraunit/blob/c5bdee0de7c5292df1a0377fe6f6869f9c318177/src/Printer/FinalPrinter.php | src/Printer/FinalPrinter.php | <?php
declare(strict_types=1);
namespace Paraunit\Printer;
use Paraunit\Configuration\ChunkSize;
use Paraunit\Lifecycle\EngineEnd;
use Paraunit\Lifecycle\EngineStart;
use Paraunit\Lifecycle\ProcessParsingCompleted;
use Paraunit\Lifecycle\ProcessToBeRetried;
use Paraunit\Lifecycle\TestCompleted;
use Paraunit\TestResu... | php | Apache-2.0 | c5bdee0de7c5292df1a0377fe6f6869f9c318177 | 2026-01-05T04:26:02.126557Z | false |
facile-it/paraunit | https://github.com/facile-it/paraunit/blob/c5bdee0de7c5292df1a0377fe6f6869f9c318177/src/Printer/DebugPrinter.php | src/Printer/DebugPrinter.php | <?php
declare(strict_types=1);
namespace Paraunit\Printer;
use Paraunit\Lifecycle\ProcessParsingCompleted;
use Paraunit\Lifecycle\ProcessStarted;
use Paraunit\Lifecycle\ProcessTerminated;
use Paraunit\Lifecycle\ProcessToBeRetried;
use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\EventDispa... | php | Apache-2.0 | c5bdee0de7c5292df1a0377fe6f6869f9c318177 | 2026-01-05T04:26:02.126557Z | false |
facile-it/paraunit | https://github.com/facile-it/paraunit/blob/c5bdee0de7c5292df1a0377fe6f6869f9c318177/src/Printer/ProgressPrinter.php | src/Printer/ProgressPrinter.php | <?php
declare(strict_types=1);
namespace Paraunit\Printer;
use Paraunit\Lifecycle\EngineEnd;
use Paraunit\Lifecycle\ProcessToBeRetried;
use Paraunit\Lifecycle\TestCompleted;
use Paraunit\Printer\ValueObject\OutputStyle;
use Paraunit\TestResult\ValueObject\TestIssue;
use Paraunit\TestResult\ValueObject\TestOutcome;
u... | php | Apache-2.0 | c5bdee0de7c5292df1a0377fe6f6869f9c318177 | 2026-01-05T04:26:02.126557Z | false |
facile-it/paraunit | https://github.com/facile-it/paraunit/blob/c5bdee0de7c5292df1a0377fe6f6869f9c318177/src/Printer/SharkPrinter.php | src/Printer/SharkPrinter.php | <?php
declare(strict_types=1);
namespace Paraunit\Printer;
use Paraunit\Bin\Paraunit;
use Paraunit\Lifecycle\BeforeEngineStart;
use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
class SharkPrinter implements EventSubscriberInterface
{
public fu... | php | Apache-2.0 | c5bdee0de7c5292df1a0377fe6f6869f9c318177 | 2026-01-05T04:26:02.126557Z | false |
facile-it/paraunit | https://github.com/facile-it/paraunit/blob/c5bdee0de7c5292df1a0377fe6f6869f9c318177/src/Printer/ValueObject/OutputStyle.php | src/Printer/ValueObject/OutputStyle.php | <?php
declare(strict_types=1);
namespace Paraunit\Printer\ValueObject;
use Paraunit\TestResult\ValueObject\TestIssue;
use Paraunit\TestResult\ValueObject\TestOutcome;
enum OutputStyle: string
{
case Ok = 'ok';
case Skip = 'skip';
case Warning = 'warning';
case Incomplete = 'incomplete';
case Err... | php | Apache-2.0 | c5bdee0de7c5292df1a0377fe6f6869f9c318177 | 2026-01-05T04:26:02.126557Z | false |
facile-it/paraunit | https://github.com/facile-it/paraunit/blob/c5bdee0de7c5292df1a0377fe6f6869f9c318177/src/Lifecycle/AbstractProcessEvent.php | src/Lifecycle/AbstractProcessEvent.php | <?php
declare(strict_types=1);
namespace Paraunit\Lifecycle;
use Paraunit\Process\Process;
abstract class AbstractProcessEvent
{
public function __construct(private readonly Process $process) {}
public function getProcess(): Process
{
return $this->process;
}
}
| php | Apache-2.0 | c5bdee0de7c5292df1a0377fe6f6869f9c318177 | 2026-01-05T04:26:02.126557Z | false |
facile-it/paraunit | https://github.com/facile-it/paraunit/blob/c5bdee0de7c5292df1a0377fe6f6869f9c318177/src/Lifecycle/TestCompleted.php | src/Lifecycle/TestCompleted.php | <?php
declare(strict_types=1);
namespace Paraunit\Lifecycle;
use Paraunit\Logs\ValueObject\Test;
use Paraunit\TestResult\ValueObject\TestIssue;
use Paraunit\TestResult\ValueObject\TestOutcome;
class TestCompleted
{
public function __construct(
public readonly Test $test,
public readonly TestOutc... | php | Apache-2.0 | c5bdee0de7c5292df1a0377fe6f6869f9c318177 | 2026-01-05T04:26:02.126557Z | false |
facile-it/paraunit | https://github.com/facile-it/paraunit/blob/c5bdee0de7c5292df1a0377fe6f6869f9c318177/src/Lifecycle/BeforeEngineStart.php | src/Lifecycle/BeforeEngineStart.php | <?php
declare(strict_types=1);
namespace Paraunit\Lifecycle;
class BeforeEngineStart {}
| php | Apache-2.0 | c5bdee0de7c5292df1a0377fe6f6869f9c318177 | 2026-01-05T04:26:02.126557Z | false |
facile-it/paraunit | https://github.com/facile-it/paraunit/blob/c5bdee0de7c5292df1a0377fe6f6869f9c318177/src/Lifecycle/ProcessToBeRetried.php | src/Lifecycle/ProcessToBeRetried.php | <?php
declare(strict_types=1);
namespace Paraunit\Lifecycle;
class ProcessToBeRetried extends AbstractProcessEvent {}
| php | Apache-2.0 | c5bdee0de7c5292df1a0377fe6f6869f9c318177 | 2026-01-05T04:26:02.126557Z | false |
facile-it/paraunit | https://github.com/facile-it/paraunit/blob/c5bdee0de7c5292df1a0377fe6f6869f9c318177/src/Lifecycle/ProcessStarted.php | src/Lifecycle/ProcessStarted.php | <?php
declare(strict_types=1);
namespace Paraunit\Lifecycle;
class ProcessStarted extends AbstractProcessEvent {}
| php | Apache-2.0 | c5bdee0de7c5292df1a0377fe6f6869f9c318177 | 2026-01-05T04:26:02.126557Z | false |
facile-it/paraunit | https://github.com/facile-it/paraunit/blob/c5bdee0de7c5292df1a0377fe6f6869f9c318177/src/Lifecycle/ProcessTerminated.php | src/Lifecycle/ProcessTerminated.php | <?php
declare(strict_types=1);
namespace Paraunit\Lifecycle;
class ProcessTerminated extends AbstractProcessEvent {}
| php | Apache-2.0 | c5bdee0de7c5292df1a0377fe6f6869f9c318177 | 2026-01-05T04:26:02.126557Z | false |
facile-it/paraunit | https://github.com/facile-it/paraunit/blob/c5bdee0de7c5292df1a0377fe6f6869f9c318177/src/Lifecycle/EngineEnd.php | src/Lifecycle/EngineEnd.php | <?php
declare(strict_types=1);
namespace Paraunit\Lifecycle;
class EngineEnd {}
| php | Apache-2.0 | c5bdee0de7c5292df1a0377fe6f6869f9c318177 | 2026-01-05T04:26:02.126557Z | false |
facile-it/paraunit | https://github.com/facile-it/paraunit/blob/c5bdee0de7c5292df1a0377fe6f6869f9c318177/src/Lifecycle/ProcessParsingCompleted.php | src/Lifecycle/ProcessParsingCompleted.php | <?php
declare(strict_types=1);
namespace Paraunit\Lifecycle;
class ProcessParsingCompleted extends AbstractProcessEvent {}
| php | Apache-2.0 | c5bdee0de7c5292df1a0377fe6f6869f9c318177 | 2026-01-05T04:26:02.126557Z | false |
facile-it/paraunit | https://github.com/facile-it/paraunit/blob/c5bdee0de7c5292df1a0377fe6f6869f9c318177/src/Lifecycle/EngineStart.php | src/Lifecycle/EngineStart.php | <?php
declare(strict_types=1);
namespace Paraunit\Lifecycle;
class EngineStart {}
| php | Apache-2.0 | c5bdee0de7c5292df1a0377fe6f6869f9c318177 | 2026-01-05T04:26:02.126557Z | false |
facile-it/paraunit | https://github.com/facile-it/paraunit/blob/c5bdee0de7c5292df1a0377fe6f6869f9c318177/src/Coverage/CoverageDriver.php | src/Coverage/CoverageDriver.php | <?php
declare(strict_types=1);
namespace Paraunit\Coverage;
enum CoverageDriver
{
case Xdebug;
case Pcov;
case PHPDbg;
}
| php | Apache-2.0 | c5bdee0de7c5292df1a0377fe6f6869f9c318177 | 2026-01-05T04:26:02.126557Z | false |
facile-it/paraunit | https://github.com/facile-it/paraunit/blob/c5bdee0de7c5292df1a0377fe6f6869f9c318177/src/Coverage/CoverageMerger.php | src/Coverage/CoverageMerger.php | <?php
declare(strict_types=1);
namespace Paraunit\Coverage;
use Paraunit\Lifecycle\ProcessParsingCompleted;
use Paraunit\Process\Process;
use SebastianBergmann\CodeCoverage\CodeCoverage;
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
class CoverageMerger implements EventSubscriberInterface
{
pr... | php | Apache-2.0 | c5bdee0de7c5292df1a0377fe6f6869f9c318177 | 2026-01-05T04:26:02.126557Z | false |
facile-it/paraunit | https://github.com/facile-it/paraunit/blob/c5bdee0de7c5292df1a0377fe6f6869f9c318177/src/Coverage/CoverageFetcher.php | src/Coverage/CoverageFetcher.php | <?php
declare(strict_types=1);
namespace Paraunit\Coverage;
use Paraunit\Configuration\TempFilenameFactory;
use Paraunit\Logs\ValueObject\Test;
use Paraunit\Process\Process;
use Paraunit\Proxy\Coverage\FakeDriver;
use Paraunit\TestResult\TestResultContainer;
use Paraunit\TestResult\ValueObject\TestIssue;
use Parauni... | php | Apache-2.0 | c5bdee0de7c5292df1a0377fe6f6869f9c318177 | 2026-01-05T04:26:02.126557Z | false |
facile-it/paraunit | https://github.com/facile-it/paraunit/blob/c5bdee0de7c5292df1a0377fe6f6869f9c318177/src/Coverage/CoverageResult.php | src/Coverage/CoverageResult.php | <?php
declare(strict_types=1);
namespace Paraunit\Coverage;
use Paraunit\Coverage\Processor\CoverageProcessorInterface;
use Paraunit\Lifecycle\EngineEnd;
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
class CoverageResult implements EventSubscriberInterface
{
/** @var CoverageProcessorInterface... | php | Apache-2.0 | c5bdee0de7c5292df1a0377fe6f6869f9c318177 | 2026-01-05T04:26:02.126557Z | false |
facile-it/paraunit | https://github.com/facile-it/paraunit/blob/c5bdee0de7c5292df1a0377fe6f6869f9c318177/src/Coverage/Processor/Text.php | src/Coverage/Processor/Text.php | <?php
declare(strict_types=1);
namespace Paraunit\Coverage\Processor;
use Paraunit\Configuration\OutputFile;
use Symfony\Component\Console\Output\OutputInterface;
class Text extends AbstractText
{
public function __construct(OutputInterface $output, bool $showColors, ?OutputFile $targetFile = null)
{
... | php | Apache-2.0 | c5bdee0de7c5292df1a0377fe6f6869f9c318177 | 2026-01-05T04:26:02.126557Z | false |
facile-it/paraunit | https://github.com/facile-it/paraunit/blob/c5bdee0de7c5292df1a0377fe6f6869f9c318177/src/Coverage/Processor/CoverageProcessorInterface.php | src/Coverage/Processor/CoverageProcessorInterface.php | <?php
declare(strict_types=1);
namespace Paraunit\Coverage\Processor;
use SebastianBergmann\CodeCoverage\CodeCoverage;
interface CoverageProcessorInterface
{
/**
* @throws \RuntimeException If the processor is missing a needed info, like the target dir/filename
*/
public function process(CodeCover... | php | Apache-2.0 | c5bdee0de7c5292df1a0377fe6f6869f9c318177 | 2026-01-05T04:26:02.126557Z | false |
facile-it/paraunit | https://github.com/facile-it/paraunit/blob/c5bdee0de7c5292df1a0377fe6f6869f9c318177/src/Coverage/Processor/AbstractText.php | src/Coverage/Processor/AbstractText.php | <?php
declare(strict_types=1);
namespace Paraunit\Coverage\Processor;
use Paraunit\Configuration\OutputFile;
use SebastianBergmann\CodeCoverage\CodeCoverage;
use SebastianBergmann\CodeCoverage\Report\Text as PHPUnitText;
use SebastianBergmann\CodeCoverage\Report\Thresholds;
use Symfony\Component\Console\Output\Outpu... | php | Apache-2.0 | c5bdee0de7c5292df1a0377fe6f6869f9c318177 | 2026-01-05T04:26:02.126557Z | false |
facile-it/paraunit | https://github.com/facile-it/paraunit/blob/c5bdee0de7c5292df1a0377fe6f6869f9c318177/src/Coverage/Processor/TextSummary.php | src/Coverage/Processor/TextSummary.php | <?php
declare(strict_types=1);
namespace Paraunit\Coverage\Processor;
use Paraunit\Configuration\OutputFile;
use Symfony\Component\Console\Output\OutputInterface;
class TextSummary extends AbstractText
{
public function __construct(OutputInterface $output, bool $showColors, ?OutputFile $targetFile = null)
{... | php | Apache-2.0 | c5bdee0de7c5292df1a0377fe6f6869f9c318177 | 2026-01-05T04:26:02.126557Z | false |
facile-it/paraunit | https://github.com/facile-it/paraunit/blob/c5bdee0de7c5292df1a0377fe6f6869f9c318177/src/Coverage/Processor/Cobertura.php | src/Coverage/Processor/Cobertura.php | <?php
declare(strict_types=1);
namespace Paraunit\Coverage\Processor;
use Paraunit\Configuration\OutputFile;
use SebastianBergmann\CodeCoverage\CodeCoverage;
use SebastianBergmann\CodeCoverage\Report\Cobertura as PHPUnitCobertura;
class Cobertura implements CoverageProcessorInterface
{
private readonly PHPUnitC... | php | Apache-2.0 | c5bdee0de7c5292df1a0377fe6f6869f9c318177 | 2026-01-05T04:26:02.126557Z | false |
facile-it/paraunit | https://github.com/facile-it/paraunit/blob/c5bdee0de7c5292df1a0377fe6f6869f9c318177/src/Coverage/Processor/Xml.php | src/Coverage/Processor/Xml.php | <?php
declare(strict_types=1);
namespace Paraunit\Coverage\Processor;
use Paraunit\Configuration\OutputPath;
use PHPUnit\Runner\Version;
use SebastianBergmann\CodeCoverage\CodeCoverage;
use SebastianBergmann\CodeCoverage\Report\Xml\Facade;
class Xml implements CoverageProcessorInterface
{
private readonly Facad... | php | Apache-2.0 | c5bdee0de7c5292df1a0377fe6f6869f9c318177 | 2026-01-05T04:26:02.126557Z | false |
facile-it/paraunit | https://github.com/facile-it/paraunit/blob/c5bdee0de7c5292df1a0377fe6f6869f9c318177/src/Coverage/Processor/Html.php | src/Coverage/Processor/Html.php | <?php
declare(strict_types=1);
namespace Paraunit\Coverage\Processor;
use Paraunit\Configuration\OutputPath;
use SebastianBergmann\CodeCoverage\CodeCoverage;
use SebastianBergmann\CodeCoverage\Report\Html\Facade;
class Html implements CoverageProcessorInterface
{
private readonly Facade $html;
public funct... | php | Apache-2.0 | c5bdee0de7c5292df1a0377fe6f6869f9c318177 | 2026-01-05T04:26:02.126557Z | false |
facile-it/paraunit | https://github.com/facile-it/paraunit/blob/c5bdee0de7c5292df1a0377fe6f6869f9c318177/src/Coverage/Processor/Crap4j.php | src/Coverage/Processor/Crap4j.php | <?php
declare(strict_types=1);
namespace Paraunit\Coverage\Processor;
use Paraunit\Configuration\OutputFile;
use SebastianBergmann\CodeCoverage\CodeCoverage;
use SebastianBergmann\CodeCoverage\Report\Crap4j as PHPUnitCrap4j;
class Crap4j implements CoverageProcessorInterface
{
private readonly PHPUnitCrap4j $cr... | php | Apache-2.0 | c5bdee0de7c5292df1a0377fe6f6869f9c318177 | 2026-01-05T04:26:02.126557Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.