Compare commits
2 commits
9ed97e8575
...
82c23fb15a
Author | SHA1 | Date | |
---|---|---|---|
82c23fb15a | |||
eec264ab98 |
3 changed files with 5 additions and 2 deletions
|
@ -13,6 +13,9 @@
|
||||||
"phpstan/phpstan": "^1.11"
|
"phpstan/phpstan": "^1.11"
|
||||||
},
|
},
|
||||||
"suggest": {
|
"suggest": {
|
||||||
|
"ext-memcache": "Support for the Index\\Cache\\Memcached namespace (only if you can't use ext-memcached for some reason).",
|
||||||
|
"ext-memcached": "Support for the Index\\Cache\\Memcached namespace (you should use this instead of ext-memcache).",
|
||||||
|
"ext-redis": "Support for the Index\\Cache\\Valkey namespace.",
|
||||||
"ext-mysqli": "Support for the Index\\Db\\MariaDb namespace (both mysqlnd and libmysql are supported).",
|
"ext-mysqli": "Support for the Index\\Db\\MariaDb namespace (both mysqlnd and libmysql are supported).",
|
||||||
"ext-sqlite3": "Support for the Index\\Db\\Sqlite namespace."
|
"ext-sqlite3": "Support for the Index\\Db\\Sqlite namespace."
|
||||||
},
|
},
|
||||||
|
|
|
@ -86,7 +86,7 @@ final class FsConfigTest extends TestCase {
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testGetAllValueInfos(): void {
|
public function testGetAllValueInfos(): void {
|
||||||
$config = FsConfig::fromFile(__DIR__ . '/sharpchat.cfg');
|
$config = FsConfig::fromFile(__DIR__ . '/FsConfigTest.cfg');
|
||||||
|
|
||||||
$all = $config->getAllValueInfos();
|
$all = $config->getAllValueInfos();
|
||||||
$expected = [
|
$expected = [
|
||||||
|
@ -132,7 +132,7 @@ final class FsConfigTest extends TestCase {
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testGetValues(): void {
|
public function testGetValues(): void {
|
||||||
$config = FsConfig::fromFile(__DIR__ . '/sharpchat.cfg');
|
$config = FsConfig::fromFile(__DIR__ . '/FsConfigTest.cfg');
|
||||||
|
|
||||||
$this->assertNull($config->getValueInfo('doesnotexist'));
|
$this->assertNull($config->getValueInfo('doesnotexist'));
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue