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
elarity/ti-rpc
https://github.com/elarity/ti-rpc/blob/366baa5b34d34c48dcad8aa7ce7ba19371b64431/System/Library/RNCryptor/Decryptor.php
System/Library/RNCryptor/Decryptor.php
<?php namespace System\Library\RNCryptor; use stdClass; /** * RNDecryptor for PHP * * Decrypt data interchangeably with Rob Napier's Objective-C implementation * of RNCryptor */ class Decryptor extends Cryptor { /** * Decrypt RNCryptor-encrypted data * * @param string $base64EncryptedData Encr...
php
MIT
366baa5b34d34c48dcad8aa7ce7ba19371b64431
2026-01-05T04:31:31.101806Z
false
elarity/ti-rpc
https://github.com/elarity/ti-rpc/blob/366baa5b34d34c48dcad8aa7ce7ba19371b64431/System/Library/RNCryptor/Cryptor.php
System/Library/RNCryptor/Cryptor.php
<?php namespace System\Library\RNCryptor; use stdClass; class Cryptor { const DEFAULT_SCHEMA_VERSION = 3; protected $config; public function generateKey($salt, $password, $version = self::DEFAULT_SCHEMA_VERSION) { $this->configure($version); return $this->makeKey($salt, $password)...
php
MIT
366baa5b34d34c48dcad8aa7ce7ba19371b64431
2026-01-05T04:31:31.101806Z
false
elarity/ti-rpc
https://github.com/elarity/ti-rpc/blob/366baa5b34d34c48dcad8aa7ce7ba19371b64431/System/Library/Valitron/Validator.php
System/Library/Valitron/Validator.php
<?php namespace System\Library\Valitron; /** * Validation Class * * Validates input against certain criteria * * @package Valitron * @author Vance Lucas <vance@vancelucas.com> * @link http://www.vancelucas.com/ */ class Validator { /** * @var string */ const ERROR_DEFAULT = 'Invalid'; ...
php
MIT
366baa5b34d34c48dcad8aa7ce7ba19371b64431
2026-01-05T04:31:31.101806Z
true
elarity/ti-rpc
https://github.com/elarity/ti-rpc/blob/366baa5b34d34c48dcad8aa7ce7ba19371b64431/System/Library/Valitron/lang/it.php
System/Library/Valitron/lang/it.php
<?php return array( 'required' => "è obbligatorio", 'equals' => "deve essere uguale a '%s'", 'different' => "deve essere differente da '%s'", 'accepted' => "deve essere accettato", 'numeric' => "deve essere numerico", 'integer' => "deve essere un intero", 'l...
php
MIT
366baa5b34d34c48dcad8aa7ce7ba19371b64431
2026-01-05T04:31:31.101806Z
false
elarity/ti-rpc
https://github.com/elarity/ti-rpc/blob/366baa5b34d34c48dcad8aa7ce7ba19371b64431/System/Library/Valitron/lang/ro.php
System/Library/Valitron/lang/ro.php
<?php return array( 'required' => "se cere", 'equals' => "trebuie sa fie la fel ca '%s'", 'different' => "trebuie sa fie diferit de '%s'", 'accepted' => "trebuie sa fie acceptat", 'numeric' => "trebuie sa fie numeric", 'integer' => "trebuie sa fie intreg", '...
php
MIT
366baa5b34d34c48dcad8aa7ce7ba19371b64431
2026-01-05T04:31:31.101806Z
false
elarity/ti-rpc
https://github.com/elarity/ti-rpc/blob/366baa5b34d34c48dcad8aa7ce7ba19371b64431/System/Library/Valitron/lang/lt.php
System/Library/Valitron/lang/lt.php
<?php return array( 'required' => "yra privalomas", 'equals' => "reikšmė turi būti tokia pati, kaip „%s“", 'different' => "turi būti kitokia, nei „%s“", 'accepted' => "turi būti priimta", 'numeric' => "turi būti sveikasis skaičius", 'integer' => "turi būti skaiči...
php
MIT
366baa5b34d34c48dcad8aa7ce7ba19371b64431
2026-01-05T04:31:31.101806Z
false
elarity/ti-rpc
https://github.com/elarity/ti-rpc/blob/366baa5b34d34c48dcad8aa7ce7ba19371b64431/System/Library/Valitron/lang/tr.php
System/Library/Valitron/lang/tr.php
<?php return array( 'required' => "gerekli ", 'equals' => "bununla aynı olmalı '%s'", 'different' => "bundan değişik olmalı '%s'", 'accepted' => "kabul edilebilir olmalı", 'numeric' => "numerik olmalı", 'integer' => "sayı olmalı", 'length' => "en az %...
php
MIT
366baa5b34d34c48dcad8aa7ce7ba19371b64431
2026-01-05T04:31:31.101806Z
false
elarity/ti-rpc
https://github.com/elarity/ti-rpc/blob/366baa5b34d34c48dcad8aa7ce7ba19371b64431/System/Library/Valitron/lang/ar.php
System/Library/Valitron/lang/ar.php
<?php return array( 'required' => "مطلوب", 'equals' => "يجب أن يكون مساوي لي '%s'", 'different' => "يجب ان يكون غير '%s'", 'accepted' => "يجب ان يكون نعم", 'numeric' => "يجب ان يكون رقم", 'integer' => "يجب ان يكون رقم (0-9)", 'length' => "يجب ان يكون ...
php
MIT
366baa5b34d34c48dcad8aa7ce7ba19371b64431
2026-01-05T04:31:31.101806Z
false
elarity/ti-rpc
https://github.com/elarity/ti-rpc/blob/366baa5b34d34c48dcad8aa7ce7ba19371b64431/System/Library/Valitron/lang/nl.php
System/Library/Valitron/lang/nl.php
<?php return array( 'required' => "is verplicht", 'equals' => "moet gelijk zijn aan '%s'", 'different' => "moet verschillend zijn van '%s'", 'accepted' => "moet aanvaard worden", 'numeric' => "moet numeriek zijn", 'integer' => "moet een cijfer zijn", 'length...
php
MIT
366baa5b34d34c48dcad8aa7ce7ba19371b64431
2026-01-05T04:31:31.101806Z
false
elarity/ti-rpc
https://github.com/elarity/ti-rpc/blob/366baa5b34d34c48dcad8aa7ce7ba19371b64431/System/Library/Valitron/lang/ja.php
System/Library/Valitron/lang/ja.php
<?php return array( 'required' => "を入力してください", 'equals' => "は「%s」と同じ内容を入力してください", 'different' => "は「%s」と異なる内容を入力してください", 'accepted' => "に同意してください", 'numeric' => "は数値を入力してください", 'integer' => "は半角数字で入力してください", 'length' => "は%d文字で入力してください", 'min' ...
php
MIT
366baa5b34d34c48dcad8aa7ce7ba19371b64431
2026-01-05T04:31:31.101806Z
false
elarity/ti-rpc
https://github.com/elarity/ti-rpc/blob/366baa5b34d34c48dcad8aa7ce7ba19371b64431/System/Library/Valitron/lang/sk.php
System/Library/Valitron/lang/sk.php
<?php return array( 'required' => "je povinná položka", 'equals' => "musí byť rovnaký ako '%s'", 'different' => "musí byť rôzny od '%s'", 'accepted' => "musí byť akceptovaný", 'numeric' => "musí byť číslo", 'integer' => "musí byť celé číslo", 'length' ...
php
MIT
366baa5b34d34c48dcad8aa7ce7ba19371b64431
2026-01-05T04:31:31.101806Z
false
elarity/ti-rpc
https://github.com/elarity/ti-rpc/blob/366baa5b34d34c48dcad8aa7ce7ba19371b64431/System/Library/Valitron/lang/vi.php
System/Library/Valitron/lang/vi.php
<?php return array( 'required' => "là bắt buộc", 'equals' => "phải giống '%s'", 'different' => "phải khác '%s'", 'accepted' => "được chấp nhận", 'numeric' => "phải là số", 'integer' => "phải là số nguyên", 'length' => "phải dài hơn %d", 'min' ...
php
MIT
366baa5b34d34c48dcad8aa7ce7ba19371b64431
2026-01-05T04:31:31.101806Z
false
elarity/ti-rpc
https://github.com/elarity/ti-rpc/blob/366baa5b34d34c48dcad8aa7ce7ba19371b64431/System/Library/Valitron/lang/id.php
System/Library/Valitron/lang/id.php
<?php return array( 'required' => "harus diisi", 'equals' => "harus sama dengan '%s'", 'different' => "harus berbeda dengan '%s'", 'accepted' => "harus diterima (accepted)", 'numeric' => "harus berupa nomor/angka", 'integer' => "harus berupa nilai integer", ...
php
MIT
366baa5b34d34c48dcad8aa7ce7ba19371b64431
2026-01-05T04:31:31.101806Z
false
elarity/ti-rpc
https://github.com/elarity/ti-rpc/blob/366baa5b34d34c48dcad8aa7ce7ba19371b64431/System/Library/Valitron/lang/ko.php
System/Library/Valitron/lang/ko.php
<?php return array( 'required' => "을(를) 입력해야 합니다.", 'equals' => "은(는) '%s'와(과) 같아야 합니다.", 'different' => "은(는) '%s'와(과) 달라야 합니다.", 'accepted' => "을(를) 동의해야 합니다.", 'numeric' => "은(는) 숫자여야 합니다.", 'integer' => "은(는) 정수여야 합니다.", 'length' => "의 길이는 %d 이어야 ...
php
MIT
366baa5b34d34c48dcad8aa7ce7ba19371b64431
2026-01-05T04:31:31.101806Z
false
elarity/ti-rpc
https://github.com/elarity/ti-rpc/blob/366baa5b34d34c48dcad8aa7ce7ba19371b64431/System/Library/Valitron/lang/fi.php
System/Library/Valitron/lang/fi.php
<?php return array( 'required' => "vaaditaan", 'equals' => "ei ole sama kuin '%s'", 'different' => "on sama kuin '%s'", 'accepted' => "ei ole hyväksytty", 'numeric' => "ei ole numeerinen", 'integer' => "ei ole kokonaisluku", 'length' => "on lyhyempi k...
php
MIT
366baa5b34d34c48dcad8aa7ce7ba19371b64431
2026-01-05T04:31:31.101806Z
false
elarity/ti-rpc
https://github.com/elarity/ti-rpc/blob/366baa5b34d34c48dcad8aa7ce7ba19371b64431/System/Library/Valitron/lang/pl.php
System/Library/Valitron/lang/pl.php
<?php return array( 'required' => "jest wymagane", 'equals' => "musi być takie same jak '%s'", 'different' => "musi być różne od '%s'", 'accepted' => "musi być zaakceptowane", 'numeric' => "musi być liczbą", 'integer' => "musi być liczbą całkowitą", 'length'...
php
MIT
366baa5b34d34c48dcad8aa7ce7ba19371b64431
2026-01-05T04:31:31.101806Z
false
elarity/ti-rpc
https://github.com/elarity/ti-rpc/blob/366baa5b34d34c48dcad8aa7ce7ba19371b64431/System/Library/Valitron/lang/lv.php
System/Library/Valitron/lang/lv.php
<?php return array( 'required' => "ir obligāts lauks", 'equals' => "jāsakrīt ar '%s'", 'different' => "nedrīkst sakrist ar '%s' lauku", 'accepted' => "laukam jābūt apstiprinātam", 'numeric' => "jābūt skaitliskai vērtībai", 'integer' => "jābūt ciparam (0-9)", ...
php
MIT
366baa5b34d34c48dcad8aa7ce7ba19371b64431
2026-01-05T04:31:31.101806Z
false
elarity/ti-rpc
https://github.com/elarity/ti-rpc/blob/366baa5b34d34c48dcad8aa7ce7ba19371b64431/System/Library/Valitron/lang/uk.php
System/Library/Valitron/lang/uk.php
<?php return array( 'required' => "обов'язкове для заповнення", 'equals' => "має містити '%s'", 'different' => "має відрізнятися від '%s'", 'accepted' => "має бути вказаним", 'numeric' => "має містити числове значення", 'integer' => "має бути числом", 'lengt...
php
MIT
366baa5b34d34c48dcad8aa7ce7ba19371b64431
2026-01-05T04:31:31.101806Z
false
elarity/ti-rpc
https://github.com/elarity/ti-rpc/blob/366baa5b34d34c48dcad8aa7ce7ba19371b64431/System/Library/Valitron/lang/pt-br.php
System/Library/Valitron/lang/pt-br.php
<?php return array( 'required' => "é obrigatório", 'equals' => "deve ser o mesmo que '%s'", 'different' => "deve ser diferente de '%s'", 'accepted' => "deve ser aceito", 'numeric' => "deve ser um número", 'integer' => "deve ser um inteiro", 'length' =...
php
MIT
366baa5b34d34c48dcad8aa7ce7ba19371b64431
2026-01-05T04:31:31.101806Z
false
elarity/ti-rpc
https://github.com/elarity/ti-rpc/blob/366baa5b34d34c48dcad8aa7ce7ba19371b64431/System/Library/Valitron/lang/zh-cn.php
System/Library/Valitron/lang/zh-cn.php
<?php return array( 'required' => "不能为空", 'equals' => "必须和 '%s' 一致", 'different' => "必须和 '%s' 不一致", 'accepted' => "必须接受", 'numeric' => "只能是数字", 'integer' => "只能是整数", 'length' => "长度必须大于 %d", 'min' => "必须大于 %s", 'max' => "必须...
php
MIT
366baa5b34d34c48dcad8aa7ce7ba19371b64431
2026-01-05T04:31:31.101806Z
false
elarity/ti-rpc
https://github.com/elarity/ti-rpc/blob/366baa5b34d34c48dcad8aa7ce7ba19371b64431/System/Library/Valitron/lang/es.php
System/Library/Valitron/lang/es.php
<?php return array( 'required' => "es obligatorio", 'equals' => "debe ser igual a '%s'", 'different' => "debe ser diferente a '%s'", 'accepted' => "debe ser aceptado", 'numeric' => "debe ser numérico", 'integer' => "debe ser un entero", 'length' => "d...
php
MIT
366baa5b34d34c48dcad8aa7ce7ba19371b64431
2026-01-05T04:31:31.101806Z
false
elarity/ti-rpc
https://github.com/elarity/ti-rpc/blob/366baa5b34d34c48dcad8aa7ce7ba19371b64431/System/Library/Valitron/lang/az.php
System/Library/Valitron/lang/az.php
<?php return array( 'required' => "mütləqdir", 'equals' => "'%s' olmalıdır", 'different' => "'%s'-dən fərqli olmalıdır", 'accepted' => "Qeyd dilməlidir", 'numeric' => "rəqəm olmalıdır", 'integer' => "tam ədəd olmalıdır", 'length' => "%d qədər uzunluğu...
php
MIT
366baa5b34d34c48dcad8aa7ce7ba19371b64431
2026-01-05T04:31:31.101806Z
false
elarity/ti-rpc
https://github.com/elarity/ti-rpc/blob/366baa5b34d34c48dcad8aa7ce7ba19371b64431/System/Library/Valitron/lang/el.php
System/Library/Valitron/lang/el.php
<?php return array( 'required' => "είναι απαραίτητο", 'equals' => "πρέπει να είναι ίδιο με '%s'", 'different' => "πρέπει να διαφέρει από '%s'", 'accepted' => "πρέπει να έχει αποδεχτεί", 'numeric' => "πρέπει να είναι αριθμός", 'integer' => "πρέπει να είναι ακέραι...
php
MIT
366baa5b34d34c48dcad8aa7ce7ba19371b64431
2026-01-05T04:31:31.101806Z
false
elarity/ti-rpc
https://github.com/elarity/ti-rpc/blob/366baa5b34d34c48dcad8aa7ce7ba19371b64431/System/Library/Valitron/lang/bg.php
System/Library/Valitron/lang/bg.php
<?php return array( 'required' => "е задължително", 'equals' => "трябва да бъде същото като '%s'", 'different' => "трябва да бъде различно от '%s'", 'accepted' => "трабва да бъде прието", 'numeric' => "трябва да бъде число", 'integer' => "трябва да бъде цифра (0...
php
MIT
366baa5b34d34c48dcad8aa7ce7ba19371b64431
2026-01-05T04:31:31.101806Z
false
elarity/ti-rpc
https://github.com/elarity/ti-rpc/blob/366baa5b34d34c48dcad8aa7ce7ba19371b64431/System/Library/Valitron/lang/fr.php
System/Library/Valitron/lang/fr.php
<?php return array( 'required' => "est obligatoire", 'equals' => "doit être identique à '%s'", 'different' => "doit être différent de '%s'", 'accepted' => "doit être accepté", 'numeric' => "doit être numérique", 'integer' => "doit être un entier", 'length' ...
php
MIT
366baa5b34d34c48dcad8aa7ce7ba19371b64431
2026-01-05T04:31:31.101806Z
false
elarity/ti-rpc
https://github.com/elarity/ti-rpc/blob/366baa5b34d34c48dcad8aa7ce7ba19371b64431/System/Library/Valitron/lang/th.php
System/Library/Valitron/lang/th.php
<?php return array( 'required' => "นั้นจำเป็นต้องมี", 'equals' => "ต้องเหมือนกับ '%s'", 'different' => "ต้องแตกต่างจาก '%s'", 'accepted' => "ต้องถูกยอมรับ", 'numeric' => "ต้องเป็นตัวเลข", 'integer' => "ต้องเป็นตัวเลข integer", 'length' => "ต้องมีความย...
php
MIT
366baa5b34d34c48dcad8aa7ce7ba19371b64431
2026-01-05T04:31:31.101806Z
false
elarity/ti-rpc
https://github.com/elarity/ti-rpc/blob/366baa5b34d34c48dcad8aa7ce7ba19371b64431/System/Library/Valitron/lang/ru.php
System/Library/Valitron/lang/ru.php
<?php return array( 'required' => "обязательно для заполнения", 'equals' => "должно совпадать со значением '%s'", 'different' => "должно отличаться от '%s'", 'accepted' => "должно быть указано", 'numeric' => "должно содержать числовое значение", 'integer' ...
php
MIT
366baa5b34d34c48dcad8aa7ce7ba19371b64431
2026-01-05T04:31:31.101806Z
false
elarity/ti-rpc
https://github.com/elarity/ti-rpc/blob/366baa5b34d34c48dcad8aa7ce7ba19371b64431/System/Library/Valitron/lang/sv.php
System/Library/Valitron/lang/sv.php
<?php return array( 'required' => "är obligatorisk", 'equals' => "måste vara samma som '%s'", 'different' => "får inte vara samma som '%s'", 'accepted' => "måste accepteras", 'numeric' => "måste vara numerisk", 'integer' => "måste vara ett heltal", 'length' => "måste vara...
php
MIT
366baa5b34d34c48dcad8aa7ce7ba19371b64431
2026-01-05T04:31:31.101806Z
false
elarity/ti-rpc
https://github.com/elarity/ti-rpc/blob/366baa5b34d34c48dcad8aa7ce7ba19371b64431/System/Library/Valitron/lang/no.php
System/Library/Valitron/lang/no.php
<?php return array( 'required' => "er nødvendig", 'equals' => "må være de samme som '%s'", 'different' => "må være annerledes enn '%s'", 'accepted' => "må aksepteres", 'numeric' => "må være numerisk", 'integer' => "må være et heltall", 'length' => "må...
php
MIT
366baa5b34d34c48dcad8aa7ce7ba19371b64431
2026-01-05T04:31:31.101806Z
false
elarity/ti-rpc
https://github.com/elarity/ti-rpc/blob/366baa5b34d34c48dcad8aa7ce7ba19371b64431/System/Library/Valitron/lang/en.php
System/Library/Valitron/lang/en.php
<?php return array( 'required' => "is required", 'equals' => "must be the same as '%s'", 'different' => "must be different than '%s'", 'accepted' => "must be accepted", 'numeric' => "must be numeric", 'integer' => "must be an integer", 'length' ...
php
MIT
366baa5b34d34c48dcad8aa7ce7ba19371b64431
2026-01-05T04:31:31.101806Z
false
elarity/ti-rpc
https://github.com/elarity/ti-rpc/blob/366baa5b34d34c48dcad8aa7ce7ba19371b64431/System/Library/Valitron/lang/zh-tw.php
System/Library/Valitron/lang/zh-tw.php
<?php return array( 'required' => "不能為空", 'equals' => "必須和 '%s' 一致", 'different' => "必須和 '%s' 不一致", 'accepted' => "必須接受", 'numeric' => "只能是數字", 'integer' => "只能是整數", 'length' => "長度必須大於 %d", 'min' => "必須大於 %s", 'max' => "必須...
php
MIT
366baa5b34d34c48dcad8aa7ce7ba19371b64431
2026-01-05T04:31:31.101806Z
false
elarity/ti-rpc
https://github.com/elarity/ti-rpc/blob/366baa5b34d34c48dcad8aa7ce7ba19371b64431/System/Library/Valitron/lang/de.php
System/Library/Valitron/lang/de.php
<?php return array( 'required' => "ist erforderlich", 'equals' => "muss identisch mit '%s' sein", 'different' => "muss sich von '%s' unterscheiden", 'accepted' => "muss markiert sein", 'numeric' => "muss eine Zahl sein", 'integer' => "muss eine ganze Zahl sein",...
php
MIT
366baa5b34d34c48dcad8aa7ce7ba19371b64431
2026-01-05T04:31:31.101806Z
false
elarity/ti-rpc
https://github.com/elarity/ti-rpc/blob/366baa5b34d34c48dcad8aa7ce7ba19371b64431/System/Library/Curl/Encoder.php
System/Library/Curl/Encoder.php
<?php namespace System\Library\Curl; class Encoder { /** * Encode JSON * * Wrap json_encode() to throw error when the value being encoded fails. * * @access public * @param $value * @param $options * @param $depth * * @return string * @throws \ErrorExcepti...
php
MIT
366baa5b34d34c48dcad8aa7ce7ba19371b64431
2026-01-05T04:31:31.101806Z
false
elarity/ti-rpc
https://github.com/elarity/ti-rpc/blob/366baa5b34d34c48dcad8aa7ce7ba19371b64431/System/Library/Curl/Curl.php
System/Library/Curl/Curl.php
<?php namespace System\Library\Curl; use System\Library\Curl\ArrayUtil; use System\Library\Curl\Decoder; class Curl { const VERSION = '8.5.0'; const DEFAULT_TIMEOUT = 30; public $curl; public $id = null; public $error = false; public $errorCode = 0; public $errorMessage = null; pub...
php
MIT
366baa5b34d34c48dcad8aa7ce7ba19371b64431
2026-01-05T04:31:31.101806Z
true
elarity/ti-rpc
https://github.com/elarity/ti-rpc/blob/366baa5b34d34c48dcad8aa7ce7ba19371b64431/System/Library/Curl/MultiCurl.php
System/Library/Curl/MultiCurl.php
<?php namespace System\Library\Curl; class MultiCurl { public $baseUrl = null; public $multiCurl; private $curls = array(); private $activeCurls = array(); private $isStarted = false; private $concurrency = 25; private $nextCurlId = 0; private $beforeSendCallback = null; private ...
php
MIT
366baa5b34d34c48dcad8aa7ce7ba19371b64431
2026-01-05T04:31:31.101806Z
false
elarity/ti-rpc
https://github.com/elarity/ti-rpc/blob/366baa5b34d34c48dcad8aa7ce7ba19371b64431/System/Library/Curl/Url.php
System/Library/Curl/Url.php
<?php namespace System\Library\Curl; use System\Library\Curl\StringUtil; class Url { private $baseUrl = null; private $relativeUrl = null; public function __construct($base_url, $relative_url = null) { $this->baseUrl = $base_url; $this->relativeUrl = $relative_url; } public ...
php
MIT
366baa5b34d34c48dcad8aa7ce7ba19371b64431
2026-01-05T04:31:31.101806Z
false
elarity/ti-rpc
https://github.com/elarity/ti-rpc/blob/366baa5b34d34c48dcad8aa7ce7ba19371b64431/System/Library/Curl/ArrayUtil.php
System/Library/Curl/ArrayUtil.php
<?php namespace System\Library\Curl; class ArrayUtil { /** * Is Array Assoc * * @access public * @param $array * * @return boolean */ public static function is_array_assoc($array) { return (bool)count(array_filter(array_keys($array), 'is_string')); } /*...
php
MIT
366baa5b34d34c48dcad8aa7ce7ba19371b64431
2026-01-05T04:31:31.101806Z
false
elarity/ti-rpc
https://github.com/elarity/ti-rpc/blob/366baa5b34d34c48dcad8aa7ce7ba19371b64431/System/Library/Curl/StringUtil.php
System/Library/Curl/StringUtil.php
<?php namespace System\Library\Curl; class StringUtil { public static function characterReversePosition($haystack, $needle, $part = false) { if (function_exists('\mb_strrchr')) { return \mb_strrchr($haystack, $needle, $part); } else { return \strrchr($haystack, $needle)...
php
MIT
366baa5b34d34c48dcad8aa7ce7ba19371b64431
2026-01-05T04:31:31.101806Z
false
elarity/ti-rpc
https://github.com/elarity/ti-rpc/blob/366baa5b34d34c48dcad8aa7ce7ba19371b64431/System/Library/Curl/Decoder.php
System/Library/Curl/Decoder.php
<?php namespace System\Library\Curl; class Decoder { /** * Decode JSON * * @access public * @param $json * @param $assoc * @param $depth * @param $options */ public static function decodeJson() { $args = func_get_args(); // Call json_decode() wi...
php
MIT
366baa5b34d34c48dcad8aa7ce7ba19371b64431
2026-01-05T04:31:31.101806Z
false
elarity/ti-rpc
https://github.com/elarity/ti-rpc/blob/366baa5b34d34c48dcad8aa7ce7ba19371b64431/System/Library/Curl/CaseInsensitiveArray.php
System/Library/Curl/CaseInsensitiveArray.php
<?php namespace System\Library\Curl; class CaseInsensitiveArray implements \ArrayAccess, \Countable, \Iterator { /** * @var mixed[] Data storage with lower-case keys * @see offsetSet() * @see offsetExists() * @see offsetUnset() * @see offsetGet() * @see count() * @see current()...
php
MIT
366baa5b34d34c48dcad8aa7ce7ba19371b64431
2026-01-05T04:31:31.101806Z
false
lkrms/pretty-php
https://github.com/lkrms/pretty-php/blob/5d244a4b7a9b484581edbb5df596a4e76ba17fa6/.php-cs-fixer.dist.php
.php-cs-fixer.dist.php
<?php $customTokens = [ 'T_VOID_CAST', 'T_PIPE', 'T_ATTRIBUTE_COMMENT', 'T_CLOSE_ALT', 'T_NULL', 'T_OPEN_UNENCLOSED', 'T_CLOSE_UNENCLOSED', 'T_LOGICAL_NOT', 'T_DOUBLE_QUOTE', 'T_DOLLAR', 'T_MOD', 'T_AND', 'T_OPEN_PARENTHESIS', 'T_CLOSE_PARENTHESIS', 'T_MUL', ...
php
MIT
5d244a4b7a9b484581edbb5df596a4e76ba17fa6
2026-01-05T04:31:39.990954Z
false
lkrms/pretty-php
https://github.com/lkrms/pretty-php/blob/5d244a4b7a9b484581edbb5df596a4e76ba17fa6/bootstrap.php
bootstrap.php
<?php declare(strict_types=1); (function () { $maybeDefined = [ // PHP 8.0 'T_ATTRIBUTE' => true, 'T_MATCH' => true, 'T_NAME_FULLY_QUALIFIED' => true, 'T_NAME_QUALIFIED' => true, 'T_NAME_RELATIVE' => true, 'T_NULLSAFE_OBJECT_OPERATOR' => true, // PHP ...
php
MIT
5d244a4b7a9b484581edbb5df596a4e76ba17fa6
2026-01-05T04:31:39.990954Z
false
lkrms/pretty-php
https://github.com/lkrms/pretty-php/blob/5d244a4b7a9b484581edbb5df596a4e76ba17fa6/scripts/update-3rdparty-fixtures.php
scripts/update-3rdparty-fixtures.php
#!/usr/bin/env php <?php declare(strict_types=1); use Lkrms\PrettyPHP\Tests\FormatterTest; use Lkrms\PrettyPHP\Tests\PhpParserTestParser; use Salient\Cli\CliApplication; use Salient\Core\Facade\Console; use Salient\Utility\File; use Salient\Utility\Inflect; use Salient\Utility\Regex; use Salient\Utility\Str; use Salie...
php
MIT
5d244a4b7a9b484581edbb5df596a4e76ba17fa6
2026-01-05T04:31:39.990954Z
false
lkrms/pretty-php
https://github.com/lkrms/pretty-php/blob/5d244a4b7a9b484581edbb5df596a4e76ba17fa6/scripts/get-rules.php
scripts/get-rules.php
#!/usr/bin/env php <?php declare(strict_types=1); use Lkrms\PrettyPHP\Catalog\DeclarationType as Type; use Lkrms\PrettyPHP\Contract\BlockRule; use Lkrms\PrettyPHP\Contract\DeclarationRule; use Lkrms\PrettyPHP\Contract\HasTokenNames; use Lkrms\PrettyPHP\Contract\ListRule; use Lkrms\PrettyPHP\Contract\Rule; use Lkrms\Pr...
php
MIT
5d244a4b7a9b484581edbb5df596a4e76ba17fa6
2026-01-05T04:31:39.990954Z
false
lkrms/pretty-php
https://github.com/lkrms/pretty-php/blob/5d244a4b7a9b484581edbb5df596a4e76ba17fa6/scripts/parse.php
scripts/parse.php
#!/usr/bin/env php <?php declare(strict_types=1); use Lkrms\PrettyPHP\Catalog\FormatterFlag; use Lkrms\PrettyPHP\Formatter; use Lkrms\PrettyPHP\GenericToken; use Lkrms\PrettyPHP\Token; use PhpParser\NodeDumper; use PhpParser\ParserFactory; use Salient\Cli\CliApplication; use Salient\Core\Facade\Console; use Salient\Ut...
php
MIT
5d244a4b7a9b484581edbb5df596a4e76ba17fa6
2026-01-05T04:31:39.990954Z
false
lkrms/pretty-php
https://github.com/lkrms/pretty-php/blob/5d244a4b7a9b484581edbb5df596a4e76ba17fa6/scripts/update-out-fixtures.php
scripts/update-out-fixtures.php
#!/usr/bin/env php <?php declare(strict_types=1); use Lkrms\PrettyPHP\Exception\InvalidSyntaxException; use Lkrms\PrettyPHP\Tests\FormatterTest; use Salient\Cli\CliApplication; use Salient\Core\Facade\Console; use Salient\Utility\File; use Salient\Utility\Inflect; use Salient\Utility\Json; require dirname(__DIR__) . ...
php
MIT
5d244a4b7a9b484581edbb5df596a4e76ba17fa6
2026-01-05T04:31:39.990954Z
false
lkrms/pretty-php
https://github.com/lkrms/pretty-php/blob/5d244a4b7a9b484581edbb5df596a4e76ba17fa6/scripts/update-fixture-index.php
scripts/update-fixture-index.php
#!/usr/bin/env php <?php declare(strict_types=1); use Lkrms\PrettyPHP\Tests\FormatterTest; use Salient\Cli\CliApplication; use Salient\Core\Facade\Console; use Salient\Utility\File; use Salient\Utility\Inflect; use Salient\Utility\Json; use Salient\Utility\Test; require dirname(__DIR__) . '/vendor/autoload.php'; $ap...
php
MIT
5d244a4b7a9b484581edbb5df596a4e76ba17fa6
2026-01-05T04:31:39.990954Z
false
lkrms/pretty-php
https://github.com/lkrms/pretty-php/blob/5d244a4b7a9b484581edbb5df596a4e76ba17fa6/tools/apigen/src/AnalyzerFilter.php
tools/apigen/src/AnalyzerFilter.php
<?php declare(strict_types=1); namespace Lkrms\ApiGen; use ApiGen\Analyzer\Filter; class AnalyzerFilter extends Filter {}
php
MIT
5d244a4b7a9b484581edbb5df596a4e76ba17fa6
2026-01-05T04:31:39.990954Z
false
lkrms/pretty-php
https://github.com/lkrms/pretty-php/blob/5d244a4b7a9b484581edbb5df596a4e76ba17fa6/tools/apigen/src/RendererFilter.php
tools/apigen/src/RendererFilter.php
<?php declare(strict_types=1); namespace Lkrms\ApiGen; use ApiGen\Renderer\Filter; class RendererFilter extends Filter {}
php
MIT
5d244a4b7a9b484581edbb5df596a4e76ba17fa6
2026-01-05T04:31:39.990954Z
false
lkrms/pretty-php
https://github.com/lkrms/pretty-php/blob/5d244a4b7a9b484581edbb5df596a4e76ba17fa6/src/Token.php
src/Token.php
<?php declare(strict_types=1); namespace Lkrms\PrettyPHP; use Lkrms\PrettyPHP\Catalog\DeclarationType as Type; use Lkrms\PrettyPHP\Catalog\TokenData as Data; use Lkrms\PrettyPHP\Catalog\TokenFlag as Flag; use Lkrms\PrettyPHP\Catalog\TokenFlagMask as Mask; use Lkrms\PrettyPHP\Catalog\TokenSubId as SubId; use Lkrms\Pre...
php
MIT
5d244a4b7a9b484581edbb5df596a4e76ba17fa6
2026-01-05T04:31:39.990954Z
true
lkrms/pretty-php
https://github.com/lkrms/pretty-php/blob/5d244a4b7a9b484581edbb5df596a4e76ba17fa6/src/TokenIndex.php
src/TokenIndex.php
<?php declare(strict_types=1); namespace Lkrms\PrettyPHP; use Salient\Core\Concern\ImmutableTrait; /** * @api */ final class TokenIndex extends AbstractTokenIndex { use ImmutableTrait; protected const FIRST = 0; protected const LAST = 1; protected const MIXED = 2; /** @var self::FIRST|self::L...
php
MIT
5d244a4b7a9b484581edbb5df596a4e76ba17fa6
2026-01-05T04:31:39.990954Z
false
lkrms/pretty-php
https://github.com/lkrms/pretty-php/blob/5d244a4b7a9b484581edbb5df596a4e76ba17fa6/src/AbstractTokenIndex.php
src/AbstractTokenIndex.php
<?php declare(strict_types=1); namespace Lkrms\PrettyPHP; use Lkrms\PrettyPHP\Contract\HasTokenIndex; use Salient\Contract\Core\Immutable; /** * @api */ abstract class AbstractTokenIndex implements HasTokenIndex, Immutable { /** * @var array<int,bool> */ protected const DEFAULT_ALLOW_NEWLINE_BEFO...
php
MIT
5d244a4b7a9b484581edbb5df596a4e76ba17fa6
2026-01-05T04:31:39.990954Z
true
lkrms/pretty-php
https://github.com/lkrms/pretty-php/blob/5d244a4b7a9b484581edbb5df596a4e76ba17fa6/src/TokenUtil.php
src/TokenUtil.php
<?php declare(strict_types=1); namespace Lkrms\PrettyPHP; use Lkrms\PrettyPHP\Catalog\TokenData as Data; use Lkrms\PrettyPHP\Catalog\TokenFlag as Flag; use Lkrms\PrettyPHP\Catalog\TokenSubId as SubId; use Lkrms\PrettyPHP\Catalog\WhitespaceFlag as Space; use Lkrms\PrettyPHP\Contract\HasOperatorPrecedence; use Lkrms\Pr...
php
MIT
5d244a4b7a9b484581edbb5df596a4e76ba17fa6
2026-01-05T04:31:39.990954Z
false
lkrms/pretty-php
https://github.com/lkrms/pretty-php/blob/5d244a4b7a9b484581edbb5df596a4e76ba17fa6/src/GenericToken.php
src/GenericToken.php
<?php declare(strict_types=1); namespace Lkrms\PrettyPHP; use Salient\Polyfill\PhpToken as SalientPhpToken; use PhpToken; // Extend a trusted polyfill on PHP 7.4, the native class otherwise // @codeCoverageIgnoreStart if (\PHP_VERSION_ID < 80000) { /** * @internal */ class GenericToken extends Sali...
php
MIT
5d244a4b7a9b484581edbb5df596a4e76ba17fa6
2026-01-05T04:31:39.990954Z
false
lkrms/pretty-php
https://github.com/lkrms/pretty-php/blob/5d244a4b7a9b484581edbb5df596a4e76ba17fa6/src/Formatter.php
src/Formatter.php
<?php declare(strict_types=1); namespace Lkrms\PrettyPHP; use Lkrms\PrettyPHP\Catalog\DeclarationType as Type; use Lkrms\PrettyPHP\Catalog\FormatterFlag; use Lkrms\PrettyPHP\Catalog\HeredocIndent; use Lkrms\PrettyPHP\Catalog\ImportSortOrder; use Lkrms\PrettyPHP\Catalog\TokenData as Data; use Lkrms\PrettyPHP\Catalog\T...
php
MIT
5d244a4b7a9b484581edbb5df596a4e76ba17fa6
2026-01-05T04:31:39.990954Z
true
lkrms/pretty-php
https://github.com/lkrms/pretty-php/blob/5d244a4b7a9b484581edbb5df596a4e76ba17fa6/src/Parser.php
src/Parser.php
<?php declare(strict_types=1); namespace Lkrms\PrettyPHP; use Lkrms\PrettyPHP\Catalog\DeclarationType as Type; use Lkrms\PrettyPHP\Catalog\TokenData as Data; use Lkrms\PrettyPHP\Catalog\TokenFlag as Flag; use Lkrms\PrettyPHP\Catalog\TokenSubId as SubId; use Lkrms\PrettyPHP\Contract\Filter; use Lkrms\PrettyPHP\Excepti...
php
MIT
5d244a4b7a9b484581edbb5df596a4e76ba17fa6
2026-01-05T04:31:39.990954Z
true
lkrms/pretty-php
https://github.com/lkrms/pretty-php/blob/5d244a4b7a9b484581edbb5df596a4e76ba17fa6/src/FormatterBuilder.php
src/FormatterBuilder.php
<?php declare(strict_types=1); namespace Lkrms\PrettyPHP; use Lkrms\PrettyPHP\Catalog\FormatterFlag; use Lkrms\PrettyPHP\Catalog\HeredocIndent; use Lkrms\PrettyPHP\Catalog\ImportSortOrder; use Lkrms\PrettyPHP\Contract\Extension; use Salient\Core\Builder; use Salient\Utility\Support\Indentation; /** * @method $this ...
php
MIT
5d244a4b7a9b484581edbb5df596a4e76ba17fa6
2026-01-05T04:31:39.990954Z
false
lkrms/pretty-php
https://github.com/lkrms/pretty-php/blob/5d244a4b7a9b484581edbb5df596a4e76ba17fa6/src/Renderer.php
src/Renderer.php
<?php declare(strict_types=1); namespace Lkrms\PrettyPHP; use Lkrms\PrettyPHP\Catalog\TokenData as Data; use Lkrms\PrettyPHP\Catalog\TokenFlag as Flag; use Salient\Contract\Core\Immutable; use Salient\Core\Concern\ImmutableTrait; use Salient\Utility\Regex; use Salient\Utility\Str; use Generator; /** * @api */ fina...
php
MIT
5d244a4b7a9b484581edbb5df596a4e76ba17fa6
2026-01-05T04:31:39.990954Z
false
lkrms/pretty-php
https://github.com/lkrms/pretty-php/blob/5d244a4b7a9b484581edbb5df596a4e76ba17fa6/src/Contract/Preset.php
src/Contract/Preset.php
<?php declare(strict_types=1); namespace Lkrms\PrettyPHP\Contract; use Lkrms\PrettyPHP\Catalog\FormatterFlag; use Lkrms\PrettyPHP\Formatter; /** * @api */ interface Preset { /** * Get a formatter for the preset * * @param int-mask-of<FormatterFlag::*> $flags */ public static function ge...
php
MIT
5d244a4b7a9b484581edbb5df596a4e76ba17fa6
2026-01-05T04:31:39.990954Z
false
lkrms/pretty-php
https://github.com/lkrms/pretty-php/blob/5d244a4b7a9b484581edbb5df596a4e76ba17fa6/src/Contract/Extension.php
src/Contract/Extension.php
<?php declare(strict_types=1); namespace Lkrms\PrettyPHP\Contract; use Lkrms\PrettyPHP\Formatter; /** * @api */ interface Extension { public function __construct(Formatter $formatter); /** * Initialise the extension * * Called once per instance, before {@see Extension::reset()} is first ...
php
MIT
5d244a4b7a9b484581edbb5df596a4e76ba17fa6
2026-01-05T04:31:39.990954Z
false
lkrms/pretty-php
https://github.com/lkrms/pretty-php/blob/5d244a4b7a9b484581edbb5df596a4e76ba17fa6/src/Contract/TokenRule.php
src/Contract/TokenRule.php
<?php declare(strict_types=1); namespace Lkrms\PrettyPHP\Contract; use Lkrms\PrettyPHP\AbstractTokenIndex; use Lkrms\PrettyPHP\Token; /** * @api */ interface TokenRule extends Rule { public const PROCESS_TOKENS = 'processTokens'; /** * Get tokens the rule is interested in * * Matching token...
php
MIT
5d244a4b7a9b484581edbb5df596a4e76ba17fa6
2026-01-05T04:31:39.990954Z
false
lkrms/pretty-php
https://github.com/lkrms/pretty-php/blob/5d244a4b7a9b484581edbb5df596a4e76ba17fa6/src/Contract/HasTokenNames.php
src/Contract/HasTokenNames.php
<?php declare(strict_types=1); namespace Lkrms\PrettyPHP\Contract; /** * @internal */ interface HasTokenNames { /** * @var array<int,string> */ public const TOKEN_NAME = [ // PHP 8.0 \T_ATTRIBUTE => 'T_ATTRIBUTE', \T_MATCH => 'T_MATCH', \T_NAME_FULLY_QUALIFIED => 'T...
php
MIT
5d244a4b7a9b484581edbb5df596a4e76ba17fa6
2026-01-05T04:31:39.990954Z
false
lkrms/pretty-php
https://github.com/lkrms/pretty-php/blob/5d244a4b7a9b484581edbb5df596a4e76ba17fa6/src/Contract/ListRule.php
src/Contract/ListRule.php
<?php declare(strict_types=1); namespace Lkrms\PrettyPHP\Contract; use Lkrms\PrettyPHP\Internal\TokenCollection; use Lkrms\PrettyPHP\Token; /** * @api */ interface ListRule extends Rule { public const PROCESS_LIST = 'processList'; /** * Apply the rule to a token and the list of items associated with ...
php
MIT
5d244a4b7a9b484581edbb5df596a4e76ba17fa6
2026-01-05T04:31:39.990954Z
false
lkrms/pretty-php
https://github.com/lkrms/pretty-php/blob/5d244a4b7a9b484581edbb5df596a4e76ba17fa6/src/Contract/BlockRule.php
src/Contract/BlockRule.php
<?php declare(strict_types=1); namespace Lkrms\PrettyPHP\Contract; use Lkrms\PrettyPHP\Internal\TokenCollection; /** * @api */ interface BlockRule extends Rule { public const PROCESS_BLOCK = 'processBlock'; /** * Apply the rule to the given code block * * An array of {@see TokenCollection} ...
php
MIT
5d244a4b7a9b484581edbb5df596a4e76ba17fa6
2026-01-05T04:31:39.990954Z
false
lkrms/pretty-php
https://github.com/lkrms/pretty-php/blob/5d244a4b7a9b484581edbb5df596a4e76ba17fa6/src/Contract/HasTokenIndex.php
src/Contract/HasTokenIndex.php
<?php declare(strict_types=1); namespace Lkrms\PrettyPHP\Contract; /** * @internal */ interface HasTokenIndex { /** * @var array<int,false> */ public const TOKEN_INDEX = [ 0 => false, \T_ABSTRACT => false, \T_AMPERSAND_FOLLOWED_BY_VAR_OR_VARARG => false, \T_AMPERSAN...
php
MIT
5d244a4b7a9b484581edbb5df596a4e76ba17fa6
2026-01-05T04:31:39.990954Z
false
lkrms/pretty-php
https://github.com/lkrms/pretty-php/blob/5d244a4b7a9b484581edbb5df596a4e76ba17fa6/src/Contract/Filter.php
src/Contract/Filter.php
<?php declare(strict_types=1); namespace Lkrms\PrettyPHP\Contract; use Lkrms\PrettyPHP\GenericToken; /** * @api */ interface Filter extends Extension { /** * Apply the filter to a list of tokens * * @template T of GenericToken * * @param non-empty-list<T> $tokens * @return list<T>...
php
MIT
5d244a4b7a9b484581edbb5df596a4e76ba17fa6
2026-01-05T04:31:39.990954Z
false
lkrms/pretty-php
https://github.com/lkrms/pretty-php/blob/5d244a4b7a9b484581edbb5df596a4e76ba17fa6/src/Contract/StatementRule.php
src/Contract/StatementRule.php
<?php declare(strict_types=1); namespace Lkrms\PrettyPHP\Contract; use Lkrms\PrettyPHP\Token; /** * @api */ interface StatementRule extends Rule { public const PROCESS_STATEMENTS = 'processStatements'; /** * Apply the rule to the given statements * * An array of statements is passed to this...
php
MIT
5d244a4b7a9b484581edbb5df596a4e76ba17fa6
2026-01-05T04:31:39.990954Z
false
lkrms/pretty-php
https://github.com/lkrms/pretty-php/blob/5d244a4b7a9b484581edbb5df596a4e76ba17fa6/src/Contract/DeclarationRule.php
src/Contract/DeclarationRule.php
<?php declare(strict_types=1); namespace Lkrms\PrettyPHP\Contract; use Lkrms\PrettyPHP\Catalog\TokenData as Data; use Lkrms\PrettyPHP\Token; /** * @api */ interface DeclarationRule extends Rule { public const PROCESS_DECLARATIONS = 'processDeclarations'; /** * Get declaration types the rule is intere...
php
MIT
5d244a4b7a9b484581edbb5df596a4e76ba17fa6
2026-01-05T04:31:39.990954Z
false
lkrms/pretty-php
https://github.com/lkrms/pretty-php/blob/5d244a4b7a9b484581edbb5df596a4e76ba17fa6/src/Contract/HasOperatorPrecedence.php
src/Contract/HasOperatorPrecedence.php
<?php declare(strict_types=1); namespace Lkrms\PrettyPHP\Contract; /** * @internal */ interface HasOperatorPrecedence { public const UNARY = 1; public const BINARY = 2; public const TERNARY = 4; /** * [ Token ID => [ [ arity, precedence, left associative?, right associative? ], ... ], ... ] ...
php
MIT
5d244a4b7a9b484581edbb5df596a4e76ba17fa6
2026-01-05T04:31:39.990954Z
false
lkrms/pretty-php
https://github.com/lkrms/pretty-php/blob/5d244a4b7a9b484581edbb5df596a4e76ba17fa6/src/Contract/Rule.php
src/Contract/Rule.php
<?php declare(strict_types=1); namespace Lkrms\PrettyPHP\Contract; use Lkrms\PrettyPHP\Token; /** * @api */ interface Rule extends Extension { public const BEFORE_RENDER = 'beforeRender'; public const CALLBACK = 'callback'; /** * Get the priority of the given method, or null if it should not be c...
php
MIT
5d244a4b7a9b484581edbb5df596a4e76ba17fa6
2026-01-05T04:31:39.990954Z
false
lkrms/pretty-php
https://github.com/lkrms/pretty-php/blob/5d244a4b7a9b484581edbb5df596a4e76ba17fa6/src/Filter/TruncateComments.php
src/Filter/TruncateComments.php
<?php declare(strict_types=1); namespace Lkrms\PrettyPHP\Filter; use Lkrms\PrettyPHP\Concern\ExtensionTrait; use Lkrms\PrettyPHP\Contract\Filter; /** * Truncate comments for comparison * * @api */ final class TruncateComments implements Filter { use ExtensionTrait; /** * @inheritDoc */ pub...
php
MIT
5d244a4b7a9b484581edbb5df596a4e76ba17fa6
2026-01-05T04:31:39.990954Z
false
lkrms/pretty-php
https://github.com/lkrms/pretty-php/blob/5d244a4b7a9b484581edbb5df596a4e76ba17fa6/src/Filter/TrimOpenTags.php
src/Filter/TrimOpenTags.php
<?php declare(strict_types=1); namespace Lkrms\PrettyPHP\Filter; use Lkrms\PrettyPHP\Concern\ExtensionTrait; use Lkrms\PrettyPHP\Contract\Filter; /** * Remove whitespace after open tags for comparison * * @api */ final class TrimOpenTags implements Filter { use ExtensionTrait; /** * @inheritDoc ...
php
MIT
5d244a4b7a9b484581edbb5df596a4e76ba17fa6
2026-01-05T04:31:39.990954Z
false
lkrms/pretty-php
https://github.com/lkrms/pretty-php/blob/5d244a4b7a9b484581edbb5df596a4e76ba17fa6/src/Filter/NormaliseKeywords.php
src/Filter/NormaliseKeywords.php
<?php declare(strict_types=1); namespace Lkrms\PrettyPHP\Filter; use Lkrms\PrettyPHP\Concern\ExtensionTrait; use Lkrms\PrettyPHP\Contract\Filter; use Lkrms\PrettyPHP\Token; use Salient\Utility\Regex; /** * Normalise keywords * * @api */ final class NormaliseKeywords implements Filter { use ExtensionTrait; ...
php
MIT
5d244a4b7a9b484581edbb5df596a4e76ba17fa6
2026-01-05T04:31:39.990954Z
false
lkrms/pretty-php
https://github.com/lkrms/pretty-php/blob/5d244a4b7a9b484581edbb5df596a4e76ba17fa6/src/Filter/RemoveWhitespace.php
src/Filter/RemoveWhitespace.php
<?php declare(strict_types=1); namespace Lkrms\PrettyPHP\Filter; use Lkrms\PrettyPHP\Concern\ExtensionTrait; use Lkrms\PrettyPHP\Contract\Filter; /** * Remove whitespace tokens and invalid control characters * * @api */ final class RemoveWhitespace implements Filter { use ExtensionTrait; /** * @inh...
php
MIT
5d244a4b7a9b484581edbb5df596a4e76ba17fa6
2026-01-05T04:31:39.990954Z
false
lkrms/pretty-php
https://github.com/lkrms/pretty-php/blob/5d244a4b7a9b484581edbb5df596a4e76ba17fa6/src/Filter/EvaluateNumbers.php
src/Filter/EvaluateNumbers.php
<?php declare(strict_types=1); namespace Lkrms\PrettyPHP\Filter; use Lkrms\PrettyPHP\Concern\ExtensionTrait; use Lkrms\PrettyPHP\Contract\Filter; /** * Evaluate numbers for comparison * * @api */ final class EvaluateNumbers implements Filter { use ExtensionTrait; /** * @inheritDoc */ publi...
php
MIT
5d244a4b7a9b484581edbb5df596a4e76ba17fa6
2026-01-05T04:31:39.990954Z
false
lkrms/pretty-php
https://github.com/lkrms/pretty-php/blob/5d244a4b7a9b484581edbb5df596a4e76ba17fa6/src/Filter/EvaluateStrings.php
src/Filter/EvaluateStrings.php
<?php declare(strict_types=1); namespace Lkrms\PrettyPHP\Filter; use Lkrms\PrettyPHP\Concern\ExtensionTrait; use Lkrms\PrettyPHP\Contract\Filter; use Lkrms\PrettyPHP\TokenUtil; use Salient\Utility\Exception\ShouldNotHappenException; /** * Evaluate strings for comparison * * @api */ final class EvaluateStrings im...
php
MIT
5d244a4b7a9b484581edbb5df596a4e76ba17fa6
2026-01-05T04:31:39.990954Z
false
lkrms/pretty-php
https://github.com/lkrms/pretty-php/blob/5d244a4b7a9b484581edbb5df596a4e76ba17fa6/src/Filter/RemoveEmptyTokens.php
src/Filter/RemoveEmptyTokens.php
<?php declare(strict_types=1); namespace Lkrms\PrettyPHP\Filter; use Lkrms\PrettyPHP\Concern\ExtensionTrait; use Lkrms\PrettyPHP\Contract\Filter; /** * Remove tokens with no content for comparison * * @api */ final class RemoveEmptyTokens implements Filter { use ExtensionTrait; /** * @inheritDoc ...
php
MIT
5d244a4b7a9b484581edbb5df596a4e76ba17fa6
2026-01-05T04:31:39.990954Z
false
lkrms/pretty-php
https://github.com/lkrms/pretty-php/blob/5d244a4b7a9b484581edbb5df596a4e76ba17fa6/src/Filter/MoveComments.php
src/Filter/MoveComments.php
<?php declare(strict_types=1); namespace Lkrms\PrettyPHP\Filter; use Lkrms\PrettyPHP\Concern\FilterTrait; use Lkrms\PrettyPHP\Contract\Filter; use Lkrms\PrettyPHP\GenericToken; use Salient\Utility\Exception\ShouldNotHappenException; /** * Move comments if necessary for correct placement of adjacent delimiters and ...
php
MIT
5d244a4b7a9b484581edbb5df596a4e76ba17fa6
2026-01-05T04:31:39.990954Z
false
lkrms/pretty-php
https://github.com/lkrms/pretty-php/blob/5d244a4b7a9b484581edbb5df596a4e76ba17fa6/src/Filter/RemoveEmptyDocBlocks.php
src/Filter/RemoveEmptyDocBlocks.php
<?php declare(strict_types=1); namespace Lkrms\PrettyPHP\Filter; use Lkrms\PrettyPHP\Concern\ExtensionTrait; use Lkrms\PrettyPHP\Contract\Filter; use Salient\Utility\Regex; /** * Remove empty DocBlocks * * @api */ final class RemoveEmptyDocBlocks implements Filter { use ExtensionTrait; /** * @inher...
php
MIT
5d244a4b7a9b484581edbb5df596a4e76ba17fa6
2026-01-05T04:31:39.990954Z
false
lkrms/pretty-php
https://github.com/lkrms/pretty-php/blob/5d244a4b7a9b484581edbb5df596a4e76ba17fa6/src/Filter/CollectColumn.php
src/Filter/CollectColumn.php
<?php declare(strict_types=1); namespace Lkrms\PrettyPHP\Filter; use Lkrms\PrettyPHP\Concern\ExtensionTrait; use Lkrms\PrettyPHP\Contract\Filter; use Lkrms\PrettyPHP\Token; use Salient\Utility\Str; /** * Assign the starting column number of each token to its $column property * * @api */ final class CollectColumn...
php
MIT
5d244a4b7a9b484581edbb5df596a4e76ba17fa6
2026-01-05T04:31:39.990954Z
false
lkrms/pretty-php
https://github.com/lkrms/pretty-php/blob/5d244a4b7a9b484581edbb5df596a4e76ba17fa6/src/Filter/NormaliseCasts.php
src/Filter/NormaliseCasts.php
<?php declare(strict_types=1); namespace Lkrms\PrettyPHP\Filter; use Lkrms\PrettyPHP\Concern\ExtensionTrait; use Lkrms\PrettyPHP\Contract\Filter; use Lkrms\PrettyPHP\Token; /** * Normalise cast operators * * @api */ final class NormaliseCasts implements Filter { use ExtensionTrait; private const CAST_TE...
php
MIT
5d244a4b7a9b484581edbb5df596a4e76ba17fa6
2026-01-05T04:31:39.990954Z
false
lkrms/pretty-php
https://github.com/lkrms/pretty-php/blob/5d244a4b7a9b484581edbb5df596a4e76ba17fa6/src/Filter/SortImports.php
src/Filter/SortImports.php
<?php declare(strict_types=1); namespace Lkrms\PrettyPHP\Filter; use Lkrms\PrettyPHP\Catalog\ImportSortOrder; use Lkrms\PrettyPHP\Concern\FilterTrait; use Lkrms\PrettyPHP\Contract\Filter; use Lkrms\PrettyPHP\GenericToken; use Salient\Utility\Regex; /** * Sort consecutive alias/import statements * * @api */ final...
php
MIT
5d244a4b7a9b484581edbb5df596a4e76ba17fa6
2026-01-05T04:31:39.990954Z
false
lkrms/pretty-php
https://github.com/lkrms/pretty-php/blob/5d244a4b7a9b484581edbb5df596a4e76ba17fa6/src/Filter/RemoveHeredocIndentation.php
src/Filter/RemoveHeredocIndentation.php
<?php declare(strict_types=1); namespace Lkrms\PrettyPHP\Filter; use Lkrms\PrettyPHP\Concern\ExtensionTrait; use Lkrms\PrettyPHP\Contract\Filter; use Lkrms\PrettyPHP\Token; use Salient\Utility\Regex; /** * Remove indentation from heredocs * * @api */ final class RemoveHeredocIndentation implements Filter { u...
php
MIT
5d244a4b7a9b484581edbb5df596a4e76ba17fa6
2026-01-05T04:31:39.990954Z
false
lkrms/pretty-php
https://github.com/lkrms/pretty-php/blob/5d244a4b7a9b484581edbb5df596a4e76ba17fa6/src/Exception/FormatterException.php
src/Exception/FormatterException.php
<?php declare(strict_types=1); namespace Lkrms\PrettyPHP\Exception; use Lkrms\PrettyPHP\Contract\Extension; use Lkrms\PrettyPHP\Token; use Salient\Utility\Json; use Throwable; /** * @api * * @codeCoverageIgnore */ class FormatterException extends AbstractException { protected ?string $Output; /** @var To...
php
MIT
5d244a4b7a9b484581edbb5df596a4e76ba17fa6
2026-01-05T04:31:39.990954Z
false
lkrms/pretty-php
https://github.com/lkrms/pretty-php/blob/5d244a4b7a9b484581edbb5df596a4e76ba17fa6/src/Exception/AbstractException.php
src/Exception/AbstractException.php
<?php declare(strict_types=1); namespace Lkrms\PrettyPHP\Exception; use Salient\Core\Exception\Exception; /** * @internal */ abstract class AbstractException extends Exception {}
php
MIT
5d244a4b7a9b484581edbb5df596a4e76ba17fa6
2026-01-05T04:31:39.990954Z
false
lkrms/pretty-php
https://github.com/lkrms/pretty-php/blob/5d244a4b7a9b484581edbb5df596a4e76ba17fa6/src/Exception/InvalidSyntaxException.php
src/Exception/InvalidSyntaxException.php
<?php declare(strict_types=1); namespace Lkrms\PrettyPHP\Exception; /** * @api */ class InvalidSyntaxException extends AbstractException {}
php
MIT
5d244a4b7a9b484581edbb5df596a4e76ba17fa6
2026-01-05T04:31:39.990954Z
false
lkrms/pretty-php
https://github.com/lkrms/pretty-php/blob/5d244a4b7a9b484581edbb5df596a4e76ba17fa6/src/Exception/InvalidFormatterException.php
src/Exception/InvalidFormatterException.php
<?php declare(strict_types=1); namespace Lkrms\PrettyPHP\Exception; /** * @api */ class InvalidFormatterException extends AbstractException {}
php
MIT
5d244a4b7a9b484581edbb5df596a4e76ba17fa6
2026-01-05T04:31:39.990954Z
false
lkrms/pretty-php
https://github.com/lkrms/pretty-php/blob/5d244a4b7a9b484581edbb5df596a4e76ba17fa6/src/Rule/PlaceBraces.php
src/Rule/PlaceBraces.php
<?php declare(strict_types=1); namespace Lkrms\PrettyPHP\Rule; use Lkrms\PrettyPHP\Catalog\TokenFlag as Flag; use Lkrms\PrettyPHP\Catalog\WhitespaceFlag as Space; use Lkrms\PrettyPHP\Concern\TokenRuleTrait; use Lkrms\PrettyPHP\Contract\TokenRule; use Lkrms\PrettyPHP\AbstractTokenIndex; use Lkrms\PrettyPHP\Token; /**...
php
MIT
5d244a4b7a9b484581edbb5df596a4e76ba17fa6
2026-01-05T04:31:39.990954Z
false
lkrms/pretty-php
https://github.com/lkrms/pretty-php/blob/5d244a4b7a9b484581edbb5df596a4e76ba17fa6/src/Rule/EssentialSpacing.php
src/Rule/EssentialSpacing.php
<?php declare(strict_types=1); namespace Lkrms\PrettyPHP\Rule; use Lkrms\PrettyPHP\Catalog\TokenData as Data; use Lkrms\PrettyPHP\Catalog\TokenFlag as Flag; use Lkrms\PrettyPHP\Catalog\WhitespaceFlag as Space; use Lkrms\PrettyPHP\Concern\RuleTrait; use Lkrms\PrettyPHP\Contract\Rule; use Salient\Utility\Regex; /** *...
php
MIT
5d244a4b7a9b484581edbb5df596a4e76ba17fa6
2026-01-05T04:31:39.990954Z
false
lkrms/pretty-php
https://github.com/lkrms/pretty-php/blob/5d244a4b7a9b484581edbb5df596a4e76ba17fa6/src/Rule/PlaceBrackets.php
src/Rule/PlaceBrackets.php
<?php declare(strict_types=1); namespace Lkrms\PrettyPHP\Rule; use Lkrms\PrettyPHP\Catalog\TokenFlag as Flag; use Lkrms\PrettyPHP\Catalog\WhitespaceFlag as Space; use Lkrms\PrettyPHP\Concern\TokenRuleTrait; use Lkrms\PrettyPHP\Contract\TokenRule; use Lkrms\PrettyPHP\AbstractTokenIndex; use Lkrms\PrettyPHP\Token; /**...
php
MIT
5d244a4b7a9b484581edbb5df596a4e76ba17fa6
2026-01-05T04:31:39.990954Z
false
lkrms/pretty-php
https://github.com/lkrms/pretty-php/blob/5d244a4b7a9b484581edbb5df596a4e76ba17fa6/src/Rule/StandardSpacing.php
src/Rule/StandardSpacing.php
<?php declare(strict_types=1); namespace Lkrms\PrettyPHP\Rule; use Lkrms\PrettyPHP\Catalog\DeclarationType as Type; use Lkrms\PrettyPHP\Catalog\TokenData as Data; use Lkrms\PrettyPHP\Catalog\WhitespaceFlag as Space; use Lkrms\PrettyPHP\Concern\DeclarationRuleTrait; use Lkrms\PrettyPHP\Concern\TokenRuleTrait; use Lkrm...
php
MIT
5d244a4b7a9b484581edbb5df596a4e76ba17fa6
2026-01-05T04:31:39.990954Z
false
lkrms/pretty-php
https://github.com/lkrms/pretty-php/blob/5d244a4b7a9b484581edbb5df596a4e76ba17fa6/src/Rule/StrictExpressions.php
src/Rule/StrictExpressions.php
<?php declare(strict_types=1); namespace Lkrms\PrettyPHP\Rule; use Lkrms\PrettyPHP\Catalog\TokenData as Data; use Lkrms\PrettyPHP\Catalog\WhitespaceFlag as Space; use Lkrms\PrettyPHP\Concern\TokenRuleTrait; use Lkrms\PrettyPHP\Contract\TokenRule; use Lkrms\PrettyPHP\Internal\TokenCollection; use Lkrms\PrettyPHP\Abstr...
php
MIT
5d244a4b7a9b484581edbb5df596a4e76ba17fa6
2026-01-05T04:31:39.990954Z
false
lkrms/pretty-php
https://github.com/lkrms/pretty-php/blob/5d244a4b7a9b484581edbb5df596a4e76ba17fa6/src/Rule/StrictLists.php
src/Rule/StrictLists.php
<?php declare(strict_types=1); namespace Lkrms\PrettyPHP\Rule; use Lkrms\PrettyPHP\Catalog\WhitespaceFlag as Space; use Lkrms\PrettyPHP\Concern\ListRuleTrait; use Lkrms\PrettyPHP\Contract\ListRule; use Lkrms\PrettyPHP\Internal\TokenCollection; use Lkrms\PrettyPHP\Token; /** * Arrange items in lists horizontally or ...
php
MIT
5d244a4b7a9b484581edbb5df596a4e76ba17fa6
2026-01-05T04:31:39.990954Z
false
lkrms/pretty-php
https://github.com/lkrms/pretty-php/blob/5d244a4b7a9b484581edbb5df596a4e76ba17fa6/src/Rule/VerticalSpacing.php
src/Rule/VerticalSpacing.php
<?php declare(strict_types=1); namespace Lkrms\PrettyPHP\Rule; use Lkrms\PrettyPHP\Catalog\DeclarationType as Type; use Lkrms\PrettyPHP\Catalog\TokenData as Data; use Lkrms\PrettyPHP\Catalog\TokenFlag as Flag; use Lkrms\PrettyPHP\Catalog\WhitespaceFlag as Space; use Lkrms\PrettyPHP\Concern\DeclarationRuleTrait; use L...
php
MIT
5d244a4b7a9b484581edbb5df596a4e76ba17fa6
2026-01-05T04:31:39.990954Z
false
lkrms/pretty-php
https://github.com/lkrms/pretty-php/blob/5d244a4b7a9b484581edbb5df596a4e76ba17fa6/src/Rule/NormaliseStrings.php
src/Rule/NormaliseStrings.php
<?php declare(strict_types=1); namespace Lkrms\PrettyPHP\Rule; use Lkrms\PrettyPHP\Catalog\TokenData as Data; use Lkrms\PrettyPHP\Concern\TokenRuleTrait; use Lkrms\PrettyPHP\Contract\TokenRule; use Lkrms\PrettyPHP\AbstractTokenIndex; use Lkrms\PrettyPHP\Token; use Lkrms\PrettyPHP\TokenUtil; use Salient\Utility\Except...
php
MIT
5d244a4b7a9b484581edbb5df596a4e76ba17fa6
2026-01-05T04:31:39.990954Z
false
lkrms/pretty-php
https://github.com/lkrms/pretty-php/blob/5d244a4b7a9b484581edbb5df596a4e76ba17fa6/src/Rule/StatementSpacing.php
src/Rule/StatementSpacing.php
<?php declare(strict_types=1); namespace Lkrms\PrettyPHP\Rule; use Lkrms\PrettyPHP\Catalog\WhitespaceFlag as Space; use Lkrms\PrettyPHP\Concern\TokenRuleTrait; use Lkrms\PrettyPHP\Contract\TokenRule; use Lkrms\PrettyPHP\AbstractTokenIndex; use Lkrms\PrettyPHP\Token; /** * Apply whitespace to statement terminators ...
php
MIT
5d244a4b7a9b484581edbb5df596a4e76ba17fa6
2026-01-05T04:31:39.990954Z
false
lkrms/pretty-php
https://github.com/lkrms/pretty-php/blob/5d244a4b7a9b484581edbb5df596a4e76ba17fa6/src/Rule/NormaliseComments.php
src/Rule/NormaliseComments.php
<?php declare(strict_types=1); namespace Lkrms\PrettyPHP\Rule; use Lkrms\PrettyPHP\Catalog\DeclarationType as Type; use Lkrms\PrettyPHP\Catalog\TokenData as Data; use Lkrms\PrettyPHP\Catalog\TokenFlag as Flag; use Lkrms\PrettyPHP\Catalog\TokenFlagMask as Mask; use Lkrms\PrettyPHP\Concern\TokenRuleTrait; use Lkrms\Pre...
php
MIT
5d244a4b7a9b484581edbb5df596a4e76ba17fa6
2026-01-05T04:31:39.990954Z
false
lkrms/pretty-php
https://github.com/lkrms/pretty-php/blob/5d244a4b7a9b484581edbb5df596a4e76ba17fa6/src/Rule/SwitchIndentation.php
src/Rule/SwitchIndentation.php
<?php declare(strict_types=1); namespace Lkrms\PrettyPHP\Rule; use Lkrms\PrettyPHP\Catalog\WhitespaceFlag as Space; use Lkrms\PrettyPHP\Concern\TokenRuleTrait; use Lkrms\PrettyPHP\Contract\TokenRule; use Lkrms\PrettyPHP\AbstractTokenIndex; use Lkrms\PrettyPHP\Token; /** * Apply switch case list indentation * * @a...
php
MIT
5d244a4b7a9b484581edbb5df596a4e76ba17fa6
2026-01-05T04:31:39.990954Z
false
lkrms/pretty-php
https://github.com/lkrms/pretty-php/blob/5d244a4b7a9b484581edbb5df596a4e76ba17fa6/src/Rule/HangingIndentation.php
src/Rule/HangingIndentation.php
<?php declare(strict_types=1); namespace Lkrms\PrettyPHP\Rule; use Lkrms\PrettyPHP\Catalog\DeclarationType as Type; use Lkrms\PrettyPHP\Catalog\HeredocIndent; use Lkrms\PrettyPHP\Catalog\TokenData as Data; use Lkrms\PrettyPHP\Catalog\TokenFlag as Flag; use Lkrms\PrettyPHP\Catalog\WhitespaceFlag as Space; use Lkrms\Pr...
php
MIT
5d244a4b7a9b484581edbb5df596a4e76ba17fa6
2026-01-05T04:31:39.990954Z
false
lkrms/pretty-php
https://github.com/lkrms/pretty-php/blob/5d244a4b7a9b484581edbb5df596a4e76ba17fa6/src/Rule/PlaceComments.php
src/Rule/PlaceComments.php
<?php declare(strict_types=1); namespace Lkrms\PrettyPHP\Rule; use Lkrms\PrettyPHP\Catalog\DeclarationType as Type; use Lkrms\PrettyPHP\Catalog\TokenData as Data; use Lkrms\PrettyPHP\Catalog\TokenFlag as Flag; use Lkrms\PrettyPHP\Catalog\WhitespaceFlag as Space; use Lkrms\PrettyPHP\Concern\TokenRuleTrait; use Lkrms\P...
php
MIT
5d244a4b7a9b484581edbb5df596a4e76ba17fa6
2026-01-05T04:31:39.990954Z
false