SILENT KILLERPanel

Current Path: > home > codekrsu > > ameliagraphics.com > wp-content > plugins > jetpack > vendor > scssphp > scssphp > src >


Operation   : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Software     : Apache
Server IP    : 162.0.232.56 | Your IP: 216.73.216.111
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: /home/codekrsu//ameliagraphics.com/wp-content/plugins/jetpack/vendor/scssphp/scssphp/src/

NameTypeSizeLast ModifiedActions
Base Directory - -
Block Directory - -
Compiler Directory - -
Exception Directory - -
Formatter Directory - -
Logger Directory - -
Node Directory - -
SourceMap Directory - -
Util Directory - -
Block.php File 887 bytes November 14 2023 22:55:08.
Cache.php File 6843 bytes November 14 2023 22:55:08.
Colors.php File 7811 bytes November 14 2023 22:55:08.
CompilationResult.php File 1139 bytes November 14 2023 22:55:08.
Compiler.php File 314354 bytes November 21 2023 01:33:54.
Formatter.php File 8752 bytes November 14 2023 22:55:08.
Node.php File 543 bytes November 14 2023 22:55:08.
OutputStyle.php File 1523 bytes November 21 2023 01:33:54.
Parser.php File 115429 bytes November 21 2023 01:33:54.
Type.php File 3463 bytes November 14 2023 22:55:08.
Util.php File 5139 bytes November 14 2023 22:55:08.
ValueConverter.php File 2338 bytes November 14 2023 22:55:08.
Version.php File 317 bytes November 21 2023 01:33:54.
Warn.php File 1991 bytes November 14 2023 22:55:08.

Reading File: /home/codekrsu//ameliagraphics.com/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);
    }
}

SILENT KILLER Tool