mirror of
https://github.com/nextcloud/server.git
synced 2026-04-24 23:59:27 -04:00
Fix SCSS compiler deprecated function usages
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
parent
5063745cac
commit
321085d0a7
1 changed files with 2 additions and 3 deletions
|
|
@ -45,7 +45,7 @@ use OCP\IUserSession;
|
|||
use Psr\Log\LoggerInterface;
|
||||
use ScssPhp\ScssPhp\Compiler;
|
||||
use ScssPhp\ScssPhp\Exception\ParserException;
|
||||
use ScssPhp\ScssPhp\Formatter\Crunched;
|
||||
use ScssPhp\ScssPhp\OutputStyle;
|
||||
|
||||
class AccessibilityController extends Controller {
|
||||
|
||||
|
|
@ -134,8 +134,7 @@ class AccessibilityController extends Controller {
|
|||
]);
|
||||
|
||||
// Continue after throw
|
||||
$scss->setIgnoreErrors(true);
|
||||
$scss->setFormatter(Crunched::class);
|
||||
$scss->setOutputStyle(OutputStyle::COMPRESSED);
|
||||
|
||||
// Import theme, variables and compile css4 variables
|
||||
try {
|
||||
|
|
|
|||
Loading…
Reference in a new issue