Compare commits
No commits in common. "e59d6270804ee9fdfd212308d8e1d1a76b66993e" and "7210b24aa31f47a55125a7c1f74267313f372559" have entirely different histories.
e59d627080
...
7210b24aa3
@ -1,4 +1,4 @@
|
||||
FROM php:8.1-cli-bookworm
|
||||
FROM php:7.4.7-cli-buster
|
||||
|
||||
RUN apt-get update && apt-get install -y unzip
|
||||
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
|
||||
|
@ -5,12 +5,12 @@
|
||||
"license": "GNU GPL 3.0",
|
||||
"require": {
|
||||
"vlucas/phpdotenv": "^5.5",
|
||||
"symfony/console": "^6.3",
|
||||
"symfony/console": "^5.4",
|
||||
"phpmailer/phpmailer": "^6.8",
|
||||
"cocur/slugify": "^4.5"
|
||||
"cocur/slugify": "^4.3"
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "^10.3",
|
||||
"phpunit/phpunit": "^9.6",
|
||||
"phpstan/phpstan": "^1.10"
|
||||
},
|
||||
"autoload": {
|
||||
|
942
composer.lock
generated
942
composer.lock
generated
File diff suppressed because it is too large
Load Diff
@ -86,12 +86,12 @@ class DatabaseSessionHandler implements ISessionHandler
|
||||
return true;
|
||||
}
|
||||
|
||||
public function gc($maxlifetime): int|false
|
||||
public function gc($maxlifetime): bool
|
||||
{
|
||||
// empty on purpose
|
||||
// old sessions are deleted by MaintainDatabaseCommand
|
||||
|
||||
return 1;
|
||||
return true;
|
||||
}
|
||||
|
||||
public function create_sid(): string
|
||||
|
@ -17,7 +17,7 @@ final class GoogleOAuthTest extends TestCase
|
||||
$redirectUrl = 'http://example.com/oauth';
|
||||
|
||||
$requestMock = $this->getMockBuilder(IRequest::class)
|
||||
->onlyMethods(['setUrl', 'setMethod', 'setQuery', 'setHeaders', 'send'])
|
||||
->setMethods(['setUrl', 'setMethod', 'setQuery', 'setHeaders', 'send'])
|
||||
->getMock();
|
||||
$googleOAuth = new GoogleOAuth($requestMock);
|
||||
|
||||
@ -48,10 +48,10 @@ final class GoogleOAuthTest extends TestCase
|
||||
$redirectUrl = 'http://example.com/oauth';
|
||||
|
||||
$requestMock = $this->getMockBuilder(IRequest::class)
|
||||
->onlyMethods(['setUrl', 'setMethod', 'setQuery', 'setHeaders', 'send'])
|
||||
->setMethods(['setUrl', 'setMethod', 'setQuery', 'setHeaders', 'send'])
|
||||
->getMock();
|
||||
$responseMock = $this->getMockBuilder(IResponse::class)
|
||||
->onlyMethods(['getBody', 'getHeaders'])
|
||||
->setMethods(['getBody', 'getHeaders'])
|
||||
->getMock();
|
||||
$googleOAuth = new GoogleOAuth($requestMock);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user