Deprecated: Sensio\Bundle\FrameworkExtraBundle\Request\ParamConverter\DoctrineParamConverter::__construct(): Implicitly marking parameter $registry as nullable is deprecated, the explicit nullable type must be used instead in /home/sites/5a/e/edf719076c/public_html/support/vendor/sensio/framework-extra-bundle/src/Request/ParamConverter/DoctrineParamConverter.php on line 46

Deprecated: Sensio\Bundle\FrameworkExtraBundle\Request\ParamConverter\DoctrineParamConverter::__construct(): Implicitly marking parameter $expressionLanguage as nullable is deprecated, the explicit nullable type must be used instead in /home/sites/5a/e/edf719076c/public_html/support/vendor/sensio/framework-extra-bundle/src/Request/ParamConverter/DoctrineParamConverter.php on line 46

Deprecated: Sensio\Bundle\FrameworkExtraBundle\EventListener\TemplateListener::__construct(): Implicitly marking parameter $twig as nullable is deprecated, the explicit nullable type must be used instead in /home/sites/5a/e/edf719076c/public_html/support/vendor/sensio/framework-extra-bundle/src/EventListener/TemplateListener.php on line 39

Deprecated: Sensio\Bundle\FrameworkExtraBundle\EventListener\SecurityListener::__construct(): Implicitly marking parameter $language as nullable is deprecated, the explicit nullable type must be used instead in /home/sites/5a/e/edf719076c/public_html/support/vendor/sensio/framework-extra-bundle/src/EventListener/SecurityListener.php on line 43

Deprecated: Sensio\Bundle\FrameworkExtraBundle\EventListener\SecurityListener::__construct(): Implicitly marking parameter $trustResolver as nullable is deprecated, the explicit nullable type must be used instead in /home/sites/5a/e/edf719076c/public_html/support/vendor/sensio/framework-extra-bundle/src/EventListener/SecurityListener.php on line 43

Deprecated: Sensio\Bundle\FrameworkExtraBundle\EventListener\SecurityListener::__construct(): Implicitly marking parameter $roleHierarchy as nullable is deprecated, the explicit nullable type must be used instead in /home/sites/5a/e/edf719076c/public_html/support/vendor/sensio/framework-extra-bundle/src/EventListener/SecurityListener.php on line 43

Deprecated: Sensio\Bundle\FrameworkExtraBundle\EventListener\SecurityListener::__construct(): Implicitly marking parameter $tokenStorage as nullable is deprecated, the explicit nullable type must be used instead in /home/sites/5a/e/edf719076c/public_html/support/vendor/sensio/framework-extra-bundle/src/EventListener/SecurityListener.php on line 43

Deprecated: Sensio\Bundle\FrameworkExtraBundle\EventListener\SecurityListener::__construct(): Implicitly marking parameter $authChecker as nullable is deprecated, the explicit nullable type must be used instead in /home/sites/5a/e/edf719076c/public_html/support/vendor/sensio/framework-extra-bundle/src/EventListener/SecurityListener.php on line 43

Deprecated: Sensio\Bundle\FrameworkExtraBundle\EventListener\SecurityListener::__construct(): Implicitly marking parameter $logger as nullable is deprecated, the explicit nullable type must be used instead in /home/sites/5a/e/edf719076c/public_html/support/vendor/sensio/framework-extra-bundle/src/EventListener/SecurityListener.php on line 43

Deprecated: Sensio\Bundle\FrameworkExtraBundle\EventListener\IsGrantedListener::__construct(): Implicitly marking parameter $authChecker as nullable is deprecated, the explicit nullable type must be used instead in /home/sites/5a/e/edf719076c/public_html/support/vendor/sensio/framework-extra-bundle/src/EventListener/IsGrantedListener.php on line 33

Deprecated: Webkul\UVDesk\CoreFrameworkBundle\Services\UserService::isAccessAuthorized(): Implicitly marking parameter $user as nullable is deprecated, the explicit nullable type must be used instead in /home/sites/5a/e/edf719076c/public_html/support/vendor/uvdesk/core-framework/Services/UserService.php on line 101

