Máté Kocsis
|
59d257d1ae
|
Declare ext/tokenizer constants in stubs (#9148)
|
2022-08-01 10:50:56 +02:00 |
|
Máté Kocsis
|
99b08ac281
|
Implicitly enable function entry generation when class entry generation is enabled
Closes GH-6675
|
2021-02-09 13:37:24 +01:00 |
|
Máté Kocsis
|
1954e59758
|
Add support for generating class entries from stubs
Closes GH-6289
Co-authored-by: Nikita Popov <nikita.ppv@gmail.com>
|
2021-01-26 11:50:36 +01:00 |
|
Nikita Popov
|
b1019f46ed
|
Rename PhpToken::getAll() to PhpToken::tokenize()
See https://externals.io/message/112189.
Fixes bug #80328.
|
2020-11-09 09:40:31 +01:00 |
|
Nikita Popov
|
5dd5569b89
|
Update ext/tokenizer param names
Closes GH-6232.
|
2020-09-29 16:11:08 +02:00 |
|
Máté Kocsis
|
40e8c7c90b
|
Adjust the order of method modifiers in stub
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.
|
2020-09-19 12:32:02 +02:00 |
|
Máté Kocsis
|
c5fb4f0794
|
Generate function entries from stubs for a couple of extensions
Migrates ext/standard, ext/tidy, ext/tokenizer,
ext/xml, ext/xml_reader, and ext/xml_writer. Closes GH-5381.
|
2020-04-14 11:49:02 +02:00 |
|
Nikita Popov
|
5a09b9fb0f
|
Add PhpToken class
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.
|
2020-03-26 11:09:18 +01:00 |
|
Nikita Popov
|
8a4068988b
|
Clarify that token_get_all() never returns false
It can only fail in TOKEN_PARSE mode, in which case it will throw.
|
2020-02-14 16:50:12 +01:00 |
|
Máté Kocsis
|
27e83d0fb8
|
Add union return types for function stubs
|
2019-11-11 14:54:55 +01:00 |
|
Stephen Reay
|
cfbcd4caef
|
Arginfo stubs for tokenizer
|
2019-08-11 19:03:04 +02:00 |
|