Ilia Smirnov
441e6e1d31
Fixed incorrect class inheritance ( #394 )
...
Generated example was incorrect - you cannot define import alias:
use Some\Other\Thingy as SomeClass;
and then define a class with the same name:
abstract class SomeClass ...
Class names changed to avoid conflict between import alias and abstract class name.
2017-07-19 16:55:00 +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
Nikita Popov
3bb874fcec
Partial docs update
2015-07-14 19:19:32 +02:00
Nikita Popov
0c34706799
Add "use" builder
2015-03-10 16:05:55 +01:00
Thomas Ruiz
73cace360d
Implicit public should not generate as explicit public
2015-03-08 20:21:01 +01:00
Nikita Popov
ba625063e7
Support fully-qualified and ns-relative names in builders
2014-12-19 18:48:21 +01:00
Nikita Popov
b4b93ccb21
Add integration test for builders
2014-12-19 18:35:19 +01:00
Nikita Popov
4387454fe0
Add trait builder (for completeness...)
2014-12-19 17:59:23 +01:00
Nikita Popov
2438848487
Add support for doc comments in builders
2014-12-13 13:44:40 +01:00
Stepan Anchugov
f5432a76b6
Add a a reference to PrettyPrinter to code generation doc
...
The `$prettyPrinter` variable was undefined in the doc.
Also, the PrettyPrinter was mentioned as `default`, but it's `Standard`, actually.
2014-12-13 13:06:36 +01:00
nikic
94eca2ce44
Remove deprecated Template and TemplateLoader
2014-09-12 00:25:30 +02:00
nikic
4c06b0919a
Merge branch '0.9'
...
Conflicts:
lib/PhpParser/Template.php
lib/PhpParser/TemplateLoader.php
2014-03-27 12:53:24 +01:00
nikic
8429157ab5
Deprecate templating functionality
...
Other projects cover this a lot better.
2014-03-27 12:51:13 +01:00
nikic
5e725df892
Update docs to use new names
2014-02-06 20:52:01 +01:00
nikic
5ccf6196d6
Update changelog
2013-05-23 15:17:59 +02:00
nikic
e90c8f17db
Add installation instructions for different methods
2012-07-07 21:34:06 +02:00