Skip to content

Update all non-major dependencies #386

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
May 27, 2023
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 14 additions & 14 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ jobs:
couchdb version: "2.3.1"

- name: "Install PHP"
uses: "shivammathur/[email protected].1"
uses: "shivammathur/[email protected].2"
with:
php-version: "${{ matrix.php-version }}"
extensions: "phar, json, opcache, dom, iconv, intl, mbstring, simplexml, tokenizer, xmlwriter, :mongodb, :amqp, :sockets, :curl"
Expand Down Expand Up @@ -162,7 +162,7 @@ jobs:
mongodb-version: "5.0"

- name: "Install PHP"
uses: "shivammathur/[email protected].1"
uses: "shivammathur/[email protected].2"
with:
php-version: "${{ matrix.php-version }}"
extensions: "phar, json, opcache, dom, iconv, intl, mbstring, simplexml, tokenizer, xmlwriter, mongodb, :amqp, :sockets, :curl"
Expand Down Expand Up @@ -242,7 +242,7 @@ jobs:
couchdb version: "2.3.1"

- name: "Install PHP"
uses: "shivammathur/[email protected].1"
uses: "shivammathur/[email protected].2"
with:
php-version: "${{ matrix.php-version }}"
extensions: "phar, json, opcache, dom, iconv, intl, mbstring, simplexml, tokenizer, xmlwriter, :mongodb, :amqp, :sockets, curl"
Expand Down Expand Up @@ -316,7 +316,7 @@ jobs:
couchdb version: "2.3.1"

- name: "Install PHP"
uses: "shivammathur/[email protected].1"
uses: "shivammathur/[email protected].2"
with:
php-version: "${{ matrix.php-version }}"
extensions: "phar, json, opcache, dom, iconv, intl, mbstring, simplexml, tokenizer, xmlwriter, :mongodb, :amqp, sockets, :curl"
Expand Down Expand Up @@ -393,7 +393,7 @@ jobs:
couchdb version: "2.3.1"

- name: "Install PHP"
uses: "shivammathur/[email protected].1"
uses: "shivammathur/[email protected].2"
with:
php-version: "${{ matrix.php-version }}"
extensions: "phar, json, opcache, dom, iconv, intl, mbstring, simplexml, tokenizer, xmlwriter, :mongodb, amqp, :sockets, :curl"
Expand Down Expand Up @@ -470,7 +470,7 @@ jobs:
couchdb version: "2.3.1"

- name: "Install PHP"
uses: "shivammathur/[email protected].1"
uses: "shivammathur/[email protected].2"
with:
php-version: "${{ matrix.php-version }}"
extensions: "phar, json, opcache, dom, iconv, intl, mbstring, simplexml, tokenizer, xmlwriter, openssl, :mongodb, :amqp, :sockets, :curl, ctype"
Expand Down Expand Up @@ -560,7 +560,7 @@ jobs:
couchdb version: "2.3.1"

- name: "Install PHP"
uses: "shivammathur/[email protected].1"
uses: "shivammathur/[email protected].2"
with:
php-version: "${{ matrix.php-version }}"
extensions: "phar, json, opcache, dom, iconv, intl, mbstring, simplexml, tokenizer, xmlwriter, openssl, :mongodb, :amqp, :sockets, :curl, ctype"
Expand Down Expand Up @@ -653,7 +653,7 @@ jobs:
couchdb version: "2.3.1"

- name: "Install PHP"
uses: "shivammathur/[email protected].1"
uses: "shivammathur/[email protected].2"
with:
php-version: "${{ matrix.php-version }}"
extensions: "phar, json, opcache, dom, iconv, intl, mbstring, simplexml, tokenizer, xmlwriter, openssl, :mongodb, :amqp, :sockets, curl, ctype"
Expand Down Expand Up @@ -748,7 +748,7 @@ jobs:
couchdb version: "2.3.1"

- name: "Install PHP"
uses: "shivammathur/[email protected].1"
uses: "shivammathur/[email protected].2"
with:
php-version: "${{ matrix.php-version }}"
extensions: "phar, json, opcache, dom, iconv, intl, mbstring, simplexml, tokenizer, xmlwriter, openssl, :mongodb, :amqp, sockets, :curl, ctype"
Expand Down Expand Up @@ -841,7 +841,7 @@ jobs:
couchdb version: "2.3.1"

