Skip to content

PHP port of the LESS fails to compile colors.less #1832

@cmoeke

Description

@cmoeke

Bug Report

Currently it's not possible to compile the less files with the wikimedia PHP port of the LESS processor.

The problem is that the PHP port requires a semicolon after each variable declaration. So it currently fails at the colors.less.

I know it's a bug of the wikimedia PHP port and i also will create an issue there, but it seems that they do not have the will to fix community errors.

So it would help me a lot if we could make this small adjustment.

Steps to reproduce

  1. Install a fixed version of https://github.com/wikimedia/less.php/ (Fix @import statements with variables wikimedia/less.php#33 due to a other bug)
  2. Run /usr/bin/php vendor/wikimedia/less.php/bin/lessc '##FOMANTIC_PATH##/definitions/modules/accordion.less' > '##TARGET_PATH##/definitions/modules/accordion.css'

Actual result

fail

Way to fix

Add a semicolon to:



Old:

    isDark         : true;
    isVeryDark     : true;
  };
}

New:

    isDark         : true;
    isVeryDark     : true;
  };
};

Version

2.8.7

Metadata

Metadata

Assignees

No one assigned

    Labels

    lang/cssAnything involving CSStype/bugAny issue which is a bug or PR which fixes a bug

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions