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

PHP 8.2 Support #79

Open
kovalovme opened this issue Sep 3, 2023 · 0 comments
Open

PHP 8.2 Support #79

kovalovme opened this issue Sep 3, 2023 · 0 comments

Comments

@kovalovme
Copy link

kovalovme commented Sep 3, 2023

Good day sir!

Thank you for making such tool, but I'm having issues running it.

I'm using downloaded .0.8.8 phar from releses page

/var/www/html # php -n dephpend.phar text _src
Deprecated: Return type of Mihaeu\PhpDependencies\Util\AbstractCollection::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///var/www/html/dephpend.phar/src/Util/AbstractCollection.php on li
ne 84

Deprecated: Return type of Symfony\Component\Console\Helper\HelperSet::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///var/www/html/dephpend.phar/vendor/symfon
y/console/Helper/HelperSet.php on line 94

Deprecated: Creation of dynamic property PhpParser\Node\Stmt\Class_::$namespacedName is deprecated in phar:///var/www/html/dephpend.phar/vendor/nikic/php-parser/lib/PhpParser/NodeVisitor/NameResolver.php on line 234

Deprecated: Creation of dynamic property PhpParser\Node\Stmt\Class_::$namespacedName is deprecated in phar:///var/www/html/dephpend.phar/vendor/nikic/php-parser/lib/PhpParser/NodeVisitor/NameResolver.php on line 234

Deprecated: Creation of dynamic property PhpParser\Node\Stmt\Class_::$namespacedName is deprecated in phar:///var/www/html/dephpend.phar/vendor/nikic/php-parser/lib/PhpParser/NodeVisitor/NameResolver.php on line 234

Deprecated: Creation of dynamic property PhpParser\Node\Stmt\Class_::$namespacedName is deprecated in phar:///var/www/html/dephpend.phar/vendor/nikic/php-parser/lib/PhpParser/NodeVisitor/NameResolver.php on line 234

Warning: Undefined array key 327 in phar:///var/www/html/dephpend.phar/vendor/nikic/php-parser/lib/PhpParser/Lexer.php on line 323
Something went wrong, this shouldn't happen. Please take a minute and report this issue: https://github.com/mihaeu/dephpend/issues

PhpParser\Lexer::getNextToken(): Return value must be of type int, null returned

[phar:///var/www/html/dephpend.phar/vendor/nikic/php-parser/lib/PhpParser/Lexer.php at line 363]

My PHP version:

PHP 8.2.5 (cli) (built: Apr 14 2023 17:52:42) (NTS)
Copyright (c) The PHP Group                        
Zend Engine v4.2.5, Copyright (c) Zend Technologies
    with Zend OPcache v8.2.5, Copyright (c), by Zend Technologies

I would highly appreciate your help!
Thanks!

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

1 participant