- name: "Install PHP"
uses: "shivammathur/[email protected].1"
uses: "shivammathur/[email protected].2"
with:
php-version: "${{ matrix.php-version }}"
extensions: "phar, json, opcache, dom, iconv, intl, mbstring, simplexml, tokenizer, xmlwriter, openssl, :mongodb, :amqp, :sockets, :curl, ctype"
Expand Down Expand Up @@ -1027,7 +1027,7 @@ jobs:
couchdb version: "2.3.1"

- name: "Install PHP"
uses: "shivammathur/[email protected].1"
uses: "shivammathur/[email protected].2"
with:
php-version: "${{ matrix.php-version }}"
extensions: "phar, json, opcache, dom, iconv, intl, mbstring, simplexml, tokenizer, xmlwriter, openssl, :mongodb, :amqp, sockets, :curl, ctype"
Expand Down Expand Up @@ -1117,7 +1117,7 @@ jobs:
couchdb version: "2.3.1"

- name: "Install PHP"
uses: "shivammathur/[email protected].1"
uses: "shivammathur/[email protected].2"
with:
php-version: "${{ matrix.php-version }}"
extensions: "phar, json, opcache, dom, iconv, intl, mbstring, simplexml, tokenizer, xmlwriter, openssl, :mongodb, :amqp, :sockets, curl, ctype"
Expand Down Expand Up @@ -1205,7 +1205,7 @@ jobs:
couchdb version: "2.3.1"

- name: "Install PHP"
uses: "shivammathur/[email protected].1"
uses: "shivammathur/[email protected].2"
with:
php-version: "${{ matrix.php-version }}"
extensions: "phar, json, opcache, dom, iconv, intl, mbstring, simplexml, tokenizer, xmlwriter, openssl, mongodb, :amqp, :sockets, :curl, ctype"
Expand Down Expand Up @@ -1295,7 +1295,7 @@ jobs:
couchdb version: "2.3.1"

