Merge pull request #26042 from nextcloud/backport/26030/stable21
[stable21] Fix SCSS compiler deprecated function usages
This commit is contained in:
commit
c74cccd12c
|
@ -45,7 +45,7 @@ use OCP\IRequest;
|
|||
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 {
|
||||
|
||||
|
@ -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 New Issue