Skip to content

Support PHP 7.2 on latest Less.php 5.4 for use in WordPress plugin #130

@AH72KING

Description

@AH72KING

When we use this lib for PHP version 7.2 it give this syntax fatal error
/vendor/wikimedia/less.php/lib/Less/Tree/Declaration.php on line 140

			$return = new Less_Tree_Declaration(
				$name,
				$evaldValue,
				$important,
				$this->merge,
				$this->index,
				$this->currentFileInfo,
				$this->inline,
				$variable,
			);

we need to remove last comma as that give fatal error in php 7.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions