Skip to content

Commit

Permalink
chore: php8 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
danimo committed May 20, 2022
1 parent 11977a7 commit f58ae09
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
die("`short_open_tag = On` is required\n");

$GLOBALS['BASEDIR'] = dirname(__FILE__);
$GLOBALS['forceopen'] = false;
chdir($GLOBALS['BASEDIR']);

require_once('config.php');
Expand Down
2 changes: 1 addition & 1 deletion lib/less.php/Less.php
Original file line number Diff line number Diff line change
Expand Up @@ -5498,7 +5498,7 @@ class Less_Tree_Directive extends Less_Tree{
public $debugInfo;
public $type = 'Directive';

public function __construct($name, $value = null, $rules, $index = null, $currentFileInfo = null, $debugInfo = null ){
public function __construct($name, $value, $rules, $index = null, $currentFileInfo = null, $debugInfo = null ){
$this->name = $name;
$this->value = $value;
if( $rules ){
Expand Down

0 comments on commit f58ae09

Please sign in to comment.