TomasVotruba
|
e2e99f269b
|
Add strict_types to lib code
|
2017-08-18 23:00:13 +02:00 |
|
TomasVotruba
|
ec535ea14e
|
[cs] use PHP 5.4 short array, since PHP 7.0 is min version
|
2017-08-13 21:14:28 +02:00 |
|
Nikita Popov
|
a32e3797d4
|
Generate PHP 7 type annotations
|
2017-04-28 21:40:59 +02:00 |
|
Nikita Popov
|
7419649eae
|
Change BuilderAbstract into BuilderHelpers static class
Used as poor man's function namespace here.
|
2017-04-24 21:15:11 +02:00 |
|
Nikita Popov
|
6b6c903585
|
Kill the BuilderAbstract::$flags property
Instead pass and return the flags explicitly.
|
2017-04-24 21:06:54 +02:00 |
|
Nikita Popov
|
7623d20f69
|
Automatically wrap in Stmt\Expression in builders
|
2017-01-19 22:39:21 +01:00 |
|
Matthew Brown
|
030de805e1
|
Add NullableType to types of properties/args that offer it (#323)
|
2016-12-05 13:30:29 +01:00 |
|
Nikita Popov
|
18129480ae
|
Rename $type subnode to $flags
Type makes it sound like a type-hint, and on a number of other nodes
$type is used for exactly that. Use $flags to hold modifiers instead.
|
2016-07-25 13:33:19 +02:00 |
|
lvht
|
39f93f09f9
|
Add setReturnType() method to function/method builders
Also support scalar type hints in existing setTypeHint() method on params.
|
2016-04-09 18:41:38 +09:00 |
|
Thomas Ruiz
|
73cace360d
|
Implicit public should not generate as explicit public
|
2015-03-08 20:21:01 +01:00 |
|
Nikita Popov
|
55fdbc6dbc
|
Extract common builder methods to abstract classes
Declaration for fns/classes in general and FunctionLike for
functions/methods in particular.
|
2014-12-19 17:47:51 +01:00 |
|
Nikita Popov
|
2438848487
|
Add support for doc comments in builders
|
2014-12-13 13:44:40 +01:00 |
|
nikic
|
f82862ec9c
|
Port library to use namespaces, with BC for old names
|
2014-02-06 20:29:35 +01:00 |
|