fix(deps): update dependency friendsofphp/php-cs-fixer to <3.46.1 (main) (#2868)
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [friendsofphp/php-cs-fixer](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer) | `<3.45.1` -> `<3.46.1` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>PHP-CS-Fixer/PHP-CS-Fixer (friendsofphp/php-cs-fixer)</summary> ### [`v3.46.0`](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/HEAD/CHANGELOG.md#Changelog-for-v3460) [Compare Source](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/compare/v3.45.0...v3.46.0) - chore: fix internal typehints in Tokens ([#​7656](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7656)) - chore: reduce PHPStan baseline ([#​7643](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7643)) - docs: Show class with unit tests and BC promise info ([#​7667](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7667)) - feat: change default ruleset to `@PER-CS` (only behind PHP_CS_FIXER_FUTURE_MODE=1) ([#​7650](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7650)) - feat: Support new/instanceof/use trait in `fully_qualified_strict_types` ([#​7653](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7653)) - fix: FQCN parse phpdoc using full grammar regex ([#​7649](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7649)) - fix: Handle FQCN properly with `leading_backslash_in_global_namespace` option enabled ([#​7654](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7654)) - fix: PhpdocToParamTypeFixerTest - support for arrow functions ([#​7647](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7647)) - fix: PHP_CS_FIXER_FUTURE_MODE - proper boolean validation ([#​7651](https://togithub.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7651)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/libretime/libretime). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMDMuMSIsInVwZGF0ZWRJblZlciI6IjM3LjEwMy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: jo <ljonas@riseup.net>
This commit is contained in:
parent
4e22e8cc65
commit
4827dbce71
|
@ -118,7 +118,7 @@ class LibreTime_Auth_Adaptor_FreeIpa implements Zend_Auth_Adapter_Interface
|
||||||
*/
|
*/
|
||||||
public function getResultRowObject()
|
public function getResultRowObject()
|
||||||
{
|
{
|
||||||
$o = new \stdClass();
|
$o = new stdClass();
|
||||||
$o->id = $this->user->getId();
|
$o->id = $this->user->getId();
|
||||||
$o->username = $this->user->getLogin();
|
$o->username = $this->user->getLogin();
|
||||||
$o->password = $this->user->getPassword();
|
$o->password = $this->user->getPassword();
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
use PhpAmqpLib\Connection\AMQPStreamConnection;
|
||||||
use PhpAmqpLib\Exception\AMQPRuntimeException;
|
use PhpAmqpLib\Exception\AMQPRuntimeException;
|
||||||
|
|
||||||
function booleanReduce($a, $b)
|
function booleanReduce($a, $b)
|
||||||
|
@ -118,7 +119,7 @@ function checkRMQConnection()
|
||||||
$config = Config::getConfig();
|
$config = Config::getConfig();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
$conn = new \PhpAmqpLib\Connection\AMQPStreamConnection(
|
$conn = new AMQPStreamConnection(
|
||||||
$config['rabbitmq']['host'],
|
$config['rabbitmq']['host'],
|
||||||
$config['rabbitmq']['port'],
|
$config['rabbitmq']['port'],
|
||||||
$config['rabbitmq']['user'],
|
$config['rabbitmq']['user'],
|
||||||
|
|
|
@ -132,7 +132,7 @@ class FileDataHelper
|
||||||
public static function saveArtworkData($analyzeFile, $filename, $importDir = null, $DbPath = null)
|
public static function saveArtworkData($analyzeFile, $filename, $importDir = null, $DbPath = null)
|
||||||
{
|
{
|
||||||
if (class_exists('getID3')) {
|
if (class_exists('getID3')) {
|
||||||
$getID3 = new \getID3();
|
$getID3 = new getID3();
|
||||||
$getFileInfo = $getID3->analyze($analyzeFile);
|
$getFileInfo = $getID3->analyze($analyzeFile);
|
||||||
} else {
|
} else {
|
||||||
$getFileInfo = [];
|
$getFileInfo = [];
|
||||||
|
@ -199,7 +199,7 @@ class FileDataHelper
|
||||||
$fullpath = $fp . $dbAudioPath;
|
$fullpath = $fp . $dbAudioPath;
|
||||||
|
|
||||||
if (class_exists('getID3')) {
|
if (class_exists('getID3')) {
|
||||||
$getID3 = new \getID3();
|
$getID3 = new getID3();
|
||||||
$getFileInfo = $getID3->analyze($fullpath);
|
$getFileInfo = $getID3->analyze($fullpath);
|
||||||
} else {
|
} else {
|
||||||
$getFileInfo = [];
|
$getFileInfo = [];
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
use PhpAmqpLib\Connection\AMQPStreamConnection;
|
||||||
|
use PhpAmqpLib\Message\AMQPMessage;
|
||||||
|
|
||||||
class Application_Model_RabbitMq
|
class Application_Model_RabbitMq
|
||||||
{
|
{
|
||||||
public static $doPush = false;
|
public static $doPush = false;
|
||||||
|
@ -16,7 +19,7 @@ class Application_Model_RabbitMq
|
||||||
{
|
{
|
||||||
$CC_CONFIG = Config::getConfig();
|
$CC_CONFIG = Config::getConfig();
|
||||||
|
|
||||||
$conn = new \PhpAmqpLib\Connection\AMQPStreamConnection(
|
$conn = new AMQPStreamConnection(
|
||||||
$CC_CONFIG['rabbitmq']['host'],
|
$CC_CONFIG['rabbitmq']['host'],
|
||||||
$CC_CONFIG['rabbitmq']['port'],
|
$CC_CONFIG['rabbitmq']['port'],
|
||||||
$CC_CONFIG['rabbitmq']['user'],
|
$CC_CONFIG['rabbitmq']['user'],
|
||||||
|
@ -41,7 +44,7 @@ class Application_Model_RabbitMq
|
||||||
// the way it is just so I don't accidentally break anything when I add the Analyzer code in. -- Albert, March 13, 2014
|
// the way it is just so I don't accidentally break anything when I add the Analyzer code in. -- Albert, March 13, 2014
|
||||||
$channel->exchange_declare($exchange, $exchangeType, false, true, $autoDeleteExchange);
|
$channel->exchange_declare($exchange, $exchangeType, false, true, $autoDeleteExchange);
|
||||||
|
|
||||||
$msg = new \PhpAmqpLib\Message\AMQPMessage($data, ['content_type' => 'text/plain']);
|
$msg = new AMQPMessage($data, ['content_type' => 'text/plain']);
|
||||||
|
|
||||||
$channel->basic_publish($msg, $exchange);
|
$channel->basic_publish($msg, $exchange);
|
||||||
$channel->close();
|
$channel->close();
|
||||||
|
@ -97,7 +100,7 @@ class Application_Model_RabbitMq
|
||||||
) {
|
) {
|
||||||
$config = Config::getConfig();
|
$config = Config::getConfig();
|
||||||
|
|
||||||
$conn = new \PhpAmqpLib\Connection\AMQPStreamConnection(
|
$conn = new AMQPStreamConnection(
|
||||||
$config['rabbitmq']['host'],
|
$config['rabbitmq']['host'],
|
||||||
$config['rabbitmq']['port'],
|
$config['rabbitmq']['port'],
|
||||||
$config['rabbitmq']['user'],
|
$config['rabbitmq']['user'],
|
||||||
|
@ -144,7 +147,7 @@ class Application_Model_RabbitMq
|
||||||
// the way it is just so I don't accidentally break anything when I add the Analyzer code in. -- Albert, March 13, 2014
|
// the way it is just so I don't accidentally break anything when I add the Analyzer code in. -- Albert, March 13, 2014
|
||||||
$channel->exchange_declare($exchange, $exchangeType, false, true, $autoDeleteExchange);
|
$channel->exchange_declare($exchange, $exchangeType, false, true, $autoDeleteExchange);
|
||||||
|
|
||||||
$msg = new \PhpAmqpLib\Message\AMQPMessage($jsonData, ['content_type' => 'text/plain']);
|
$msg = new AMQPMessage($jsonData, ['content_type' => 'text/plain']);
|
||||||
|
|
||||||
$channel->basic_publish($msg, $exchange);
|
$channel->basic_publish($msg, $exchange);
|
||||||
$channel->close();
|
$channel->close();
|
||||||
|
|
|
@ -614,10 +614,8 @@ final class Application_Model_Scheduler
|
||||||
/**
|
/**
|
||||||
* Enter description here ...
|
* Enter description here ...
|
||||||
*
|
*
|
||||||
* @param $scheduleItems
|
* @param $scheduleItems cc_schedule items, where the items get inserted after
|
||||||
* cc_schedule items, where the items get inserted after
|
* @param $filesToInsert array of schedule item info, what gets inserted into cc_schedule
|
||||||
* @param $filesToInsert
|
|
||||||
* array of schedule item info, what gets inserted into cc_schedule
|
|
||||||
* @param mixed $mediaItems
|
* @param mixed $mediaItems
|
||||||
* @param mixed $moveAction
|
* @param mixed $moveAction
|
||||||
* @param mixed $adjustSched
|
* @param mixed $adjustSched
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"require": {
|
"require": {
|
||||||
"php": "^7.4",
|
"php": "^7.4",
|
||||||
"friendsofphp/php-cs-fixer": "<3.45.1"
|
"friendsofphp/php-cs-fixer": "<3.46.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue