diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2021-01-18 16:14:31 +0100 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2021-01-19 09:48:33 +0100 |
commit | a9efcb1561a10bf0324f23c0f30b9447aa753a47 (patch) | |
tree | f1c651ce39243ecc29e8703f4428e77686f692b8 /ext/sqlite3 | |
parent | d340be0d3246542c1ae34d632f36510fb1792852 (diff) | |
download | php-git-a9efcb1561a10bf0324f23c0f30b9447aa753a47.tar.gz |
gen_stub: Also verify implementation-alias
This makes --verify also check @implementation-alias. Failures are
ignored using @no-verify instead. Some mistakes have been made that
would have been caught by this...
Closes GH-6615.
Diffstat (limited to 'ext/sqlite3')
-rw-r--r-- | ext/sqlite3/sqlite3.stub.php | 5 | ||||
-rw-r--r-- | ext/sqlite3/sqlite3_arginfo.h | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/ext/sqlite3/sqlite3.stub.php b/ext/sqlite3/sqlite3.stub.php index 95bfb312d8..b4d4fdce29 100644 --- a/ext/sqlite3/sqlite3.stub.php +++ b/ext/sqlite3/sqlite3.stub.php @@ -4,7 +4,10 @@ class SQLite3 { - /** @implementation-alias SQLite3::open */ + /** + * @implementation-alias SQLite3::open + * @no-verify SQLite3::open should really be static + */ public function __construct(string $filename, int $flags = SQLITE3_OPEN_READWRITE | SQLITE3_OPEN_CREATE, string $encryptionKey = "") {} /** @return void */ diff --git a/ext/sqlite3/sqlite3_arginfo.h b/ext/sqlite3/sqlite3_arginfo.h index 39e026c52d..8f95c54d8f 100644 --- a/ext/sqlite3/sqlite3_arginfo.h +++ b/ext/sqlite3/sqlite3_arginfo.h @@ -1,5 +1,5 @@ /* This is a generated file, edit the .stub.php file instead. - * Stub hash: 61a684b6c221a15538a5f8cc32bc4e7d4cf3c8fd */ + * Stub hash: 2abe77016e7a595f1687be34e52bba6aa477e7ae */ ZEND_BEGIN_ARG_INFO_EX(arginfo_class_SQLite3___construct, 0, 0, 1) ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0) |