uawdijnntqw1x1x1
IP : 216.73.216.227
Hostname : panel.codeskitter.com
Kernel : Linux panel.codeskitter.com 6.8.0-100-generic #100-Ubuntu SMP PREEMPT_DYNAMIC Tue Jan 13 16:40:06 UTC 2026 x86_64
Disable Function : apache_child_terminate, apache_note, apache_setenv, define_syslog_variables, dl, link, opcache_get_status, openlog, pcntl_exec, pcntl_fork, pcntl_setpriority, popen, posix_getpwuid, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid, posix_setuid
OS : Linux
PATH:
/
home
/
users
/
unlimited
/
www
/
ultimate-ai.codeskitter.site
/
lang
/
..
/
tests
/
Helpers
/
Assertions.php
/
/
<?php declare(strict_types=1); use Illuminate\Support\Arr; use Illuminate\Testing\Constraints\SeeInOrder; use PHPUnit\Framework\Assert as PHPUnit; function assertSeeHtml($actual, $values): void { if ($actual instanceof \Illuminate\View\View) { $actual = $actual->toHtml(); } $actual = preg_replace('/\s+/', ' ', (string) $actual); foreach (Arr::wrap($values) as $value) { $value = preg_replace('/\s+/', ' ', $value); PHPUnit::assertStringContainsString( $value, $actual ); } } function assertDontSeeHtml($actual, $values): void { if ($actual instanceof \Illuminate\Support\HtmlString) { $actual = $actual->toHtml(); } foreach (Arr::wrap($values) as $value) { PHPUnit::assertStringNotContainsString( $value, (string) $actual ); } } function assertSeeHtmlInOrder($actual, array $values): void { if ($actual instanceof \Illuminate\Support\HtmlString) { $actual = $actual->toHtml(); } PHPUnit::assertThat( $values, new SeeInOrder((string) $actual) ); } function assertExpectedCreditsSize($expectedCredits, $actual): void { $getSize = function ($expectedCredits) { // calculate the size of the user credits array $size = 0; foreach ($expectedCredits as $element) { $size++; // Count engines if (is_array($element)) { // Count only the first-level elements in the sub-array (Entities) $size += count($element); } else { // Count the element if it's not an array $size++; } } return $size; }; PHPUnit::assertSame( $getSize($expectedCredits), $actual ); }
/home/users/unlimited/www/ultimate-ai.codeskitter.site/lang/../tests/Helpers/Assertions.php