Plugin Directory

Changeset 3444561


Ignore:
Timestamp:
01/22/2026 06:13:56 AM (2 months ago)
Author:
prokerala
Message:

Update to version 1.4.9 from GitHub

Location:
astrology
Files:
62 edited
1 copied

Legend:

Unmodified
Added
Removed
  • astrology/tags/1.4.9/astrology.php

    r3378058 r3444561  
    1212 * Plugin URI:  https://api.prokerala.com
    1313 * Description: Integrate astrology calculators powered by Prokerala's Astrology API
    14  * Version:     1.4.8
     14 * Version:     1.4.9
    1515 * Author:      Prokerala
    1616 * Author URI:  https://www.prokerala.com
     
    4646use Prokerala\WP\Astrology\Plugin;
    4747
    48 const PK_ASTROLOGY_VERSION          = '1.4.8';
     48const PK_ASTROLOGY_VERSION          = '1.4.9';
    4949const PK_ASTROLOGY_PHP_MINIMUM      = '7.2.0';
    5050const PK_ASTROLOGY_PLUGIN_MAIN_FILE = __FILE__;
  • astrology/tags/1.4.9/dependencies/vendor/autoload.php

    r3378058 r3444561  
    2020require_once __DIR__ . '/composer/autoload_real.php';
    2121
    22 return ComposerAutoloaderInitfaef6a8806054af83861b6add740b871::getLoader();
     22return ComposerAutoloaderInitfacddfc376cf22e3708ce05f95fa2650::getLoader();
  • astrology/tags/1.4.9/dependencies/vendor/composer/ClassLoader.php

    r2952051 r3444561  
    499499            $subPath = $class;
    500500            while (false !== $lastPos = strrpos($subPath, '\\')) {
    501                 $subPath = substr($subPath, 0, $lastPos);
     501                $subPath = (string) substr($subPath, 0, $lastPos);
    502502                $search = $subPath . '\\';
    503503                if (isset($this->prefixDirsPsr4[$search])) {
     
    523523            // namespaced class name
    524524            $logicalPathPsr0 = substr($logicalPathPsr4, 0, $pos + 1)
    525                 . strtr(substr($logicalPathPsr4, $pos + 1), '_', DIRECTORY_SEPARATOR);
     525                . strtr((string) substr($logicalPathPsr4, $pos + 1), '_', DIRECTORY_SEPARATOR);
    526526        } else {
    527527            // PEAR-like class name
  • astrology/tags/1.4.9/dependencies/vendor/composer/autoload_real.php

    r3378058 r3444561  
    33// autoload_real.php @generated by Composer
    44
    5 class ComposerAutoloaderInitfaef6a8806054af83861b6add740b871
     5class ComposerAutoloaderInitfacddfc376cf22e3708ce05f95fa2650
    66{
    77    private static $loader;
     
    2323        }
    2424
    25         spl_autoload_register(array('ComposerAutoloaderInitfaef6a8806054af83861b6add740b871', 'loadClassLoader'), true, true);
     25        spl_autoload_register(array('ComposerAutoloaderInitfacddfc376cf22e3708ce05f95fa2650', 'loadClassLoader'), true, true);
    2626        self::$loader = $loader = new \Prokerala_WP_Astrology_Composer\Autoload\ClassLoader(\dirname(__DIR__));
    27         spl_autoload_unregister(array('ComposerAutoloaderInitfaef6a8806054af83861b6add740b871', 'loadClassLoader'));
     27        spl_autoload_unregister(array('ComposerAutoloaderInitfacddfc376cf22e3708ce05f95fa2650', 'loadClassLoader'));
    2828
    2929        require __DIR__ . '/autoload_static.php';
    30         call_user_func(\Prokerala_WP_Astrology_Composer\Autoload\ComposerStaticInitfaef6a8806054af83861b6add740b871::getInitializer($loader));
     30        call_user_func(\Prokerala_WP_Astrology_Composer\Autoload\ComposerStaticInitfacddfc376cf22e3708ce05f95fa2650::getInitializer($loader));
    3131
    3232        $loader->setClassMapAuthoritative(true);
  • astrology/tags/1.4.9/dependencies/vendor/composer/autoload_static.php

    r3378058 r3444561  
    55namespace Prokerala_WP_Astrology_Composer\Autoload;
    66
    7 class ComposerStaticInitfaef6a8806054af83861b6add740b871
     7class ComposerStaticInitfacddfc376cf22e3708ce05f95fa2650
    88{
    99    public static $classMap = array (
     
    607607    {
    608608        return \Closure::bind(function () use ($loader) {
    609             $loader->classMap = ComposerStaticInitfaef6a8806054af83861b6add740b871::$classMap;
     609            $loader->classMap = ComposerStaticInitfacddfc376cf22e3708ce05f95fa2650::$classMap;
    610610
    611611        }, null, ClassLoader::class);
  • astrology/tags/1.4.9/dependencies/vendor/kriswallsmith/buzz/lib/Client/MultiCurl.php

    r3104518 r3444561  
    193193        foreach ($headers as $header) {
    194194            if (0 === strpos($header, ':path:')) {
    195                 $path = substr($header, 6);
     195                $path = (string) substr($header, 6);
    196196                $url = (string) curl_getinfo($handle)['url'];
    197197                $url = str_replace((string) parse_url($url, \PHP_URL_PATH), $path, $url);
  • astrology/tags/1.4.9/dependencies/vendor/kriswallsmith/buzz/lib/Message/ResponseBuilder.php

    r3326192 r3444561  
    3131    public function getResponseFromRawInput(string $raw, int $headerSize): ResponseInterface
    3232    {
    33         $headers = substr($raw, 0, $headerSize);
     33        $headers = (string) substr($raw, 0, $headerSize);
    3434        $this->parseHttpHeaders(explode("\n", $headers));
    35         $this->writeBody(substr($raw, $headerSize));
     35        $this->writeBody((string) substr($raw, $headerSize));
    3636        return $this->getResponse();
    3737    }
  • astrology/tags/1.4.9/dependencies/vendor/kriswallsmith/buzz/lib/Middleware/Cookie/Cookie.php

    r3326192 r3444561  
    7373        $cookieDomain = $this->getAttribute(static::ATTR_DOMAIN) ?? '';
    7474        if (0 === strpos($cookieDomain, '.')) {
    75             $pattern = '/\b' . preg_quote(substr($cookieDomain, 1), '/') . '$/i';
     75            $pattern = '/\b' . preg_quote((string) substr($cookieDomain, 1), '/') . '$/i';
    7676            return (bool) preg_match($pattern, $domain);
    7777        } else {
  • astrology/tags/1.4.9/dependencies/vendor/kriswallsmith/buzz/lib/Middleware/DigestAuthMiddleware.php

    r3326192 r3444561  
    288288                }
    289289                // Remove the last comma from the header
    290                 $header = substr($header, 0, \strlen($header) - 1);
     290                $header = (string) substr($header, 0, \strlen($header) - 1);
    291291                // Discard the Client Nonce if OPTION_DISCARD_CLIENT_NONCE is set.
    292292                if ($this->options & self::OPTION_DISCARD_CLIENT_NONCE) {
     
    518518            $this->setAuthenticationMethod('Digest');
    519519            // Remove "Digest " from start of header
    520             $wwwAuthenticate = substr($wwwAuthenticate, 7, \strlen($wwwAuthenticate) - 7);
     520            $wwwAuthenticate = (string) substr($wwwAuthenticate, 7, \strlen($wwwAuthenticate) - 7);
    521521            $nameValuePairs = $this->parseNameValuePairs($wwwAuthenticate);
    522522            foreach ($nameValuePairs as $name => $value) {
     
    546546            $this->setAuthenticationMethod('Basic');
    547547            // Remove "Basic " from start of header
    548             $wwwAuthenticate = substr($wwwAuthenticate, 6, \strlen($wwwAuthenticate) - 6);
     548            $wwwAuthenticate = (string) substr($wwwAuthenticate, 6, \strlen($wwwAuthenticate) - 6);
    549549            $nameValuePairs = $this->parseNameValuePairs($wwwAuthenticate);
    550550            foreach ($nameValuePairs as $name => $value) {
     
    704704        if ($str) {
    705705            if ('"' == substr($str, 0, 1)) {
    706                 $str = substr($str, 1, \strlen($str) - 1);
     706                $str = (string) substr($str, 1, \strlen($str) - 1);
    707707            }
    708708            if ('"' == substr($str, \strlen($str) - 1, 1)) {
    709                 $str = substr($str, 0, \strlen($str) - 1);
     709                $str = (string) substr($str, 0, \strlen($str) - 1);
    710710            }
    711711        }
  • astrology/tags/1.4.9/dependencies/vendor/prokerala/astrology-sdk/src/Api/Astrology/Transformer.php

    r3173306 r3444561  
    131131                $isArray = '[]' === substr($type, -2);
    132132                if ($isArray) {
    133                     $type = substr($type, 0, -2);
     133                    $type = (string) substr($type, 0, -2);
    134134                }
    135135                if (isset($scalarTypes[$type])) {
     
    140140                    $type = $namespace . '\\' . $type;
    141141                } else {
    142                     $type = substr($type, 1);
     142                    $type = (string) substr($type, 1);
    143143                }
    144144                $resolvedTypes[] = $type . ($isArray ? '[]' : '');
     
    184184        foreach ($data as $val) {
    185185            \assert($val instanceof \stdClass);
    186             $paramValue[] = $this->create(substr($paramTypes[0], 0, -2), $val);
     186            $paramValue[] = $this->create((string) substr($paramTypes[0], 0, -2), $val);
    187187            // @phpstan-ignore-line
    188188        }
  • astrology/tags/1.4.9/dependencies/vendor/ralouphie/getallheaders/src/getallheaders.php

    r2513947 r3444561  
    2020        foreach ($_SERVER as $key => $value) {
    2121            if (substr($key, 0, 5) === 'HTTP_') {
    22                 $key = substr($key, 5);
     22                $key = (string) substr($key, 5);
    2323                if (!isset($copy_server[$key]) || !isset($_SERVER[$key])) {
    2424                    $key = str_replace(' ', '-', ucwords(strtolower(str_replace('_', ' ', $key))));
  • astrology/tags/1.4.9/dependencies/vendor/slim/psr7/src/Headers.php

    r3326192 r3444561  
    138138        }
    139139        if (strpos(strtolower($name), 'http-') === 0) {
    140             $name = substr($name, 5);
     140            $name = (string) substr($name, 5);
    141141        }
    142142        return $name;
  • astrology/tags/1.4.9/dependencies/vendor/symfony/cache/Adapter/AbstractAdapter.php

    r3173306 r3444561  
    4343            $item->value = $v = $value;
    4444            $item->isHit = $isHit;
    45             // Detect wrapped values that encode for their expiry and creation duration
    46             // For compactness, these values are packed in the key of an array using
    47             // magic numbers in the form 9D-..-..-..-..-00-..-..-..-5F
    4845            reset($v);
    4946            // Detect wrapped values that encode for their expiry and creation duration
     
    5249            if (\is_array($v) && 1 === \count($v) && 10 === \strlen($k = (string) key($v)) && "\x9d" === $k[0] && "\x00" === $k[5] && "_" === $k[9]) {
    5350                $item->value = $v[$k];
    54                 $v = unpack('Ve/Nc', substr($k, 1, -1));
     51                $v = unpack('Ve/Nc', (string) substr($k, 1, -1));
    5552                $item->metadata[CacheItem::METADATA_EXPIRY] = $v['e'] + CacheItem::METADATA_EXPIRY_OFFSET;
    5653                $item->metadata[CacheItem::METADATA_CTIME] = $v['c'];
     
    158155                    $type = \is_object($v) ? \get_class($v) : \gettype($v);
    159156                    $message = sprintf('Failed to save key "{key}" of type %s%s', $type, $e instanceof \Exception ? ': ' . $e->getMessage() : '.');
    160                     CacheItem::log($this->logger, $message, ['key' => substr($id, \strlen($this->namespace)), 'exception' => $e instanceof \Exception ? $e : null]);
     157                    CacheItem::log($this->logger, $message, ['key' => (string) substr($id, \strlen($this->namespace)), 'exception' => $e instanceof \Exception ? $e : null]);
    161158                }
    162159            } else {
     
    180177                $type = \is_object($v) ? \get_class($v) : \gettype($v);
    181178                $message = sprintf('Failed to save key "{key}" of type %s%s', $type, $e instanceof \Exception ? ': ' . $e->getMessage() : '.');
    182                 CacheItem::log($this->logger, $message, ['key' => substr($id, \strlen($this->namespace)), 'exception' => $e instanceof \Exception ? $e : null]);
     179                CacheItem::log($this->logger, $message, ['key' => (string) substr($id, \strlen($this->namespace)), 'exception' => $e instanceof \Exception ? $e : null]);
    183180            }
    184181        }
  • astrology/tags/1.4.9/dependencies/vendor/symfony/cache/Adapter/AbstractTagAwareAdapter.php

    r3173306 r3444561  
    178178                    $type = \is_object($v) ? \get_class($v) : \gettype($v);
    179179                    $message = sprintf('Failed to save key "{key}" of type %s%s', $type, $e instanceof \Exception ? ': ' . $e->getMessage() : '.');
    180                     CacheItem::log($this->logger, $message, ['key' => substr($id, \strlen($this->namespace)), 'exception' => $e instanceof \Exception ? $e : null]);
     180                    CacheItem::log($this->logger, $message, ['key' => (string) substr($id, \strlen($this->namespace)), 'exception' => $e instanceof \Exception ? $e : null]);
    181181                }
    182182            } else {
     
    201201                $type = \is_object($v) ? \get_class($v) : \gettype($v);
    202202                $message = sprintf('Failed to save key "{key}" of type %s%s', $type, $e instanceof \Exception ? ': ' . $e->getMessage() : '.');
    203                 CacheItem::log($this->logger, $message, ['key' => substr($id, \strlen($this->namespace)), 'exception' => $e instanceof \Exception ? $e : null]);
     203                CacheItem::log($this->logger, $message, ['key' => (string) substr($id, \strlen($this->namespace)), 'exception' => $e instanceof \Exception ? $e : null]);
    204204            }
    205205        }
  • astrology/tags/1.4.9/dependencies/vendor/symfony/cache/Adapter/FilesystemTagAwareAdapter.php

    r3173306 r3444561  
    132132                $meta[9] = "\x00";
    133133                $tagLen = unpack('Nlen', $meta, 9)['len'];
    134                 $meta = substr($meta, 13, $tagLen);
     134                $meta = (string) substr($meta, 13, $tagLen);
    135135                if (0 < $tagLen -= \strlen($meta)) {
    136136                    $meta .= fread($h, $tagLen);
  • astrology/tags/1.4.9/dependencies/vendor/symfony/cache/Adapter/ProxyAdapter.php

    r3173306 r3444561  
    4949            $item->innerItem = $innerItem;
    5050            $item->poolHash = $poolHash;
    51             // Detect wrapped values that encode for their expiry and creation duration
    52             // For compactness, these values are packed in the key of an array using
    53             // magic numbers in the form 9D-..-..-..-..-00-..-..-..-5F
    5451            reset($v);
    5552            // Detect wrapped values that encode for their expiry and creation duration
     
    5855            if (\is_array($v) && 1 === \count($v) && 10 === \strlen($k = (string) key($v)) && "\x9d" === $k[0] && "\x00" === $k[5] && "_" === $k[9]) {
    5956                $item->value = $v[$k];
    60                 $v = unpack('Ve/Nc', substr($k, 1, -1));
     57                $v = unpack('Ve/Nc', (string) substr($k, 1, -1));
    6158                $item->metadata[CacheItem::METADATA_EXPIRY] = $v['e'] + CacheItem::METADATA_EXPIRY_OFFSET;
    6259                $item->metadata[CacheItem::METADATA_CTIME] = $v['c'];
     
    224221        foreach ($items as $key => $item) {
    225222            if ($this->namespaceLen) {
    226                 $key = substr($key, $this->namespaceLen);
     223                $key = (string) substr($key, $this->namespaceLen);
    227224            }
    228225            yield $key => $f($key, $item);
  • astrology/tags/1.4.9/dependencies/vendor/symfony/cache/Adapter/RedisTagAwareAdapter.php

    r3173306 r3444561  
    143143        foreach ($results as $id => $result) {
    144144            if ($result instanceof \RedisException || $result instanceof ErrorInterface) {
    145                 CacheItem::log($this->logger, 'Failed to delete key "{key}": ' . $result->getMessage(), ['key' => substr($id, \strlen($this->namespace)), 'exception' => $result]);
     145                CacheItem::log($this->logger, 'Failed to delete key "{key}": ' . $result->getMessage(), ['key' => (string) substr($id, \strlen($this->namespace)), 'exception' => $result]);
    146146                continue;
    147147            }
     
    227227        foreach ($results as $id => $values) {
    228228            if ($values instanceof \RedisException || $values instanceof ErrorInterface) {
    229                 CacheItem::log($this->logger, 'Failed to invalidate key "{key}": ' . $values->getMessage(), ['key' => substr($id, \strlen($this->namespace)), 'exception' => $values]);
     229                CacheItem::log($this->logger, 'Failed to invalidate key "{key}": ' . $values->getMessage(), ['key' => (string) substr($id, \strlen($this->namespace)), 'exception' => $values]);
    230230                $success = \false;
    231231                continue;
  • astrology/tags/1.4.9/dependencies/vendor/symfony/cache/Marshaller/TagAwareMarshaller.php

    r3173306 r3444561  
    6565        }
    6666        // data consists of value, tags and metadata which we need to unpack
    67         $meta = substr($value, 1, 12);
     67        $meta = (string) substr($value, 1, 12);
    6868        $meta[8] = "\x00";
    6969        $tagLen = unpack('Nlen', $meta, 8)['len'];
    7070        $meta = substr($meta, 0, 8);
    71         return ['value' => $this->marshaller->unmarshall(substr($value, 13 + $tagLen)), 'tags' => $tagLen ? $this->marshaller->unmarshall(substr($value, 13, $tagLen)) : [], 'meta' => "\x00\x00\x00\x00\x00\x00\x00\x00" === $meta ? null : $meta];
     71        return ['value' => $this->marshaller->unmarshall((string) substr($value, 13 + $tagLen)), 'tags' => $tagLen ? $this->marshaller->unmarshall((string) substr($value, 13, $tagLen)) : [], 'meta' => "\x00\x00\x00\x00\x00\x00\x00\x00" === $meta ? null : $meta];
    7272    }
    7373}
  • astrology/tags/1.4.9/dependencies/vendor/symfony/cache/Simple/AbstractCache.php

    r3173306 r3444561  
    122122        $keys = [];
    123123        foreach (\is_array($e) ? $e : array_keys($valuesById) as $id) {
    124             $keys[] = substr($id, \strlen($this->namespace));
     124            $keys[] = (string) substr($id, \strlen($this->namespace));
    125125        }
    126126        $message = 'Failed to save values' . ($e instanceof \Exception ? ': ' . $e->getMessage() : '.');
  • astrology/tags/1.4.9/dependencies/vendor/symfony/cache/Traits/ApcuTrait.php

    r3173306 r3444561  
    103103        } catch (\Throwable $e) {
    104104            if (1 === \count($values)) {
    105                 // Workaround https://github.com/krakjoe/apcu/issues/170
    106105                reset($values);
    107106                // Workaround https://github.com/krakjoe/apcu/issues/170
  • astrology/tags/1.4.9/dependencies/vendor/symfony/cache/Traits/MemcachedTrait.php

    r3173306 r3444561  
    118118                                $hosts[$host] = [$host, 11211, (int) $weight];
    119119                            } else {
    120                                 $hosts[$host] = [substr($host, 0, $port), (int) substr($host, 1 + $port), (int) $weight];
     120                                $hosts[$host] = [(string) substr($host, 0, $port), (int) substr($host, 1 + $port), (int) $weight];
    121121                            }
    122122                        }
     
    135135                if (isset($params['path']) && preg_match('#/(\d+)$#', $params['path'], $m)) {
    136136                    $params['weight'] = $m[1];
    137                     $params['path'] = substr($params['path'], 0, -\strlen($m[0]));
     137                    $params['path'] = (string) substr($params['path'], 0, -\strlen($m[0]));
    138138                }
    139139                $params += ['host' => $params['host'] ?? $params['path'], 'port' => isset($params['host']) ? 11211 : null, 'weight' => 0];
  • astrology/tags/1.4.9/dependencies/vendor/symfony/cache/Traits/PhpFilesTrait.php

    r3104518 r3444561  
    251251            return '';
    252252        }
    253         $encodedKey = substr(fgets($h), 8);
     253        $encodedKey = (string) substr(fgets($h), 8);
    254254        fclose($h);
    255255        return rawurldecode(rtrim($encodedKey));
  • astrology/tags/1.4.9/dependencies/vendor/symfony/cache/Traits/RedisTrait.php

    r3173306 r3444561  
    110110                        $hosts[$host] = ['scheme' => $tcpScheme, 'host' => $host, 'port' => 6379] + $parameters;
    111111                    } elseif ($port = (int) substr($host, 1 + $i)) {
    112                         $hosts[$host] = ['scheme' => $tcpScheme, 'host' => substr($host, 0, $i), 'port' => $port] + $parameters;
     112                        $hosts[$host] = ['scheme' => $tcpScheme, 'host' => (string) substr($host, 0, $i), 'port' => $port] + $parameters;
    113113                    } else {
    114                         $hosts[$host] = ['scheme' => 'unix', 'path' => substr($host, 0, $i)] + $parameters;
     114                        $hosts[$host] = ['scheme' => 'unix', 'path' => (string) substr($host, 0, $i)] + $parameters;
    115115                    }
    116116                }
     
    122122                if (preg_match('#/(\d+)$#', $params['path'], $m)) {
    123123                    $params['dbindex'] = $m[1];
    124                     $params['path'] = substr($params['path'], 0, -\strlen($m[0]));
     124                    $params['path'] = (string) substr($params['path'], 0, -\strlen($m[0]));
    125125                } elseif (isset($params['host'])) {
    126126                    throw new InvalidArgumentException(sprintf('Invalid Redis DSN: "%s", the "dbindex" parameter must be a number.', $dsn));
     
    362362                    if ($prefixLen) {
    363363                        foreach ($keys as $i => $key) {
    364                             $keys[$i] = substr($key, $prefixLen);
     364                            $keys[$i] = (string) substr($key, $prefixLen);
    365365                        }
    366366                    }
  • astrology/tags/1.4.9/dependencies/vendor/symfony/options-resolver/OptionsResolver.php

    r3173306 r3444561  
    980980    {
    981981        if (\is_array($value) && '[]' === substr($type, -2)) {
    982             $type = substr($type, 0, -2);
     982            $type = (string) substr($type, 0, -2);
    983983            $valid = \true;
    984984            foreach ($value as $val) {
  • astrology/tags/1.4.9/dependencies/vendor/symfony/var-exporter/Internal/Exporter.php

    r3173306 r3444561  
    128128                    $c = \PHP_VERSION_ID >= 80100 && $reflector->hasProperty($n) && ($p = $reflector->getProperty($n))->isReadOnly() ? $p->class : 'stdClass';
    129129                } elseif ('*' === $n[1]) {
    130                     $n = substr($n, 3);
     130                    $n = (string) substr($n, 3);
    131131                    $c = $reflector->getProperty($n)->class;
    132132                    if ('Error' === $c) {
     
    137137                } else {
    138138                    $i = strpos($n, "\x00", 2);
    139                     $c = substr($n, 1, $i - 1);
    140                     $n = substr($n, 1 + $i);
     139                    $c = (string) substr($n, 1, $i - 1);
     140                    $n = (string) substr($n, 1 + $i);
    141141                }
    142142                if (null !== $sleep) {
     
    210210                $m[1] = sprintf('\'."%s".\'', str_replace(["\x00", "\r", "\n", "‪", "‫", "‭", "‮", "⁦", "⁧", "⁨", "‬", "⁩", '\n\\'], ['\0', '\r', '\n', '\u{202A}', '\u{202B}', '\u{202D}', '\u{202E}', '\u{2066}', '\u{2067}', '\u{2068}', '\u{202C}', '\u{2069}', '\n"' . "\n" . $subIndent . '."\\'], $m[1]));
    211211                if ("'" === $m[2]) {
    212                     return substr($m[1], 0, -2);
     212                    return (string) substr($m[1], 0, -2);
    213213                }
    214214                if ('n".\'' === substr($m[1], -4)) {
     
    218218            }, $code, -1, $count);
    219219            if ($count && strncmp($code, "''.", strlen("''.")) === 0) {
    220                 $code = substr($code, 3);
     220                $code = (string) substr($code, 3);
    221221            }
    222222            return $code;
  • astrology/tags/1.4.9/locale/en.php

    r3378058 r3444561  
    303303    'sun_chart'                           => 'Sun Chart',
    304304    'moon_chart'                          => 'Moon Chart',
     305    'birth_time'                          => 'Birth Time',
    305306];
  • astrology/tags/1.4.9/readme.txt

    r3378058 r3444561  
    44Requires at least: 5.6
    55Tested up to: 6.8
    6 Stable tag: 1.4.8
     6Stable tag: 1.4.9
    77Requires PHP: 7.2.0
    88License: GPLV2+
     
    252252== Changelog ==
    253253
     254= 1.4.9 =
     255* Fixed array missing key
     256
    254257= 1.4.8 =
    255258* Added new `display_planet_positions` shortcode for kundli
  • astrology/tags/1.4.9/src/vendor/autoload.php

    r3378058 r3444561  
    2020require_once __DIR__ . '/composer/autoload_real.php';
    2121
    22 return ComposerAutoloaderInit27cdb6d5d360fa861fae7c119020b116::getLoader();
     22return ComposerAutoloaderInita2f6d3d622d2439354e6302d037051f8::getLoader();
  • astrology/tags/1.4.9/src/vendor/composer/ClassLoader.php

    r2952051 r3444561  
    499499            $subPath = $class;
    500500            while (false !== $lastPos = strrpos($subPath, '\\')) {
    501                 $subPath = substr($subPath, 0, $lastPos);
     501                $subPath = (string) substr($subPath, 0, $lastPos);
    502502                $search = $subPath . '\\';
    503503                if (isset($this->prefixDirsPsr4[$search])) {
     
    523523            // namespaced class name
    524524            $logicalPathPsr0 = substr($logicalPathPsr4, 0, $pos + 1)
    525                 . strtr(substr($logicalPathPsr4, $pos + 1), '_', DIRECTORY_SEPARATOR);
     525                . strtr((string) substr($logicalPathPsr4, $pos + 1), '_', DIRECTORY_SEPARATOR);
    526526        } else {
    527527            // PEAR-like class name
  • astrology/tags/1.4.9/src/vendor/composer/autoload_real.php

    r3378058 r3444561  
    33// autoload_real.php @generated by Composer
    44
    5 class ComposerAutoloaderInit27cdb6d5d360fa861fae7c119020b116
     5class ComposerAutoloaderInita2f6d3d622d2439354e6302d037051f8
    66{
    77    private static $loader;
     
    2323        }
    2424
    25         spl_autoload_register(array('ComposerAutoloaderInit27cdb6d5d360fa861fae7c119020b116', 'loadClassLoader'), true, true);
     25        spl_autoload_register(array('ComposerAutoloaderInita2f6d3d622d2439354e6302d037051f8', 'loadClassLoader'), true, true);
    2626        self::$loader = $loader = new \Prokerala_WP_Astrology_Composer\Autoload\ClassLoader(\dirname(__DIR__));
    27         spl_autoload_unregister(array('ComposerAutoloaderInit27cdb6d5d360fa861fae7c119020b116', 'loadClassLoader'));
     27        spl_autoload_unregister(array('ComposerAutoloaderInita2f6d3d622d2439354e6302d037051f8', 'loadClassLoader'));
    2828
    2929        require __DIR__ . '/autoload_static.php';
    30         call_user_func(\Prokerala_WP_Astrology_Composer\Autoload\ComposerStaticInit27cdb6d5d360fa861fae7c119020b116::getInitializer($loader));
     30        call_user_func(\Prokerala_WP_Astrology_Composer\Autoload\ComposerStaticInita2f6d3d622d2439354e6302d037051f8::getInitializer($loader));
    3131
    3232        $loader->setClassMapAuthoritative(true);
  • astrology/tags/1.4.9/src/vendor/composer/autoload_static.php

    r3378058 r3444561  
    55namespace Prokerala_WP_Astrology_Composer\Autoload;
    66
    7 class ComposerStaticInit27cdb6d5d360fa861fae7c119020b116
     7class ComposerStaticInita2f6d3d622d2439354e6302d037051f8
    88{
    99    public static $classMap = array (
     
    4848    {
    4949        return \Closure::bind(function () use ($loader) {
    50             $loader->classMap = ComposerStaticInit27cdb6d5d360fa861fae7c119020b116::$classMap;
     50            $loader->classMap = ComposerStaticInita2f6d3d622d2439354e6302d037051f8::$classMap;
    5151
    5252        }, null, ClassLoader::class);
  • astrology/trunk/astrology.php

    r3378058 r3444561  
    1212 * Plugin URI:  https://api.prokerala.com
    1313 * Description: Integrate astrology calculators powered by Prokerala's Astrology API
    14  * Version:     1.4.8
     14 * Version:     1.4.9
    1515 * Author:      Prokerala
    1616 * Author URI:  https://www.prokerala.com
     
    4646use Prokerala\WP\Astrology\Plugin;
    4747
    48 const PK_ASTROLOGY_VERSION          = '1.4.8';
     48const PK_ASTROLOGY_VERSION          = '1.4.9';
    4949const PK_ASTROLOGY_PHP_MINIMUM      = '7.2.0';
    5050const PK_ASTROLOGY_PLUGIN_MAIN_FILE = __FILE__;
  • astrology/trunk/dependencies/vendor/autoload.php

    r3378058 r3444561  
    2020require_once __DIR__ . '/composer/autoload_real.php';
    2121
    22 return ComposerAutoloaderInitfaef6a8806054af83861b6add740b871::getLoader();
     22return ComposerAutoloaderInitfacddfc376cf22e3708ce05f95fa2650::getLoader();
  • astrology/trunk/dependencies/vendor/composer/ClassLoader.php

    r2952051 r3444561  
    499499            $subPath = $class;
    500500            while (false !== $lastPos = strrpos($subPath, '\\')) {
    501                 $subPath = substr($subPath, 0, $lastPos);
     501                $subPath = (string) substr($subPath, 0, $lastPos);
    502502                $search = $subPath . '\\';
    503503                if (isset($this->prefixDirsPsr4[$search])) {
     
    523523            // namespaced class name
    524524            $logicalPathPsr0 = substr($logicalPathPsr4, 0, $pos + 1)
    525                 . strtr(substr($logicalPathPsr4, $pos + 1), '_', DIRECTORY_SEPARATOR);
     525                . strtr((string) substr($logicalPathPsr4, $pos + 1), '_', DIRECTORY_SEPARATOR);
    526526        } else {
    527527            // PEAR-like class name
  • astrology/trunk/dependencies/vendor/composer/autoload_real.php

    r3378058 r3444561  
    33// autoload_real.php @generated by Composer
    44
    5 class ComposerAutoloaderInitfaef6a8806054af83861b6add740b871
     5class ComposerAutoloaderInitfacddfc376cf22e3708ce05f95fa2650
    66{
    77    private static $loader;
     
    2323        }
    2424
    25         spl_autoload_register(array('ComposerAutoloaderInitfaef6a8806054af83861b6add740b871', 'loadClassLoader'), true, true);
     25        spl_autoload_register(array('ComposerAutoloaderInitfacddfc376cf22e3708ce05f95fa2650', 'loadClassLoader'), true, true);
    2626        self::$loader = $loader = new \Prokerala_WP_Astrology_Composer\Autoload\ClassLoader(\dirname(__DIR__));
    27         spl_autoload_unregister(array('ComposerAutoloaderInitfaef6a8806054af83861b6add740b871', 'loadClassLoader'));
     27        spl_autoload_unregister(array('ComposerAutoloaderInitfacddfc376cf22e3708ce05f95fa2650', 'loadClassLoader'));
    2828
    2929        require __DIR__ . '/autoload_static.php';
    30         call_user_func(\Prokerala_WP_Astrology_Composer\Autoload\ComposerStaticInitfaef6a8806054af83861b6add740b871::getInitializer($loader));
     30        call_user_func(\Prokerala_WP_Astrology_Composer\Autoload\ComposerStaticInitfacddfc376cf22e3708ce05f95fa2650::getInitializer($loader));
    3131
    3232        $loader->setClassMapAuthoritative(true);
  • astrology/trunk/dependencies/vendor/composer/autoload_static.php

    r3378058 r3444561  
    55namespace Prokerala_WP_Astrology_Composer\Autoload;
    66
    7 class ComposerStaticInitfaef6a8806054af83861b6add740b871
     7class ComposerStaticInitfacddfc376cf22e3708ce05f95fa2650
    88{
    99    public static $classMap = array (
     
    607607    {
    608608        return \Closure::bind(function () use ($loader) {
    609             $loader->classMap = ComposerStaticInitfaef6a8806054af83861b6add740b871::$classMap;
     609            $loader->classMap = ComposerStaticInitfacddfc376cf22e3708ce05f95fa2650::$classMap;
    610610
    611611        }, null, ClassLoader::class);
  • astrology/trunk/dependencies/vendor/kriswallsmith/buzz/lib/Client/MultiCurl.php

    r3104518 r3444561  
    193193        foreach ($headers as $header) {
    194194            if (0 === strpos($header, ':path:')) {
    195                 $path = substr($header, 6);
     195                $path = (string) substr($header, 6);
    196196                $url = (string) curl_getinfo($handle)['url'];
    197197                $url = str_replace((string) parse_url($url, \PHP_URL_PATH), $path, $url);
  • astrology/trunk/dependencies/vendor/kriswallsmith/buzz/lib/Message/ResponseBuilder.php

    r3326192 r3444561  
    3131    public function getResponseFromRawInput(string $raw, int $headerSize): ResponseInterface
    3232    {
    33         $headers = substr($raw, 0, $headerSize);
     33        $headers = (string) substr($raw, 0, $headerSize);
    3434        $this->parseHttpHeaders(explode("\n", $headers));
    35         $this->writeBody(substr($raw, $headerSize));
     35        $this->writeBody((string) substr($raw, $headerSize));
    3636        return $this->getResponse();
    3737    }
  • astrology/trunk/dependencies/vendor/kriswallsmith/buzz/lib/Middleware/Cookie/Cookie.php

    r3326192 r3444561  
    7373        $cookieDomain = $this->getAttribute(static::ATTR_DOMAIN) ?? '';
    7474        if (0 === strpos($cookieDomain, '.')) {
    75             $pattern = '/\b' . preg_quote(substr($cookieDomain, 1), '/') . '$/i';
     75            $pattern = '/\b' . preg_quote((string) substr($cookieDomain, 1), '/') . '$/i';
    7676            return (bool) preg_match($pattern, $domain);
    7777        } else {
  • astrology/trunk/dependencies/vendor/kriswallsmith/buzz/lib/Middleware/DigestAuthMiddleware.php

    r3326192 r3444561  
    288288                }
    289289                // Remove the last comma from the header
    290                 $header = substr($header, 0, \strlen($header) - 1);
     290                $header = (string) substr($header, 0, \strlen($header) - 1);
    291291                // Discard the Client Nonce if OPTION_DISCARD_CLIENT_NONCE is set.
    292292                if ($this->options & self::OPTION_DISCARD_CLIENT_NONCE) {
     
    518518            $this->setAuthenticationMethod('Digest');
    519519            // Remove "Digest " from start of header
    520             $wwwAuthenticate = substr($wwwAuthenticate, 7, \strlen($wwwAuthenticate) - 7);
     520            $wwwAuthenticate = (string) substr($wwwAuthenticate, 7, \strlen($wwwAuthenticate) - 7);
    521521            $nameValuePairs = $this->parseNameValuePairs($wwwAuthenticate);
    522522            foreach ($nameValuePairs as $name => $value) {
     
    546546            $this->setAuthenticationMethod('Basic');
    547547            // Remove "Basic " from start of header
    548             $wwwAuthenticate = substr($wwwAuthenticate, 6, \strlen($wwwAuthenticate) - 6);
     548            $wwwAuthenticate = (string) substr($wwwAuthenticate, 6, \strlen($wwwAuthenticate) - 6);
    549549            $nameValuePairs = $this->parseNameValuePairs($wwwAuthenticate);
    550550            foreach ($nameValuePairs as $name => $value) {
     
    704704        if ($str) {
    705705            if ('"' == substr($str, 0, 1)) {
    706                 $str = substr($str, 1, \strlen($str) - 1);
     706                $str = (string) substr($str, 1, \strlen($str) - 1);
    707707            }
    708708            if ('"' == substr($str, \strlen($str) - 1, 1)) {
    709                 $str = substr($str, 0, \strlen($str) - 1);
     709                $str = (string) substr($str, 0, \strlen($str) - 1);
    710710            }
    711711        }
  • astrology/trunk/dependencies/vendor/prokerala/astrology-sdk/src/Api/Astrology/Transformer.php

    r3173306 r3444561  
    131131                $isArray = '[]' === substr($type, -2);
    132132                if ($isArray) {
    133                     $type = substr($type, 0, -2);
     133                    $type = (string) substr($type, 0, -2);
    134134                }
    135135                if (isset($scalarTypes[$type])) {
     
    140140                    $type = $namespace . '\\' . $type;
    141141                } else {
    142                     $type = substr($type, 1);
     142                    $type = (string) substr($type, 1);
    143143                }
    144144                $resolvedTypes[] = $type . ($isArray ? '[]' : '');
     
    184184        foreach ($data as $val) {
    185185            \assert($val instanceof \stdClass);
    186             $paramValue[] = $this->create(substr($paramTypes[0], 0, -2), $val);
     186            $paramValue[] = $this->create((string) substr($paramTypes[0], 0, -2), $val);
    187187            // @phpstan-ignore-line
    188188        }
  • astrology/trunk/dependencies/vendor/ralouphie/getallheaders/src/getallheaders.php

    r2513947 r3444561  
    2020        foreach ($_SERVER as $key => $value) {
    2121            if (substr($key, 0, 5) === 'HTTP_') {
    22                 $key = substr($key, 5);
     22                $key = (string) substr($key, 5);
    2323                if (!isset($copy_server[$key]) || !isset($_SERVER[$key])) {
    2424                    $key = str_replace(' ', '-', ucwords(strtolower(str_replace('_', ' ', $key))));
  • astrology/trunk/dependencies/vendor/slim/psr7/src/Headers.php

    r3326192 r3444561  
    138138        }
    139139        if (strpos(strtolower($name), 'http-') === 0) {
    140             $name = substr($name, 5);
     140            $name = (string) substr($name, 5);
    141141        }
    142142        return $name;
  • astrology/trunk/dependencies/vendor/symfony/cache/Adapter/AbstractAdapter.php

    r3173306 r3444561  
    4343            $item->value = $v = $value;
    4444            $item->isHit = $isHit;
    45             // Detect wrapped values that encode for their expiry and creation duration
    46             // For compactness, these values are packed in the key of an array using
    47             // magic numbers in the form 9D-..-..-..-..-00-..-..-..-5F
    4845            reset($v);
    4946            // Detect wrapped values that encode for their expiry and creation duration
     
    5249            if (\is_array($v) && 1 === \count($v) && 10 === \strlen($k = (string) key($v)) && "\x9d" === $k[0] && "\x00" === $k[5] && "_" === $k[9]) {
    5350                $item->value = $v[$k];
    54                 $v = unpack('Ve/Nc', substr($k, 1, -1));
     51                $v = unpack('Ve/Nc', (string) substr($k, 1, -1));
    5552                $item->metadata[CacheItem::METADATA_EXPIRY] = $v['e'] + CacheItem::METADATA_EXPIRY_OFFSET;
    5653                $item->metadata[CacheItem::METADATA_CTIME] = $v['c'];
     
    158155                    $type = \is_object($v) ? \get_class($v) : \gettype($v);
    159156                    $message = sprintf('Failed to save key "{key}" of type %s%s', $type, $e instanceof \Exception ? ': ' . $e->getMessage() : '.');
    160                     CacheItem::log($this->logger, $message, ['key' => substr($id, \strlen($this->namespace)), 'exception' => $e instanceof \Exception ? $e : null]);
     157                    CacheItem::log($this->logger, $message, ['key' => (string) substr($id, \strlen($this->namespace)), 'exception' => $e instanceof \Exception ? $e : null]);
    161158                }
    162159            } else {
     
    180177                $type = \is_object($v) ? \get_class($v) : \gettype($v);
    181178                $message = sprintf('Failed to save key "{key}" of type %s%s', $type, $e instanceof \Exception ? ': ' . $e->getMessage() : '.');
    182                 CacheItem::log($this->logger, $message, ['key' => substr($id, \strlen($this->namespace)), 'exception' => $e instanceof \Exception ? $e : null]);
     179                CacheItem::log($this->logger, $message, ['key' => (string) substr($id, \strlen($this->namespace)), 'exception' => $e instanceof \Exception ? $e : null]);
    183180            }
    184181        }
  • astrology/trunk/dependencies/vendor/symfony/cache/Adapter/AbstractTagAwareAdapter.php

    r3173306 r3444561  
    178178                    $type = \is_object($v) ? \get_class($v) : \gettype($v);
    179179                    $message = sprintf('Failed to save key "{key}" of type %s%s', $type, $e instanceof \Exception ? ': ' . $e->getMessage() : '.');
    180                     CacheItem::log($this->logger, $message, ['key' => substr($id, \strlen($this->namespace)), 'exception' => $e instanceof \Exception ? $e : null]);
     180                    CacheItem::log($this->logger, $message, ['key' => (string) substr($id, \strlen($this->namespace)), 'exception' => $e instanceof \Exception ? $e : null]);
    181181                }
    182182            } else {
     
    201201                $type = \is_object($v) ? \get_class($v) : \gettype($v);
    202202                $message = sprintf('Failed to save key "{key}" of type %s%s', $type, $e instanceof \Exception ? ': ' . $e->getMessage() : '.');
    203                 CacheItem::log($this->logger, $message, ['key' => substr($id, \strlen($this->namespace)), 'exception' => $e instanceof \Exception ? $e : null]);
     203                CacheItem::log($this->logger, $message, ['key' => (string) substr($id, \strlen($this->namespace)), 'exception' => $e instanceof \Exception ? $e : null]);
    204204            }
    205205        }
  • astrology/trunk/dependencies/vendor/symfony/cache/Adapter/FilesystemTagAwareAdapter.php

    r3173306 r3444561  
    132132                $meta[9] = "\x00";
    133133                $tagLen = unpack('Nlen', $meta, 9)['len'];
    134                 $meta = substr($meta, 13, $tagLen);
     134                $meta = (string) substr($meta, 13, $tagLen);
    135135                if (0 < $tagLen -= \strlen($meta)) {
    136136                    $meta .= fread($h, $tagLen);
  • astrology/trunk/dependencies/vendor/symfony/cache/Adapter/ProxyAdapter.php

    r3173306 r3444561  
    4949            $item->innerItem = $innerItem;
    5050            $item->poolHash = $poolHash;
    51             // Detect wrapped values that encode for their expiry and creation duration
    52             // For compactness, these values are packed in the key of an array using
    53             // magic numbers in the form 9D-..-..-..-..-00-..-..-..-5F
    5451            reset($v);
    5552            // Detect wrapped values that encode for their expiry and creation duration
     
    5855            if (\is_array($v) && 1 === \count($v) && 10 === \strlen($k = (string) key($v)) && "\x9d" === $k[0] && "\x00" === $k[5] && "_" === $k[9]) {
    5956                $item->value = $v[$k];
    60                 $v = unpack('Ve/Nc', substr($k, 1, -1));
     57                $v = unpack('Ve/Nc', (string) substr($k, 1, -1));
    6158                $item->metadata[CacheItem::METADATA_EXPIRY] = $v['e'] + CacheItem::METADATA_EXPIRY_OFFSET;
    6259                $item->metadata[CacheItem::METADATA_CTIME] = $v['c'];
     
    224221        foreach ($items as $key => $item) {
    225222            if ($this->namespaceLen) {
    226                 $key = substr($key, $this->namespaceLen);
     223                $key = (string) substr($key, $this->namespaceLen);
    227224            }
    228225            yield $key => $f($key, $item);
  • astrology/trunk/dependencies/vendor/symfony/cache/Adapter/RedisTagAwareAdapter.php

    r3173306 r3444561  
    143143        foreach ($results as $id => $result) {
    144144            if ($result instanceof \RedisException || $result instanceof ErrorInterface) {
    145                 CacheItem::log($this->logger, 'Failed to delete key "{key}": ' . $result->getMessage(), ['key' => substr($id, \strlen($this->namespace)), 'exception' => $result]);
     145                CacheItem::log($this->logger, 'Failed to delete key "{key}": ' . $result->getMessage(), ['key' => (string) substr($id, \strlen($this->namespace)), 'exception' => $result]);
    146146                continue;
    147147            }
     
    227227        foreach ($results as $id => $values) {
    228228            if ($values instanceof \RedisException || $values instanceof ErrorInterface) {
    229                 CacheItem::log($this->logger, 'Failed to invalidate key "{key}": ' . $values->getMessage(), ['key' => substr($id, \strlen($this->namespace)), 'exception' => $values]);
     229                CacheItem::log($this->logger, 'Failed to invalidate key "{key}": ' . $values->getMessage(), ['key' => (string) substr($id, \strlen($this->namespace)), 'exception' => $values]);
    230230                $success = \false;
    231231                continue;
  • astrology/trunk/dependencies/vendor/symfony/cache/Marshaller/TagAwareMarshaller.php

    r3173306 r3444561  
    6565        }
    6666        // data consists of value, tags and metadata which we need to unpack
    67         $meta = substr($value, 1, 12);
     67        $meta = (string) substr($value, 1, 12);
    6868        $meta[8] = "\x00";
    6969        $tagLen = unpack('Nlen', $meta, 8)['len'];
    7070        $meta = substr($meta, 0, 8);
    71         return ['value' => $this->marshaller->unmarshall(substr($value, 13 + $tagLen)), 'tags' => $tagLen ? $this->marshaller->unmarshall(substr($value, 13, $tagLen)) : [], 'meta' => "\x00\x00\x00\x00\x00\x00\x00\x00" === $meta ? null : $meta];
     71        return ['value' => $this->marshaller->unmarshall((string) substr($value, 13 + $tagLen)), 'tags' => $tagLen ? $this->marshaller->unmarshall((string) substr($value, 13, $tagLen)) : [], 'meta' => "\x00\x00\x00\x00\x00\x00\x00\x00" === $meta ? null : $meta];
    7272    }
    7373}
  • astrology/trunk/dependencies/vendor/symfony/cache/Simple/AbstractCache.php

    r3173306 r3444561  
    122122        $keys = [];
    123123        foreach (\is_array($e) ? $e : array_keys($valuesById) as $id) {
    124             $keys[] = substr($id, \strlen($this->namespace));
     124            $keys[] = (string) substr($id, \strlen($this->namespace));
    125125        }
    126126        $message = 'Failed to save values' . ($e instanceof \Exception ? ': ' . $e->getMessage() : '.');
  • astrology/trunk/dependencies/vendor/symfony/cache/Traits/ApcuTrait.php

    r3173306 r3444561  
    103103        } catch (\Throwable $e) {
    104104            if (1 === \count($values)) {
    105                 // Workaround https://github.com/krakjoe/apcu/issues/170
    106105                reset($values);
    107106                // Workaround https://github.com/krakjoe/apcu/issues/170
  • astrology/trunk/dependencies/vendor/symfony/cache/Traits/MemcachedTrait.php

    r3173306 r3444561  
    118118                                $hosts[$host] = [$host, 11211, (int) $weight];
    119119                            } else {
    120                                 $hosts[$host] = [substr($host, 0, $port), (int) substr($host, 1 + $port), (int) $weight];
     120                                $hosts[$host] = [(string) substr($host, 0, $port), (int) substr($host, 1 + $port), (int) $weight];
    121121                            }
    122122                        }
     
    135135                if (isset($params['path']) && preg_match('#/(\d+)$#', $params['path'], $m)) {
    136136                    $params['weight'] = $m[1];
    137                     $params['path'] = substr($params['path'], 0, -\strlen($m[0]));
     137                    $params['path'] = (string) substr($params['path'], 0, -\strlen($m[0]));
    138138                }
    139139                $params += ['host' => $params['host'] ?? $params['path'], 'port' => isset($params['host']) ? 11211 : null, 'weight' => 0];
  • astrology/trunk/dependencies/vendor/symfony/cache/Traits/PhpFilesTrait.php

    r3104518 r3444561  
    251251            return '';
    252252        }
    253         $encodedKey = substr(fgets($h), 8);
     253        $encodedKey = (string) substr(fgets($h), 8);
    254254        fclose($h);
    255255        return rawurldecode(rtrim($encodedKey));
  • astrology/trunk/dependencies/vendor/symfony/cache/Traits/RedisTrait.php

    r3173306 r3444561  
    110110                        $hosts[$host] = ['scheme' => $tcpScheme, 'host' => $host, 'port' => 6379] + $parameters;
    111111                    } elseif ($port = (int) substr($host, 1 + $i)) {
    112                         $hosts[$host] = ['scheme' => $tcpScheme, 'host' => substr($host, 0, $i), 'port' => $port] + $parameters;
     112                        $hosts[$host] = ['scheme' => $tcpScheme, 'host' => (string) substr($host, 0, $i), 'port' => $port] + $parameters;
    113113                    } else {
    114                         $hosts[$host] = ['scheme' => 'unix', 'path' => substr($host, 0, $i)] + $parameters;
     114                        $hosts[$host] = ['scheme' => 'unix', 'path' => (string) substr($host, 0, $i)] + $parameters;
    115115                    }
    116116                }
     
    122122                if (preg_match('#/(\d+)$#', $params['path'], $m)) {
    123123                    $params['dbindex'] = $m[1];
    124                     $params['path'] = substr($params['path'], 0, -\strlen($m[0]));
     124                    $params['path'] = (string) substr($params['path'], 0, -\strlen($m[0]));
    125125                } elseif (isset($params['host'])) {
    126126                    throw new InvalidArgumentException(sprintf('Invalid Redis DSN: "%s", the "dbindex" parameter must be a number.', $dsn));
     
    362362                    if ($prefixLen) {
    363363                        foreach ($keys as $i => $key) {
    364                             $keys[$i] = substr($key, $prefixLen);
     364                            $keys[$i] = (string) substr($key, $prefixLen);
    365365                        }
    366366                    }
  • astrology/trunk/dependencies/vendor/symfony/options-resolver/OptionsResolver.php

    r3173306 r3444561  
    980980    {
    981981        if (\is_array($value) && '[]' === substr($type, -2)) {
    982             $type = substr($type, 0, -2);
     982            $type = (string) substr($type, 0, -2);
    983983            $valid = \true;
    984984            foreach ($value as $val) {
  • astrology/trunk/dependencies/vendor/symfony/var-exporter/Internal/Exporter.php

    r3173306 r3444561  
    128128                    $c = \PHP_VERSION_ID >= 80100 && $reflector->hasProperty($n) && ($p = $reflector->getProperty($n))->isReadOnly() ? $p->class : 'stdClass';
    129129                } elseif ('*' === $n[1]) {
    130                     $n = substr($n, 3);
     130                    $n = (string) substr($n, 3);
    131131                    $c = $reflector->getProperty($n)->class;
    132132                    if ('Error' === $c) {
     
    137137                } else {
    138138                    $i = strpos($n, "\x00", 2);
    139                     $c = substr($n, 1, $i - 1);
    140                     $n = substr($n, 1 + $i);
     139                    $c = (string) substr($n, 1, $i - 1);
     140                    $n = (string) substr($n, 1 + $i);
    141141                }
    142142                if (null !== $sleep) {
     
    210210                $m[1] = sprintf('\'."%s".\'', str_replace(["\x00", "\r", "\n", "‪", "‫", "‭", "‮", "⁦", "⁧", "⁨", "‬", "⁩", '\n\\'], ['\0', '\r', '\n', '\u{202A}', '\u{202B}', '\u{202D}', '\u{202E}', '\u{2066}', '\u{2067}', '\u{2068}', '\u{202C}', '\u{2069}', '\n"' . "\n" . $subIndent . '."\\'], $m[1]));
    211211                if ("'" === $m[2]) {
    212                     return substr($m[1], 0, -2);
     212                    return (string) substr($m[1], 0, -2);
    213213                }
    214214                if ('n".\'' === substr($m[1], -4)) {
     
    218218            }, $code, -1, $count);
    219219            if ($count && strncmp($code, "''.", strlen("''.")) === 0) {
    220                 $code = substr($code, 3);
     220                $code = (string) substr($code, 3);
    221221            }
    222222            return $code;
  • astrology/trunk/locale/en.php

    r3378058 r3444561  
    303303    'sun_chart'                           => 'Sun Chart',
    304304    'moon_chart'                          => 'Moon Chart',
     305    'birth_time'                          => 'Birth Time',
    305306];
  • astrology/trunk/readme.txt

    r3378058 r3444561  
    44Requires at least: 5.6
    55Tested up to: 6.8
    6 Stable tag: 1.4.8
     6Stable tag: 1.4.9
    77Requires PHP: 7.2.0
    88License: GPLV2+
     
    252252== Changelog ==
    253253
     254= 1.4.9 =
     255* Fixed array missing key
     256
    254257= 1.4.8 =
    255258* Added new `display_planet_positions` shortcode for kundli
  • astrology/trunk/src/vendor/autoload.php

    r3378058 r3444561  
    2020require_once __DIR__ . '/composer/autoload_real.php';
    2121
    22 return ComposerAutoloaderInit27cdb6d5d360fa861fae7c119020b116::getLoader();
     22return ComposerAutoloaderInita2f6d3d622d2439354e6302d037051f8::getLoader();
  • astrology/trunk/src/vendor/composer/ClassLoader.php

    r2952051 r3444561  
    499499            $subPath = $class;
    500500            while (false !== $lastPos = strrpos($subPath, '\\')) {
    501                 $subPath = substr($subPath, 0, $lastPos);
     501                $subPath = (string) substr($subPath, 0, $lastPos);
    502502                $search = $subPath . '\\';
    503503                if (isset($this->prefixDirsPsr4[$search])) {
     
    523523            // namespaced class name
    524524            $logicalPathPsr0 = substr($logicalPathPsr4, 0, $pos + 1)
    525                 . strtr(substr($logicalPathPsr4, $pos + 1), '_', DIRECTORY_SEPARATOR);
     525                . strtr((string) substr($logicalPathPsr4, $pos + 1), '_', DIRECTORY_SEPARATOR);
    526526        } else {
    527527            // PEAR-like class name
  • astrology/trunk/src/vendor/composer/autoload_real.php

    r3378058 r3444561  
    33// autoload_real.php @generated by Composer
    44
    5 class ComposerAutoloaderInit27cdb6d5d360fa861fae7c119020b116
     5class ComposerAutoloaderInita2f6d3d622d2439354e6302d037051f8
    66{
    77    private static $loader;
     
    2323        }
    2424
    25         spl_autoload_register(array('ComposerAutoloaderInit27cdb6d5d360fa861fae7c119020b116', 'loadClassLoader'), true, true);
     25        spl_autoload_register(array('ComposerAutoloaderInita2f6d3d622d2439354e6302d037051f8', 'loadClassLoader'), true, true);
    2626        self::$loader = $loader = new \Prokerala_WP_Astrology_Composer\Autoload\ClassLoader(\dirname(__DIR__));
    27         spl_autoload_unregister(array('ComposerAutoloaderInit27cdb6d5d360fa861fae7c119020b116', 'loadClassLoader'));
     27        spl_autoload_unregister(array('ComposerAutoloaderInita2f6d3d622d2439354e6302d037051f8', 'loadClassLoader'));
    2828
    2929        require __DIR__ . '/autoload_static.php';
    30         call_user_func(\Prokerala_WP_Astrology_Composer\Autoload\ComposerStaticInit27cdb6d5d360fa861fae7c119020b116::getInitializer($loader));
     30        call_user_func(\Prokerala_WP_Astrology_Composer\Autoload\ComposerStaticInita2f6d3d622d2439354e6302d037051f8::getInitializer($loader));
    3131
    3232        $loader->setClassMapAuthoritative(true);
  • astrology/trunk/src/vendor/composer/autoload_static.php

    r3378058 r3444561  
    55namespace Prokerala_WP_Astrology_Composer\Autoload;
    66
    7 class ComposerStaticInit27cdb6d5d360fa861fae7c119020b116
     7class ComposerStaticInita2f6d3d622d2439354e6302d037051f8
    88{
    99    public static $classMap = array (
     
    4848    {
    4949        return \Closure::bind(function () use ($loader) {
    50             $loader->classMap = ComposerStaticInit27cdb6d5d360fa861fae7c119020b116::$classMap;
     50            $loader->classMap = ComposerStaticInita2f6d3d622d2439354e6302d037051f8::$classMap;
    5151
    5252        }, null, ClassLoader::class);
Note: See TracChangeset for help on using the changeset viewer.