Skip to content
Closed
Show file tree
Hide file tree
Changes from all 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
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
"ext-sqlite3": "*",
"friendsofphp/php-cs-fixer": "^2.19",
"monolog/monolog": "^2.9",
"phpstan/phpstan": "^1.11",
"phpstan/phpstan-phpunit": "^1.4",
"phpstan/phpstan": "^2.1",
"phpstan/phpstan-phpunit": "^2.0",
"phpunit/phpunit": "^9.6"
},
"suggest" : {
Expand Down Expand Up @@ -63,7 +63,7 @@
],
"scripts": {
"phpstan": [
"phpstan analyse lib tests"
"phpstan analyse lib tests --memory-limit 256M"
],
"cs-fixer": [
"php-cs-fixer fix"
Expand Down
5 changes: 4 additions & 1 deletion phpstan.neon
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
parameters:
level: 1
phpVersion:
min: 70400
max: 80500
bootstrapFiles:
- tests/bootstrap.php
ignoreErrors:
Expand All @@ -8,4 +11,4 @@ parameters:
path: tests/*
includes:
- vendor/phpstan/phpstan-phpunit/extension.neon
- vendor/phpstan/phpstan-phpunit/rules.neon
- vendor/phpstan/phpstan-phpunit/rules.neon
4 changes: 2 additions & 2 deletions tests/Sabre/CalDAV/CalendarObjectTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ class CalendarObjectTest extends \PHPUnit\Framework\TestCase
/**
* @var Sabre\CalDAV\Backend_PDO
*/
protected $backend;
private $backend;
/**
* @var Sabre\CalDAV\Calendar
*/
protected $calendar;
private $calendar;
protected $principalBackend;

public function setup(): void
Expand Down
2 changes: 1 addition & 1 deletion tests/Sabre/CalDAV/CalendarTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class CalendarTest extends \PHPUnit\Framework\TestCase
/**
* @var Sabre\CalDAV\Backend\PDO
*/
protected $backend;
private $backend;
protected $principalBackend;
/**
* @var Sabre\CalDAV\Calendar
Expand Down
4 changes: 2 additions & 2 deletions tests/Sabre/CalDAV/Schedule/SchedulingObjectTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ class SchedulingObjectTest extends \PHPUnit\Framework\TestCase
/**
* @var Sabre\CalDAV\Backend_PDO
*/
protected $backend;
private $backend;
/**
* @var Sabre\CalDAV\Calendar
*/
protected $calendar;
/**
* @var Inbox
*/
protected $inbox;
private $inbox;
protected $principalBackend;

protected $data;
Expand Down
Loading