Deprecated: Webkul\UVDesk\CoreFrameworkBundle\Services\UserService::getSupportGroups(): Implicitly marking parameter $request as nullable is deprecated, the explicit nullable type must be used instead in /home/sites/5a/e/edf719076c/public_html/support/vendor/uvdesk/core-framework/Services/UserService.php on line 162

Deprecated: Webkul\UVDesk\CoreFrameworkBundle\Services\UserService::getSupportTeams(): Implicitly marking parameter $request as nullable is deprecated, the explicit nullable type must be used instead in /home/sites/5a/e/edf719076c/public_html/support/vendor/uvdesk/core-framework/Services/UserService.php on line 180

Deprecated: Webkul\UVDesk\CoreFrameworkBundle\Services\UserService::getAgentPartialDataCollection(): Implicitly marking parameter $request as nullable is deprecated, the explicit nullable type must be used instead in /home/sites/5a/e/edf719076c/public_html/support/vendor/uvdesk/core-framework/Services/UserService.php on line 280

Deprecated: Webkul\UVDesk\CoreFrameworkBundle\Services\UserService::getAgentsPartialDetails(): Implicitly marking parameter $request as nullable is deprecated, the explicit nullable type must be used instead in /home/sites/5a/e/edf719076c/public_html/support/vendor/uvdesk/core-framework/Services/UserService.php on line 309

Deprecated: Webkul\UVDesk\CoreFrameworkBundle\Services\UserService::getCustomersPartial(): Implicitly marking parameter $request as nullable is deprecated, the explicit nullable type must be used instead in /home/sites/5a/e/edf719076c/public_html/support/vendor/uvdesk/core-framework/Services/UserService.php on line 428

Deprecated: Webkul\UVDesk\CoreFrameworkBundle\Services\TicketService::isTicketAccessGranted(): Implicitly marking parameter $user as nullable is deprecated, the explicit nullable type must be used instead in /home/sites/5a/e/edf719076c/public_html/support/vendor/uvdesk/core-framework/Services/TicketService.php on line 1913

Deprecated: Webkul\UVDesk\CoreFrameworkBundle\FileSystem\FileSystem::getAssetIconURL(): Implicitly marking parameter $attachment as nullable is deprecated, the explicit nullable type must be used instead in /home/sites/5a/e/edf719076c/public_html/support/vendor/uvdesk/core-framework/FileSystem/FileSystem.php on line 34

Deprecated: Symfony\Bundle\SwiftmailerBundle\DataCollector\MessageDataCollector::collect(): Implicitly marking parameter $exception as nullable is deprecated, the explicit nullable type must be used instead in /home/sites/5a/e/edf719076c/public_html/support/vendor/symfony/swiftmailer-bundle/DataCollector/MessageDataCollector.php on line 42
Symfony Profiler

public/index.php line 5

Open in your IDE?
  1. <?php
  2. use App\Kernel;
  3. require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
  4. return function (array $context) {
  5. // Function to check if we're running inside a Docker container
  6. function isRunningInDocker(): bool {
  7. return (
  8. file_exists('/.dockerenv') || // Check for Docker environment file
  9. (getenv('DOCKER_CONTAINER') !== false)
  10. );
  11. }
  12. // Only attempt to set permissions if we're NOT in Docker
  13. if (! isRunningInDocker()) {
  14. $basePath = dirname(__DIR__);
  15. $files = [
  16. 'env' => $basePath . '/.env',
  17. 'var' => $basePath . '/var',
  18. 'config' => $basePath . '/config',
  19. 'public' => $basePath . '/public',
  20. 'migrations' => $basePath . '/migrations',
  21. ];
  22. foreach ($files as $key => $file) {
  23. if (file_exists($file)) {
  24. try {
  25. chmod($file, 0775);
  26. } catch (\Exception $e) {
  27. // Log the error if you have a logger configured
  28. error_log("Failed to set permissions for {$key}: " . $e->getMessage());
  29. }
  30. }
  31. }
  32. }
  33. return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
  34. };