summaryrefslogtreecommitdiff
path: root/ext/tokenizer/tokenizer.stub.php
Commit message (Collapse)AuthorAgeFilesLines
* Implicitly enable function entry generation when class entry generation is ↵Máté Kocsis2021-02-091-4/+1
| | | | | | enabled Closes GH-6675
* Add support for generating class entries from stubsMáté Kocsis2021-01-261-1/+9
| | | | | | Closes GH-6289 Co-authored-by: Nikita Popov <nikita.ppv@gmail.com>
* Rename PhpToken::getAll() to PhpToken::tokenize()Nikita Popov2020-11-091-1/+1
| | | | | See https://externals.io/message/112189. Fixes bug #80328.
* Update ext/tokenizer param namesNikita Popov2020-09-291-2/+2
| | | | Closes GH-6232.
* Adjust the order of method modifiers in stubMáté Kocsis2020-09-191-1/+1
| | | | All the other method modifiers in stubs follow the guidelines of PSR-12, so let's use it in case of PhpToken::__construct() as well.
* Generate function entries from stubs for a couple of extensionsMáté Kocsis2020-04-141-7/+10
| | | | | Migrates ext/standard, ext/tidy, ext/tokenizer, ext/xml, ext/xml_reader, and ext/xml_writer. Closes GH-5381.
* Add PhpToken classNikita Popov2020-03-261-0/+16
| | | | | | | | | RFC: https://wiki.php.net/rfc/token_as_object Relative to the RFC, this also adds a __toString() method, as discussed on list. Closes GH-5176.
* Clarify that token_get_all() never returns falseNikita Popov2020-02-141-1/+1
| | | | It can only fail in TOKEN_PARSE mode, in which case it will throw.
* Add union return types for function stubsMáté Kocsis2019-11-111-2/+1
|
* Arginfo stubs for tokenizerStephen Reay2019-08-111-0/+6