[pkg-nagios-changes] [Git][nagios-team/icinga-php-library][upstream] New upstream version 0.9.1
Bas Couwenberg (@sebastic)
gitlab at salsa.debian.org
Wed Jul 6 15:37:20 BST 2022
Bas Couwenberg pushed to branch upstream at Debian Nagios Maintainer Group / icinga-php-library
Commits:
ff29aeb4 by Bas Couwenberg at 2022-07-06T16:30:33+02:00
New upstream version 0.9.1
- - - - -
11 changed files:
- RELEASE.md
- VERSION
- composer.lock
- vendor/autoload.php
- vendor/composer/InstalledVersions.php
- vendor/composer/autoload_real.php
- vendor/composer/autoload_static.php
- vendor/composer/installed.json
- vendor/composer/installed.php
- vendor/ipl/orm/src/Behavior/Binary.php
- vendor/ipl/orm/src/ResultSet.php
Changes:
=====================================
RELEASE.md
=====================================
@@ -8,4 +8,4 @@ e.g.
## Docker Example
- docker run -it -v $(pwd):/tmp/pwd -w /tmp/pwd -v $(realpath ~/.gitconfig):/tmp/user/.gitconfig -e "HOME=/tmp/user" -u $(id -u):$(id -g) dev-docker_web56 bin/make-release.sh 1.0.0 --no-tag
+ docker run -it -v $(pwd):/tmp/pwd -w /tmp/pwd -v $(realpath ~/.gitconfig):/tmp/user/.gitconfig -e "HOME=/tmp/user" -u $(id -u):$(id -g) dev-docker_web72 bin/make-release.sh 1.0.0 --no-tag
=====================================
VERSION
=====================================
@@ -1 +1 @@
-v0.9.0
+v0.9.1
=====================================
composer.lock
=====================================
@@ -189,16 +189,16 @@
},
{
"name": "ipl/orm",
- "version": "v0.4.0",
+ "version": "v0.4.1",
"source": {
"type": "git",
"url": "https://github.com/Icinga/ipl-orm.git",
- "reference": "15f168a19083276679bfe9253b48974dce40a6f0"
+ "reference": "0b76de078b9ebff608ce07b1ea051fa7d82f6261"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/Icinga/ipl-orm/zipball/15f168a19083276679bfe9253b48974dce40a6f0",
- "reference": "15f168a19083276679bfe9253b48974dce40a6f0",
+ "url": "https://api.github.com/repos/Icinga/ipl-orm/zipball/0b76de078b9ebff608ce07b1ea051fa7d82f6261",
+ "reference": "0b76de078b9ebff608ce07b1ea051fa7d82f6261",
"shasum": ""
},
"require": {
@@ -229,9 +229,9 @@
],
"support": {
"issues": "https://github.com/Icinga/ipl-orm/issues",
- "source": "https://github.com/Icinga/ipl-orm/tree/v0.4.0"
+ "source": "https://github.com/Icinga/ipl-orm/tree/v0.4.1"
},
- "time": "2022-06-15T12:29:58+00:00"
+ "time": "2022-07-01T16:15:30+00:00"
},
{
"name": "ipl/sql",
=====================================
vendor/autoload.php
=====================================
@@ -9,4 +9,4 @@ if (PHP_VERSION_ID < 50600) {
require_once __DIR__ . '/composer/autoload_real.php';
-return ComposerAutoloaderInit0ecac25d701b8638fd47ab6139a0781f::getLoader();
+return ComposerAutoloaderInit9b4593d5384b4d54213d2614c1347711::getLoader();
=====================================
vendor/composer/InstalledVersions.php
=====================================
@@ -28,7 +28,7 @@ class InstalledVersions
{
/**
* @var mixed[]|null
- * @psalm-var array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>}|array{}|null
+ * @psalm-var array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>}|array{}|null
*/
private static $installed;
@@ -39,7 +39,7 @@ class InstalledVersions
/**
* @var array[]
- * @psalm-var array<string, array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>}>
+ * @psalm-var array<string, array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>}>
*/
private static $installedByVendor = array();
@@ -243,7 +243,7 @@ class InstalledVersions
/**
* @return array
- * @psalm-return array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}
+ * @psalm-return array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}
*/
public static function getRootPackage()
{
@@ -257,7 +257,7 @@ class InstalledVersions
*
* @deprecated Use getAllRawData() instead which returns all datasets for all autoloaders present in the process. getRawData only returns the first dataset loaded, which may not be what you expect.
* @return array[]
- * @psalm-return array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>}
+ * @psalm-return array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>}
*/
public static function getRawData()
{
@@ -280,7 +280,7 @@ class InstalledVersions
* Returns the raw data of all installed.php which are currently loaded for custom implementations
*
* @return array[]
- * @psalm-return list<array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>}>
+ * @psalm-return list<array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>}>
*/
public static function getAllRawData()
{
@@ -303,7 +303,7 @@ class InstalledVersions
* @param array[] $data A vendor/composer/installed.php data set
* @return void
*
- * @psalm-param array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>} $data
+ * @psalm-param array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>} $data
*/
public static function reload($data)
{
@@ -313,7 +313,7 @@ class InstalledVersions
/**
* @return array[]
- * @psalm-return list<array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>}>
+ * @psalm-return list<array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>}>
*/
private static function getInstalled()
{
=====================================
vendor/composer/autoload_real.php
=====================================
@@ -2,7 +2,7 @@
// autoload_real.php @generated by Composer
-class ComposerAutoloaderInit0ecac25d701b8638fd47ab6139a0781f
+class ComposerAutoloaderInit9b4593d5384b4d54213d2614c1347711
{
private static $loader;
@@ -24,18 +24,18 @@ class ComposerAutoloaderInit0ecac25d701b8638fd47ab6139a0781f
require __DIR__ . '/platform_check.php';
- spl_autoload_register(array('ComposerAutoloaderInit0ecac25d701b8638fd47ab6139a0781f', 'loadClassLoader'), true, true);
+ spl_autoload_register(array('ComposerAutoloaderInit9b4593d5384b4d54213d2614c1347711', 'loadClassLoader'), true, true);
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
- spl_autoload_unregister(array('ComposerAutoloaderInit0ecac25d701b8638fd47ab6139a0781f', 'loadClassLoader'));
+ spl_autoload_unregister(array('ComposerAutoloaderInit9b4593d5384b4d54213d2614c1347711', 'loadClassLoader'));
require __DIR__ . '/autoload_static.php';
- call_user_func(\Composer\Autoload\ComposerStaticInit0ecac25d701b8638fd47ab6139a0781f::getInitializer($loader));
+ call_user_func(\Composer\Autoload\ComposerStaticInit9b4593d5384b4d54213d2614c1347711::getInitializer($loader));
$loader->register(true);
- $includeFiles = \Composer\Autoload\ComposerStaticInit0ecac25d701b8638fd47ab6139a0781f::$files;
+ $includeFiles = \Composer\Autoload\ComposerStaticInit9b4593d5384b4d54213d2614c1347711::$files;
foreach ($includeFiles as $fileIdentifier => $file) {
- composerRequire0ecac25d701b8638fd47ab6139a0781f($fileIdentifier, $file);
+ composerRequire9b4593d5384b4d54213d2614c1347711($fileIdentifier, $file);
}
return $loader;
@@ -47,7 +47,7 @@ class ComposerAutoloaderInit0ecac25d701b8638fd47ab6139a0781f
* @param string $file
* @return void
*/
-function composerRequire0ecac25d701b8638fd47ab6139a0781f($fileIdentifier, $file)
+function composerRequire9b4593d5384b4d54213d2614c1347711($fileIdentifier, $file)
{
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
$GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
=====================================
vendor/composer/autoload_static.php
=====================================
@@ -4,7 +4,7 @@
namespace Composer\Autoload;
-class ComposerStaticInit0ecac25d701b8638fd47ab6139a0781f
+class ComposerStaticInit9b4593d5384b4d54213d2614c1347711
{
public static $files = array (
'a2c78434f64e5f5ed402f42eee19c025' => __DIR__ . '/..' . '/ipl/stdlib/src/functions_include.php',
@@ -87,10 +87,10 @@ class ComposerStaticInit0ecac25d701b8638fd47ab6139a0781f
public static function getInitializer(ClassLoader $loader)
{
return \Closure::bind(function () use ($loader) {
- $loader->prefixLengthsPsr4 = ComposerStaticInit0ecac25d701b8638fd47ab6139a0781f::$prefixLengthsPsr4;
- $loader->prefixDirsPsr4 = ComposerStaticInit0ecac25d701b8638fd47ab6139a0781f::$prefixDirsPsr4;
- $loader->prefixesPsr0 = ComposerStaticInit0ecac25d701b8638fd47ab6139a0781f::$prefixesPsr0;
- $loader->classMap = ComposerStaticInit0ecac25d701b8638fd47ab6139a0781f::$classMap;
+ $loader->prefixLengthsPsr4 = ComposerStaticInit9b4593d5384b4d54213d2614c1347711::$prefixLengthsPsr4;
+ $loader->prefixDirsPsr4 = ComposerStaticInit9b4593d5384b4d54213d2614c1347711::$prefixDirsPsr4;
+ $loader->prefixesPsr0 = ComposerStaticInit9b4593d5384b4d54213d2614c1347711::$prefixesPsr0;
+ $loader->classMap = ComposerStaticInit9b4593d5384b4d54213d2614c1347711::$classMap;
}, null, ClassLoader::class);
}
=====================================
vendor/composer/installed.json
=====================================
@@ -195,17 +195,17 @@
},
{
"name": "ipl/orm",
- "version": "v0.4.0",
- "version_normalized": "0.4.0.0",
+ "version": "v0.4.1",
+ "version_normalized": "0.4.1.0",
"source": {
"type": "git",
"url": "https://github.com/Icinga/ipl-orm.git",
- "reference": "15f168a19083276679bfe9253b48974dce40a6f0"
+ "reference": "0b76de078b9ebff608ce07b1ea051fa7d82f6261"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/Icinga/ipl-orm/zipball/15f168a19083276679bfe9253b48974dce40a6f0",
- "reference": "15f168a19083276679bfe9253b48974dce40a6f0",
+ "url": "https://api.github.com/repos/Icinga/ipl-orm/zipball/0b76de078b9ebff608ce07b1ea051fa7d82f6261",
+ "reference": "0b76de078b9ebff608ce07b1ea051fa7d82f6261",
"shasum": ""
},
"require": {
@@ -217,7 +217,7 @@
"require-dev": {
"ext-pdo_sqlite": "*"
},
- "time": "2022-06-15T12:29:58+00:00",
+ "time": "2022-07-01T16:15:30+00:00",
"type": "library",
"installation-source": "dist",
"autoload": {
@@ -238,7 +238,7 @@
],
"support": {
"issues": "https://github.com/Icinga/ipl-orm/issues",
- "source": "https://github.com/Icinga/ipl-orm/tree/v0.4.0"
+ "source": "https://github.com/Icinga/ipl-orm/tree/v0.4.1"
},
"install-path": "../ipl/orm"
},
=====================================
vendor/composer/installed.php
=====================================
@@ -1,112 +1,112 @@
<?php return array(
'root' => array(
+ 'name' => 'icinga/icinga-php-library',
'pretty_version' => 'dev-main',
'version' => 'dev-main',
+ 'reference' => '5f5afe15404fe4f9cf896507e5dddcc92415e1bd',
'type' => 'project',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
- 'reference' => 'a07e5f922ae320314fec12cd14d4fda905803791',
- 'name' => 'icinga/icinga-php-library',
'dev' => true,
),
'versions' => array(
'evenement/evenement' => array(
'pretty_version' => 'v3.0.1',
'version' => '3.0.1.0',
+ 'reference' => '531bfb9d15f8aa57454f5f0285b18bec903b8fb7',
'type' => 'library',
'install_path' => __DIR__ . '/../evenement/evenement',
'aliases' => array(),
- 'reference' => '531bfb9d15f8aa57454f5f0285b18bec903b8fb7',
'dev_requirement' => false,
),
'fortawesome/font-awesome' => array(
'pretty_version' => '6.1.1',
'version' => '6.1.1.0',
+ 'reference' => '28e297f07af26f148c15e6cbbd12cea3027371d3',
'type' => 'library',
'install_path' => __DIR__ . '/../fortawesome/font-awesome',
'aliases' => array(),
- 'reference' => '28e297f07af26f148c15e6cbbd12cea3027371d3',
'dev_requirement' => false,
),
'icinga/icinga-php-library' => array(
'pretty_version' => 'dev-main',
'version' => 'dev-main',
+ 'reference' => '5f5afe15404fe4f9cf896507e5dddcc92415e1bd',
'type' => 'project',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
- 'reference' => 'a07e5f922ae320314fec12cd14d4fda905803791',
'dev_requirement' => false,
),
'ipl/html' => array(
'pretty_version' => 'v0.6.0',
'version' => '0.6.0.0',
+ 'reference' => '239b215ab81205f69d8df2663b0fecb138562547',
'type' => 'library',
'install_path' => __DIR__ . '/../ipl/html',
'aliases' => array(),
- 'reference' => '239b215ab81205f69d8df2663b0fecb138562547',
'dev_requirement' => false,
),
'ipl/i18n' => array(
'pretty_version' => 'v0.2.0',
'version' => '0.2.0.0',
+ 'reference' => '3ee2a8c0c38879cb743c866d9202f8620d4c2800',
'type' => 'library',
'install_path' => __DIR__ . '/../ipl/i18n',
'aliases' => array(),
- 'reference' => '3ee2a8c0c38879cb743c866d9202f8620d4c2800',
'dev_requirement' => false,
),
'ipl/orm' => array(
- 'pretty_version' => 'v0.4.0',
- 'version' => '0.4.0.0',
+ 'pretty_version' => 'v0.4.1',
+ 'version' => '0.4.1.0',
+ 'reference' => '0b76de078b9ebff608ce07b1ea051fa7d82f6261',
'type' => 'library',
'install_path' => __DIR__ . '/../ipl/orm',
'aliases' => array(),
- 'reference' => '15f168a19083276679bfe9253b48974dce40a6f0',
'dev_requirement' => false,
),
'ipl/sql' => array(
'pretty_version' => 'v0.5.0',
'version' => '0.5.0.0',
+ 'reference' => 'cbe5d0854ef0612c7108b84b0864b4e69e81afd1',
'type' => 'library',
'install_path' => __DIR__ . '/../ipl/sql',
'aliases' => array(),
- 'reference' => 'cbe5d0854ef0612c7108b84b0864b4e69e81afd1',
'dev_requirement' => false,
),
'ipl/stdlib' => array(
'pretty_version' => 'v0.12.0',
'version' => '0.12.0.0',
+ 'reference' => 'd42a16122975a629ab7d60eff780b9fd9949545e',
'type' => 'library',
'install_path' => __DIR__ . '/../ipl/stdlib',
'aliases' => array(),
- 'reference' => 'd42a16122975a629ab7d60eff780b9fd9949545e',
'dev_requirement' => false,
),
'ipl/validator' => array(
'pretty_version' => 'v0.4.0',
'version' => '0.4.0.0',
+ 'reference' => 'b8af9ef02654e04b63c6f28507a80270f5248ecb',
'type' => 'library',
'install_path' => __DIR__ . '/../ipl/validator',
'aliases' => array(),
- 'reference' => 'b8af9ef02654e04b63c6f28507a80270f5248ecb',
'dev_requirement' => false,
),
'ipl/web' => array(
'pretty_version' => 'v0.5.0',
'version' => '0.5.0.0',
+ 'reference' => '9c3423a504ebea823309452e8414f5b0b1746bdd',
'type' => 'library',
'install_path' => __DIR__ . '/../ipl/web',
'aliases' => array(),
- 'reference' => '9c3423a504ebea823309452e8414f5b0b1746bdd',
'dev_requirement' => false,
),
'psr/http-message' => array(
'pretty_version' => '1.0.1',
'version' => '1.0.1.0',
+ 'reference' => 'f6561bf28d520154e4b0ec72be95418abe6d9363',
'type' => 'library',
'install_path' => __DIR__ . '/../psr/http-message',
'aliases' => array(),
- 'reference' => 'f6561bf28d520154e4b0ec72be95418abe6d9363',
'dev_requirement' => false,
),
),
=====================================
vendor/ipl/orm/src/Behavior/Binary.php
=====================================
@@ -27,19 +27,14 @@ class Binary extends PropertyBehavior implements QueryAwareBehavior, RewriteFilt
*/
protected $rewriteSubjects;
- /**
- * @throws UnexpectedValueException If value is set and not a resource
- */
public function fromDb($value, $key, $_)
{
if ($value !== null) {
- if (! is_resource($value)) {
- throw new UnexpectedValueException(
- sprintf('%s should be a resource got %s instead', $key, get_php_type($value))
- );
+ if (is_resource($value)) {
+ return stream_get_contents($value);
}
- return stream_get_contents($value);
+ return $value;
}
return null;
=====================================
vendor/ipl/orm/src/ResultSet.php
=====================================
@@ -81,6 +81,8 @@ class ResultSet implements Iterator
if ($this->isCacheDisabled || ! $this->cache->valid()) {
$this->generator->next();
$this->advance();
+ } else {
+ $this->position += 1;
}
}
View it on GitLab: https://salsa.debian.org/nagios-team/icinga-php-library/-/commit/ff29aeb4c0573ec4e88375233171e9fb765c3a92
--
View it on GitLab: https://salsa.debian.org/nagios-team/icinga-php-library/-/commit/ff29aeb4c0573ec4e88375233171e9fb765c3a92
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-nagios-changes/attachments/20220706/5434a19b/attachment-0001.htm>
More information about the pkg-nagios-changes
mailing list