Changeset View
Changeset View
Standalone View
Standalone View
src/lint/linter/__tests__/xhpast/unreasonably-deep-nesting.lint-test
<?php | <?php | ||||
// This test is just verifying the parseability of files with a large number | // This test is just verifying the parseability of files with a large number | ||||
// (>500) of string concatenations. We emit n_CONCATENATION_LIST instead of | // (>500) of string concatenations. We emit n_CONCATENATION_LIST instead of | ||||
// n_BINARY_EXPRESSION to avoid various call-depth traps in PHP, HPHP, and the | // n_BINARY_EXPRESSION to avoid various call-depth traps in PHP, HPHP, and the | ||||
// builtin JSON decoder. | // builtin JSON decoder. | ||||
''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''. | ''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''. | ||||
''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''. | ''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''. | ||||
''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''. | ''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''. | ||||
''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''. | ''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''. | ||||
Show All 28 Lines | |||||
''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''. | ''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''. | ||||
''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''. | ''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''. | ||||
''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''. | ''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''. | ||||
''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''. | ''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''. | ||||
''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''; | ''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''; | ||||
~~~~~~~~~~ | ~~~~~~~~~~ | ||||
~~~~~~~~~~ | ~~~~~~~~~~ | ||||
<?php | <?php | ||||
// This test is just verifying the parseability of files with a large number | // This test is just verifying the parseability of files with a large number | ||||
// (>500) of string concatenations. We emit n_CONCATENATION_LIST instead of | // (>500) of string concatenations. We emit n_CONCATENATION_LIST instead of | ||||
// n_BINARY_EXPRESSION to avoid various call-depth traps in PHP, HPHP, and the | // n_BINARY_EXPRESSION to avoid various call-depth traps in PHP, HPHP, and the | ||||
// builtin JSON decoder. | // builtin JSON decoder. | ||||
''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''. | ''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''. | ||||
''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''. | ''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''. | ||||
''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''. | ''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''. | ||||
''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''. | ''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''.''. | ||||
Show All 33 Lines |