HEX
Server: Apache
System: Linux server2.voipitup.com.au 4.18.0-553.111.1.lve.el8.x86_64 #1 SMP Fri Mar 13 13:42:17 UTC 2026 x86_64
User: posscale (1027)
PHP: 8.2.30
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/posscale/www/printmanager/vendor/doctrine/dbal/src/Schema/Exception/IndexNameInvalid.php
<?php

declare(strict_types=1);

namespace Doctrine\DBAL\Schema\Exception;

use Doctrine\DBAL\Schema\SchemaException;

use function sprintf;

final class IndexNameInvalid extends SchemaException
{
    public static function new(string $indexName): self
    {
        return new self(
            sprintf('Invalid index name "%s" given, has to be [a-zA-Z0-9_].', $indexName),
            self::INDEX_INVALID_NAME,
        );
    }
}