GRAYBYTE WORDPRESS FILE MANAGER1907

Server IP : 162.213.255.40 / Your IP : 216.73.216.119
System : Linux server146.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64
PHP Version : 8.0.30
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF

HOME

/home/hellrfbn/public_html/wp-content/plugins/jetpack/vendor/scssphp/scssphp/src/
Upload Files :
Current_dir [ Writeable ] Document_root [ Writeable ]

Command :


Current File : /home/hellrfbn/public_html/wp-content/plugins/jetpack/vendor/scssphp/scssphp/src//Warn.php
<?php

/**
 * SCSSPHP
 *
 * @copyright 2012-2020 Leaf Corcoran
 *
 * @license http://opensource.org/licenses/MIT MIT
 *
 * @link http://scssphp.github.io/scssphp
 */

namespace ScssPhp\ScssPhp;

final class Warn
{
    /**
     * @var callable|null
     * @phpstan-var (callable(string, bool): void)|null
     */
    private static $callback;

    /**
     * Prints a warning message associated with the current `@import` or function call.
     *
     * This may only be called within a custom function or importer callback.
     *
     * @param string $message
     *
     * @return void
     */
    public static function warning($message)
    {
        self::reportWarning($message, false);
    }

    /**
     * Prints a deprecation warning message associated with the current `@import` or function call.
     *
     * This may only be called within a custom function or importer callback.
     *
     * @param string $message
     *
     * @return void
     */
    public static function deprecation($message)
    {
        self::reportWarning($message, true);
    }

    /**
     * @param callable|null $callback
     *
     * @return callable|null The previous warn callback
     *
     * @phpstan-param (callable(string, bool): void)|null $callback
     *
     * @phpstan-return (callable(string, bool): void)|null
     *
     * @internal
     */
    public static function setCallback(callable $callback = null)
    {
        $previousCallback = self::$callback;
        self::$callback = $callback;

        return $previousCallback;
    }

    /**
     * @param string $message
     * @param bool   $deprecation
     *
     * @return void
     */
    private static function reportWarning($message, $deprecation)
    {
        if (self::$callback === null) {
            throw new \BadMethodCallException('The warning Reporter may only be called within a custom function or importer callback.');
        }

        \call_user_func(self::$callback, $message, $deprecation);
    }
}

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
July 23 2025 07:38:28
hellrfbn / hellrfbn
0755
Base
--
July 23 2025 07:38:28
hellrfbn / hellrfbn
0755
Block
--
July 23 2025 07:38:28
hellrfbn / hellrfbn
0755
Compiler
--
July 23 2025 07:38:28
hellrfbn / hellrfbn
0755
Exception
--
July 23 2025 07:38:28
hellrfbn / hellrfbn
0755
Formatter
--
July 23 2025 07:38:28
hellrfbn / hellrfbn
0755
Logger
--
July 23 2025 07:38:28
hellrfbn / hellrfbn
0755
Node
--
July 23 2025 07:38:28
hellrfbn / hellrfbn
0755
SourceMap
--
July 23 2025 07:38:28
hellrfbn / hellrfbn
0755
Util
--
July 23 2025 07:38:28
hellrfbn / hellrfbn
0755
.htaccess
0.41 KB
July 23 2025 07:38:28
hellrfbn / hellrfbn
0644
Block.php
0.866 KB
February 05 2025 15:45:00
hellrfbn / hellrfbn
0644
Cache.php
6.683 KB
February 05 2025 15:45:00
hellrfbn / hellrfbn
0644
Colors.php
7.628 KB
February 05 2025 15:45:00
hellrfbn / hellrfbn
0644
CompilationResult.php
1.112 KB
February 05 2025 15:45:00
hellrfbn / hellrfbn
0644
Compiler.php
306.986 KB
July 24 2025 00:46:43
hellrfbn / hellrfbn
0777
Formatter.php
8.547 KB
February 05 2025 15:45:00
hellrfbn / hellrfbn
0644
Node.php
0.53 KB
February 05 2025 15:45:00
hellrfbn / hellrfbn
0644
OutputStyle.php
1.487 KB
February 05 2025 15:45:00
hellrfbn / hellrfbn
0644
Parser.php
112.724 KB
February 05 2025 15:45:00
hellrfbn / hellrfbn
0644
Type.php
3.382 KB
February 05 2025 15:45:00
hellrfbn / hellrfbn
0644
Util.php
5.019 KB
February 05 2025 15:45:00
hellrfbn / hellrfbn
0644
ValueConverter.php
2.283 KB
February 05 2025 15:45:00
hellrfbn / hellrfbn
0644
Version.php
0.31 KB
February 05 2025 15:45:00
hellrfbn / hellrfbn
0644
Warn.php
1.944 KB
February 05 2025 15:45:00
hellrfbn / hellrfbn
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF