Skip to content

Commit

Permalink
MDL-60287 scssphp: patch for PHP7.2 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
marinaglancy committed Oct 1, 2017
1 parent 653b2bd commit 22abb52
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/scssphp/Node/Number.php
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ public function output(Compiler $compiler = null)
}

reset($units);
list($unit, ) = each($units);
$unit = key($units);

return (string) $dimension . $unit;
}
Expand Down
1 change: 1 addition & 0 deletions lib/scssphp/moodle_readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@ Import procedure:

- Copy all the files from the folder 'src' this directory.
- Copy the license file from the project root.
- Apply path for https://github.com/leafo/scssphp/issues/532 if it is not merged yet

Licensed under MIT, Copyright (c) 2015 Leaf Corcoran.

0 comments on commit 22abb52

Please sign in to comment.