Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move gen_stub.php to build directory and install it so phpize can take care ↵ | Remi Collet | 2020-04-03 | 1 | -641/+0 |
| | | | | of it, and thus extension can use it as it is already in Makefile | ||||
* | mb_detect_encoding(): Use proper array|string parameter | Nikita Popov | 2020-03-30 | 1 | -2/+3 |
| | | | | Needed to add support for nullabiltiy in some places. | ||||
* | Support union types for args in gen stubs | Nikita Popov | 2019-11-15 | 1 | -2/+10 |
| | | | | | | | | Using this requires care! The zpp implementation for this union must be consistent with the arginfo implementation! Apart from array|object, this is probably only the case for int|float right now. | ||||
* | Support single class unions in gen stubs | Nikita Popov | 2019-11-15 | 1 | -23/+53 |
| | |||||
* | Add union return types for function stubs | Máté Kocsis | 2019-11-11 | 1 | -0/+2 |
| | |||||
* | Add support for union types in stubs | Nikita Popov | 2019-11-08 | 1 | -37/+148 |
| | | | | | | | | This is the MVP for supporting union types in PHP stubs. Return types with only builtin types work, which is the part we mainly need. Closes GH-4895. | ||||
* | Allow generating stubs for directory | Nikita Popov | 2019-11-01 | 1 | -3/+14 |
| | |||||
* | Make arginfo printing of prefer-ref arguments nicer | Nikita Popov | 2019-08-26 | 1 | -5/+17 |
| | |||||
* | Make sure that params with null default are marked nullable | Nikita Popov | 2019-08-26 | 1 | -1/+10 |
| | |||||
* | Convert remaining array function arginfo to PHP stubs | Theodore Brown | 2019-08-26 | 1 | -10/+54 |
| | |||||
* | Fix escapes for namespaced classes in gen_stub.php | Tyson Andre | 2019-08-23 | 1 | -2/+2 |
| | | | | | | | | Fix the string generated when the `ns\class` is passed to a macro #define ESCAPE(x) #x // puts(ESCAPE(ns\class)); // warning: unknown escape sequence: \c puts(ESCAPE(ns\\class)); // Properly prints ns\class to stdout. | ||||
* | Support typed variadic args in gen_stubs | Nikita Popov | 2019-08-15 | 1 | -14/+8 |
| | |||||
* | Add a prefix to differeniate between class methods and functions | Craig Duncan | 2019-08-12 | 1 | -1/+1 |
| | | | | Closes GH-4528 | ||||
* | Support regenerating all stubs | Nikita Popov | 2019-08-12 | 1 | -11/+25 |
| | |||||
* | Add support for callable to the stub generator [ci skip] | Stephen Reay | 2019-08-11 | 1 | -0/+2 |
| | |||||
* | Handle preprocessor conditions inside classes | Nikita Popov | 2019-08-10 | 1 | -35/+26 |
| | | | | Also remove the dead parseClass() function. | ||||
* | Fallback to curl in gen_stub if wget fails | Stephen Reay | 2019-08-10 | 1 | -0/+4 |
| | | | | Closes GH-4502. | ||||
* | Expand preprocessor support in gen_stubs | Nikita Popov | 2019-08-10 | 1 | -22/+46 |
| | | | | Support #ifdef, #ifndef, #else and nested #if's. | ||||
* | Make uninitialized DateTime an Error | Nikita Popov | 2019-08-09 | 1 | -3/+7 |
| | | | | This avoids many spurious false return values. | ||||
* | Generate arginfo from PHP stub files | Nikita Popov | 2019-08-09 | 1 | -0/+380 |
Signature stubs for internal functions are specified in xyz.stub.php, from which we generate actual arginfo structures in xyz_arginfo.h. This file then needs to be included in the implementation appropriately. Arginfo from stubs can be regenerated using scripts/dev/gen_stub.php. However, this should also automatically happen when the stub file is modified. |