Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecated: Creation of dynamic properties in ElementNameResolver.php on line 174 #529

Closed
eurosat7 opened this issue Mar 8, 2024 · 3 comments

Comments

@eurosat7
Copy link

eurosat7 commented Mar 8, 2024

Ran phpDocumentor as phpdoc.phar with version v3.4.3 on a php 8.3 code base with high php error reporting.

> ./phpdoc.phar --target=documentation --directory=src
phpDocumentor v3.4.3

Parsing files

Deprecated: Creation of dynamic property PhpParser\Node\Stmt\Namespace_::$fqsen is deprecated in phar:///var/www/html/phpdoc.phar/vendor/phpdocumentor/reflection/src/phpDocumentor/Reflection/NodeVisitor/ElementNameResolver.php on line 174

Deprecated: Creation of dynamic property PhpParser\Node\Stmt\Class_::$fqsen is deprecated in phar:///var/www/html/phpdoc.phar/vendor/phpdocumentor/reflection/src/phpDocumentor/Reflection/NodeVisitor/ElementNameResolver.php on line 174

Deprecated: Creation of dynamic property PhpParser\Node\Stmt\ClassMethod::$fqsen is deprecated in phar:///var/www/html/phpdoc.phar/vendor/phpdocumentor/reflection/src/phpDocumentor/Reflection/NodeVisitor/ElementNameResolver.php on line 174

Deprecated: Creation of dynamic property PhpParser\Node\Stmt\Namespace_::$fqsen is deprecated in phar:///var/www/html/phpdoc.phar/vendor/phpdocumentor/reflection/src/phpDocumentor/Reflection/NodeVisitor/ElementNameResolver.php on line 174

Deprecated: Creation of dynamic property PhpParser\Node\Stmt\Class_::$fqsen is deprecated in phar:///var/www/html/phpdoc.phar/vendor/phpdocumentor/reflection/src/phpDocumentor/Reflection/NodeVisitor/ElementNameResolver.php on line 174

Deprecated: Creation of dynamic property PhpParser\Node\Const_::$fqsen is deprecated in phar:///var/www/html/phpdoc.phar/vendor/phpdocumentor/reflection/src/phpDocumentor/Reflection/NodeVisitor/ElementNameResolver.php on line 174

Deprecated: Creation of dynamic property PhpParser\Node\Stmt\ClassMethod::$fqsen is deprecated in phar:///var/www/html/phpdoc.phar/vendor/phpdocumentor/reflection/src/phpDocumentor/Reflection/NodeVisitor/ElementNameResolver.php on line 174

Deprecated: Creation of dynamic property PhpParser\Node\Stmt\ClassMethod::$fqsen is deprecated in phar:///var/www/html/phpdoc.phar/vendor/phpdocumentor/reflection/src/phpDocumentor/Reflection/NodeVisitor/ElementNameResolver.php on line 174

Deprecated: Creation of dynamic property PhpParser\Node\Stmt\ClassMethod::$fqsen is deprecated in phar:///var/www/html/phpdoc.phar/vendor/phpdocumentor/reflection/src/phpDocumentor/Reflection/NodeVisitor/ElementNameResolver.php on line 174

Deprecated: Creation of dynamic property PhpParser\Node\Stmt\ClassMethod::$fqsen is deprecated in phar:///var/www/html/phpdoc.phar/vendor/phpdocumentor/reflection/src/phpDocumentor/Reflection/NodeVisitor/ElementNameResolver.php on line 174

Deprecated: Creation of dynamic property PhpParser\Node\Stmt\Namespace_::$fqsen is deprecated in phar:///var/www/html/phpdoc.phar/vendor/phpdocumentor/reflection/src/phpDocumentor/Reflection/NodeVisitor/ElementNameResolver.php on line 174

Deprecated: Creation of dynamic property PhpParser\Node\Stmt\Class_::$fqsen is deprecated in phar:///var/www/html/phpdoc.phar/vendor/phpdocumentor/reflection/src/phpDocumentor/Reflection/NodeVisitor/ElementNameResolver.php on line 174

