mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-16 13:44:12 +02:00
[ticket/17176] Cleaned up psalm stubs folder
PHPBB3-17176
This commit is contained in:
33
build/psalm/stubs/sqlite3.php
Normal file
33
build/psalm/stubs/sqlite3.php
Normal file
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
/**
|
||||
*
|
||||
* This file is part of the phpBB Forum Software package.
|
||||
*
|
||||
* @copyright (c) phpBB Limited <https://www.phpbb.com>
|
||||
* @license GNU General Public License, version 2 (GPL-2.0)
|
||||
*
|
||||
* For full copyright and license information, please see
|
||||
* the docs/CREDITS.txt file.
|
||||
*
|
||||
*/
|
||||
|
||||
class SQLite3
|
||||
{
|
||||
public function query(string $query) {}
|
||||
}
|
||||
|
||||
class SQLite3Result
|
||||
{
|
||||
public function fetchArray(int $mode = SQLITE3_BOTH) {}
|
||||
}
|
||||
|
||||
/**
|
||||
* @link https://www.php.net/manual/en/sqlite3.constants.php
|
||||
*/
|
||||
define('SQLITE3_ASSOC', 1);
|
||||
define('SQLITE3_NUM', 2);
|
||||
define('SQLITE3_BOTH', 3);
|
||||
|
||||
define('SQLITE3_OPEN_READONLY', 1);
|
||||
define('SQLITE3_OPEN_READWRITE', 2);
|
||||
define('SQLITE3_OPEN_CREATE', 4);
|
Reference in New Issue
Block a user