Plugin Directory

Changeset 2270813


Ignore:
Timestamp:
03/30/2020 01:48:27 PM (6 years ago)
Author:
sebaxtian
Message:

Solve bugs

Location:
scss-library/trunk
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • scss-library/trunk/readme.txt

    r2163315 r2270813  
    5151
    5252== Changelog ==
     53= 0.2.6 =
     54* Solving bugs.
     55
     56= 0.2 =
     57* Feature: develop environment options.
     58
     59= 0.1.6 =
     60* Solving bugs.
     61
    5362= 0.1.5 =
    5463* Solving multisite bugs.
  • scss-library/trunk/scss-library.php

    r2251610 r2270813  
    44Description: Adds support for SCSS stylesheets to wp_enqueue_style.
    55Author: Juan Sebastián Echeverry
    6 Version: 0.2.5
     6Version: 0.2.6
    77Text Domain: scsslib
    88
     
    2626// Si estamos usando wp-cli, no correr el plugin
    2727$autoloader = __DIR__ . '/vendor/autoload.php';
    28 if ( !is_readable( $autoloader ) ) return;
     28if (!is_readable($autoloader)) {
     29    return;
     30}
    2931
    3032require_once('vendor/autoload.php');
  • scss-library/trunk/src/ScssLibrary.php

    r2251610 r2270813  
    3232
    3333    // Arreglo apra guardar los mensajes de error de compilación
    34     protected $errors = array();
     34    protected $errors = [];
    3535
    3636    // Directorio donde se escribirán los archivos compilados
     
    4848        add_action('plugins_loaded', [$this, 'plugin_setup']);
    4949        add_filter('style_loader_src', [$this, 'style_loader_src'], 10, 2);
    50         add_action('wp_footer', array($this, 'wp_footer'));
     50        add_action('wp_footer', [$this, 'wp_footer']);
    5151        add_action('admin_notices', [$this, 'admin_notices']);
    5252        add_action('admin_bar_menu', [$this, 'admin_bar_menu'], 100);
     
    6363    {
    6464        // Activar el traductor
    65         load_plugin_textdomain('scsslib', false, basename(dirname( __FILE__, 2 )) . '/languages/');
    66     }
    67 
    68     public function set_directory( $path = false ) {
    69         if(!$path) {
     65        load_plugin_textdomain('scsslib', false, basename(dirname(__FILE__, 2)) . '/languages/');
     66    }
     67
     68    public function set_directory($path = false)
     69    {
     70        if (!$path) {
    7071            // Directorio donde se almacenará el cache
    7172            $pathname = '/build/scss_library/';
    72             if ( is_multisite() ) {
    73                 $blog_id   = get_current_blog_id();
    74                 $pathname .= $blog_id . '/';
    75             }
     73            if (is_multisite()) {
     74                $blog_id   = get_current_blog_id();
     75                $pathname .= $blog_id . '/';
     76            }
    7677
    7778            $this->build_dir = WP_CONTENT_DIR . $pathname;
     
    9899
    99100        // ¿Ya sabemos si estamos en modo de desarrollo?
    100         if(!$this->modo_desarrollo) {
     101        if (!$this->modo_desarrollo) {
    101102            // Determinar si hubo un cambio
    102103            $opciones = get_option('scsslibrary');
     
    113114
    114115        // Parsear la URL del archivo de estilo
    115         $url = parse_url($src);
     116        $url      = parse_url($src);
    116117        $pathinfo = pathinfo($url['path']);
    117118
     
    133134
    134135        // Si es parte de un multisitio entonces hay que retirar el 'dominio'
    135         if ( is_multisite() ) {
    136             $aux = get_blog_details();
    137             $blog_details_path   = $aux->path;
    138             if($blog_details_path != PATH_CURRENT_SITE) {
     136        if (is_multisite()) {
     137            $aux                 = get_blog_details();
     138            $blog_details_path   = $aux->path;
     139            if ($blog_details_path != PATH_CURRENT_SITE) {
    139140                $in = str_replace($blog_details_path, PATH_CURRENT_SITE, $in);
    140141            }
    141         }
     142        }
    142143
    143144        // Confirmar que el archivo fuente existe
    144145        if (file_exists($in) === false) {
    145             array_push($this->errors, array(
     146            array_push($this->errors, [
    146147                'handle'  => $handle,
    147148                'file'    => basename($in),
    148149                'message' => __('Source file not found.', 'scsslib'),
    149             ));
     150            ]);
     151
    150152            return $src;
    151153        }
     
    161163        if (is_dir($outputDir) === false) {
    162164            if (wp_mkdir_p($outputDir) === false) {
    163                 array_push($this->errors, array(
     165                array_push($this->errors, [
    164166                    'handle'  => $handle,
    165167                    'file'    => 'Cache Directory',
    166168                    'message' => __('File Permissions Error, unable to create cache directory. Please make sure the Wordpress Uploads directory is writable.', 'scsslib'),
    167                 ));
     169                ]);
    168170                delete_transient('scsslib_filemtimes');
     171
    169172                return $src;
    170173            }
     
    174177        // compilados tiene permisos de escritura
    175178        if (is_writable($outputDir) === false) {
    176             array_push($this->errors, array(
     179            array_push($this->errors, [
    177180                'handle'  => $handle,
    178181                'file'    => 'Cache Directory',
    179182                'message' => __('File Permissions Error, permission denied. Please make the cache directory writable.', 'scsslib'),
    180             ));
     183            ]);
    181184            delete_transient('scsslib_filemtimes');
     185
    182186            return $src;
    183187        }
     
    192196        // Obtener la fecha que tenemos almacenada como fecha de creación de cada archivos
    193197        if (($filemtimes = get_transient('scsslib_filemtimes')) === false) {
    194             $filemtimes = array();
     198            $filemtimes = [];
    195199        }
    196200
     
    202206
    203207        // Obtener las variables variables
    204         $variables = apply_filters('scsslib_compiler_variables', array(
     208        $variables = apply_filters('scsslib_compiler_variables', [
    205209            'template_directory_uri'   => get_template_directory_uri(),
    206210            'stylesheet_directory_uri' => get_stylesheet_directory_uri(),
    207         ));
     211        ]);
    208212
    209213        // Si las variables no coinciden entonces hay que compilar
     
    217221
    218222        // Si el archivo no existe entonces hay que compilar
    219         if(!file_exists($outputDir . $outName)) {
     223        if (!file_exists($outputDir . $outName)) {
    220224            $compileRequired = true;
    221225        }
     
    232236
    233237                // Determinar las varianles para el archivo de depuración
    234                 $srcmap_data = array(
     238                $srcmap_data = [
    235239                    // Ruta absoluta donde se escribirá el archivo .map
    236                     'sourceMapWriteTo'  => $outputDir . $outName . ".map",
     240                    'sourceMapWriteTo'  => $outputDir . $outName . '.map',
    237241                    // URL completa o relativa al archivp .map
    238                     'sourceMapURL'      => $outputUrl . ".map",
     242                    'sourceMapURL'      => $outputUrl . '.map',
    239243                    // (Opcional) URL relativa o completa al archivo .css compilado
    240244                    'sourceMapFilename' => $outputUrl,
     
    243247                    // (Opcional) Antepuesto a las entradas de campo 'fuente' para reubicar archivos fuente
    244248                    'sourceRoot'        => $src,
    245                 );
     249                ];
    246250
    247251                // Configuración para crear el archivo .map de depuración.
     
    256260                $css = $compiler->compile(file_get_contents($in), $in);
    257261            } catch (Exception $e) {
    258                 array_push($this->errors, array(
     262                array_push($this->errors, [
    259263                    'handle'  => $handle,
    260264                    'file'    => basename($in),
    261265                    'message' => $e->getMessage(),
    262                 ));
     266                ]);
     267
    263268                return $src;
    264269            }
     
    282287    /**
    283288     * Los mensajes para ser desplegados en la parte duperior del dashboard.
    284      * De momento muestra una advertencia si estamos en modo de desarrollador
    285      */
    286     public function admin_notices() :void {
     289     * De momento muestra una advertencia si estamos en modo de desarrollador
     290     */
     291    public function admin_notices() :void
     292    {
    287293        // Leer de la sopciones si estamos en modo develop
    288294        $opciones = get_option('scsslibrary');
    289295
    290296        //Si hay un parámetro por get para desactivar el modo de desarrollo, desactivarlo
    291         if(isset($_GET['deactivate_scss_library_development_mode'])) {
     297        if (isset($_GET['deactivate_scss_library_devmode'])) {
    292298            $opciones['develop'] = false;
    293299            update_option('scsslibrary', $opciones);
    294300        }
    295301
    296         if(isset($opciones['develop']) && $opciones['develop'] === true) {
     302        if (isset($opciones['develop']) && $opciones['develop'] === true) {
    297303            $url = parse_url($_SERVER['REQUEST_URI']);
    298             parse_str($url['query'], $query);
    299             $query['deactivate_scss_library_development_mode'] = true;
    300             $url['query'] = http_build_query($query);
    301             $url = $url['path'] . '?' . $url['query'];
     304
     305            // Parcear el query
     306            $query = [];
     307            if (isset($url['query'])) {
     308                parse_str($url['query'], $query);
     309            }
     310            $query['deactivate_scss_library_devmode'] = true;
     311            $url['query']                             = http_build_query($query);
     312            $url                                      = $url['path'] . '?' . $url['query'];
    302313
    303314            $text = sprintf(__("The development mode from the <strong>SCSS-Library</strong> is active. Remember to <a href='%s'>deactivate it</a> in case this is a production environment.", 'scsslib'), $url);
     
    310321     * @param  Object $admin_bar Barra de administración
    311322     */
    312     public function admin_bar_menu($admin_bar): void {
     323    public function admin_bar_menu($admin_bar): void
     324    {
    313325        // Solo los usuarios con permisos para editar temas pueden tener
    314326        // acceso a estas acciones
    315         if(current_user_can('edit_theme_options')) {
     327        if (current_user_can('edit_theme_options')) {
    316328
    317329            // Items para habilitar o deshabilitar
     
    319331
    320332            // ¿Activar el modo de desarrollo?
    321             if(isset( $_GET['activate_scss_library_devmode'] )) {
     333            if (isset($_GET['activate_scss_library_devmode'])) {
    322334                $opciones['develop'] = true;
    323335                update_option('scsslibrary', $opciones);
     
    325337
    326338            // ¿Desactivar el modo de desarrollo?
    327             if(isset( $_GET['deactivate_scss_library_devmode'] )) {
     339            if (isset($_GET['deactivate_scss_library_devmode'])) {
    328340                $opciones['develop'] = false;
    329341                update_option('scsslibrary', $opciones);
     
    331343
    332344            // Item contenedor principal
    333             $admin_bar->add_menu( array(
    334                     'id'    => 'scss-library',
    335                     'title' => __('SCSS Library', 'scsslib'),
    336                     'href'  => '#',
    337                     'meta' => array(
    338                         'class' => $opciones['develop'] ? 'sl-alert' : '',
    339                         'html' => "<style>
     345            $admin_bar->add_menu([
     346                'id'    => 'scss-library',
     347                'title' => __('SCSS Library', 'scsslib'),
     348                'href'  => '#',
     349                'meta'  => [
     350                    'class' => $opciones['develop'] ? 'sl-alert' : '',
     351                    'html'  => '<style>
    340352                        #wpadminbar .menupop.sl-alert > a.ab-item { color: white; background: #9c3e3d; }
    341                         </style>"
    342                     )
    343             ));
     353                        </style>',
     354                ],
     355            ]);
    344356
    345357            // Elementos para la URL
    346358            $url = parse_url($_SERVER['REQUEST_URI']);
    347             parse_str($url['query'], $query);
    348             $query1['recompile_scss_files'] = true;
     359
     360            // Parcear el query
     361            $query = [];
     362            if (isset($url['query'])) {
     363                parse_str($url['query'], $query);
     364            }
     365            $query1['recompile_scss_files']            = true;
    349366            $query2['deactivate_scss_library_devmode'] = true;
    350             $query3['activate_scss_library_devmode'] = true;
     367            $query3['activate_scss_library_devmode']   = true;
    351368
    352369            // Sub item para recompilar
    353             if(!is_admin()) {
    354                 $admin_bar->add_menu( array(
    355                     'id'    => 'clear-scss',
    356                     'parent' => 'scss-library',
    357                     'title' => __('Recompile SCSS files', 'scsslib'),
    358                     'href'  => $url['path'] . '?' . http_build_query($query1),
    359                 ));
     370            if (!is_admin()) {
     371                $admin_bar->add_menu([
     372                    'id'     => 'clear-scss',
     373                    'parent' => 'scss-library',
     374                    'title' => __('Recompile SCSS files', 'scsslib'),
     375                    'href'   => $url['path'] . '?' . http_build_query($query1),
     376                ]);
    360377            }
    361378
    362379            // Si no está activo el develop
    363             if (isset($opciones['develop']) && $opciones['develop'] ) {
    364                 $admin_bar->add_menu( array(
    365                 'id'    => 'deactivate-scss-devmode',
    366                 'parent' => 'scss-library',
    367                 'title' => __('Deactivate development mode', 'scsslib'),
    368                 'href'  => $url['path'] . '?' . http_build_query($query2),
    369                         'meta' => array(
    370                             'class' => 'sl-active',
    371                             'html' => "<style>
     380            if (isset($opciones['develop']) && $opciones['develop']) {
     381                $admin_bar->add_menu([
     382                    'id'     => 'deactivate-scss-devmode',
     383                    'parent' => 'scss-library',
     384                    'title' => __('Deactivate development mode', 'scsslib'),
     385                    'href'   => $url['path'] . '?' . http_build_query($query2),
     386                    'meta'   => [
     387                        'class' => 'sl-active',
     388                        'html'  => '<style>
    372389                            #wpadminbar .ab-submenu .sl-active > a.ab-item { color: white; background: #9c3e3d; }
    373                             </style>"
    374                         )
    375             ));
     390                            </style>',
     391                    ],
     392                ]);
    376393            } else {
    377                 $admin_bar->add_menu( array(
    378                 'id'    => 'activate-scss-devmode',
    379                 'parent' => 'scss-library',
    380                 'title' => __('Activate development mode', 'scsslib'),
    381                 'href'  => $url['path'] . '?' . http_build_query($query3)
    382             ));
     394                $admin_bar->add_menu([
     395                    'id'     => 'activate-scss-devmode',
     396                    'parent' => 'scss-library',
     397                    'title' => __('Activate development mode', 'scsslib'),
     398                    'href'   => $url['path'] . '?' . http_build_query($query3),
     399                ]);
    383400            }
    384401        }
     
    443460            <?php foreach ($this->errors as $error): ?>
    444461                <div class="scsslib-error">
    445                     <div class="scsslib-file"><?php if($error['handle']) printf('%s : ', $error['handle']); ?><?php print $error['file'] ?></div>
     462                    <div class="scsslib-file"><?php if ($error['handle']) {
     463            printf('%s : ', $error['handle']);
     464        } ?><?php print $error['file'] ?></div>
    446465                    <div class="scsslib-message"><?php print $error['message'] ?></div>
    447466                </div>
  • scss-library/trunk/src/Settings/ScssLibrary.php

    r2251591 r2270813  
    1414    protected function __construct()
    1515    {
    16         add_action('customize_register', array($this, 'options'));
     16        add_action('customize_register', [$this, 'options']);
    1717    }
    1818
     
    2626        $wp_customize->add_section(
    2727            'scsslibrary',
    28             array(
     28            [
    2929                'title' => __('SCSS Compiler', 'scsslib'),
    30             )
     30            ]
    3131        );
    3232
     
    3434        $wp_customize->add_setting(
    3535            'scsslibrary[develop]',
    36             array(
     36            [
    3737                'type' => 'option', // or 'theme_mod'
    38             )
     38            ]
    3939        );
    4040
    4141        $wp_customize->add_control(
    4242            'scsslibrary[develop]',
    43             array(
    44                 'label' => __('Developer mode', 'scsslib'),
     43            [
     44                'label'       => __('Developer mode', 'scsslib'),
    4545                'description' => __('Enable this option if you want to always compile the files. This is helpful while developing but remember to disable it when in production.', 'scsslib'),
    46                 'section' => 'scsslibrary',
    47                 'settings' => 'scsslibrary[develop]',
    48                 'type' => 'checkbox'
    49             )
     46                'section'     => 'scsslibrary',
     47                'settings'    => 'scsslibrary[develop]',
     48                'type'        => 'checkbox',
     49            ]
    5050        );
    5151    }
  • scss-library/trunk/vendor/autoload.php

    r2251603 r2270813  
    55require_once __DIR__ . '/composer/autoload_real.php';
    66
    7 return ComposerAutoloaderInit79b7a9c44176eea7cf65737a0dfc10a0::getLoader();
     7return ComposerAutoloaderInitff69a621beb925ab247ba89a2b55463b::getLoader();
  • scss-library/trunk/vendor/composer/autoload_classmap.php

    r2251603 r2270813  
    77
    88return array(
     9    'Baxtian\\Singleton' => $vendorDir . '/baxtian/php-singleton/src/Singleton.php',
     10    'ScssLibrary\\ScssLibrary' => $baseDir . '/src/ScssLibrary.php',
     11    'ScssLibrary\\Settings\\ScssLibrary' => $baseDir . '/src/Settings/ScssLibrary.php',
     12    'ScssPhp\\ScssPhp\\Base\\Range' => $vendorDir . '/scssphp/scssphp/src/Base/Range.php',
     13    'ScssPhp\\ScssPhp\\Block' => $vendorDir . '/scssphp/scssphp/src/Block.php',
     14    'ScssPhp\\ScssPhp\\Cache' => $vendorDir . '/scssphp/scssphp/src/Cache.php',
     15    'ScssPhp\\ScssPhp\\Colors' => $vendorDir . '/scssphp/scssphp/src/Colors.php',
     16    'ScssPhp\\ScssPhp\\Compiler' => $vendorDir . '/scssphp/scssphp/src/Compiler.php',
     17    'ScssPhp\\ScssPhp\\Compiler\\Environment' => $vendorDir . '/scssphp/scssphp/src/Compiler/Environment.php',
     18    'ScssPhp\\ScssPhp\\Exception\\CompilerException' => $vendorDir . '/scssphp/scssphp/src/Exception/CompilerException.php',
     19    'ScssPhp\\ScssPhp\\Exception\\ParserException' => $vendorDir . '/scssphp/scssphp/src/Exception/ParserException.php',
     20    'ScssPhp\\ScssPhp\\Exception\\RangeException' => $vendorDir . '/scssphp/scssphp/src/Exception/RangeException.php',
     21    'ScssPhp\\ScssPhp\\Exception\\ServerException' => $vendorDir . '/scssphp/scssphp/src/Exception/ServerException.php',
     22    'ScssPhp\\ScssPhp\\Formatter' => $vendorDir . '/scssphp/scssphp/src/Formatter.php',
     23    'ScssPhp\\ScssPhp\\Formatter\\Compact' => $vendorDir . '/scssphp/scssphp/src/Formatter/Compact.php',
     24    'ScssPhp\\ScssPhp\\Formatter\\Compressed' => $vendorDir . '/scssphp/scssphp/src/Formatter/Compressed.php',
     25    'ScssPhp\\ScssPhp\\Formatter\\Crunched' => $vendorDir . '/scssphp/scssphp/src/Formatter/Crunched.php',
     26    'ScssPhp\\ScssPhp\\Formatter\\Debug' => $vendorDir . '/scssphp/scssphp/src/Formatter/Debug.php',
     27    'ScssPhp\\ScssPhp\\Formatter\\Expanded' => $vendorDir . '/scssphp/scssphp/src/Formatter/Expanded.php',
     28    'ScssPhp\\ScssPhp\\Formatter\\Nested' => $vendorDir . '/scssphp/scssphp/src/Formatter/Nested.php',
     29    'ScssPhp\\ScssPhp\\Formatter\\OutputBlock' => $vendorDir . '/scssphp/scssphp/src/Formatter/OutputBlock.php',
     30    'ScssPhp\\ScssPhp\\Node' => $vendorDir . '/scssphp/scssphp/src/Node.php',
     31    'ScssPhp\\ScssPhp\\Node\\Number' => $vendorDir . '/scssphp/scssphp/src/Node/Number.php',
     32    'ScssPhp\\ScssPhp\\Parser' => $vendorDir . '/scssphp/scssphp/src/Parser.php',
     33    'ScssPhp\\ScssPhp\\SourceMap\\Base64' => $vendorDir . '/scssphp/scssphp/src/SourceMap/Base64.php',
     34    'ScssPhp\\ScssPhp\\SourceMap\\Base64VLQ' => $vendorDir . '/scssphp/scssphp/src/SourceMap/Base64VLQ.php',
     35    'ScssPhp\\ScssPhp\\SourceMap\\SourceMapGenerator' => $vendorDir . '/scssphp/scssphp/src/SourceMap/SourceMapGenerator.php',
     36    'ScssPhp\\ScssPhp\\Type' => $vendorDir . '/scssphp/scssphp/src/Type.php',
     37    'ScssPhp\\ScssPhp\\Util' => $vendorDir . '/scssphp/scssphp/src/Util.php',
     38    'ScssPhp\\ScssPhp\\Version' => $vendorDir . '/scssphp/scssphp/src/Version.php',
    939);
  • scss-library/trunk/vendor/composer/autoload_real.php

    r2251603 r2270813  
    33// autoload_real.php @generated by Composer
    44
    5 class ComposerAutoloaderInit79b7a9c44176eea7cf65737a0dfc10a0
     5class ComposerAutoloaderInitff69a621beb925ab247ba89a2b55463b
    66{
    77    private static $loader;
     
    2020        }
    2121
    22         spl_autoload_register(array('ComposerAutoloaderInit79b7a9c44176eea7cf65737a0dfc10a0', 'loadClassLoader'), true, true);
     22        spl_autoload_register(array('ComposerAutoloaderInitff69a621beb925ab247ba89a2b55463b', 'loadClassLoader'), true, true);
    2323        self::$loader = $loader = new \Composer\Autoload\ClassLoader();
    24         spl_autoload_unregister(array('ComposerAutoloaderInit79b7a9c44176eea7cf65737a0dfc10a0', 'loadClassLoader'));
     24        spl_autoload_unregister(array('ComposerAutoloaderInitff69a621beb925ab247ba89a2b55463b', 'loadClassLoader'));
    2525
    2626        $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
     
    2828            require_once __DIR__ . '/autoload_static.php';
    2929
    30             call_user_func(\Composer\Autoload\ComposerStaticInit79b7a9c44176eea7cf65737a0dfc10a0::getInitializer($loader));
     30            call_user_func(\Composer\Autoload\ComposerStaticInitff69a621beb925ab247ba89a2b55463b::getInitializer($loader));
    3131        } else {
    3232            $map = require __DIR__ . '/autoload_namespaces.php';
  • scss-library/trunk/vendor/composer/autoload_static.php

    r2251603 r2270813  
    55namespace Composer\Autoload;
    66
    7 class ComposerStaticInit79b7a9c44176eea7cf65737a0dfc10a0
     7class ComposerStaticInitff69a621beb925ab247ba89a2b55463b
    88{
    99    public static $prefixLengthsPsr4 = array (
     
    3434    );
    3535
     36    public static $classMap = array (
     37        'Baxtian\\Singleton' => __DIR__ . '/..' . '/baxtian/php-singleton/src/Singleton.php',
     38        'ScssLibrary\\ScssLibrary' => __DIR__ . '/../..' . '/src/ScssLibrary.php',
     39        'ScssLibrary\\Settings\\ScssLibrary' => __DIR__ . '/../..' . '/src/Settings/ScssLibrary.php',
     40        'ScssPhp\\ScssPhp\\Base\\Range' => __DIR__ . '/..' . '/scssphp/scssphp/src/Base/Range.php',
     41        'ScssPhp\\ScssPhp\\Block' => __DIR__ . '/..' . '/scssphp/scssphp/src/Block.php',
     42        'ScssPhp\\ScssPhp\\Cache' => __DIR__ . '/..' . '/scssphp/scssphp/src/Cache.php',
     43        'ScssPhp\\ScssPhp\\Colors' => __DIR__ . '/..' . '/scssphp/scssphp/src/Colors.php',
     44        'ScssPhp\\ScssPhp\\Compiler' => __DIR__ . '/..' . '/scssphp/scssphp/src/Compiler.php',
     45        'ScssPhp\\ScssPhp\\Compiler\\Environment' => __DIR__ . '/..' . '/scssphp/scssphp/src/Compiler/Environment.php',
     46        'ScssPhp\\ScssPhp\\Exception\\CompilerException' => __DIR__ . '/..' . '/scssphp/scssphp/src/Exception/CompilerException.php',
     47        'ScssPhp\\ScssPhp\\Exception\\ParserException' => __DIR__ . '/..' . '/scssphp/scssphp/src/Exception/ParserException.php',
     48        'ScssPhp\\ScssPhp\\Exception\\RangeException' => __DIR__ . '/..' . '/scssphp/scssphp/src/Exception/RangeException.php',
     49        'ScssPhp\\ScssPhp\\Exception\\ServerException' => __DIR__ . '/..' . '/scssphp/scssphp/src/Exception/ServerException.php',
     50        'ScssPhp\\ScssPhp\\Formatter' => __DIR__ . '/..' . '/scssphp/scssphp/src/Formatter.php',
     51        'ScssPhp\\ScssPhp\\Formatter\\Compact' => __DIR__ . '/..' . '/scssphp/scssphp/src/Formatter/Compact.php',
     52        'ScssPhp\\ScssPhp\\Formatter\\Compressed' => __DIR__ . '/..' . '/scssphp/scssphp/src/Formatter/Compressed.php',
     53        'ScssPhp\\ScssPhp\\Formatter\\Crunched' => __DIR__ . '/..' . '/scssphp/scssphp/src/Formatter/Crunched.php',
     54        'ScssPhp\\ScssPhp\\Formatter\\Debug' => __DIR__ . '/..' . '/scssphp/scssphp/src/Formatter/Debug.php',
     55        'ScssPhp\\ScssPhp\\Formatter\\Expanded' => __DIR__ . '/..' . '/scssphp/scssphp/src/Formatter/Expanded.php',
     56        'ScssPhp\\ScssPhp\\Formatter\\Nested' => __DIR__ . '/..' . '/scssphp/scssphp/src/Formatter/Nested.php',
     57        'ScssPhp\\ScssPhp\\Formatter\\OutputBlock' => __DIR__ . '/..' . '/scssphp/scssphp/src/Formatter/OutputBlock.php',
     58        'ScssPhp\\ScssPhp\\Node' => __DIR__ . '/..' . '/scssphp/scssphp/src/Node.php',
     59        'ScssPhp\\ScssPhp\\Node\\Number' => __DIR__ . '/..' . '/scssphp/scssphp/src/Node/Number.php',
     60        'ScssPhp\\ScssPhp\\Parser' => __DIR__ . '/..' . '/scssphp/scssphp/src/Parser.php',
     61        'ScssPhp\\ScssPhp\\SourceMap\\Base64' => __DIR__ . '/..' . '/scssphp/scssphp/src/SourceMap/Base64.php',
     62        'ScssPhp\\ScssPhp\\SourceMap\\Base64VLQ' => __DIR__ . '/..' . '/scssphp/scssphp/src/SourceMap/Base64VLQ.php',
     63        'ScssPhp\\ScssPhp\\SourceMap\\SourceMapGenerator' => __DIR__ . '/..' . '/scssphp/scssphp/src/SourceMap/SourceMapGenerator.php',
     64        'ScssPhp\\ScssPhp\\Type' => __DIR__ . '/..' . '/scssphp/scssphp/src/Type.php',
     65        'ScssPhp\\ScssPhp\\Util' => __DIR__ . '/..' . '/scssphp/scssphp/src/Util.php',
     66        'ScssPhp\\ScssPhp\\Version' => __DIR__ . '/..' . '/scssphp/scssphp/src/Version.php',
     67    );
     68
    3669    public static function getInitializer(ClassLoader $loader)
    3770    {
    3871        return \Closure::bind(function () use ($loader) {
    39             $loader->prefixLengthsPsr4 = ComposerStaticInit79b7a9c44176eea7cf65737a0dfc10a0::$prefixLengthsPsr4;
    40             $loader->prefixDirsPsr4 = ComposerStaticInit79b7a9c44176eea7cf65737a0dfc10a0::$prefixDirsPsr4;
     72            $loader->prefixLengthsPsr4 = ComposerStaticInitff69a621beb925ab247ba89a2b55463b::$prefixLengthsPsr4;
     73            $loader->prefixDirsPsr4 = ComposerStaticInitff69a621beb925ab247ba89a2b55463b::$prefixDirsPsr4;
     74            $loader->classMap = ComposerStaticInitff69a621beb925ab247ba89a2b55463b::$classMap;
    4175
    4276        }, null, ClassLoader::class);
Note: See TracChangeset for help on using the changeset viewer.