mirror of https://github.com/nextcloud/calendar
chore!: drop support for PHP 7.4
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
This commit is contained in:
parent
1896313ce2
commit
040e66154b
|
@ -15,7 +15,7 @@ jobs:
|
||||||
- name: Set up php$
|
- name: Set up php$
|
||||||
uses: shivammathur/setup-php@master
|
uses: shivammathur/setup-php@master
|
||||||
with:
|
with:
|
||||||
php-version: 7.4
|
php-version: 8.0
|
||||||
tools: composer:v1
|
tools: composer:v1
|
||||||
extensions: ctype,curl,dom,gd,iconv,intl,json,mbstring,openssl,posix,sqlite,xml,zip,gmp
|
extensions: ctype,curl,dom,gd,iconv,intl,json,mbstring,openssl,posix,sqlite,xml,zip,gmp
|
||||||
coverage: none
|
coverage: none
|
||||||
|
|
|
@ -6,7 +6,7 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
php-versions: ['7.4', '8.0', '8.1', '8.2']
|
php-versions: ['8.0', '8.1', '8.2']
|
||||||
nextcloud-versions: ['master', 'stable25']
|
nextcloud-versions: ['master', 'stable25']
|
||||||
name: php${{ matrix.php-versions }} on ${{ matrix.nextcloud-versions }} unit tests
|
name: php${{ matrix.php-versions }} on ${{ matrix.nextcloud-versions }} unit tests
|
||||||
env:
|
env:
|
||||||
|
@ -43,6 +43,7 @@ jobs:
|
||||||
file: nextcloud/apps/calendar/clover.unit.xml
|
file: nextcloud/apps/calendar/clover.unit.xml
|
||||||
flags: php
|
flags: php
|
||||||
fail_ci_if_error: true
|
fail_ci_if_error: true
|
||||||
|
verbose: true
|
||||||
|
|
||||||
summary:
|
summary:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
<screenshot>https://raw.githubusercontent.com/nextcloud/calendar/main/screenshots/week_room_suggestion.png</screenshot>
|
<screenshot>https://raw.githubusercontent.com/nextcloud/calendar/main/screenshots/week_room_suggestion.png</screenshot>
|
||||||
<screenshot>https://raw.githubusercontent.com/nextcloud/calendar/main/screenshots/week_sidebar.png</screenshot>
|
<screenshot>https://raw.githubusercontent.com/nextcloud/calendar/main/screenshots/week_sidebar.png</screenshot>
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<php min-version="7.4" max-version="8.1" />
|
<php min-version="8.0" max-version="8.2" />
|
||||||
<nextcloud min-version="25" max-version="26" />
|
<nextcloud min-version="25" max-version="26" />
|
||||||
</dependencies>
|
</dependencies>
|
||||||
<background-jobs>
|
<background-jobs>
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
{
|
{
|
||||||
"config": {
|
"config": {
|
||||||
"platform": {
|
"platform": {
|
||||||
"php": "7.4"
|
"php": "8.0"
|
||||||
},
|
},
|
||||||
"sort-packages": true
|
"sort-packages": true
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
"php": ">=7.4 <=8.1"
|
"php": ">=8.0 <=8.2"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"christophwurst/nextcloud_testing": "0.12.4",
|
"christophwurst/nextcloud_testing": "0.12.4",
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -34,7 +34,6 @@ use OCP\User\Events\UserDeletedEvent;
|
||||||
use function method_exists;
|
use function method_exists;
|
||||||
|
|
||||||
class Application extends App implements IBootstrap {
|
class Application extends App implements IBootstrap {
|
||||||
|
|
||||||
/** @var string */
|
/** @var string */
|
||||||
public const APP_ID = 'calendar';
|
public const APP_ID = 'calendar';
|
||||||
|
|
||||||
|
|
|
@ -42,7 +42,6 @@ use function array_merge;
|
||||||
use function array_values;
|
use function array_values;
|
||||||
|
|
||||||
class AppointmentConfigController extends Controller {
|
class AppointmentConfigController extends Controller {
|
||||||
|
|
||||||
/** @var AppointmentConfigService */
|
/** @var AppointmentConfigService */
|
||||||
private $appointmentConfigService;
|
private $appointmentConfigService;
|
||||||
|
|
||||||
|
|
|
@ -40,7 +40,6 @@ use OCP\IUserManager;
|
||||||
use RuntimeException;
|
use RuntimeException;
|
||||||
|
|
||||||
class AppointmentController extends Controller {
|
class AppointmentController extends Controller {
|
||||||
|
|
||||||
/** @var IUserManager */
|
/** @var IUserManager */
|
||||||
private $userManager;
|
private $userManager;
|
||||||
|
|
||||||
|
|
|
@ -47,7 +47,6 @@ use OCP\Mail\IMailer;
|
||||||
use Psr\Log\LoggerInterface;
|
use Psr\Log\LoggerInterface;
|
||||||
|
|
||||||
class BookingController extends Controller {
|
class BookingController extends Controller {
|
||||||
|
|
||||||
/** @var BookingService */
|
/** @var BookingService */
|
||||||
private $bookingService;
|
private $bookingService;
|
||||||
|
|
||||||
|
|
|
@ -40,7 +40,6 @@ use OCP\IRequest;
|
||||||
* @package OCA\Calendar\Controller
|
* @package OCA\Calendar\Controller
|
||||||
*/
|
*/
|
||||||
class ContactController extends Controller {
|
class ContactController extends Controller {
|
||||||
|
|
||||||
/** @var IManager */
|
/** @var IManager */
|
||||||
private $contactsManager;
|
private $contactsManager;
|
||||||
|
|
||||||
|
|
|
@ -44,7 +44,6 @@ use OCP\Mail\IMessage;
|
||||||
* @package OCA\Calendar\Controller
|
* @package OCA\Calendar\Controller
|
||||||
*/
|
*/
|
||||||
class EmailController extends Controller {
|
class EmailController extends Controller {
|
||||||
|
|
||||||
/** @var IConfig */
|
/** @var IConfig */
|
||||||
private $config;
|
private $config;
|
||||||
|
|
||||||
|
|
|
@ -40,7 +40,6 @@ use OCP\IURLGenerator;
|
||||||
* @package OCA\Calendar\Controller
|
* @package OCA\Calendar\Controller
|
||||||
*/
|
*/
|
||||||
class PublicViewController extends Controller {
|
class PublicViewController extends Controller {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var IConfig
|
* @var IConfig
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -35,7 +35,6 @@ use OCP\IRequest;
|
||||||
* @package OCA\Calendar\Controller
|
* @package OCA\Calendar\Controller
|
||||||
*/
|
*/
|
||||||
class SettingsController extends Controller {
|
class SettingsController extends Controller {
|
||||||
|
|
||||||
/** @var IConfig */
|
/** @var IConfig */
|
||||||
private $config;
|
private $config;
|
||||||
|
|
||||||
|
|
|
@ -38,7 +38,6 @@ use OCP\IRequest;
|
||||||
use function in_array;
|
use function in_array;
|
||||||
|
|
||||||
class ViewController extends Controller {
|
class ViewController extends Controller {
|
||||||
|
|
||||||
/** @var IConfig */
|
/** @var IConfig */
|
||||||
private $config;
|
private $config;
|
||||||
|
|
||||||
|
|
|
@ -73,7 +73,6 @@ use function json_encode;
|
||||||
* @method void setFutureLimit(?int $limit)
|
* @method void setFutureLimit(?int $limit)
|
||||||
*/
|
*/
|
||||||
class AppointmentConfig extends Entity implements JsonSerializable {
|
class AppointmentConfig extends Entity implements JsonSerializable {
|
||||||
|
|
||||||
/** @var string */
|
/** @var string */
|
||||||
protected $token;
|
protected $token;
|
||||||
|
|
||||||
|
|
|
@ -55,7 +55,6 @@ use ReturnTypeWillChange;
|
||||||
* @method void setConfirmed(bool $confirm)
|
* @method void setConfirmed(bool $confirm)
|
||||||
*/
|
*/
|
||||||
class Booking extends Entity implements JsonSerializable {
|
class Booking extends Entity implements JsonSerializable {
|
||||||
|
|
||||||
/** @var int */
|
/** @var int */
|
||||||
protected $apptConfigId;
|
protected $apptConfigId;
|
||||||
|
|
||||||
|
|
|
@ -29,7 +29,6 @@ use Exception;
|
||||||
use Throwable;
|
use Throwable;
|
||||||
|
|
||||||
class ClientException extends Exception {
|
class ClientException extends Exception {
|
||||||
|
|
||||||
/** @var int|null */
|
/** @var int|null */
|
||||||
private $httpCode;
|
private $httpCode;
|
||||||
|
|
||||||
|
|
|
@ -27,7 +27,6 @@ use Exception;
|
||||||
use Throwable;
|
use Throwable;
|
||||||
|
|
||||||
class ServiceException extends Exception {
|
class ServiceException extends Exception {
|
||||||
|
|
||||||
/** @var int|null */
|
/** @var int|null */
|
||||||
private $httpCode;
|
private $httpCode;
|
||||||
|
|
||||||
|
|
|
@ -33,7 +33,6 @@ use OCP\User\Events\UserDeletedEvent;
|
||||||
use Psr\Log\LoggerInterface;
|
use Psr\Log\LoggerInterface;
|
||||||
|
|
||||||
class UserDeletedListener implements IEventListener {
|
class UserDeletedListener implements IEventListener {
|
||||||
|
|
||||||
/** @var AppointmentConfigService */
|
/** @var AppointmentConfigService */
|
||||||
private $appointmentConfigService;
|
private $appointmentConfigService;
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,6 @@ use OCP\Migration\IOutput;
|
||||||
use OCP\Migration\SimpleMigrationStep;
|
use OCP\Migration\SimpleMigrationStep;
|
||||||
|
|
||||||
class Version2040Date20210908101001 extends SimpleMigrationStep {
|
class Version2040Date20210908101001 extends SimpleMigrationStep {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param IOutput $output
|
* @param IOutput $output
|
||||||
* @param Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
|
* @param Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
|
||||||
|
|
|
@ -31,8 +31,6 @@ use OCP\Migration\IOutput;
|
||||||
use OCP\Migration\SimpleMigrationStep;
|
use OCP\Migration\SimpleMigrationStep;
|
||||||
|
|
||||||
class Version3000Date20211109132439 extends SimpleMigrationStep {
|
class Version3000Date20211109132439 extends SimpleMigrationStep {
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param IOutput $output
|
* @param IOutput $output
|
||||||
* @param Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
|
* @param Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
|
||||||
|
|
|
@ -31,7 +31,6 @@ use OCP\Migration\IOutput;
|
||||||
use OCP\Migration\SimpleMigrationStep;
|
use OCP\Migration\SimpleMigrationStep;
|
||||||
|
|
||||||
class Version3010Date20220111090252 extends SimpleMigrationStep {
|
class Version3010Date20220111090252 extends SimpleMigrationStep {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param IOutput $output
|
* @param IOutput $output
|
||||||
* @param Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
|
* @param Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
|
||||||
|
|
|
@ -36,7 +36,6 @@ use OCP\Profile\ILinkAction;
|
||||||
use function count;
|
use function count;
|
||||||
|
|
||||||
class AppointmentsAction implements ILinkAction {
|
class AppointmentsAction implements ILinkAction {
|
||||||
|
|
||||||
/** @var IL10N */
|
/** @var IL10N */
|
||||||
private $l10n;
|
private $l10n;
|
||||||
|
|
||||||
|
|
|
@ -39,7 +39,6 @@ use OCP\IUser;
|
||||||
use OCP\Security\ISecureRandom;
|
use OCP\Security\ISecureRandom;
|
||||||
|
|
||||||
class AppointmentConfigService {
|
class AppointmentConfigService {
|
||||||
|
|
||||||
/** @var AppointmentConfigMapper */
|
/** @var AppointmentConfigMapper */
|
||||||
private $mapper;
|
private $mapper;
|
||||||
|
|
||||||
|
|
|
@ -36,7 +36,6 @@ use function max;
|
||||||
use function min;
|
use function min;
|
||||||
|
|
||||||
class AvailabilityGenerator {
|
class AvailabilityGenerator {
|
||||||
|
|
||||||
/** @var ITimeFactory */
|
/** @var ITimeFactory */
|
||||||
private $timeFactory;
|
private $timeFactory;
|
||||||
|
|
||||||
|
|
|
@ -41,7 +41,6 @@ use Sabre\VObject\Component\VCalendar;
|
||||||
use function abs;
|
use function abs;
|
||||||
|
|
||||||
class BookingCalendarWriter {
|
class BookingCalendarWriter {
|
||||||
|
|
||||||
/** @var IConfig */
|
/** @var IConfig */
|
||||||
private $config;
|
private $config;
|
||||||
|
|
||||||
|
|
|
@ -45,7 +45,6 @@ use Psr\Log\LoggerInterface;
|
||||||
use function count;
|
use function count;
|
||||||
|
|
||||||
class BookingService {
|
class BookingService {
|
||||||
|
|
||||||
/** @var int the expiry of a booking confirmation */
|
/** @var int the expiry of a booking confirmation */
|
||||||
public const EXPIRY = 86400;
|
public const EXPIRY = 86400;
|
||||||
|
|
||||||
|
|
|
@ -33,7 +33,6 @@ use function array_values;
|
||||||
use function count;
|
use function count;
|
||||||
|
|
||||||
class DailyLimitFilter {
|
class DailyLimitFilter {
|
||||||
|
|
||||||
/** @var IManager */
|
/** @var IManager */
|
||||||
private $calendarManger;
|
private $calendarManger;
|
||||||
|
|
||||||
|
|
|
@ -33,7 +33,6 @@ use Psr\Log\LoggerInterface;
|
||||||
use function array_filter;
|
use function array_filter;
|
||||||
|
|
||||||
class EventConflictFilter {
|
class EventConflictFilter {
|
||||||
|
|
||||||
/** @var IManager */
|
/** @var IManager */
|
||||||
private $calendarManager;
|
private $calendarManager;
|
||||||
private $logger;
|
private $logger;
|
||||||
|
|
|
@ -33,7 +33,6 @@ use JsonSerializable;
|
||||||
* @psalm-immutable
|
* @psalm-immutable
|
||||||
*/
|
*/
|
||||||
class Interval implements JsonSerializable {
|
class Interval implements JsonSerializable {
|
||||||
|
|
||||||
/** @var int */
|
/** @var int */
|
||||||
private $start;
|
private $start;
|
||||||
|
|
||||||
|
|
|
@ -42,7 +42,6 @@ use Psr\Log\LoggerInterface;
|
||||||
use function implode;
|
use function implode;
|
||||||
|
|
||||||
class MailService {
|
class MailService {
|
||||||
|
|
||||||
/** @var IUserManager */
|
/** @var IUserManager */
|
||||||
private $userManager;
|
private $userManager;
|
||||||
/** @var IMailer */
|
/** @var IMailer */
|
||||||
|
|
|
@ -28,7 +28,6 @@ namespace OCA\Calendar\Service\Appointments;
|
||||||
use OCA\Calendar\Db\AppointmentConfig;
|
use OCA\Calendar\Db\AppointmentConfig;
|
||||||
|
|
||||||
class SlotExtrapolator {
|
class SlotExtrapolator {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param AppointmentConfig $config
|
* @param AppointmentConfig $config
|
||||||
* @param Interval[] $availabilityIntervals
|
* @param Interval[] $availabilityIntervals
|
||||||
|
|
|
@ -29,7 +29,6 @@ use OCP\IUserSession;
|
||||||
use ReturnTypeWillChange;
|
use ReturnTypeWillChange;
|
||||||
|
|
||||||
class JSDataService implements \JsonSerializable {
|
class JSDataService implements \JsonSerializable {
|
||||||
|
|
||||||
/** @var IConfig */
|
/** @var IConfig */
|
||||||
private $config;
|
private $config;
|
||||||
|
|
||||||
|
|
|
@ -34,7 +34,6 @@ use PHPUnit\Framework\MockObject\MockObject;
|
||||||
use Psr\Log\LoggerInterface;
|
use Psr\Log\LoggerInterface;
|
||||||
|
|
||||||
class CleanupOutdatedBookingJobTest extends TestCase {
|
class CleanupOutdatedBookingJobTest extends TestCase {
|
||||||
|
|
||||||
/** @var CleanUpOutdatedBookingsJob */
|
/** @var CleanUpOutdatedBookingsJob */
|
||||||
private $job;
|
private $job;
|
||||||
|
|
||||||
|
|
|
@ -38,7 +38,6 @@ use PHPUnit\Framework\MockObject\MockObject;
|
||||||
use Psr\Log\LoggerInterface;
|
use Psr\Log\LoggerInterface;
|
||||||
|
|
||||||
class AppointmentConfigControllerTest extends TestCase {
|
class AppointmentConfigControllerTest extends TestCase {
|
||||||
|
|
||||||
/** @var IRequest|MockObject */
|
/** @var IRequest|MockObject */
|
||||||
private $request;
|
private $request;
|
||||||
|
|
||||||
|
|
|
@ -38,7 +38,6 @@ use OCP\IUserManager;
|
||||||
use PHPUnit\Framework\MockObject\MockObject;
|
use PHPUnit\Framework\MockObject\MockObject;
|
||||||
|
|
||||||
class AppointmentControllerTest extends TestCase {
|
class AppointmentControllerTest extends TestCase {
|
||||||
|
|
||||||
/** @var string */
|
/** @var string */
|
||||||
protected $appName;
|
protected $appName;
|
||||||
|
|
||||||
|
|
|
@ -38,7 +38,6 @@ use OCP\IUserManager;
|
||||||
use PHPUnit\Framework\MockObject\MockObject;
|
use PHPUnit\Framework\MockObject\MockObject;
|
||||||
|
|
||||||
class AppointmentControllerVisitorTest extends TestCase {
|
class AppointmentControllerVisitorTest extends TestCase {
|
||||||
|
|
||||||
/** @var string */
|
/** @var string */
|
||||||
protected $appName;
|
protected $appName;
|
||||||
|
|
||||||
|
|
|
@ -48,7 +48,6 @@ use Psr\Log\LoggerInterface;
|
||||||
use Safe\DateTimeImmutable;
|
use Safe\DateTimeImmutable;
|
||||||
|
|
||||||
class BookingControllerTest extends TestCase {
|
class BookingControllerTest extends TestCase {
|
||||||
|
|
||||||
/** @var string */
|
/** @var string */
|
||||||
protected $appName;
|
protected $appName;
|
||||||
|
|
||||||
|
|
|
@ -30,7 +30,6 @@ use ChristophWurst\Nextcloud\Testing\TestCase;
|
||||||
use PHPUnit\Framework\MockObject\MockObject;
|
use PHPUnit\Framework\MockObject\MockObject;
|
||||||
|
|
||||||
class ContactControllerTest extends TestCase {
|
class ContactControllerTest extends TestCase {
|
||||||
|
|
||||||
/** @var string */
|
/** @var string */
|
||||||
protected $appName;
|
protected $appName;
|
||||||
|
|
||||||
|
|
|
@ -38,7 +38,6 @@ use ChristophWurst\Nextcloud\Testing\TestCase;
|
||||||
use PHPUnit\Framework\MockObject\MockObject;
|
use PHPUnit\Framework\MockObject\MockObject;
|
||||||
|
|
||||||
class EmailControllerTest extends TestCase {
|
class EmailControllerTest extends TestCase {
|
||||||
|
|
||||||
/** @var string */
|
/** @var string */
|
||||||
private $appName;
|
private $appName;
|
||||||
|
|
||||||
|
|
|
@ -34,7 +34,6 @@ use ChristophWurst\Nextcloud\Testing\TestCase;
|
||||||
use PHPUnit\Framework\MockObject\MockObject;
|
use PHPUnit\Framework\MockObject\MockObject;
|
||||||
|
|
||||||
class PublicViewControllerTest extends TestCase {
|
class PublicViewControllerTest extends TestCase {
|
||||||
|
|
||||||
/** @var string */
|
/** @var string */
|
||||||
private $appName;
|
private $appName;
|
||||||
|
|
||||||
|
|
|
@ -29,7 +29,6 @@ use ChristophWurst\Nextcloud\Testing\TestCase;
|
||||||
use PHPUnit\Framework\MockObject\MockObject;
|
use PHPUnit\Framework\MockObject\MockObject;
|
||||||
|
|
||||||
class SettingsControllerTest extends TestCase {
|
class SettingsControllerTest extends TestCase {
|
||||||
|
|
||||||
/** @var string */
|
/** @var string */
|
||||||
private $appName;
|
private $appName;
|
||||||
|
|
||||||
|
|
|
@ -37,7 +37,6 @@ use ChristophWurst\Nextcloud\Testing\TestCase;
|
||||||
use PHPUnit\Framework\MockObject\MockObject;
|
use PHPUnit\Framework\MockObject\MockObject;
|
||||||
|
|
||||||
class ViewControllerTest extends TestCase {
|
class ViewControllerTest extends TestCase {
|
||||||
|
|
||||||
/** @var string */
|
/** @var string */
|
||||||
private $appName;
|
private $appName;
|
||||||
|
|
||||||
|
|
|
@ -38,7 +38,6 @@ use Safe\DateTimeImmutable;
|
||||||
use Test\TestCase;
|
use Test\TestCase;
|
||||||
|
|
||||||
class CalendarWidgetTest extends TestCase {
|
class CalendarWidgetTest extends TestCase {
|
||||||
|
|
||||||
/** @var IL10N|MockObject */
|
/** @var IL10N|MockObject */
|
||||||
private $l10n;
|
private $l10n;
|
||||||
|
|
||||||
|
|
|
@ -32,7 +32,6 @@ use OCP\IUser;
|
||||||
use OCP\User\Events\UserDeletedEvent;
|
use OCP\User\Events\UserDeletedEvent;
|
||||||
|
|
||||||
class UserDeletedListenerTest extends TestCase {
|
class UserDeletedListenerTest extends TestCase {
|
||||||
|
|
||||||
/** @var \ChristophWurst\Nextcloud\Testing\ServiceMockObject */
|
/** @var \ChristophWurst\Nextcloud\Testing\ServiceMockObject */
|
||||||
private $serviceMock;
|
private $serviceMock;
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,6 @@ use OCA\Calendar\Service\Appointments\AppointmentConfigService;
|
||||||
use OCP\IUser;
|
use OCP\IUser;
|
||||||
|
|
||||||
class AppointmentConfigServiceTest extends TestCase {
|
class AppointmentConfigServiceTest extends TestCase {
|
||||||
|
|
||||||
/** @var ServiceMockObject */
|
/** @var ServiceMockObject */
|
||||||
private $serviceMock;
|
private $serviceMock;
|
||||||
|
|
||||||
|
|
|
@ -36,7 +36,6 @@ use OCP\Calendar\ICalendarQuery;
|
||||||
use PHPUnit\Framework\MockObject\MockObject;
|
use PHPUnit\Framework\MockObject\MockObject;
|
||||||
|
|
||||||
class AvailabilityGeneratorTest extends TestCase {
|
class AvailabilityGeneratorTest extends TestCase {
|
||||||
|
|
||||||
/** @var ITimeFactory|MockObject */
|
/** @var ITimeFactory|MockObject */
|
||||||
private $timeFactory;
|
private $timeFactory;
|
||||||
|
|
||||||
|
|
|
@ -49,7 +49,6 @@ use Psr\Log\LoggerInterface;
|
||||||
use Safe\DateTimeImmutable;
|
use Safe\DateTimeImmutable;
|
||||||
|
|
||||||
class BookingServiceTest extends TestCase {
|
class BookingServiceTest extends TestCase {
|
||||||
|
|
||||||
/** @var AvailabilityGenerator|MockObject */
|
/** @var AvailabilityGenerator|MockObject */
|
||||||
private $availabilityGenerator;
|
private $availabilityGenerator;
|
||||||
|
|
||||||
|
|
|
@ -37,7 +37,6 @@ use PHPUnit\Framework\MockObject\MockObject;
|
||||||
* @requires OCP\Calendar\ICalendarQuery::newQuery
|
* @requires OCP\Calendar\ICalendarQuery::newQuery
|
||||||
*/
|
*/
|
||||||
class DailyLimitFilterTest extends TestCase {
|
class DailyLimitFilterTest extends TestCase {
|
||||||
|
|
||||||
/** @var IManager|MockObject */
|
/** @var IManager|MockObject */
|
||||||
private $manager;
|
private $manager;
|
||||||
|
|
||||||
|
|
|
@ -35,7 +35,6 @@ use PHPUnit\Framework\MockObject\MockObject;
|
||||||
use Psr\Log\LoggerInterface;
|
use Psr\Log\LoggerInterface;
|
||||||
|
|
||||||
class EventConflictFilterTest extends TestCase {
|
class EventConflictFilterTest extends TestCase {
|
||||||
|
|
||||||
/** @var IManager|MockObject */
|
/** @var IManager|MockObject */
|
||||||
private $calendarManager;
|
private $calendarManager;
|
||||||
|
|
||||||
|
|
|
@ -46,7 +46,6 @@ use PHPUnit\Framework\MockObject\MockObject;
|
||||||
use Psr\Log\LoggerInterface;
|
use Psr\Log\LoggerInterface;
|
||||||
|
|
||||||
class MailServiceTest extends TestCase {
|
class MailServiceTest extends TestCase {
|
||||||
|
|
||||||
/** @var mixed|IUserManager|MockObject */
|
/** @var mixed|IUserManager|MockObject */
|
||||||
private $userManager;
|
private $userManager;
|
||||||
|
|
||||||
|
|
|
@ -32,7 +32,6 @@ use OCA\Calendar\Service\Appointments\SlotExtrapolator;
|
||||||
use OCP\Calendar\ICalendarQuery;
|
use OCP\Calendar\ICalendarQuery;
|
||||||
|
|
||||||
class SlotExtrapolatorTest extends TestCase {
|
class SlotExtrapolatorTest extends TestCase {
|
||||||
|
|
||||||
/** @var SlotExtrapolator */
|
/** @var SlotExtrapolator */
|
||||||
private $extrapolator;
|
private $extrapolator;
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,6 @@ use OCP\IUserSession;
|
||||||
use PHPUnit\Framework\MockObject\MockObject;
|
use PHPUnit\Framework\MockObject\MockObject;
|
||||||
|
|
||||||
class JsDataServiceTest extends TestCase {
|
class JsDataServiceTest extends TestCase {
|
||||||
|
|
||||||
/** @var IConfig|MockObject */
|
/** @var IConfig|MockObject */
|
||||||
private $config;
|
private $config;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue