1
0
mirror of https://github.com/danog/PHP-Parser.git synced 2024-12-12 09:29:47 +01:00
Commit Graph

75 Commits

Author SHA1 Message Date
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
xKerman
24d583d5c3 Fix example code to work (#390) 2017-05-28 12:35:04 +02:00
Nikita Popov
e15b6aa3e0 Fix links 2017-04-09 18:51:46 +02:00
Maks Rafalko
12034b19d7 Use the correct method from NodeVisitor interface (#373)
FAQ's code examples use incorrect method, so this update fixes it
2017-04-09 11:29:07 +02:00
Nikita Popov
369a078c54 Add FAQ with entries for parent and siblings 2017-04-08 23:27:43 +02:00
Nikita Popov
deb64ab676 Remove XML serialization from docs
This is no longer available in version 4.
2017-04-08 23:12:53 +02:00
Ben Peachey
291bb27f6a Removes unneeded code from JSON encoding example (#372) 2017-04-07 16:15:46 +02:00
Nikita Popov
987c61e935 Drop support for false return value in NodeTraverser 2017-02-03 22:36:57 +01:00
Nikita Popov
71438559ae Update docs 2016-10-29 13:37:47 +02:00
Nikita Popov
1b1ff8995b Update some PHP version numbers 2016-07-22 17:07:56 +02:00
Nikita Popov
912c0bb9c9 Document that XDebug is super slow 2016-04-19 15:40:08 +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
Prayag Verma
73a9d494fb typo fixes 2016-01-28 19:31:28 +05:30
Nikita Popov
c542e5d86a Release PHP-Parser 2.0.0 2015-12-04 16:28:43 +01:00
Nikita Popov
0d4239ef56 Only advertize install via composer
Now that it's so small, move installation docs into readme.
2015-09-16 22:16:29 +09:00
Nikita Popov
2496cd38ad Various docs fixes 2015-07-14 21:11:54 +02:00
Nikita Popov
965e53a164 Update changelog 2015-07-14 20:13:26 +02:00
Nikita Popov
3bb874fcec Partial docs update 2015-07-14 19:19:32 +02:00
Nikita Popov
659d26c231 Update changelog, fix typos 2015-05-01 19:57:10 +02:00
Nikita Popov
23bf4f0c13 Add some error documentation 2015-04-30 21:58:45 +02:00
Nikita Popov
0f556c16f5 Fix a few more Scalar\String_ occurances
Totally forgot that the parser uses macros...
2015-03-21 18:54:52 +01: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
8f1eacdab7 Increase recommended xdebug.max_nesting_level
Looks like 2000 is not quite enough for some cases...
2015-02-13 15:04:00 +01:00
Nikita Popov
4071c4645d Add NodeTraverser::DONT_TRAVERSE_CHILDREN support 2015-01-11 22:13:58 +01:00
Nikita Popov
f56db26d8b Doc fixes 2015-01-11 21:39:02 +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
a7797918b8 Update lexer docs for attribute options 2014-12-19 00:37:37 +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
a8ffc6fcfc Release PHP-Parser 1.0.2 2014-11-04 23:12:46 +01:00
nikic
b9a60372f2 Release version 1.0.1 2014-10-14 21:40:07 +02:00
nikic
f41a4c9acb Fix wrong function name in docs 2014-10-14 21:31:29 +02:00
nikic
767f23c3a9 Update lexer docs
Remove some very questionable examples for changing startLexing()
to accept a file name.

Add token offset lexer implementation and usage example.
2014-10-11 21:47:11 +02:00
James Brooks
63c18b29e4 Fixed a spelling mistake 2014-10-01 09:18:01 +01:00
nikic
2b96ab8edc Release PHP-Parser 1.0.0 2014-09-12 14:48:23 +02:00
nikic
5d7fec2027 Mention that composer autoload.php will work as well 2014-09-12 13:51:17 +02:00
nikic
94eca2ce44 Remove deprecated Template and TemplateLoader 2014-09-12 00:25:30 +02:00
nikic
e65fd664d1 Small docs touchups and typo fixes 2014-09-12 00:21:27 +02:00
nikic
b31f36bf89 Release PHP-Parser 1.0.0 Beta 2 2014-08-31 16:54:25 +02:00
nikic
8499696021 Add note about prettyPrintFile() to docs 2014-04-19 22:30:20 +02:00
nikic
a6d46c17b1 Release PHP-Parser 1.0.0 Beta 1 2014-03-27 14:12:13 +01: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
Benjamin Ansbach
558087399f Adjustment to documentation 2014-02-19 23:06:39 +01:00
nikic
523e024ba0 Fix a number of other typos 2014-02-12 17:47:34 +01:00
nikic
5e725df892 Update docs to use new names 2014-02-06 20:52:01 +01:00
nikic
1e5e280ae8 Release PHP-Parser 0.9.4 2013-08-25 19:11:40 +02:00