}
}
- if (function_exists('stream_wrapper_register') && stream_wrapper_register('phpvfscomposer', 'Composer\BinProxyWrapper')) {
+ if (
+ (function_exists('stream_get_wrappers') && in_array('phpvfscomposer', stream_get_wrappers(), true))
+ || (function_exists('stream_wrapper_register') && stream_wrapper_register('phpvfscomposer', 'Composer\BinProxyWrapper'))
+ ) {
include("phpvfscomposer://" . __DIR__ . '/..'.'/scssphp/scssphp/bin/pscss');
exit(0);
}
},
{
"name": "scssphp/scssphp",
- "version": "v1.10.3",
+ "version": "v1.10.4",
"source": {
"type": "git",
"url": "https://github.com/scssphp/scssphp.git",
- "reference": "0f1e1516ed2412ad43e42a6a319e77624ba1f713"
+ "reference": "8ed20753db2d3d82629e6f5d35535bbbd3893b0c"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/scssphp/scssphp/zipball/0f1e1516ed2412ad43e42a6a319e77624ba1f713",
- "reference": "0f1e1516ed2412ad43e42a6a319e77624ba1f713",
+ "url": "https://api.github.com/repos/scssphp/scssphp/zipball/8ed20753db2d3d82629e6f5d35535bbbd3893b0c",
+ "reference": "8ed20753db2d3d82629e6f5d35535bbbd3893b0c",
"shasum": ""
},
"require": {
"bin/pscss"
],
"type": "library",
+ "extra": {
+ "bamarni-bin": {
+ "forward-command": false,
+ "bin-links": false
+ }
+ },
"autoload": {
"psr-4": {
"ScssPhp\\ScssPhp\\": "src/"
],
"support": {
"issues": "https://github.com/scssphp/scssphp/issues",
- "source": "https://github.com/scssphp/scssphp/tree/v1.10.3"
+ "source": "https://github.com/scssphp/scssphp/tree/v1.10.4"
},
- "time": "2022-05-16T07:22:18+00:00"
+ "time": "2022-07-26T16:28:33+00:00"
},
{
"name": "symfony/css-selector",
},
{
"name": "scssphp/scssphp",
- "version": "v1.10.3",
- "version_normalized": "1.10.3.0",
+ "version": "v1.10.4",
+ "version_normalized": "1.10.4.0",
"source": {
"type": "git",
"url": "https://github.com/scssphp/scssphp.git",
- "reference": "0f1e1516ed2412ad43e42a6a319e77624ba1f713"
+ "reference": "8ed20753db2d3d82629e6f5d35535bbbd3893b0c"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/scssphp/scssphp/zipball/0f1e1516ed2412ad43e42a6a319e77624ba1f713",
- "reference": "0f1e1516ed2412ad43e42a6a319e77624ba1f713",
+ "url": "https://api.github.com/repos/scssphp/scssphp/zipball/8ed20753db2d3d82629e6f5d35535bbbd3893b0c",
+ "reference": "8ed20753db2d3d82629e6f5d35535bbbd3893b0c",
"shasum": ""
},
"require": {
"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"
},
- "time": "2022-05-16T07:22:18+00:00",
+ "time": "2022-07-26T16:28:33+00:00",
"bin": [
"bin/pscss"
],
"type": "library",
+ "extra": {
+ "bamarni-bin": {
+ "forward-command": false,
+ "bin-links": false
+ }
+ },
"installation-source": "dist",
"autoload": {
"psr-4": {
],
"support": {
"issues": "https://github.com/scssphp/scssphp/issues",
- "source": "https://github.com/scssphp/scssphp/tree/v1.10.3"
+ "source": "https://github.com/scssphp/scssphp/tree/v1.10.4"
},
"install-path": "../scssphp/scssphp"
},
'dev_requirement' => false,
),
'scssphp/scssphp' => array(
- 'pretty_version' => 'v1.10.3',
- 'version' => '1.10.3.0',
- 'reference' => '0f1e1516ed2412ad43e42a6a319e77624ba1f713',
+ 'pretty_version' => 'v1.10.4',
+ 'version' => '1.10.4.0',
+ 'reference' => '8ed20753db2d3d82629e6f5d35535bbbd3893b0c',
'type' => 'library',
'install_path' => __DIR__ . '/../scssphp/scssphp',
'aliases' => array(),
"allow-plugins": {
"bamarni/composer-bin-plugin": true
}
+ },
+ "extra": {
+ "bamarni-bin": {
+ "forward-command": false,
+ "bin-links": false
+ }
}
}
// 1. op[op name][left type][right type]
// 2. op[left type][right type] (passing the op as first arg)
// 3. op[op name]
- if (\is_callable([$this, $fn = "op${ucOpName}${ucLType}${ucRType}"])) {
+ if (\is_callable([$this, $fn = "op{$ucOpName}{$ucLType}{$ucRType}"])) {
$out = $this->$fn($left, $right, $shouldEval);
- } elseif (\is_callable([$this, $fn = "op${ucLType}${ucRType}"])) {
+ } elseif (\is_callable([$this, $fn = "op{$ucLType}{$ucRType}"])) {
$out = $this->$fn($op, $left, $right, $shouldEval);
- } elseif (\is_callable([$this, $fn = "op${ucOpName}"])) {
+ } elseif (\is_callable([$this, $fn = "op{$ucOpName}"])) {
$out = $this->$fn($left, $right, $shouldEval);
} else {
$out = null;
// Special functions overriding a CSS function are case-insensitive. We normalize them as lowercase
// to avoid the deprecation warning about the wrong case being used.
- if ($lowercasedName === 'min' || $lowercasedName === 'max') {
+ if ($lowercasedName === 'min' || $lowercasedName === 'max' || $lowercasedName === 'rgb' || $lowercasedName === 'rgba' || $lowercasedName === 'hsl' || $lowercasedName === 'hsla') {
$normalizedName = $lowercasedName;
}
*/
class Version
{
- const VERSION = '1.10.3';
+ const VERSION = '1.10.4';
}