<?php

declare(strict_types=1);

namespace Tests\Galeas\Api\UnitAndIntegration\Primitive\PrimitiveValidation\Ip;

abstract class ValidIpsV4AndV6
{
    /**
     * @return string[]
     */
    public static function listValidIps(): array
    {
        return [
            '127.0.0.1',
            '127.127.127.127',
            '8.8.8.8',
            '8.8.8.0',
            '8.8.4.4',
            '4.4.4.4',
            '22.230.254.1',
            '1.254.240.22',
            '192.168.1.1',
            '192.168.1.255',
            '255.255.255.255',
            '77.96.237.178',
            '0.0.0.0',
            '0.0.0.1',
            '0.0.1.1',
            '0.1.1.1',
            '1.1.1.1',
            '1.1.1.0',
            '1.1.0.0',
            '1.0.0.0',
            'FC00:0000:0000:0000:0000:0000:0000:0000',
            'fC00:0000:0000:0000:0000:0000:0000:0000',
            'fc00:0000:0000:0000:0000:0000:0000:0000',
            'fc00:0000:0000:0000:0000:0000:0000::',
            '2001:1:2:3:4:5:6:7',
            '2001:4860:4860::8888',
            '1200:0000:AB00:1234:0000:2552:7777:1313',
            '21DA:D3:0:2F3B:2AA:FF:FE28:9C5A',
            '21da:d3:0:2f3b:2aa:ff:fe28:9c5a',
            '2607:f380:a58:ffff::1',
            '2607:f380:a58:ffff:0:0:0:1',
            '2607:f380:a58:ffff:0000:0000:0000:0001',
        ];
    }
}
