mirror of https://github.com/sualko/cloud_bbb
chore: update php cs fixer
parent
b4a75dba9a
commit
c6738cbbaf
|
@ -9,3 +9,4 @@ node_modules/
|
||||||
/archives/
|
/archives/
|
||||||
.phpunit.result.cache
|
.phpunit.result.cache
|
||||||
.vscode/settings.json
|
.vscode/settings.json
|
||||||
|
.php-cs-fixer.cache
|
|
@ -14,8 +14,8 @@
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"phpunit/phpunit": "^8.5 || ^9.3",
|
"phpunit/phpunit": "^8.5 || ^9.3",
|
||||||
"friendsofphp/php-cs-fixer": "^2.16",
|
"friendsofphp/php-cs-fixer": "^3",
|
||||||
"nextcloud/coding-standard": "^0.5.0",
|
"nextcloud/coding-standard": "^1.0.0",
|
||||||
"phpstan/phpstan": "^0.12.29",
|
"phpstan/phpstan": "^0.12.29",
|
||||||
"christophwurst/nextcloud": "^22.0 || ^23.0 || ^24.0",
|
"christophwurst/nextcloud": "^22.0 || ^23.0 || ^24.0",
|
||||||
"vimeo/psalm": "^4.5"
|
"vimeo/psalm": "^4.5"
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -12,7 +12,6 @@ use OCP\EventDispatcher\IEventListener;
|
||||||
use OCP\IUserSession;
|
use OCP\IUserSession;
|
||||||
|
|
||||||
class MeetingListener implements IEventListener {
|
class MeetingListener implements IEventListener {
|
||||||
|
|
||||||
/** @var IActivityManager */
|
/** @var IActivityManager */
|
||||||
private $activityManager;
|
private $activityManager;
|
||||||
|
|
||||||
|
|
|
@ -15,7 +15,6 @@ use OCP\IUserManager;
|
||||||
use OCP\L10N\IFactory;
|
use OCP\L10N\IFactory;
|
||||||
|
|
||||||
class Provider implements IProvider {
|
class Provider implements IProvider {
|
||||||
|
|
||||||
/** @var string */
|
/** @var string */
|
||||||
public const ROOM_CREATED = 'room_created';
|
public const ROOM_CREATED = 'room_created';
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,6 @@ use OCP\EventDispatcher\Event;
|
||||||
use OCP\EventDispatcher\IEventListener;
|
use OCP\EventDispatcher\IEventListener;
|
||||||
|
|
||||||
class RoomListener implements IEventListener {
|
class RoomListener implements IEventListener {
|
||||||
|
|
||||||
/** @var IActivityManager */
|
/** @var IActivityManager */
|
||||||
private $activityManager;
|
private $activityManager;
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,6 @@ use OCP\EventDispatcher\IEventListener;
|
||||||
use OCP\IGroupManager;
|
use OCP\IGroupManager;
|
||||||
|
|
||||||
class RoomShareListener implements IEventListener {
|
class RoomShareListener implements IEventListener {
|
||||||
|
|
||||||
/** @var IActivityManager */
|
/** @var IActivityManager */
|
||||||
private $activityManager;
|
private $activityManager;
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,6 @@ use OCP\BackgroundJob\IJobList;
|
||||||
use OCP\BackgroundJob\TimedJob;
|
use OCP\BackgroundJob\TimedJob;
|
||||||
|
|
||||||
class IsRunningJob extends TimedJob {
|
class IsRunningJob extends TimedJob {
|
||||||
|
|
||||||
/** @var IJobList */
|
/** @var IJobList */
|
||||||
private $jobList;
|
private $jobList;
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,7 @@ class Presentation {
|
||||||
|
|
||||||
public function __construct(string $url, string $filename) {
|
public function __construct(string $url, string $filename) {
|
||||||
$this->url = $url;
|
$this->url = $url;
|
||||||
$this->filename = preg_replace('/[^\x20-\x7E]+/','#', $filename);
|
$this->filename = preg_replace('/[^\x20-\x7E]+/', '#', $filename);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getUrl(): string {
|
public function getUrl(): string {
|
||||||
|
|
|
@ -8,7 +8,6 @@ use Symfony\Component\Console\Input\InputInterface;
|
||||||
use Symfony\Component\Console\Output\OutputInterface;
|
use Symfony\Component\Console\Output\OutputInterface;
|
||||||
|
|
||||||
class ClearAvatarCache extends Command {
|
class ClearAvatarCache extends Command {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var AvatarRepository
|
* @var AvatarRepository
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -6,7 +6,6 @@ use OCA\BigBlueButton\Db\Room;
|
||||||
use OCP\EventDispatcher\Event;
|
use OCP\EventDispatcher\Event;
|
||||||
|
|
||||||
abstract class RoomEvent extends Event {
|
abstract class RoomEvent extends Event {
|
||||||
|
|
||||||
/** @var Room */
|
/** @var Room */
|
||||||
private $room;
|
private $room;
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,6 @@ use OCA\BigBlueButton\Db\RoomShare;
|
||||||
use OCP\EventDispatcher\Event;
|
use OCP\EventDispatcher\Event;
|
||||||
|
|
||||||
abstract class RoomShareEvent extends Event {
|
abstract class RoomShareEvent extends Event {
|
||||||
|
|
||||||
/** @var RoomShare */
|
/** @var RoomShare */
|
||||||
private $roomShare;
|
private $roomShare;
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,6 @@ use OCP\EventDispatcher\IEventListener;
|
||||||
use OCP\User\Events\UserDeletedEvent;
|
use OCP\User\Events\UserDeletedEvent;
|
||||||
|
|
||||||
class UserDeletedListener implements IEventListener {
|
class UserDeletedListener implements IEventListener {
|
||||||
|
|
||||||
/** @var IActivityManager */
|
/** @var IActivityManager */
|
||||||
private $activityManager;
|
private $activityManager;
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,6 @@ use OCP\Migration\IOutput;
|
||||||
use OCP\Migration\SimpleMigrationStep;
|
use OCP\Migration\SimpleMigrationStep;
|
||||||
|
|
||||||
class Version000000Date20200416124731 extends SimpleMigrationStep {
|
class Version000000Date20200416124731 extends SimpleMigrationStep {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param IOutput $output
|
* @param IOutput $output
|
||||||
* @param Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
|
* @param Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
|
||||||
|
|
|
@ -10,7 +10,6 @@ use OCP\Migration\IOutput;
|
||||||
use OCP\Migration\SimpleMigrationStep;
|
use OCP\Migration\SimpleMigrationStep;
|
||||||
|
|
||||||
class Version000000Date20200613111242 extends SimpleMigrationStep {
|
class Version000000Date20200613111242 extends SimpleMigrationStep {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param IOutput $output
|
* @param IOutput $output
|
||||||
* @param Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
|
* @param Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
|
||||||
|
|
|
@ -10,7 +10,6 @@ use OCP\Migration\IOutput;
|
||||||
use OCP\Migration\SimpleMigrationStep;
|
use OCP\Migration\SimpleMigrationStep;
|
||||||
|
|
||||||
class Version000000Date20200617055735 extends SimpleMigrationStep {
|
class Version000000Date20200617055735 extends SimpleMigrationStep {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param IOutput $output
|
* @param IOutput $output
|
||||||
* @param Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
|
* @param Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
|
||||||
|
|
|
@ -13,7 +13,6 @@ use OCP\Migration\SimpleMigrationStep;
|
||||||
* Auto-generated migration step: Please modify to your needs!
|
* Auto-generated migration step: Please modify to your needs!
|
||||||
*/
|
*/
|
||||||
class Version000000Date20200826100844 extends SimpleMigrationStep {
|
class Version000000Date20200826100844 extends SimpleMigrationStep {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param IOutput $output
|
* @param IOutput $output
|
||||||
* @param Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
|
* @param Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
|
||||||
|
|
|
@ -13,7 +13,6 @@ use OCP\Migration\SimpleMigrationStep;
|
||||||
* Auto-generated migration step: Please modify to your needs!
|
* Auto-generated migration step: Please modify to your needs!
|
||||||
*/
|
*/
|
||||||
class Version000000Date20200829112301 extends SimpleMigrationStep {
|
class Version000000Date20200829112301 extends SimpleMigrationStep {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param IOutput $output
|
* @param IOutput $output
|
||||||
* @param Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
|
* @param Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
|
||||||
|
|
|
@ -13,7 +13,6 @@ use OCP\Migration\SimpleMigrationStep;
|
||||||
* Auto-generated migration step: Please modify to your needs!
|
* Auto-generated migration step: Please modify to your needs!
|
||||||
*/
|
*/
|
||||||
class Version000000Date20210122164501 extends SimpleMigrationStep {
|
class Version000000Date20210122164501 extends SimpleMigrationStep {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param IOutput $output
|
* @param IOutput $output
|
||||||
* @param Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
|
* @param Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
|
||||||
|
|
|
@ -13,7 +13,6 @@ use OCP\Migration\SimpleMigrationStep;
|
||||||
* Auto-generated migration step: Please modify to your needs!
|
* Auto-generated migration step: Please modify to your needs!
|
||||||
*/
|
*/
|
||||||
class Version000000Date20210419132000 extends SimpleMigrationStep {
|
class Version000000Date20210419132000 extends SimpleMigrationStep {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param IOutput $output
|
* @param IOutput $output
|
||||||
* @param Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
|
* @param Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
|
||||||
|
|
|
@ -13,8 +13,6 @@ use OCP\Migration\SimpleMigrationStep;
|
||||||
* Auto-generated migration step: Please modify to your needs!
|
* Auto-generated migration step: Please modify to your needs!
|
||||||
*/
|
*/
|
||||||
class Version000000Date20210729200144 extends SimpleMigrationStep {
|
class Version000000Date20210729200144 extends SimpleMigrationStep {
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param IOutput $output
|
* @param IOutput $output
|
||||||
* @param Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
|
* @param Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
|
||||||
|
|
|
@ -13,8 +13,6 @@ use OCP\Migration\SimpleMigrationStep;
|
||||||
* Auto-generated migration step: Please modify to your needs!
|
* Auto-generated migration step: Please modify to your needs!
|
||||||
*/
|
*/
|
||||||
class Version000000Date20220316151400 extends SimpleMigrationStep {
|
class Version000000Date20220316151400 extends SimpleMigrationStep {
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param IOutput $output
|
* @param IOutput $output
|
||||||
* @param Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
|
* @param Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
|
||||||
|
|
|
@ -13,8 +13,6 @@ use OCP\Migration\SimpleMigrationStep;
|
||||||
* Auto-generated migration step: Please modify to your needs!
|
* Auto-generated migration step: Please modify to your needs!
|
||||||
*/
|
*/
|
||||||
class Version000000Date20220728083700 extends SimpleMigrationStep {
|
class Version000000Date20220728083700 extends SimpleMigrationStep {
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param IOutput $output
|
* @param IOutput $output
|
||||||
* @param Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
|
* @param Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
|
||||||
|
|
|
@ -13,7 +13,6 @@ use OCP\IGroupManager;
|
||||||
use OCP\IUserManager;
|
use OCP\IUserManager;
|
||||||
|
|
||||||
class Permission {
|
class Permission {
|
||||||
|
|
||||||
/** @var IUserManager */
|
/** @var IUserManager */
|
||||||
private $userManager;
|
private $userManager;
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,6 @@ use OCP\IConfig;
|
||||||
use OCP\Security\ISecureRandom;
|
use OCP\Security\ISecureRandom;
|
||||||
|
|
||||||
class RoomService {
|
class RoomService {
|
||||||
|
|
||||||
/** @var RoomMapper */
|
/** @var RoomMapper */
|
||||||
private $mapper;
|
private $mapper;
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,6 @@ use OCP\AppFramework\Db\MultipleObjectsReturnedException;
|
||||||
use OCP\EventDispatcher\IEventDispatcher;
|
use OCP\EventDispatcher\IEventDispatcher;
|
||||||
|
|
||||||
class RoomShareService {
|
class RoomShareService {
|
||||||
|
|
||||||
/** @var RoomShareMapper */
|
/** @var RoomShareMapper */
|
||||||
private $mapper;
|
private $mapper;
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,6 @@ use OCP\IConfig;
|
||||||
use OCP\Settings\ISettings;
|
use OCP\Settings\ISettings;
|
||||||
|
|
||||||
class Admin implements ISettings {
|
class Admin implements ISettings {
|
||||||
|
|
||||||
/** @var IConfig */
|
/** @var IConfig */
|
||||||
private $config;
|
private $config;
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
/** @var $_ array */
|
/** @var $_ array */
|
||||||
/** @var $l \OCP\IL10N */
|
/** @var $l \OCP\IL10N */
|
||||||
style('core', 'guest');
|
style('core', 'guest');
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<div class="update bbb">
|
<div class="update bbb">
|
||||||
<h2><?php p($_['room']) ?></h2>
|
<h2><?php p($_['room']) ?></h2>
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
/** @var $l \OCP\IL10N */
|
/** @var $l \OCP\IL10N */
|
||||||
style('core', 'guest');
|
style('core', 'guest');
|
||||||
script('bbb', 'join');
|
script('bbb', 'join');
|
||||||
?>
|
?>
|
||||||
<form method="get" action="?">
|
<form method="get" action="?">
|
||||||
<fieldset class="warning bbb">
|
<fieldset class="warning bbb">
|
||||||
<h2><?php p($_['room']) ?></h2>
|
<h2><?php p($_['room']) ?></h2>
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
/** @var $l \OCP\IL10N */
|
/** @var $l \OCP\IL10N */
|
||||||
style('core', 'guest');
|
style('core', 'guest');
|
||||||
script('bbb', 'waiting');
|
script('bbb', 'waiting');
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<div class="update bbb">
|
<div class="update bbb">
|
||||||
<h2><?php p($_['room']); ?></h2>
|
<h2><?php p($_['room']); ?></h2>
|
||||||
|
|
Loading…
Reference in New Issue