Update scssphp patched version to fix missing $this

This commit is contained in:
Stephen Abello
2026-04-23 16:29:25 +02:00
parent 702c66e1a7
commit 3cb615ceb1
4 changed files with 10 additions and 10 deletions

8
composer.lock generated
View File

@@ -1605,12 +1605,12 @@
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/combodo-itop-libs/scssphp.git", "url": "https://github.com/combodo-itop-libs/scssphp.git",
"reference": "5966ac4c6041ec4eb741fdf56dd4cb6eef756399" "reference": "6820f035182a956c355cbfa7882d90f1198a208b"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/combodo-itop-libs/scssphp/zipball/5966ac4c6041ec4eb741fdf56dd4cb6eef756399", "url": "https://api.github.com/repos/combodo-itop-libs/scssphp/zipball/6820f035182a956c355cbfa7882d90f1198a208b",
"reference": "5966ac4c6041ec4eb741fdf56dd4cb6eef756399", "reference": "6820f035182a956c355cbfa7882d90f1198a208b",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -1680,7 +1680,7 @@
"support": { "support": {
"source": "https://github.com/combodo-itop-libs/scssphp/tree/combodo/1.x" "source": "https://github.com/combodo-itop-libs/scssphp/tree/combodo/1.x"
}, },
"time": "2026-04-23T13:10:31+00:00" "time": "2026-04-23T14:20:24+00:00"
}, },
{ {
"name": "soundasleep/html2text", "name": "soundasleep/html2text",

View File

@@ -1672,12 +1672,12 @@
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/combodo-itop-libs/scssphp.git", "url": "https://github.com/combodo-itop-libs/scssphp.git",
"reference": "5966ac4c6041ec4eb741fdf56dd4cb6eef756399" "reference": "6820f035182a956c355cbfa7882d90f1198a208b"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/combodo-itop-libs/scssphp/zipball/5966ac4c6041ec4eb741fdf56dd4cb6eef756399", "url": "https://api.github.com/repos/combodo-itop-libs/scssphp/zipball/6820f035182a956c355cbfa7882d90f1198a208b",
"reference": "5966ac4c6041ec4eb741fdf56dd4cb6eef756399", "reference": "6820f035182a956c355cbfa7882d90f1198a208b",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -1700,7 +1700,7 @@
"ext-iconv": "Can be used as fallback when ext-mbstring is not available", "ext-iconv": "Can be used as fallback when ext-mbstring is not available",
"ext-mbstring": "For best performance, mbstring should be installed as it is faster than ext-iconv" "ext-mbstring": "For best performance, mbstring should be installed as it is faster than ext-iconv"
}, },
"time": "2026-04-23T13:10:31+00:00", "time": "2026-04-23T14:20:24+00:00",
"bin": [ "bin": [
"bin/pscss" "bin/pscss"
], ],

View File

@@ -296,7 +296,7 @@
'scssphp/scssphp' => array( 'scssphp/scssphp' => array(
'pretty_version' => 'dev-combodo/1.x', 'pretty_version' => 'dev-combodo/1.x',
'version' => 'dev-combodo/1.x', 'version' => 'dev-combodo/1.x',
'reference' => '5966ac4c6041ec4eb741fdf56dd4cb6eef756399', 'reference' => '6820f035182a956c355cbfa7882d90f1198a208b',
'type' => 'library', 'type' => 'library',
'install_path' => __DIR__ . '/../scssphp/scssphp', 'install_path' => __DIR__ . '/../scssphp/scssphp',
'aliases' => array(), 'aliases' => array(),

View File

@@ -10516,7 +10516,7 @@ TXT;
$difference=array(); $difference=array();
foreach($array1 as $key => $value) { foreach($array1 as $key => $value) {
if(is_array($value) && isset($array2[$key])){ // it's an array and both have the key if(is_array($value) && isset($array2[$key])){ // it's an array and both have the key
$new_diff = diff_recursive($value, $array2[$key]); $new_diff = $this->diff_recursive($value, $array2[$key]);
if( !empty($new_diff) ) if( !empty($new_diff) )
$difference[$key] = $new_diff; $difference[$key] = $new_diff;
} else if(is_string($value) && !in_array($value, $array2)) { // the value is a string and it's not in array B } else if(is_string($value) && !in_array($value, $array2)) { // the value is a string and it's not in array B