(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);
+ return include("phpvfscomposer://" . __DIR__ . '/..'.'/scssphp/scssphp/bin/pscss');
}
}
-include __DIR__ . '/..'.'/scssphp/scssphp/bin/pscss';
+return include __DIR__ . '/..'.'/scssphp/scssphp/bin/pscss';
"psr/http-server-handler": "^1.0.2",
"psr/http-server-middleware": "^1.0.2",
"psr/log": "^3.0",
- "scssphp/scssphp": "^1.11",
+ "scssphp/scssphp": "^1.11.1",
"sebastian/diff": "^5.0.3",
"symfony/polyfill-php82": "^1.28.0",
"symfony/polyfill-php83": "^1.28",
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
- "content-hash": "7603e774da8e3f3475ec8d497eb28556",
+ "content-hash": "8ed824326be4ed2b68fdb8ea8258400a",
"packages": [
{
"name": "cuyz/valinor",
},
{
"name": "psr/http-client",
- "version": "1.0.2",
+ "version": "1.0.3",
"source": {
"type": "git",
"url": "https://github.com/php-fig/http-client.git",
- "reference": "0955afe48220520692d2d09f7ab7e0f93ffd6a31"
+ "reference": "bb5906edc1c324c9a05aa0873d40117941e5fa90"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/php-fig/http-client/zipball/0955afe48220520692d2d09f7ab7e0f93ffd6a31",
- "reference": "0955afe48220520692d2d09f7ab7e0f93ffd6a31",
+ "url": "https://api.github.com/repos/php-fig/http-client/zipball/bb5906edc1c324c9a05aa0873d40117941e5fa90",
+ "reference": "bb5906edc1c324c9a05aa0873d40117941e5fa90",
"shasum": ""
},
"require": {
"psr-18"
],
"support": {
- "source": "https://github.com/php-fig/http-client/tree/1.0.2"
+ "source": "https://github.com/php-fig/http-client"
},
- "time": "2023-04-10T20:12:12+00:00"
+ "time": "2023-09-23T14:17:50+00:00"
},
{
"name": "psr/http-factory",
},
{
"name": "scssphp/scssphp",
- "version": "v1.11.0",
+ "version": "v1.11.1",
"source": {
"type": "git",
"url": "https://github.com/scssphp/scssphp.git",
- "reference": "33749d12c2569bb24071f94e9af828662dabb068"
+ "reference": "ace2503684bab0dcc817d7614c8a54b865122414"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/scssphp/scssphp/zipball/33749d12c2569bb24071f94e9af828662dabb068",
- "reference": "33749d12c2569bb24071f94e9af828662dabb068",
+ "url": "https://api.github.com/repos/scssphp/scssphp/zipball/ace2503684bab0dcc817d7614c8a54b865122414",
+ "reference": "ace2503684bab0dcc817d7614c8a54b865122414",
"shasum": ""
},
"require": {
"thoughtbot/bourbon": "^7.0",
"twbs/bootstrap": "~5.0",
"twbs/bootstrap4": "4.6.1",
- "zurb/foundation": "~6.5"
+ "zurb/foundation": "~6.7.0"
},
"suggest": {
"ext-iconv": "Can be used as fallback when ext-mbstring is not available",
],
"support": {
"issues": "https://github.com/scssphp/scssphp/issues",
- "source": "https://github.com/scssphp/scssphp/tree/v1.11.0"
+ "source": "https://github.com/scssphp/scssphp/tree/v1.11.1"
},
- "time": "2022-09-02T21:24:55+00:00"
+ "time": "2023-09-24T13:38:17+00:00"
},
{
"name": "sebastian/diff",
"php": "8.1.2",
"ext-gd": "0"
},
- "plugin-api-version": "2.3.0"
+ "plugin-api-version": "2.6.0"
}
},
{
"name": "psr/http-client",
- "version": "1.0.2",
- "version_normalized": "1.0.2.0",
+ "version": "1.0.3",
+ "version_normalized": "1.0.3.0",
"source": {
"type": "git",
"url": "https://github.com/php-fig/http-client.git",
- "reference": "0955afe48220520692d2d09f7ab7e0f93ffd6a31"
+ "reference": "bb5906edc1c324c9a05aa0873d40117941e5fa90"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/php-fig/http-client/zipball/0955afe48220520692d2d09f7ab7e0f93ffd6a31",
- "reference": "0955afe48220520692d2d09f7ab7e0f93ffd6a31",
+ "url": "https://api.github.com/repos/php-fig/http-client/zipball/bb5906edc1c324c9a05aa0873d40117941e5fa90",
+ "reference": "bb5906edc1c324c9a05aa0873d40117941e5fa90",
"shasum": ""
},
"require": {
"php": "^7.0 || ^8.0",
"psr/http-message": "^1.0 || ^2.0"
},
- "time": "2023-04-10T20:12:12+00:00",
+ "time": "2023-09-23T14:17:50+00:00",
"type": "library",
"extra": {
"branch-alias": {
"psr-18"
],
"support": {
- "source": "https://github.com/php-fig/http-client/tree/1.0.2"
+ "source": "https://github.com/php-fig/http-client"
},
"install-path": "../psr/http-client"
},
},
{
"name": "scssphp/scssphp",
- "version": "v1.11.0",
- "version_normalized": "1.11.0.0",
+ "version": "v1.11.1",
+ "version_normalized": "1.11.1.0",
"source": {
"type": "git",
"url": "https://github.com/scssphp/scssphp.git",
- "reference": "33749d12c2569bb24071f94e9af828662dabb068"
+ "reference": "ace2503684bab0dcc817d7614c8a54b865122414"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/scssphp/scssphp/zipball/33749d12c2569bb24071f94e9af828662dabb068",
- "reference": "33749d12c2569bb24071f94e9af828662dabb068",
+ "url": "https://api.github.com/repos/scssphp/scssphp/zipball/ace2503684bab0dcc817d7614c8a54b865122414",
+ "reference": "ace2503684bab0dcc817d7614c8a54b865122414",
"shasum": ""
},
"require": {
"thoughtbot/bourbon": "^7.0",
"twbs/bootstrap": "~5.0",
"twbs/bootstrap4": "4.6.1",
- "zurb/foundation": "~6.5"
+ "zurb/foundation": "~6.7.0"
},
"suggest": {
"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-09-02T21:24:55+00:00",
+ "time": "2023-09-24T13:38:17+00:00",
"bin": [
"bin/pscss"
],
],
"support": {
"issues": "https://github.com/scssphp/scssphp/issues",
- "source": "https://github.com/scssphp/scssphp/tree/v1.11.0"
+ "source": "https://github.com/scssphp/scssphp/tree/v1.11.1"
},
"install-path": "../scssphp/scssphp"
},
'dev_requirement' => false,
),
'psr/http-client' => array(
- 'pretty_version' => '1.0.2',
- 'version' => '1.0.2.0',
- 'reference' => '0955afe48220520692d2d09f7ab7e0f93ffd6a31',
+ 'pretty_version' => '1.0.3',
+ 'version' => '1.0.3.0',
+ 'reference' => 'bb5906edc1c324c9a05aa0873d40117941e5fa90',
'type' => 'library',
'install_path' => __DIR__ . '/../psr/http-client',
'aliases' => array(),
'dev_requirement' => false,
),
'scssphp/scssphp' => array(
- 'pretty_version' => 'v1.11.0',
- 'version' => '1.11.0.0',
- 'reference' => '33749d12c2569bb24071f94e9af828662dabb068',
+ 'pretty_version' => 'v1.11.1',
+ 'version' => '1.11.1.0',
+ 'reference' => 'ace2503684bab0dcc817d7614c8a54b865122414',
'type' => 'library',
'install_path' => __DIR__ . '/../scssphp/scssphp',
'aliases' => array(),
All notable changes to this project will be documented in this file, in reverse chronological order by release.
+## 1.0.3
+
+Add `source` link in composer.json. No code changes.
+
+## 1.0.2
+
+Allow PSR-7 (psr/http-message) 2.0. No code changes.
+
## 1.0.1
Allow installation with PHP 8. No code changes.
"homepage": "https://www.php-fig.org/"
}
],
+ "support": {
+ "source": "https://github.com/php-fig/http-client"
+ },
"require": {
"php": "^7.0 || ^8.0",
"psr/http-message": "^1.0 || ^2.0"
"thoughtbot/bourbon": "^7.0",
"twbs/bootstrap": "~5.0",
"twbs/bootstrap4": "4.6.1",
- "zurb/foundation": "~6.5"
+ "zurb/foundation": "~6.7.0"
},
"repositories": [
{
// start from the root
while ($scope->parent && $scope->parent->type !== Type::T_ROOT) {
array_unshift($childStash, $scope);
+ \assert($scope->parent !== null);
$scope = $scope->parent;
}
foreach ($selector as $node) {
$compound = '';
+ if (!is_array($node)) {
+ $output[] = $node;
+ continue;
+ }
+
array_walk_recursive(
$node,
function ($value, $key) use (&$compound) {
foreach ($selector as $node) {
$compound = '';
- array_walk_recursive(
- $node,
- function ($value, $key) use (&$compound) {
- $compound .= $value;
- }
- );
+ if (!is_array($node)) {
+ $compound .= $node;
+ } else {
+ array_walk_recursive(
+ $node,
+ function ($value, $key) use (&$compound) {
+ $compound .= $value;
+ }
+ );
+ }
if ($this->isImmediateRelationshipCombinator($compound)) {
if (\count($output)) {
{
if (isset($child[Parser::SOURCE_LINE])) {
$this->sourceIndex = isset($child[Parser::SOURCE_INDEX]) ? $child[Parser::SOURCE_INDEX] : null;
- $this->sourceLine = isset($child[Parser::SOURCE_LINE]) ? $child[Parser::SOURCE_LINE] : -1;
+ $this->sourceLine = $child[Parser::SOURCE_LINE];
$this->sourceColumn = isset($child[Parser::SOURCE_COLUMN]) ? $child[Parser::SOURCE_COLUMN] : -1;
} elseif (\is_array($child) && isset($child[1]->sourceLine) && $child[1] instanceof Block) {
$this->sourceIndex = $child[1]->sourceIndex;
return $colorName;
}
- if (is_numeric($alpha)) {
+ if (\is_int($alpha) || \is_float($alpha)) {
$a = new Number($alpha, '');
+ } elseif (is_numeric($alpha)) {
+ $a = new Number((float) $alpha, '');
} else {
$a = $alpha;
}
return static::$null;
}
- if (is_numeric($value)) {
+ if (\is_int($value) || \is_float($value)) {
return new Number($value, '');
}
+ if (is_numeric($value)) {
+ return new Number((float) $value, '');
+ }
+
if ($value === '') {
return static::$emptyString;
}
$this->saveEncoding();
$this->extractLineNumbers($buffer);
+ if ($this->utf8 && !preg_match('//u', $buffer)) {
+ $message = $this->sourceName ? 'Invalid UTF-8 file: ' . $this->sourceName : 'Invalid UTF-8 file';
+ throw new ParserException($message);
+ }
+
$this->pushBlock(null); // root block
$this->whitespace();
$this->pushBlock(null);
*/
class Version
{
- const VERSION = '1.11.0';
+ const VERSION = '1.11.1';
}