Skip to content
Merged
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
2 changes: 1 addition & 1 deletion lib/AppInfo/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
use OCP\IRequest;
use Psr\Log\LoggerInterface;

class Application extends App implements IBootstrap {
final class Application extends App implements IBootstrap {
public function __construct() {
parent::__construct('admin_audit_http_client');
}
Expand Down
2 changes: 1 addition & 1 deletion lib/Http/Client/LoggingClientService.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
use OCP\IRequest;
use Psr\Log\LoggerInterface;

class LoggingClientService implements IClientService {
final class LoggingClientService implements IClientService {
public function __construct(
private IClientService $inner,
private LoggerInterface $logger,
Expand Down
2 changes: 1 addition & 1 deletion lib/Http/Client/Middleware/CountingStream.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* entry once the body has been fully consumed (close) or garbage collected
* (__destruct fallback for streams that are never explicitly closed).
*/
class CountingStream implements StreamInterface {
final class CountingStream implements StreamInterface {
private int $bytesRead = 0;
private bool $logged = false;

Expand Down
2 changes: 1 addition & 1 deletion lib/Http/Client/Middleware/HttpClientLoggerMiddleware.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
use Psr\Http\Message\ResponseInterface;
use Psr\Log\LoggerInterface;

class HttpClientLoggerMiddleware {
final class HttpClientLoggerMiddleware {
/**
* Same placeholder the server itself uses when it strips sensitive
* values from config output.
Expand Down
2 changes: 1 addition & 1 deletion lib/Http/Client/Middleware/LogPathHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

namespace OCA\AdminAuditHttpClient\Http\Client\Middleware;

class LogPathHelper {
final class LogPathHelper {
/**
* Derives per-host log file paths from request meta info.
*
Expand Down
2 changes: 1 addition & 1 deletion lib/Http/Client/Middleware/LogWriter.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* reports the first failed write per process as a warning — without that, a
* full or unwritable log directory would go entirely unnoticed.
*/
class LogWriter {
final class LogWriter {
private static bool $failureLogged = false;

public static function write(
Expand Down
2 changes: 1 addition & 1 deletion lib/Http/Client/Middleware/TransferStatsStore.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* a static array is sufficient; entries are removed as soon as the request's
* log entry has been written or logging is skipped.
*/
class TransferStatsStore {
final class TransferStatsStore {
/** @var array<string, array> */
private static array $stats = [];

Expand Down
Loading