Skip to content

Commit

Permalink
Merge pull request #21 from mlaxwong/master
Browse files Browse the repository at this point in the history
leafo/scssphp archived, need switch to scssphp/scssphp
  • Loading branch information
AskAlexSharov authored May 8, 2020
2 parents 51aa253 + 85befcc commit 3bbc9e7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Scss.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public function parse($src, $dst, $options)
$this->outputStyle = isset($options['outputStyle']) ? $options['outputStyle'] : $this->outputStyle;
$this->outputStyle = strtolower($this->outputStyle);

$parser = new \Leafo\ScssPhp\Compiler();
$parser = new \ScssPhp\ScssPhp\Compiler();
if (!empty($this->importPaths) && is_array($this->importPaths)) {
$paths = [''];
foreach ($this->importPaths as $path) {
Expand All @@ -69,7 +69,7 @@ public function parse($src, $dst, $options)
if ($this->lineComments && in_array($this->outputStyle, ['compressed', 'crunched'])) {
$this->lineComments = false;
}
$parser->setFormatter('Leafo\\ScssPhp\\Formatter\\' . ucfirst($this->outputStyle));
$parser->setFormatter('ScssPhp\\ScssPhp\\Formatter\\' . ucfirst($this->outputStyle));
}

if ($this->enableCompass) {
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"yiisoft/yii2-composer": "2.*",
"wikimedia/less.php": "3.0.0.*",
"richthegeek/phpsass": "1.*",
"leafo/scssphp": "0.*",
"scssphp/scssphp": "1.*",
"yourilima/scssphp-compass": "1.*"
},
"autoload": {
Expand Down

0 comments on commit 3bbc9e7

Please sign in to comment.