},
{
"name": "laminas/laminas-diactoros",
- "version": "2.10.0",
+ "version": "2.11.0",
"source": {
"type": "git",
"url": "https://github.com/laminas/laminas-diactoros.git",
- "reference": "a3f03b3c158a3a7014c6ba553b0cb83bf7da19c4"
+ "reference": "d1bc565b23c2040fafde398a8a5db083c47928c0"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/laminas/laminas-diactoros/zipball/a3f03b3c158a3a7014c6ba553b0cb83bf7da19c4",
- "reference": "a3f03b3c158a3a7014c6ba553b0cb83bf7da19c4",
+ "url": "https://api.github.com/repos/laminas/laminas-diactoros/zipball/d1bc565b23c2040fafde398a8a5db083c47928c0",
+ "reference": "d1bc565b23c2040fafde398a8a5db083c47928c0",
"shasum": ""
},
"require": {
"type": "community_bridge"
}
],
- "time": "2022-05-04T15:16:15+00:00"
+ "time": "2022-05-17T10:57:52+00:00"
},
{
"name": "laminas/laminas-httphandlerrunner",
},
{
"name": "scssphp/scssphp",
- "version": "v1.10.2",
+ "version": "v1.10.3",
"source": {
"type": "git",
"url": "https://github.com/scssphp/scssphp.git",
- "reference": "387f4f4abf5d99f16be16314c5ab856f81c82f46"
+ "reference": "0f1e1516ed2412ad43e42a6a319e77624ba1f713"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/scssphp/scssphp/zipball/387f4f4abf5d99f16be16314c5ab856f81c82f46",
- "reference": "387f4f4abf5d99f16be16314c5ab856f81c82f46",
+ "url": "https://api.github.com/repos/scssphp/scssphp/zipball/0f1e1516ed2412ad43e42a6a319e77624ba1f713",
+ "reference": "0f1e1516ed2412ad43e42a6a319e77624ba1f713",
"shasum": ""
},
"require": {
],
"support": {
"issues": "https://github.com/scssphp/scssphp/issues",
- "source": "https://github.com/scssphp/scssphp/tree/v1.10.2"
+ "source": "https://github.com/scssphp/scssphp/tree/v1.10.3"
},
- "time": "2022-03-02T21:15:09+00:00"
+ "time": "2022-05-16T07:22:18+00:00"
},
{
"name": "symfony/css-selector",
},
{
"name": "laminas/laminas-diactoros",
- "version": "2.10.0",
- "version_normalized": "2.10.0.0",
+ "version": "2.11.0",
+ "version_normalized": "2.11.0.0",
"source": {
"type": "git",
"url": "https://github.com/laminas/laminas-diactoros.git",
- "reference": "a3f03b3c158a3a7014c6ba553b0cb83bf7da19c4"
+ "reference": "d1bc565b23c2040fafde398a8a5db083c47928c0"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/laminas/laminas-diactoros/zipball/a3f03b3c158a3a7014c6ba553b0cb83bf7da19c4",
- "reference": "a3f03b3c158a3a7014c6ba553b0cb83bf7da19c4",
+ "url": "https://api.github.com/repos/laminas/laminas-diactoros/zipball/d1bc565b23c2040fafde398a8a5db083c47928c0",
+ "reference": "d1bc565b23c2040fafde398a8a5db083c47928c0",
"shasum": ""
},
"require": {
"psalm/plugin-phpunit": "^0.14.0",
"vimeo/psalm": "^4.3"
},
- "time": "2022-05-04T15:16:15+00:00",
+ "time": "2022-05-17T10:57:52+00:00",
"type": "library",
"extra": {
"laminas": {
},
{
"name": "scssphp/scssphp",
- "version": "v1.10.2",
- "version_normalized": "1.10.2.0",
+ "version": "v1.10.3",
+ "version_normalized": "1.10.3.0",
"source": {
"type": "git",
"url": "https://github.com/scssphp/scssphp.git",
- "reference": "387f4f4abf5d99f16be16314c5ab856f81c82f46"
+ "reference": "0f1e1516ed2412ad43e42a6a319e77624ba1f713"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/scssphp/scssphp/zipball/387f4f4abf5d99f16be16314c5ab856f81c82f46",
- "reference": "387f4f4abf5d99f16be16314c5ab856f81c82f46",
+ "url": "https://api.github.com/repos/scssphp/scssphp/zipball/0f1e1516ed2412ad43e42a6a319e77624ba1f713",
+ "reference": "0f1e1516ed2412ad43e42a6a319e77624ba1f713",
"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-03-02T21:15:09+00:00",
+ "time": "2022-05-16T07:22:18+00:00",
"bin": [
"bin/pscss"
],
],
"support": {
"issues": "https://github.com/scssphp/scssphp/issues",
- "source": "https://github.com/scssphp/scssphp/tree/v1.10.2"
+ "source": "https://github.com/scssphp/scssphp/tree/v1.10.3"
},
"install-path": "../scssphp/scssphp"
},
"install-path": "../true/punycode"
}
],
- "dev": true,
+ "dev": false,
"dev-package-names": []
}
'aliases' => array(),
'reference' => NULL,
'name' => '__root__',
- 'dev' => true,
+ 'dev' => false,
),
'versions' => array(
'__root__' => array(
'dev_requirement' => false,
),
'laminas/laminas-diactoros' => array(
- 'pretty_version' => '2.10.0',
- 'version' => '2.10.0.0',
+ 'pretty_version' => '2.11.0',
+ 'version' => '2.11.0.0',
'type' => 'library',
'install_path' => __DIR__ . '/../laminas/laminas-diactoros',
'aliases' => array(),
- 'reference' => 'a3f03b3c158a3a7014c6ba553b0cb83bf7da19c4',
+ 'reference' => 'd1bc565b23c2040fafde398a8a5db083c47928c0',
'dev_requirement' => false,
),
'laminas/laminas-httphandlerrunner' => array(
'dev_requirement' => false,
),
'scssphp/scssphp' => array(
- 'pretty_version' => 'v1.10.2',
- 'version' => '1.10.2.0',
+ 'pretty_version' => 'v1.10.3',
+ 'version' => '1.10.3.0',
'type' => 'library',
'install_path' => __DIR__ . '/../scssphp/scssphp',
'aliases' => array(),
- 'reference' => '387f4f4abf5d99f16be16314c5ab856f81c82f46',
+ 'reference' => '0f1e1516ed2412ad43e42a6a319e77624ba1f713',
'dev_requirement' => false,
),
'symfony/css-selector' => array(
+++ /dev/null
-{
- "extensions": [
- "gd"
- ],
- "ignore_php_platform_requirements": {
- "8.1": true
- }
-}
use function sprintf;
use const JSON_ERROR_NONE;
+use const JSON_HEX_AMP;
+use const JSON_HEX_APOS;
+use const JSON_HEX_QUOT;
+use const JSON_HEX_TAG;
+use const JSON_UNESCAPED_SLASHES;
/**
* JSON response.
use InjectContentTypeTrait;
/**
- * Default flags for json_encode; value of:
- *
- * <code>
- * JSON_HEX_TAG | JSON_HEX_APOS | JSON_HEX_AMP | JSON_HEX_QUOT | JSON_UNESCAPED_SLASHES
- * </code>
+ * Default flags for json_encode
*
* @const int
*/
- public const DEFAULT_JSON_FLAGS = 79;
+ public const DEFAULT_JSON_FLAGS = JSON_HEX_TAG
+ | JSON_HEX_APOS
+ | JSON_HEX_AMP
+ | JSON_HEX_QUOT
+ | JSON_UNESCAPED_SLASHES;
/**
* @var mixed
}
/**
- * Compile children and throw exception if unexpected `@return`
+ * Compile children and throw exception if unexpected at-return
*
- * @param array $stms
+ * @param array[] $stms
* @param \ScssPhp\ScssPhp\Formatter\OutputBlock $out
* @param \ScssPhp\ScssPhp\Block $selfParent
* @param string $traceName
foreach ($stms as $stm) {
if ($selfParent && isset($stm[1]) && \is_object($stm[1]) && $stm[1] instanceof Block) {
+ $oldSelfParent = $stm[1]->selfParent;
$stm[1]->selfParent = $selfParent;
$ret = $this->compileChild($stm, $out);
- $stm[1]->selfParent = null;
+ $stm[1]->selfParent = $oldSelfParent;
} elseif ($selfParent && \in_array($stm[0], [Type::T_INCLUDE, Type::T_EXTEND])) {
$stm['selfParent'] = $selfParent;
$ret = $this->compileChild($stm, $out);
- unset($stm['selfParent']);
} else {
$ret = $this->compileChild($stm, $out);
}
/**
* A logger that silently ignores all messages.
+ *
+ * @final
*/
class QuietLogger implements LoggerInterface
{
/**
* A logger that prints to a PHP stream (for instance stderr)
+ *
+ * @final
*/
class StreamLogger implements LoggerInterface
{
*/
class Version
{
- const VERSION = '1.10.2';
+ const VERSION = '1.10.3';
}