aboutsummaryrefslogtreecommitdiffstats
path: root/apps/accessibility
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2021-03-09 20:39:40 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2021-03-09 20:39:40 +0100
commit321085d0a70ada8fce0b536aabf113d8d0224ffe (patch)
treec34fd962e9855dc407e99d6267bc30acffed01dc /apps/accessibility
parent5063745cace4a7ccf219a23eb1b7717d06406707 (diff)
downloadnextcloud-server-321085d0a70ada8fce0b536aabf113d8d0224ffe.tar.gz
nextcloud-server-321085d0a70ada8fce0b536aabf113d8d0224ffe.zip
Fix SCSS compiler deprecated function usages
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps/accessibility')
-rw-r--r--apps/accessibility/lib/Controller/AccessibilityController.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/apps/accessibility/lib/Controller/AccessibilityController.php b/apps/accessibility/lib/Controller/AccessibilityController.php
index 2c267edfe28..2e33c7b5884 100644
--- a/apps/accessibility/lib/Controller/AccessibilityController.php
+++ b/apps/accessibility/lib/Controller/AccessibilityController.php
@@ -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 {