Skip to content
Snippets Groups Projects
Commit 4cf3a9f8 authored by Roeland Jago Douma's avatar Roeland Jago Douma Committed by backportbot[bot]
Browse files

Fix SCSS compiler deprecated function usages

parent 3c07ae86
No related branches found
No related tags found
No related merge requests found
...@@ -45,7 +45,7 @@ use OCP\IRequest; ...@@ -45,7 +45,7 @@ use OCP\IRequest;
use OCP\IUserSession; use OCP\IUserSession;
use ScssPhp\ScssPhp\Compiler; use ScssPhp\ScssPhp\Compiler;
use ScssPhp\ScssPhp\Exception\ParserException; use ScssPhp\ScssPhp\Exception\ParserException;
use ScssPhp\ScssPhp\Formatter\Crunched; use ScssPhp\ScssPhp\OutputStyle;
class AccessibilityController extends Controller { class AccessibilityController extends Controller {
...@@ -134,8 +134,7 @@ class AccessibilityController extends Controller { ...@@ -134,8 +134,7 @@ class AccessibilityController extends Controller {
]); ]);
// Continue after throw // Continue after throw
$scss->setIgnoreErrors(true); $scss->setOutputStyle(OutputStyle::COMPRESSED);
$scss->setFormatter(Crunched::class);
// Import theme, variables and compile css4 variables // Import theme, variables and compile css4 variables
try { try {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment