issues Search Results · repo:nikic/PHP-Parser language:PHP
Filter by
638 results
(65 ms)638 results
innikic/PHP-Parser (press backspace or delete to remove)Hi @nikic,
I m unable to dump a class AST in JSON when using the NameResolver and passing replaceNodes false, because of recursive
refs. You can see an example at https://github.com/dhaeckel/php-parser-issue-repro, ...
dhaeckel
- Opened 2 days ago
- #1076
I have following code to add Property Hook:
private function licensePlanPriceLicensePlan(Property $property): void
{
$content = PHP
\$this- licensePlanPeriod?- licensePlan; ...
Justinas-Jurciukonis
- 1
- Opened 11 days ago
- #1074
Hello,
On a Laravel project, I am using deployer where a set() function is defined to setup the global configurations.
Since PHP-Parser version 5.4.0, it seems like something wrong happened with that ...
Seb33300
- 6
- Opened 15 days ago
- #1072
running php bin/php-parse file.php on
file.php:
?php
// lint = 8.4
namespace AbstractFinalHook;
abstract class User
{
final abstract public string $bar {
get;
}
}
leads to a Error ...
staabm
- 1
- Opened 16 days ago
- #1071
Hi,
I just met a PhpParser\UnexpectedParsingScenario exception and was kindly asked to report it, so here I am ;-)
Please note that this issue is triggered when using PhpScoper, but it looks to be PhpParser ...
bplaa-yai
- 2
- Opened 28 days ago
- #1069
In PHP 8.4.2 there are a series of warning as: Implicitly marking parameter $lexer as nullable is deprecated, the
explicit nullable type must be used instead in C:\Php\yakpro\PHP-Parser\lib\PhpParser\ParserFactory.php ...
lollita
- 7
- Opened on Jan 29
- #1068
For example
$test = apple .
// this comment wont be retained
orange ;
After processing, this comment gets removed when AST is converted to code with new PrettyPrinter\Standard
$test ...
naveen17797
- 3
- Opened on Jan 24
- #1066
When trying to work with encoded strings in a php file I am having trouble getting json to work:
proofOcConcept.php
?php
echo gzuncompress( KL );
echo \x1f\x8b\x08\x00\x00\x00\x00\x00 ;
Dumping Json: ...
simkoc
- Opened on Jan 23
- #1064
new Node\Stmt\ClassMethod( __construct , [
flags = Modifiers::PUBLIC,
params = $this- params,
stmts = [
...
wheakerd
- 2
- Opened on Jan 20
- #1062

Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Restrict your search to the title by using the in:title qualifier.
Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Press the /
key to activate the search input again and adjust your query.