Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[stable21] Fix SCSS compiler deprecated function usages #26042

Merged
merged 1 commit into from
Mar 10, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions apps/accessibility/lib/Controller/AccessibilityController.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
use OCP\IUserSession;
use ScssPhp\ScssPhp\Compiler;
use ScssPhp\ScssPhp\Exception\ParserException;
use ScssPhp\ScssPhp\Formatter\Crunched;
use ScssPhp\ScssPhp\OutputStyle;

class AccessibilityController extends Controller {

Expand Down Expand Up @@ -134,8 +134,7 @@ public function getCss(): DataDisplayResponse {
]);

// Continue after throw
$scss->setIgnoreErrors(true);
$scss->setFormatter(Crunched::class);
$scss->setOutputStyle(OutputStyle::COMPRESSED);

// Import theme, variables and compile css4 variables
try {
Expand Down