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 README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ For an overview of the software quality over time and the evolving metrics, chec
| functions.php | ❌ | yyyy-mm-dd |
| groups.php | ❌ | yyyy-mm-dd |
| help.php | ❌ | yyyy-mm-dd |
| history.php | | yyyy-mm-dd |
| history.php | | 2025-09-14 |
| index.php | ✅ | 2024-12-26 |
| indexes.php | ❌ | yyyy-mm-dd |
| info.php | ❌ | yyyy-mm-dd |
Expand Down
2 changes: 2 additions & 0 deletions all_db.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

use PhpPgAdmin\Website\AllDb;

require_once __DIR__ . DIRECTORY_SEPARATOR . 'autoload.php';
Expand Down
3 changes: 2 additions & 1 deletion autoload.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

require_once __DIR__ . DIRECTORY_SEPARATOR . 'vendor' . DIRECTORY_SEPARATOR . 'autoload.php';

spl_autoload_register(function ($class) {
spl_autoload_register(static function ($class): void {
// project-specific namespace prefix
$prefix = 'PhpPgAdmin\\';

Expand All @@ -24,6 +24,7 @@

// does the class use the namespace prefix?
$len = strlen($prefix);

if (strncmp($prefix, $class, $len) !== 0) {
// no, move to the next registered autoloader
return;
Expand Down
2 changes: 2 additions & 0 deletions browser.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

use PhpPgAdmin\Website\Browser;

require_once __DIR__ . DIRECTORY_SEPARATOR . 'autoload.php';
Expand Down
Loading