- name: "Install PHP"
uses: "shivammathur/[email protected].1"
uses: "shivammathur/[email protected].2"
with:
php-version: "${{ matrix.php-version }}"
extensions: "phar, json, opcache, dom, iconv, intl, mbstring, simplexml, tokenizer, xmlwriter, openssl, :mongodb, amqp, :sockets, :curl, ctype"
Expand Down
14 changes: 7 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@
"ext-xml": "*",
"ext-xmlwriter": "*",
"actived/microsoft-teams-notifier": "^1.3.0",
"aws/aws-sdk-php": "^3.270.0",
"aws/aws-sdk-php": "^3.271.3",
"doctrine/couchdb": "1.0.0-beta4",
"elasticsearch/elasticsearch": "^v7.17.2 || ^v8.7.0",
"ezimuel/ringphp": "^1.2.2",
"graylog2/gelf-php": "^2.0.0",
"graylog2/gelf-php": "^2.0.1",
"guzzlehttp/guzzle": "^7.7.0",
"guzzlehttp/psr7": "^2.5.0",
"infection/infection": "^0.27.0",
Expand All @@ -42,22 +42,22 @@
"laminas/laminas-modulemanager": "^2.14.0",
"laminas/laminas-servicemanager": "^3.21.0",
"mikey179/vfsstream": "^1.6.11",
"mimmi20/coding-standard": "^5.0.2",
"mimmi20/monolog-callbackfilterhandler": "^3.0.1",
"mimmi20/coding-standard": "^5.0.3",
"mimmi20/monolog-callbackfilterhandler": "^3.0.2",
"mimmi20/monolog-streamformatter": "^2.1.2",
"nikic/php-parser": "^v4.15.5",
"php-console/php-console": "^3.1.8",
"phpstan/extension-installer": "^1.3.0",
"phpstan/extension-installer": "^1.3.1",
"phpstan/phpstan": "^1.10.15",
"phpstan/phpstan-deprecation-rules": "^1.1.3",
"phpstan/phpstan-phpunit": "^1.3.11",
"phpstan/phpstan-phpunit": "^1.3.12",
"phpunit/phpunit": "^10.1.3",
"predis/predis": "^1.1.10 || ^2.1.2",
"rector/rector": "^0.16.0",
"ruflin/elastica": "^7.3.1",
"symfony/mailer": "^v6.2.8",
"symfony/mime": "^v6.2.10",
"vimeo/psalm": "^5.11.0"
"vimeo/psalm": "^5.12.0"
},
"suggest": {
"ext-amqp": "Allow sending log messages to an AMQP server (1.0+ required)",
Expand Down
2 changes: 1 addition & 1 deletion src/Client/ElasticsearchV7Factory.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ final class ElasticsearchV7Factory implements FactoryInterface
{
/**
* @param string $requestedName
* @param array<string, (int|array|bool|string)>|null $options
* @param array<string, (array|bool|int|string)>|null $options
* @phpstan-param array{hosts?: bool|array<int|string|array{host?: string|int, port?: int|numeric-string, scheme?: string, path?: string, user?: string, pass?: string}>, retries?: int, api-id?: string, api-key?: string, username?: string, password?: string, metadata?: bool}|null $options
*
* @throws ServiceNotCreatedException if an exception is raised when creating a service
Expand Down
2 changes: 1 addition & 1 deletion src/Client/ElasticsearchV8Factory.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ final class ElasticsearchV8Factory implements FactoryInterface
{
/**
* @param string $requestedName
* @param array<string, (int|array<string>|bool|string)>|null $options
* @param array<string, (array<string>|bool|int|string)>|null $options
* @phpstan-param array{hosts?: bool|array<string>, retries?: int, api-id?: string, api-key?: string, username?: string, password?: string, metadata?: bool|int}|null $options
*
* @throws ServiceNotCreatedException if an exception is raised when creating a service
Expand Down
2 changes: 1 addition & 1 deletion src/Formatter/GelfMessageFormatterFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ final class GelfMessageFormatterFactory implements FactoryInterface
{
/**
* @param string $requestedName
* @param array<string, (string|int|bool)>|null $options
* @param array<string, (bool|int|string)>|null $options
* @phpstan-param array{systemName?: string, extraPrefix?: string, contextPrefix?: string, maxLength?: int, maxNormalizeDepth?: int, maxNormalizeItemCount?: int, prettyPrint?: bool}|null $options
*
* @throws ServiceNotCreatedException
Expand Down
2 changes: 1 addition & 1 deletion src/Formatter/JsonFormatterFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ final class JsonFormatterFactory implements FactoryInterface
{
/**
* @param string $requestedName
* @param array<string, (string|int|bool)>|null $options
* @param array<string, (bool|int|string)>|null $options
* @phpstan-param array{batchMode?: JsonFormatter::BATCH_MODE_*, appendNewline?: bool, ignoreEmptyContextAndExtra?: bool, includeStacktraces?: bool, dateFormat?: string, maxNormalizeDepth?: int, maxNormalizeItemCount?: int, prettyPrint?: bool}|null $options
*
* @throws ServiceNotCreatedException
Expand Down
2 changes: 1 addition & 1 deletion src/Formatter/LineFormatterFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ final class LineFormatterFactory implements FactoryInterface
{
/**
* @param string $requestedName
* @param array<string, (string|int|bool)>|null $options
* @param array<string, (bool|int|string)>|null $options
* @phpstan-param array{format?: string, dateFormat?: string, allowInlineLineBreaks?: bool, ignoreEmptyContextAndExtra?: bool, includeStacktraces?: bool, maxNormalizeDepth?: int, maxNormalizeItemCount?: int, prettyPrint?: bool}|null $options
*
* @throws ServiceNotCreatedException
Expand Down
2 changes: 1 addition & 1 deletion src/Formatter/LogglyFormatterFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ final class LogglyFormatterFactory implements FactoryInterface
{
/**
* @param string $requestedName
* @param array<string, (string|int|bool)>|null $options
* @param array<string, (bool|int|string)>|null $options
* @phpstan-param array{batchMode?: JsonFormatter::BATCH_MODE_*, appendNewline?: bool, includeStacktraces?: bool, dateFormat?: string, maxNormalizeDepth?: int, maxNormalizeItemCount?: int, prettyPrint?: bool}|null $options
*
* @throws ServiceNotCreatedException
Expand Down
2 changes: 1 addition & 1 deletion src/Formatter/LogmaticFormatterFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ final class LogmaticFormatterFactory implements FactoryInterface
{
/**
* @param string $requestedName
* @param array<string, (int|bool|string)>|null $options
* @param array<string, (bool|int|string)>|null $options
* @phpstan-param array{batchMode?: JsonFormatter::BATCH_MODE_*, appendNewline?: bool, hostname?: string, appName?: string, includeStacktraces?: bool, ignoreEmptyContextAndExtra?: bool, dateFormat?: string, maxNormalizeDepth?: int, maxNormalizeItemCount?: int, prettyPrint?: bool}|null $options
*
* @throws ServiceNotCreatedException
Expand Down
2 changes: 1 addition & 1 deletion src/Handler/AmqpHandlerFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ final class AmqpHandlerFactory implements FactoryInterface

/**
* @param string $requestedName
* @param array<string, (bool|int|string|AMQPExchange|AMQPChannel)>|null $options
* @param array<string, (AMQPChannel|AMQPExchange|bool|int|string)>|null $options
* @phpstan-param array{exchange?: (bool|string|AMQPExchange|AMQPChannel), exchangeName?: string, level?: (value-of<Level::VALUES>|value-of<Level::NAMES>|Level|LogLevel::*), bubble?: bool}|null $options
*
* @throws ServiceNotFoundException if unable to resolve the service
Expand Down
2 changes: 1 addition & 1 deletion src/Handler/BrowserConsoleHandlerFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ final class BrowserConsoleHandlerFactory implements FactoryInterface

/**
* @param string $requestedName
* @param array<string, (string|int|bool)>|null $options
* @param array<string, (bool|int|string)>|null $options
* @phpstan-param array{level?: (value-of<Level::VALUES>|value-of<Level::NAMES>|Level|LogLevel::*), bubble?: bool}|null $options
*
* @throws ServiceNotFoundException if unable to resolve the service
Expand Down
2 changes: 1 addition & 1 deletion src/Handler/BufferHandlerFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ final class BufferHandlerFactory implements FactoryInterface

/**
* @param string $requestedName
* @param array<string, (string|int)>|null $options
* @param array<string, (int|string)>|null $options
* @phpstan-param array{handler?: bool|array{type?: string, enabled?: bool, options?: array<mixed>}, bufferLimit?: int, level?: (value-of<Level::VALUES>|value-of<Level::NAMES>|Level|LogLevel::*), bubble?: bool, flushOnOverflow?: bool}|null $options
*
* @throws ServiceNotFoundException if unable to resolve the service
Expand Down
4 changes: 2 additions & 2 deletions src/Handler/CallbackFilterHandlerFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ final class CallbackFilterHandlerFactory implements FactoryInterface

/**
* @param string $requestedName
* @param array<string, (string|int|array<(int|string|bool|array<(int|string), mixed>|Closure), mixed>|bool|Closure)>|null $options
* @phpstan-param array{handler?: (bool|array{type?: string, enabled?: bool, options?: array<(int|string), mixed>}), filters?: (array<Closure((LogRecord|null), HandlerInterface): HandlerInterface>|Closure((LogRecord|null), HandlerInterface): HandlerInterface), level?: (value-of<Level::VALUES>|value-of<Level::NAMES>|Level|LogLevel::*), bubble?: bool}|null $options
* @param array<string, (array<(array<(int|string), mixed>|bool|Closure|int|string), mixed>|bool|Closure|int|string)>|null $options
* @phpstan-param array{handler?: (bool|array{type?: string, enabled?: bool, options?: array<(int|string), mixed>}), filters?: array<int|string, (Closure(LogRecord, Level): bool)>, level?: (value-of<Level::VALUES>|value-of<Level::NAMES>|Level|LogLevel::*), bubble?: bool}|null $options
*
* @throws ServiceNotFoundException if unable to resolve the service
* @throws ServiceNotCreatedException if an exception is raised when creating a service
Expand Down
2 changes: 1 addition & 1 deletion src/Handler/ChromePHPHandlerFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ final class ChromePHPHandlerFactory implements FactoryInterface

/**
* @param string $requestedName
* @param array<string, (string|int|bool)>|null $options
* @param array<string, (bool|int|string)>|null $options
* @phpstan-param array{level?: (value-of<Level::VALUES>|value-of<Level::NAMES>|Level|LogLevel::*), bubble?: bool}|null $options
*
* @throws ServiceNotFoundException if unable to resolve the service
Expand Down
2 changes: 1 addition & 1 deletion src/Handler/CouchDBHandlerFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ final class CouchDBHandlerFactory implements FactoryInterface

/**
* @param string $requestedName
* @param array<string, (string|int|bool)>|null $options
* @param array<string, (bool|int|string)>|null $options
* @phpstan-param array{host?: string, port?: int, dbname?: string, username?: string, password?: string, level?: (value-of<Level::VALUES>|value-of<Level::NAMES>|Level|LogLevel::*), bubble?: bool}|null $options
*
* @throws ServiceNotFoundException if unable to resolve the service
Expand Down
2 changes: 1 addition & 1 deletion src/Handler/DeduplicationHandlerFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ final class DeduplicationHandlerFactory implements FactoryInterface

/**
* @param string $requestedName
* @param array<string, (string|int)>|null $options
* @param array<string, (int|string)>|null $options
* @phpstan-param array{handler?: bool|array{type?: string, enabled?: bool, options?: array<mixed>}, deduplicationStore?: string, deduplicationLevel?: (value-of<Level::VALUES>|value-of<Level::NAMES>|Level|LogLevel::*), time?: int, bubble?: bool}|null $options
*
* @throws ServiceNotFoundException if unable to resolve the service
Expand Down
2 changes: 1 addition & 1 deletion src/Handler/DoctrineCouchDBHandlerFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ final class DoctrineCouchDBHandlerFactory implements FactoryInterface

/**
* @param string $requestedName
* @param array<string, (string|int|bool|CouchDBClient)>|null $options
* @param array<string, (bool|CouchDBClient|int|string)>|null $options
* @phpstan-param array{client?: (bool|string|CouchDBClient), level?: (value-of<Level::VALUES>|value-of<Level::NAMES>|Level|LogLevel::*), bubble?: bool}|null $options
*
* @throws ServiceNotFoundException if unable to resolve the service
Expand Down
2 changes: 1 addition & 1 deletion src/Handler/DynamoDbHandlerFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ final class DynamoDbHandlerFactory implements FactoryInterface

/**
* @param string $requestedName
* @param array<string, (string|int|bool|DynamoDbClient)>|null $options
* @param array<string, (bool|DynamoDbClient|int|string)>|null $options
* @phpstan-param array{client?: (bool|string|DynamoDbClient), table?: string, level?: (value-of<Level::VALUES>|value-of<Level::NAMES>|Level|LogLevel::*), bubble?: bool}|null $options
*
* @throws ServiceNotFoundException if unable to resolve the service
Expand Down
2 changes: 1 addition & 1 deletion src/Handler/ElasticaHandlerFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ final class ElasticaHandlerFactory implements FactoryInterface

/**
* @param string $requestedName
* @param array<string, (string|int|bool|Client)>|null $options
* @param array<string, (bool|Client|int|string)>|null $options
* @phpstan-param array{client?: (bool|string|Client), index?: string, type?: string, ignoreError?: bool, level?: (value-of<Level::VALUES>|value-of<Level::NAMES>|Level|LogLevel::*), bubble?: bool}|null $options
*
* @throws ServiceNotFoundException if unable to resolve the service
Expand Down
2 changes: 1 addition & 1 deletion src/Handler/ElasticsearchHandlerFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ final class ElasticsearchHandlerFactory implements FactoryInterface

/**
* @param string $requestedName
* @param array<string, (string|int|bool|V7Client|V8Client)>|null $options
* @param array<string, (bool|int|string|V7Client|V8Client)>|null $options
* @phpstan-param array{client?: (bool|string|V7Client|V8Client), index?: string, type?: string, ignoreError?: bool, level?: (value-of<Level::VALUES>|value-of<Level::NAMES>|Level|LogLevel::*), bubble?: bool}|null $options
*
* @throws ServiceNotFoundException if unable to resolve the service
Expand Down
2 changes: 1 addition & 1 deletion src/Handler/ErrorLogHandlerFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ final class ErrorLogHandlerFactory implements FactoryInterface

/**
* @param string $requestedName
* @param array<string, (string|int|bool)>|null $options
* @param array<string, (bool|int|string)>|null $options
* @phpstan-param array{messageType?: (ErrorLogHandler::OPERATING_SYSTEM|ErrorLogHandler::SAPI), level?: (value-of<Level::VALUES>|value-of<Level::NAMES>|Level|LogLevel::*), bubble?: bool, expandNewlines?: bool}|null $options
*
* @throws ServiceNotFoundException if unable to resolve the service
Expand Down
2 changes: 1 addition & 1 deletion src/Handler/FallbackGroupHandlerFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ final class FallbackGroupHandlerFactory

/**
* @param string $requestedName
* @param array<string, (array<string>|iterable|bool)>|null $options
* @param array<string, (array<string>|bool|iterable)>|null $options
* @phpstan-param array{handlers?: bool|array<string|array{type?: string, enabled?: bool, options?: array<mixed>}>, bubble?: bool}|null $options
*
* @throws ServiceNotFoundException if unable to resolve the service
Expand Down
Loading