1
0
mirror of https://github.com/danog/PHP-Parser.git synced 2024-11-27 04:14:44 +01:00
PHP-Parser/test/code/prettyPrinter
Nikita Popov 8b64195cf2 Try .17G print if .16G is not enough
This should be enough for all cases, because: A double has 53 bits
of mantissa (including the implicit 1 bit), which is 53*ln(2)/ln(10)
= 15.95 decimal digits. However the leading decimal digit may encode
less than the usual 3.32 bits, which will push this over the edge to
requiring 17 decimal digits.
2015-05-02 11:48:55 +02:00
..
alias.test Add support for function and constant import (PHP 5.6) 2014-03-26 22:33:45 +01:00
anonymousClass.test Add support for anonymous classes 2015-04-26 23:04:31 +02:00
call.test Add support for argument unpacking (PHP 5.6) 2014-03-26 18:42:46 +01:00
class.test Implicit public should not generate as explicit public 2015-03-08 20:21:01 +01:00
closure.test Better prededence and associativity handling in pretty printer 2012-10-31 17:34:06 +01:00
comments.test Pretty print namespaces in semicolon-style if possible 2013-01-15 18:21:42 +01:00
function_signatures.test Drop whitespace after ... varargs collection 2015-03-12 22:19:34 +01:00
include.test Fix pretty printing of include expressions 2013-07-27 16:23:27 +02:00
inlineHTMLandPHPtest.file-test Add prettyPrintFile() method 2013-04-15 20:53:23 +02:00
list.test Add some tests for pretty printing expressions 2015-01-18 19:57:09 +01:00
literals.test Try .17G print if .16G is not enough 2015-05-02 11:48:55 +02:00
namespaces.test Improve pretty printing of empty statement lists 2014-03-27 12:31:21 +01:00
numbers.test Correctly pretty print negative floats 2014-03-22 14:24:35 +01:00
onlyInlineHTML.file-test Add prettyPrintFile() method 2013-04-15 20:53:23 +02:00
onlyPHP.file-test Add prettyPrintFile() method 2013-04-15 20:53:23 +02:00
operators.test Add support for spaceship operator (<=>) [PHP 7] 2015-03-12 23:13:31 +01:00
parentheses.test Fix "print" pretty-printing 2015-04-26 11:56:04 +02:00
switch.test Fix switch formatting 2012-10-31 17:46:48 +01:00
traitUse.test Fix whitespace when printing trait alias modifiers 2014-11-03 16:16:15 +01:00
variables.test Add some tests for pretty printing expressions 2015-01-18 19:57:09 +01:00