php-ast-reverter icon indicating copy to clipboard operation
php-ast-reverter copied to clipboard

Reverts the php-ast AST back into (somewhat) PSR-compliant code

Results 2 php-ast-reverter issues
Sort by recently updated
recently updated
newest added

php test.php PHP Fatal error: Uncaught Error: Undefined constant 'ast\AST_COALESCE' in /data/data/com.termux/files/home/tk/confusephp/vendor/tpunt/php-ast-reverter/src/AstReverter/AstReverter.php:75 Stack trace: #0 /data/data/com.termux/files/home/tk/confusephp/vendor/tpunt/php-ast-reverter/src/AstReverter/AstReverter.php(1078): AstReverter\AstReverter->revertAST(Object(ast\Node)) #1 /data/data/com.termux/files/home/tk/confusephp/test.php(35): AstReverter\AstReverter->getCode(Object(ast\Node)) #2 {main} thrown in /data/data/com.termux/files/home/tk/confusephp/vendor/tpunt/php-ast-reverter/src/AstReverter/AstReverter.php on line 75

- Remove platform-specific definitions (they should be handled by a user-global gitignore - Add `/vendor` - Add comments