Deprecated: Creation of dynamic property PhpParser\Node\Const_::$fqsen is deprecated in phar:///var/www/html/phpdoc.phar/vendor/phpdocumentor/reflection/src/phpDocumentor/Reflection/NodeVisitor/ElementNameResolver.php on line 174

Deprecated: Creation of dynamic property PhpParser\Node\Stmt\ClassMethod::$fqsen is deprecated in phar:///var/www/html/phpdoc.phar/vendor/phpdocumentor/reflection/src/phpDocumentor/Reflection/NodeVisitor/ElementNameResolver.php on line 174

Deprecated: Creation of dynamic property PhpParser\Node\Stmt\ClassMethod::$fqsen is deprecated in phar:///var/www/html/phpdoc.phar/vendor/phpdocumentor/reflection/src/phpDocumentor/Reflection/NodeVisitor/ElementNameResolver.php on line 174

Deprecated: Creation of dynamic property PhpParser\Node\Stmt\Namespace_::$fqsen is deprecated in phar:///var/www/html/phpdoc.phar/vendor/phpdocumentor/reflection/src/phpDocumentor/Reflection/NodeVisitor/ElementNameResolver.php on line 174

Deprecated: Creation of dynamic property PhpParser\Node\Stmt\Class_::$fqsen is deprecated in phar:///var/www/html/phpdoc.phar/vendor/phpdocumentor/reflection/src/phpDocumentor/Reflection/NodeVisitor/ElementNameResolver.php on line 174

Deprecated: Creation of dynamic property PhpParser\Node\Stmt\Namespace_::$fqsen is deprecated in phar:///var/www/html/phpdoc.phar/vendor/phpdocumentor/reflection/src/phpDocumentor/Reflection/NodeVisitor/ElementNameResolver.php on line 174

Deprecated: Creation of dynamic property PhpParser\Node\Stmt\Class_::$fqsen is deprecated in phar:///var/www/html/phpdoc.phar/vendor/phpdocumentor/reflection/src/phpDocumentor/Reflection/NodeVisitor/ElementNameResolver.php on line 174

Deprecated: Creation of dynamic property PhpParser\Node\Stmt\ClassMethod::$fqsen is deprecated in phar:///var/www/html/phpdoc.phar/vendor/phpdocumentor/reflection/src/phpDocumentor/Reflection/NodeVisitor/ElementNameResolver.php on line 174

Deprecated: Creation of dynamic property PhpParser\Node\Stmt\ClassMethod::$fqsen is deprecated in phar:///var/www/html/phpdoc.phar/vendor/phpdocumentor/reflection/src/phpDocumentor/Reflection/NodeVisitor/ElementNameResolver.php on line 174

Deprecated: Creation of dynamic property PhpParser\Node\Stmt\ClassMethod::$fqsen is deprecated in phar:///var/www/html/phpdoc.phar/vendor/phpdocumentor/reflection/src/phpDocumentor/Reflection/NodeVisitor/ElementNameResolver.php on line 174

Deprecated: Creation of dynamic property PhpParser\Node\Stmt\ClassMethod::$fqsen is deprecated in phar:///var/www/html/phpdoc.phar/vendor/phpdocumentor/reflection/src/phpDocumentor/Reflection/NodeVisitor/ElementNameResolver.php on line 174

Applying transformations (can take a while)

All done in 0 seconds!
@eurosat7
Copy link
Author

eurosat7 commented Mar 8, 2024

Adding properties in nikic/php-parser to theese classes would solve it.

PhpParser\Node\Const_::$fqsen 
PhpParser\Node\Stmt\ClassMethod::$fqsen 
PhpParser\Node\Stmt\Class_::$fqsen 
PhpParser\Node\Stmt\Namespace_::$fqsen 

But is that a solution?

@smaddock
Copy link

I believe this was resolved with 5644252

@jaapio
Copy link
Member

jaapio commented May 23, 2024

Solved in our new v6 release

@jaapio jaapio closed this as completed May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants