';\n " #39=#:ert-form-evaluation-aborted-8032 [(should (equal buffer-contents #40#)) :form eql #39# :value equal ert-explainer :explanation apply ert--signal-should-execution] "Two echo statements, one spans two lines" "id ===\n \\MyClass::METHOD_ID\n ) {\n" (error) #42="id ===\n \\MyClass::METHOD_ID\n) {\n " #41=#:ert-form-evaluation-aborted-8037 [(should (equal buffer-contents #42#)) :form eql #41# :value equal ert-explainer :explanation apply ert--signal-should-execution] "Multi-line if statement testing equality in two lines" "" execute-kbd-macro " \315\240\210\211@AD\262\201\232 C\317C\320\305\321\322\323$\201\233 \"\325$\216\326\242\"\240)\204i \327\242!\210\266\330!\210\331\332\201\226 \"\266\301\302!\303!\210\201\234 c\210\305b\210\306 \210\307C\201\235 1\240 \311\201\236 \313\314 !)D0\202\253 \315\240\210\211@AD\262\201\237 C\317C\320\305\321\322\323$\201\240 \"\325$\216\326\242\"\240)\204\326 \327\242!\210\266\330!\210\331\332\201\241 \"\266\301\302!\303!\210\201\242 c\210\305b\210\306 \210\307C\201\243 1
\n\311\201\244 \313\314 !)D0\202\n\315\240\210\211@AD\262\201\245 C\317C\320\305\321\322\323$\201\246 \"\325$\216\326\242\"\240)\204C\n\327\242!\210\266\330!\210\331\332\201\241 \"\266\301\302!\303!\210\201\247 c\210\305b\210\306 \210\307C\201\250 1z\n\311\201\251 \313\314 !)D0\202\205\n\315\240\210\211@AD\262\201\252 C\317C\320\305\321\322\323$\201\253 \"\325$\216\326\242\"\240)\204\260\n\327\242!\210\266\330!\210\331\332\201\254 \"\266\301\302!\303!\210\201\255 c\210\305b\210\306 \210\307C\201\256 1\347\n\311\201\257 \313\314 !)D0\202\362\n\315\240\210\211@AD\262\201\260 C\317C\320\305\321\322\323$\201\261 \"\325$\216\326\242\"\240)\204\327\242!\210\266\330!\210\331\332\201\254 \"\266\301\302!\303!\210\201\262 c\210\305b\210\306 \210\307C\201\263 1T\311\201\264 \313\314 !)D0\202_\315\240\210\211@AD\262\201\265 C\317C\320\305\321\322\323$\201\266 \"\325$\216\326\242\"\240)\204\212\327\242!\210\266\330!\210\331\332\201\267 \"\266\301\302!\303!\210\201\270 c\210\305b\210\306 \210\307C\201\271 1\301\311\201\272 \313\314 !)D0\202\314\315\240\210\211@AD\262\201\273 C\317C\320\305\321\322\323$\201\274 \"\325$\216\326\242\"\240)\204\367\327\242!\210\266\330!\210\331\332\201\275 \"\266\301\302!\303!\210\201\276 c\210\305b\210\306 \210\307C\201\277 1.\f\311\201\300 \313\314 !)D0\2029\f\315\240\210\211@AD\262\201\301 C\317C\320\305\321\322\323$\201\302 \"\325$\216\326\242\"\240)\204d\f\327\242!\210\266\330!\210\331\332\201\303 \"\266\301\302!\303!\210\201\304 c\210\305b\210\306 \210\307C\201\305 1\233\f\311\201\306 \313\314 !)D0\202\246\f\315\240\210\211@AD\262\201\307 C\317C\320\305\321\322\323$\201\310 \"\325$\216\326\242\"\240)\204\321\f\327\242!\210\266\330!\210\331\332\201\311 \"\266\301\302!\303!\210\201\312 c\210\305b\210\306 \210\307C\201\313 1
\311\201\314 \313\314 !)D0\202
\315\240\210\211@AD\262\201\315 C\317C\320\305\321\322\323$\201\316 \"\325$\216\326\242\"\240)\204>
\327\242!\210\266\330!\210\331\332\201\317 \"\266\301\302!\303!\210\201\320 c\210\305b\210\306 \210\307C\201\321 1u
\311\201\322 \313\314 !)D0\202\200
\315\240\210\211@AD\262\201\323 C\317C\320\305\321\322\323$\201\324 \"\325$\216\326\242\"\240)\204\253
\327\242!\210\266\330!\210\331\332\201\325 \"\266\301\302!\303!\210\201\326 c\210\305b\210\306 \210\307C\201\327 1\342
\311\201\330 \313\314 !)D0\202\355
\315\240\210\211@AD\262\201\331 C\317C\320\305\321\322\323$\201\332 \"\325$\216\326\242\"\240)\204\327\242!\210\266\330!\210\331\332\201\333 \"\266\301\302!\303!\210\201\334 c\210\305b\210\306 \210\307C\201\335 1O\311\201\336 \313\314 !)D0\202Z\315\240\210\211@AD\262\201\337 C\317C\320\305\321\322\323$\201\340 \"\325$\216\326\242\"\240)\204\205\327\242!\210\266\330!\210\331\332\201\341 \"\266\301\302!\303!\210\201\342 c\210\305b\210\306 \210\307C\201\343 1\274\311\201\344 \313\314 !)D0\202\307\315\240\210\211@AD\262\201\345 C\317C\320\305\321\322\323$\201\346 \"\325$\216\326\242\"\240)\204\362\327\242!\210\266\301\302!\303!\210\201\347 c\210\305b\210\306 \210\307C\201\350 1\311\201\351 \313\314 !)D0\202(\315\240\210\211@AD\262\201\352 C\317C\320\305\321\322\323$\201\353 \"\325$\216\326\242\"\240)\204S\327\242!\210\266\330!\210\331\332\201\354 \"\266\330!\210\331\332\201\355 \"\266\301\302!\303!\210\201\356 c\210\305b\210\306 \210\307C\201\357 1\226\311\201\360 \313\314 !)D0\202\241\315\240\210\211@AD\262\201\361 C\317C\320\305\321\322\323$\201\362 \"\325$\216\326\242\"\240)\204\314\327\242!\210\266\330!\210\331\332\201\363 \"\266\301\302!\303!\210\201\364 c\210\305b\210\306 \210\307C\201\365 1\311\201\366 \313\314 !)D0\202\315\240\210\211@AD\262\201\367 C\317C\320\305\321\322\323$\201\370 \"\325$\216\326\242\"\240)\2049\327\242!\210\266\330!\210\331\332\201\371 \"\207" [signal-hook-function generate-new-buffer "test" switch-to-buffer "" (error) #6=((1 (0 0)) (2 (0 0)) (3 (0 0)) (4 (0 0)) (5 (0 0)) (6 (0 0))) #5=#:ert-form-evaluation-aborted-8107 [(should (equal '#6# (phps-mode-test--hash-to-list (phps-mode-lex-analyzer--get-lines-indent)))) :form eql #5# :value equal ert-explainer :explanation apply ert--signal-should-execution] "HEREDOC in arguments example" "\n \n" (error) #38=((1 (0 0)) (2 (1 0)) (3 (0 0))) #37=#:ert-form-evaluation-aborted-8187 [(should (equal '#38# (phps-mode-test--hash-to-list (phps-mode-lex-analyzer--get-lines-indent)))) :form eql #37# :value equal ert-explainer :explanation apply ert--signal-should-execution] "Regular if-expression but inside scripting tags" " 0\n && $letter > 0\n);" (error) #40=((1 (0 0)) (2 (0 0)) (3 (1 0)) (4 (0 0)) (5 (1 0)) (6 (0 0))) #39=#:ert-form-evaluation-aborted-8192 [(should (equal '#40# (phps-mode-test--hash-to-list (phps-mode-lex-analyzer--get-lines-indent)))) :form eql #39# :value equal ert-explainer :explanation apply ert--signal-should-execution] "Do while loop with multi-line condition" (error) #42=((1 (0 0)) (2 (0 0)) (3 (1 0)) (4 (0 0)) (5 (1 0)) (6 (0 0))) #41=#:ert-form-evaluation-aborted-8197 [(should (equal '#42# (phps-mode-test--hash-to-list (phps-mode-lex-analyzer--get-lines-indent)))) :form eql #41# :value equal ert-explainer :explanation apply ert--signal-should-execution] "" (error) #44=((1 (0 0)) (2 (0 0)) (3 (1 0)) (4 (2 0)) (5 (0 0)) (6 (0 0))) #43=#:ert-form-evaluation-aborted-8202 [(should (equal '#44# (phps-mode-test--hash-to-list (phps-mode-lex-analyzer--get-lines-indent)))) :form eql #43# :value equal ert-explainer :explanation apply ert--signal-should-execution] "Concatenated assignment string with function call" "" (error) #46=((1 (0 0)) (2 (0 0)) (3 (1 0)) (4 (2 0)) (5 (1 0)) (6 (1 0)) (7 (0 0))) #45=#:ert-form-evaluation-aborted-8207 [(should (equal '#46# (phps-mode-test--hash-to-list (phps-mode-lex-analyzer--get-lines-indent)))) :form eql #45# :value equal ert-explainer :explanation apply ert--signal-should-execution] "" (error) #48=((1 (0 0)) (2 (0 0)) (3 (1 0)) (4 (2 0)) (5 (0 0)) (6 (0 0))) #47=#:ert-form-evaluation-aborted-8212 [(should (equal '#48# (phps-mode-test--hash-to-list (phps-mode-lex-analyzer--get-lines-indent)))) :form eql #47# :value equal ert-explainer :explanation apply ert--signal-should-execution] "Concatenated echo string with function call" "" (error) #50=((1 (0 0)) (2 (0 0)) (3 (1 0)) (4 (2 0)) (5 (1 0)) (6 (1 0)) (7 (0 0))) #49=#:ert-form-evaluation-aborted-8217 [(should (equal '#50# (phps-mode-test--hash-to-list (phps-mode-lex-analyzer--get-lines-indent)))) :form eql #49# :value equal ert-explainer :explanation apply ert--signal-should-execution] " [\n 'label' => __('No'),\n 'value' => 0,\n ],\n];" (error) #52=((1 (0 0)) (2 (0 0)) (3 (1 0)) (4 (2 0)) (5 (2 0)) (6 (1 0)) (7 (0 0))) #51=#:ert-form-evaluation-aborted-8222 [(should (equal '#52# (phps-mode-test--hash-to-list (phps-mode-lex-analyzer--get-lines-indent)))) :form eql #51# :value equal ert-explainer :explanation apply ert--signal-should-execution] "Assignment with square bracketed array" " 123\n ))\n);" (error) #58=((1 (0 0)) (2 (0 0)) (3 (1 0)) (4 (2 0)) (5 (1 0)) (6 (0 0))) #57=#:ert-form-evaluation-aborted-8237 [(should (equal '#58# (phps-mode-test--hash-to-list (phps-mode-lex-analyzer--get-lines-indent)))) :form eql #57# :value equal ert-explainer :explanation apply ert--signal-should-execution] "Assignment with double-dimensional array with double arrow assignment inside function call" " array(array(\n 'errorTo'\n ))\n);" (error) #62=((1 (0 0)) (2 (0 0)) (3 (1 0)) (4 (2 0)) (5 (1 0)) (6 (0 0))) #61=#:ert-form-evaluation-aborted-8247 [(should (equal '#62# (phps-mode-test--hash-to-list (phps-mode-lex-analyzer--get-lines-indent)))) :form eql #61# :value equal ert-explainer :explanation apply ert--signal-should-execution] "Assignment with three-dimensional array with double arrow assignment" "myMethod(myClass::class)\n ->myMethod2($myArgument2);\n }" (error) #64=((1 (0 0)) (2 (0 0)) (3 (1 0)) (4 (2 0)) (5 (0 0))) #63=#:ert-form-evaluation-aborted-8252 [(should (equal '#64# (phps-mode-test--hash-to-list (phps-mode-lex-analyzer--get-lines-indent)))) :form eql #63# :value equal ert-explainer :explanation apply ert--signal-should-execution] "Object-oriented file with bracket-less namespace with multiple levels, class that extends and implements and functions with optional arguments" "myFunction()\n ->mySecondaryFunction();" (error) #66=((1 (0 0)) (2 (0 0)) (3 (1 0))) #65=#:ert-form-evaluation-aborted-8257 [(should (equal '#66# (phps-mode-test--hash-to-list (phps-mode-lex-analyzer--get-lines-indent)))) :form eql #65# :value equal ert-explainer :explanation apply ert--signal-should-execution] "Indentation of chained class method calls outside of assignments and conditionals" "meMethod()\n ->mySecondMethod()\n ->myThirdMethod()\n->myFourthFunction(\n $myVariable\n);" (error) #68=((1 (0 0)) (2 (0 0)) (3 (0 0)) (4 (1 0)) (5 (1 0)) (6 (1 0)) (7 (2 0)) (8 (0 0))) #67=#:ert-form-evaluation-aborted-8262 [(should (equal '#68# (phps-mode-test--hash-to-list (phps-mode-lex-analyzer--get-lines-indent)))) :form eql #67# :value equal ert-explainer :explanation apply ert--signal-should-execution] "Indentation for chained object operators in assignment with method call with arguments" "myMethod3)\n && $myVar->myMethod\n && $myVar->myMethod2;\n" (error) #70=((1 (0 0)) (2 (0 0)) (3 (0 0)) (4 (1 0)) (5 (1 0))) #69=#:ert-form-evaluation-aborted-8267 [(should (equal '#70# (phps-mode-test--hash-to-list (phps-mode-lex-analyzer--get-lines-indent)))) :form eql #69# :value equal ert-explainer :explanation apply ert--signal-should-execution] "Indentation for chained object operators in assignment" " [\n 'hello' => true\n ]\n];\n\n$array = array(\n 'second' => array(\n 'third' => true\n )\n);" (error) #72=((1 (0 0)) (2 (0 0)) (3 (1 0)) (4 (2 0)) (5 (1 0)) (6 (0 0)) (7 (0 0)) (8 (0 0)) (9 (1 0)) (10 (2 0)) (11 (1 0)) (12 (0 0))) #71=#:ert-form-evaluation-aborted-8272 [(should (equal '#72# (phps-mode-test--hash-to-list (phps-mode-lex-analyzer--get-lines-indent)))) :form eql #71# :value equal ert-explainer :explanation apply ert--signal-should-execution] "\n \n \n \n \n \n \n" (error) #74=((1 (0 0)) (2 (1 0)) (3 (2 0)) (4 (1 0)) (5 (1 0)) (6 (0 0)) (7 (0 0)) (8 (0 0)) (9 (1 0)) (10 (0 0)) (11 (0 0)) (12 (0 0)) (13 (1 0)) (14 (0 0))) #73=#:ert-form-evaluation-aborted-8277 [(should (equal '#74# (phps-mode-test--hash-to-list (phps-mode-lex-analyzer--get-lines-indent)))) :form eql #73# :value equal ert-explainer :explanation apply ert--signal-should-execution] "A mixed HTML and PHP file." "Indent multi-dimensional arrays without trailing commas" " $b) {\n $foo->bar($arg1);\n } else {\n BazClass::bar($arg2, $arg3);\n }\n }\n\n final public static function bar()\n {\n // method body\n }\n}\n" 0 phps-mode equal (error) ert--should-signal-hook #2=((1 (0 0)) (2 (0 0)) (3 (0 0)) (4 (0 0)) (5 (0 0)) (6 (0 0)) (7 (0 0)) (8 (0 0)) (9 (0 0)) (10 (1 0)) (11 (1 0)) (12 (2 0)) (13 (3 0)) (14 (2 0)) (15 (3 0)) (16 (2 0)) (17 (3 0)) (18 (2 0)) (19 (1 0)) (20 (1 0)) (21 (1 0)) (22 (1 0)) (23 (2 0)) (24 (1 0)) (25 (0 0))) phps-mode-test--hash-to-list phps-mode-lex-analyzer--get-lines-indent signal #1=#:ert-form-evaluation-aborted-8292 nil make-byte-code "\303\304C\305\300\242\301BD\244\306\302\242\307\"?\205 \310\302\242D\244\311\312N\211\205% \313\314\301\"D\262\244\240\210\315\303\242!\207" vconcat vector [(should (equal '#2# (phps-mode-test--hash-to-list (phps-mode-lex-analyzer--get-lines-indent)))) :form eql #1# :value equal ert-explainer :explanation apply ert--signal-should-execution] 7 apply ert-fail kill-buffer message "\nPassed tests for '%s'\n" "PSR-2 : 1.1. Example" "bar($arg1);\nFoo::bar($arg2, $arg3);" (error) #20=((1 (0 0)) (2 (0 0)) (3 (0 0)) (4 (0 0))) #19=#:ert-form-evaluation-aborted-8337 [(should (equal '#20# (phps-mode-test--hash-to-list (phps-mode-lex-analyzer--get-lines-indent)))) :form eql #19# :value equal ert-explainer :explanation apply ert--signal-should-execution] "PSR-2 : 4.6. Method and Function Calls : Example 1" "bar(\n $longArgument,\n $longerArgument,\n $muchLongerArgument\n);" (error) #22=((1 (0 0)) (2 (0 0)) (3 (1 0)) (4 (1 0)) (5 (1 0)) (6 (0 0))) #21=#:ert-form-evaluation-aborted-8342 [(should (equal '#22# (phps-mode-test--hash-to-list (phps-mode-lex-analyzer--get-lines-indent)))) :form eql #21# :value equal ert-explainer :explanation apply ert--signal-should-execution] "PSR-2 : 4.6. Method and Function Calls : Example 2" " $value) {\n // foreach body\n}" (error) #34=((1 (0 0)) (2 (0 0)) (3 (1 0)) (4 (0 0))) #33=#:ert-form-evaluation-aborted-8372 [(should (equal '#34# (phps-mode-test--hash-to-list (phps-mode-lex-analyzer--get-lines-indent)))) :form eql #33# :value equal ert-explainer :explanation apply ert--signal-should-execution] "PSR-2 : 5.5. foreach" "bar(\n $arg1,\n function ($arg2) use ($var1) {\n // body\n },\n $arg3\n);" (error) #42=((1 (0 0)) (2 (0 0)) (3 (1 0)) (4 (1 0)) (5 (2 0)) (6 (1 0)) (7 (1 0)) (8 (0 0))) #41=#:ert-form-evaluation-aborted-8392 [(should (equal '#42# (phps-mode-test--hash-to-list (phps-mode-lex-analyzer--get-lines-indent)))) :form eql #41# :value equal ert-explainer :explanation apply ert--signal-should-execution] "PSR-2 : 6. Closures : Example 3"] 14 (#$ . 51665)])
#@34 Test for multi-line assignments.
(defalias 'phps-mode-test-lex-analyzer--get-lines-indent-multi-line-assignments #[0 "\301\302!\303!\210\304c\210\305b\210\306 \210\307C\3101# \311\312\313\314 !)D0\202. \315\240\210\211@AD\262\316C\317C\320\305\321\322\323$\324\"\325$\216\326\242\"\240)\204U \327\242!\210\266\330!\210\331\332\333\"\266\301\302!\303!\210\334c\210\305b\210\306 \210\307C\3351\204 \311\336\313\314 !)D0\202\217 \315\240\210\211@AD\262\337C\317C\320\305\321\322\323$\340\"\325$\216\326\242\"\240)\204\266 \327\242!\210\266\330!\210\331\332\341\"\266\301\302!\303!\210\342c\210\305b\210\306 \210\307C\3431\345 \311\344\313\314 !)D0\202\360 \315\240\210\211@AD\262\345C\317C\320\305\321\322\323$\346\"\325$\216\326\242\"\240)\204\327\242!\210\266\330!\210\331\332\347\"\266\301\302!\303!\210\350c\210\305b\210\306 \210\307C\3511F\311\352\313\314 !)D0\202Q\315\240\210\211@AD\262\353C\317C\320\305\321\322\323$\354\"\325$\216\326\242\"\240)\204x\327\242!\210\266\330!\210\331\332\355\"\266\301\302!\303!\210\356c\210\305b\210\306 \210\307C\3571\247\311\360\313\314 !)D0\202\262\315\240\210\211@AD\262\361C\317C\320\305\321\322\323$\362\"\325$\216\326\242\"\240)\204\331\327\242!\210\266\330!\210\331\332\363\"\266\301\302!\303!\210\364c\210\305b\210\306 \210\307C\3651\311\366\313\314 !)D0\202\315\240\210\211@AD\262\367C\317C\320\305\321\322\323$\370\"\325$\216\326\242\"\240)\204:\327\242!\210\266\330!\210\331\332\371\"\266\301\302!\303!\210\372c\210\305b\210\306 \210\307C\3731i\311\374\313\314 !)D0\202t\315\240\210\211@AD\262\375C\317C\320\305\321\322\323$\376\"\325$\216\326\242\"\240)\204\233\327\242!\210\266\330!\210\331\332\377\"\266\301\302!\303!\210\201@ c\210\305b\210\306 \210\307C\201A 1\320\311\201B \313\314 !)D0\202\333\315\240\210\211@AD\262\201C C\317C\320\305\321\322\323$\201D \"\325$\216\326\242\"\240)\204\327\242!\210\266\330!\210\331\332\201E \"\207" [signal-hook-function generate-new-buffer "test" switch-to-buffer "\n 'hello'\n);" (error) #4=((1 (0 0)) (2 (0 0)) (3 (1 0)) (4 (2 0)) (5 (0 0))) #3=#:ert-form-evaluation-aborted-8402 [(should (equal '#4# (phps-mode-test--hash-to-list (phps-mode-lex-analyzer--get-lines-indent)))) :form eql #3# :value equal ert-explainer :explanation apply ert--signal-should-execution] "Array assignment with double arrow elements on four lines" "getTail()\n ->getBottom();" (error) #16=((1 (0 0)) (2 (0 0)) (3 (1 0)) (4 (2 0)) (5 (2 0)) (6 (2 0)) (7 (2 0)) (8 (3 0))) #15=#:ert-form-evaluation-aborted-8432 [(should (equal '#16# (phps-mode-test--hash-to-list (phps-mode-lex-analyzer--get-lines-indent)))) :form eql #15# :value equal ert-explainer :explanation apply ert--signal-should-execution] "Multi-line assignments"] 14 (#$ . 69740)])
#@34 Test for inline if indentations.
(defalias 'phps-mode-test-lex-analyzer--get-lines-indent-inline-if #[0 "\301\302!\303!\210\304c\210\305b\210\306 \210\307C\3101# \311\312\313\314 !)D0\202. \315\240\210\211@AD\262\316C\317C\320\305\321\322\323$\324\"\325$\216\326\242\"\240)\204U \327\242!\210\266\330!\210\331\332\333\"\266\301\302!\303!\210\334c\210\305b\210\306 \210\307C\3351\204 \311\336\313\314 !)D0\202\217 \315\240\210\211@AD\262\337C\317C\320\305\321\322\323$\340\"\325$\216\326\242\"\240)\204\266 \327\242!\210\266\330!\210\331\332\341\"\266\301\302!\303!\210\342c\210\305b\210\306 \210\307C\3431\345 \311\344\313\314 !)D0\202\360 \315\240\210\211@AD\262\345C\317C\320\305\321\322\323$\346\"\325$\216\326\242\"\240)\204\327\242!\210\266\330!\210\331\332\347\"\207" [signal-hook-function generate-new-buffer "test" switch-to-buffer "
Bla bla" (error) #14=((1 (0 0)) (2 (1 0)) (3 (2 0)) (4 (2 0)) (5 (1 0))) #13=#:ert-form-evaluation-aborted-8522 [(should (equal '#14# (phps-mode-test--hash-to-list (phps-mode-lex-analyzer--get-lines-indent)))) :form eql #13# :value equal ert-explainer :explanation apply ert--signal-should-execution] "Mixed HTML/PHP with if expression and token-less lines" "
Bla bla" (error) #16=((1 (0 0)) (2 (0 0)) (3 (1 0)) (4 (2 0)) (5 (1 0)) (6 (2 0)) (7 (1 0)) (8 (2 0)) (9 (2 0)) (10 (1 0)) (11 (0 0))) #15=#:ert-form-evaluation-aborted-8527 [(should (equal '#16# (phps-mode-test--hash-to-list (phps-mode-lex-analyzer--get-lines-indent)))) :form eql #15# :value equal ert-explainer :explanation apply ert--signal-should-execution] "Mixed HTML/PHP with if expression 2" "var = 'abc123';\n} else {\n $this->var = 'def456';\n}\n" (error) #18=((1 (0 0)) (2 (0 0)) (3 (1 0)) (4 (0 0)) (5 (1 0)) (6 (0 0))) #17=#:ert-form-evaluation-aborted-8532 [(should (equal '#18# (phps-mode-test--hash-to-list (phps-mode-lex-analyzer--get-lines-indent)))) :form eql #17# :value equal ert-explainer :explanation apply ert--signal-should-execution] "Regular else expression indent calculation"] 14 (#$ . 85238)])
#@35 Test for switch-case indentation.
(defalias 'phps-mode-test-lex-analyzer--get-lines-indent-switch-case #[0 "\301\302!\303!\210\304c\210\305b\210\306 \210\307C\3101# \311\312\313\314 !)D0\202. \315\240\210\211@AD\262\316C\317C\320\305\321\322\323$\324\"\325$\216\326\242\"\240)\204U \327\242!\210\266\330!\210\331\332\333\"\266\301\302!\303!\210\334c\210\305b\210\306 \210\307C\3351\204 \311\336\313\314 !)D0\202\217 \315\240\210\211@AD\262\337C\317C\320\305\321\322\323$\340\"\325$\216\326\242\"\240)\204\266 \327\242!\210\266\330!\210\331\332\341\"\266\301\302!\303!\210\342c\210\305b\210\306 \210\307C\3431\345 \311\344\313\314 !)D0\202\360 \315\240\210\211@AD\262\345C\317C\320\305\321\322\323$\346\"\325$\216\326\242\"\240)\204\327\242!\210\266\330!\210\331\332\347\"\266\301\302!\303!\210\350c\210\305b\210\306 \210\307C\3511F\311\352\313\314 !)D0\202Q\315\240\210\211@AD\262\353C\317C\320\305\321\322\323$\354\"\325$\216\326\242\"\240)\204x\327\242!\210\266\330!\210\331\332\355\"\266\301\302!\303!\210\356c\210\305b\210\306 \210\307C\3571\247\311\360\313\314 !)D0\202\262\315\240\210\211@AD\262\361C\317C\320\305\321\322\323$\362\"\325$\216\326\242\"\240)\204\331\327\242!\210\266\330!\210\331\332\363\"\207" [signal-hook-function generate-new-buffer "test" switch-to-buffer "\314)\201\203 D0\202I\316\240\210\211@AD\262\201\204 C\320C\321\305\322\323\324$\201\205 \"\326$\216\327\242\"\240)\204t\330\242!\210\266\331!\210\332\333\201\206 \"\266\301\302!\303!\210\201\207 c\210\305b\210\306 \210\201\210 b\210\310 \210\311ed\"\312C\201\211 1\264\314)\201\212 D0\202\277\316\240\210\211@AD\262\201\213 C\320C\321\305\322\323\324$\201\214 \"\326$\216\327\242\"\240)\204\352\330\242!\210\266\331!\210\332\333\201\215 \"\266\301\302!\303!\210\201\216 c\210\305b\210\306 \210\201\217 b\210\310 \210\311ed\"\312C\201\220 1*\314)\201\221 D0\2025\316\240\210\211@AD\262\201\222 C\320C\321\305\322\323\324$\201\223 \"\326$\216\327\242\"\240)\204`\330\242!\210\266\331!\210\332\333\201\224 \"\266\301\302!\303!\210\201\225 c\210\305b\210\306 \210\201\226 b\210\310 \210\311ed\"\312C\201\227 1\240\314)\201\230 D0\202\253\316\240\210\211@AD\262\201\231 C\320C\321\305\322\323\324$\201\232 \"\326$\216\327\242\"\240)\204\326\330\242!\210\266\331!\210\332\333\201\233 \"\266\301\302!\303!\210\201\234 c\210\305b\210\306 \210\201\235 b\210\310 \210\311ed\"\312C\201\236 1 \314)\201\230 D0\202! \316\240\210\211@AD\262\201\237 C\320C\321\305\322\323\324$\201\240 \"\326$\216\327\242\"\240)\204L \330\242!\210\266\331!\210\332\333\201\241 \"\266\301\302!\303!\210\201\242 c\210\305b\210\306 \210\201\226 b\210\310 \210\311ed\"\312C\201\243 1\214 \314)\201\244 D0\202\227 \316\240\210\211@AD\262\201\245 C\320C\321\305\322\323\324$\201\246 \"\326$\216\327\242\"\240)\204\302 \330\242!\210\266\331!\210\332\333\201\247 \"\266\301\302!\303!\210\201\250 c\210\305b\210\306 \210\201\251 b\210\310 \210\311ed\"\312C\201\252 1\n\314)\201\253 D0\202
\n\316\240\210\211@AD\262\201\254 C\320C\321\305\322\323\324$\201\255 \"\326$\216\327\242\"\240)\2048\n\330\242!\210\266\331!\210\332\333\201\256 \"\266\301\302!\303!\210\201\257 c\210\305b\210\306 \210\201\260 b\210\310 \210\311ed\"\312C\201\261 1x\n\314)\201\262 D0\202\203\n\316\240\210\211@AD\262\201\263 C\320C\321\305\322\323\324$\201\264 \"\326$\216\327\242\"\240)\204\256\n\330\242!\210\266\331!\210\332\333\201\265 \"\266\301\302!\303!\210\201\266 c\210\305b\210\306 \210\201A b\210\310 \210\311ed\"\312C\201\267 1\356\n\314)\201\270 D0\202\371\n\316\240\210\211@AD\262\201\271 C\320C\321\305\322\323\324$\201\272 \"\326$\216\327\242\"\240)\204$\330\242!\210\266\331!\210\332\333\201\273 \"\266\301\302!\303!\210\201\274 c\210\305b\210\306 \210\201\235 b\210\310 \210\311ed\"\312C\201\275 1d\314)\201\276 D0\202o\316\240\210\211@AD\262\201\277 C\320C\321\305\322\323\324$\201\300 \"\326$\216\327\242\"\240)\204\232\330\242!\210\266\331!\210\332\333\201\301 \"\266\301\302!\303!\210\201\276 c\210\305b\210\306 \210\201\260 b\210\310 \210\311ed\"\312C\201\302 1\332\314)\201\303 D0\202\345\316\240\210\211@AD\262\201\304 C\320C\321\305\322\323\324$\201\305 \"\326$\216\327\242\"\240)\204\f\330\242!\210\266\331!\210\332\333\201\306 \"\266\301\302!\303!\210\201\307 c\210\305b\210\306 \210\201\310 ed\"\210\311ed\"\312C\201\311 1O\f\314)\201\312 D0\202Z\f\316\240\210\211@AD\262\201\313 C\320C\321\305\322\323\324$\201\314 \"\326$\216\327\242\"\240)\204\205\f\330\242!\210\266\331!\210\332\333\201\315 \"\266\301\302!\303!\210\201\316 c\210\305b\210\306 \210\201\310 ed\"\210\311ed\"\312C\201\317 1\304\f\314)\201\320 D0\202\317\f\316\240\210\211@AD\262\201\321 C\320C\321\305\322\323\324$\201\322 \"\326$\216\327\242\"\240)\204\372\f\330\242!\210\266\331!\210\332\333\201\323 \"\266\301\302!\303!\210\201\324 c\210\305b\210\306 \210\201\310 ed\"\210\311ed\"\312C\201\325 19
\314)\201\324 D0\202D
\316\240\210\211@AD\262\201\326 C\320C\321\305\322\323\324$\201\327 \"\326$\216\327\242\"\240)\204o
\330\242!\210\266\331!\210\332\333\201\330 \"\266\301\302!\303!\210\201\331 c\210\305b\210\306 \210\201\310 ed\"\210\311ed\"\312C\201\332 1\256
\314)\201\333 D0\202\271
\316\240\210\211@AD\262\201\334 C\320C\321\305\322\323\324$\201\335 \"\326$\216\327\242\"\240)\204\344
\330\242!\210\266\331!\210\332\333\201\336 \"\266\301\302!\303!\210\201\337 c\210\305b\210\306 \210\201\310 ed\"\210\311ed\"\312C\201\340 1#\314)\201\337 D0\202.\316\240\210\211@AD\262\201\341 C\320C\321\305\322\323\324$\201\342 \"\326$\216\327\242\"\240)\204Y\330\242!\210\266\331!\210\332\333\201\343 \"\207" [signal-hook-function generate-new-buffer "test" switch-to-buffer "
Bla bla" 0 phps-mode 69 phps-mode-lex-analyzer--indent-line buffer-substring-no-properties equal (error) ert--should-signal-hook #2="
Bla bla" signal #1=#:ert-form-evaluation-aborted-8562 nil make-byte-code "\303\304C\305\300\242\301BD\244\306\302\242\307\"?\205 \310\302\242D\244\311\312N\211\205% \313\314\301\"D\262\244\240\210\315\303\242!\207" vconcat vector [(should (equal buffer-contents #2#)) :form eql #1# :value equal ert-explainer :explanation apply ert--signal-should-execution] 7 apply ert-fail kill-buffer message "\nPassed tests for '%s'\n" "Curly bracket test" "
Bla bla" 75 (error) #4="
Bla bla" #3=#:ert-form-evaluation-aborted-8567 [(should (equal buffer-contents #4#)) :form eql #3# :value equal ert-explainer :explanation apply ert--signal-should-execution] "Curly bracket test 2" "
Bla bla" 98 (error) #6="
Bla bla" #5=#:ert-form-evaluation-aborted-8572 [(should (equal buffer-contents #6#)) :form eql #5# :value equal ert-explainer :explanation apply ert--signal-should-execution] "Curly bracket test 3" "
\nBla bla" 110 (error) #8="
\n Bla bla" #7=#:ert-form-evaluation-aborted-8577 [(should (equal buffer-contents #8#)) :form eql #7# :value equal ert-explainer :explanation apply ert--signal-should-execution] "Curly bracket test 4" "id}\",'__return_empty_array'\n);" 25 (error) #21="id}\",'__return_empty_array'\n);" #20=#:ert-form-evaluation-aborted-8612 [(should (equal buffer-contents #21#)) :form eql #20# :value equal ert-explainer :explanation apply ert--signal-should-execution] "Round bracket test 2" "var\n) && !empty($this->var)\n) {\n$this->var = 'abc123';\n}\n" 54 (error) #23=#:ert-form-evaluation-aborted-8622 [(should (equal buffer-contents "var\n) && !empty($this->var)\n) {\n$this->var = 'abc123';\n}\n")) :form eql #23# :value equal ert-explainer :explanation apply ert--signal-should-execution] "Nested if-expression" "var = 'abc123';\n } else {\n $this->var = 'def456';\n}\n" 68 (error) #25="var = 'abc123';\n} else {\n $this->var = 'def456';\n}\n" #24=#:ert-form-evaluation-aborted-8627 [(should (equal buffer-contents #25#)) :form eql #24# :value equal ert-explainer :explanation apply ert--signal-should-execution] "Regular else expression" "var = 'abc123';\n } else if (mySeconCondition()) {\n $this->var = 'def456';\n}\n" (error) #27="var = 'abc123';\n} else if (mySeconCondition()) {\n $this->var = 'def456';\n}\n" #26=#:ert-form-evaluation-aborted-8632 [(should (equal buffer-contents #27#)) :form eql #26# :value equal ert-explainer :explanation apply ert--signal-should-execution] "Regular else if test" " [\n 'hello',\n],\n];\n" 51 (error) #29=" [\n 'hello',\n ],\n];\n" #28=#:ert-form-evaluation-aborted-8637 [(should (equal buffer-contents #29#)) :form eql #28# :value equal ert-explainer :explanation apply ert--signal-should-execution] "Square bracket test 1" " 'abc',\n ),\n $var5\n);\n" 65 (error) #42=" 'abc',\n ),\n $var5\n);\n" #41=#:ert-form-evaluation-aborted-8672 [(should (equal buffer-contents #42#)) :form eql #41# :value equal ert-explainer :explanation apply ert--signal-should-execution] "Function arguments with associate array indentation" "getHead()\n->getTail();\n" 35 (error) #44="getHead()\n ->getTail();\n" #43=#:ert-form-evaluation-aborted-8677 [(should (equal buffer-contents #44#)) :form eql #43# :value equal ert-explainer :explanation apply ert--signal-should-execution] "Multi-line assignment indentation test 1" "var)):\n$this->var = 'abc123';\n endif;" (error) #48="var)):\n$this->var = 'abc123';\nendif;" #47=#:ert-form-evaluation-aborted-8687 [(should (equal buffer-contents #48#)) :form eql #47# :value equal ert-explainer :explanation apply ert--signal-should-execution] "Alternative control structure if expression" (error) #50="var)):\n $this->var = 'abc123';\nendif;" #49=#:ert-form-evaluation-aborted-8692 [(should (equal buffer-contents #50#)) :form eql #49# :value equal ert-explainer :explanation apply ert--signal-should-execution] "Alternative control structure test" "\n\n
\n\n\n
\n\n" indent-region (error) #52="\n \n
\n \n \n
\n \n" #51=#:ert-form-evaluation-aborted-8697 [(should (equal buffer-contents #52#)) :form eql #51# :value equal ert-explainer :explanation apply ert--signal-should-execution] "A mixed HTML and PHP file, each PHP command is inside HTML markup" "\n\n
\n\n\">\n
\n\n" (error) #54="\n \n
\n \n \">\n
\n \n" #53=#:ert-form-evaluation-aborted-8702 [(should (equal buffer-contents #54#)) :form eql #53# :value equal ert-explainer :explanation apply ert--signal-should-execution] "A mixed HTML and PHP file, each PHP command is inside HTML markup, one PHP inside markup tag" "\n \n
\n \n \n \n
My title
\n \n
\n A lot of other stuff.\n
\n \n \n" (error) #55=#:ert-form-evaluation-aborted-8707 [(should (equal buffer-contents "\n \n
\n \n \n \n
My title
\n \n
\n A lot of other stuff.\n
\n \n \n")) :form eql #55# :value equal ert-explainer :explanation apply ert--signal-should-execution] "Indent mixed HTML and one-line PHP lines." "\311\312 )\351D0\202I\314\240\210\211@AD\262\352C\316C\317\305\320\321\322$\353\"\324$\216\325\242\"\240)\204p\326\242!\210\266\327!\210\330\331\354\"\266\301\302!\303!\210\355c\210\305b\210\306 \210\307C\3561\235\311\312 )\357D0\202\250\314\240\210\211@AD\262\360C\316C\317\305\320\321\322$\361\"\324$\216\325\242\"\240)\204\317\326\242!\210\266\327!\210\330\331\362\"\266\301\302!\303!\210\363c\210\305b\210\306 \210\307C\3641\374\311\312 )\365D0\202\314\240\210\211@AD\262\366C\316C\317\305\320\321\322$\367\"\324$\216\325\242\"\240)\204.\326\242!\210\266\327!\210\330\331\370\"\266\301\302!\303!\210\371c\210\305b\210\306 \210\307C\3721[\311\312 )\373D0\202f\314\240\210\211@AD\262\374C\316C\317\305\320\321\322$\375\"\324$\216\325\242\"\240)\204\215\326\242!\210\266\327!\210\330\331\376\"\266\301\302!\303!\210\377c\210\305b\210\306 \210\307C\201@ 1\276\311\312 )\201A D0\202\311\314\240\210\211@AD\262\201B C\316C\317\305\320\321\322$\201C \"\324$\216\325\242\"\240)\204\364\326\242!\210\266\327!\210\330\331\201D \"\266\301\302!\303!\210\201E c\210\305b\210\306 \210\307C\201F 1)\311\312 )\201G D0\2024\314\240\210\211@AD\262\201H C\316C\317\305\320\321\322$\201I \"\324$\216\325\242\"\240)\204_\326\242!\210\266\327!\210\330\331\201J \"\266\301\302!\303!\210\201K c\210\305b\210\306 \210\307C\201L 1\224\311\312 )\201M D0\202\237\314\240\210\211@AD\262\201N C\316C\317\305\320\321\322$\201O \"\324$\216\325\242\"\240)\204\312\326\242!\210\266\327!\210\330\331\201P \"\266\301\302!\303!\210\201Q c\210\305b\210\306 \210\307C\201R 1\377\311\312 )\201S D0\202\n\314\240\210\211@AD\262\201T C\316C\317\305\320\321\322$\201U \"\324$\216\325\242\"\240)\2045\326\242!\210\266\327!\210\330\331\201V \"\266\301\302!\303!\210\201W c\210\305b\210\306 \210\307C\201X 1j\311\312 )\201Y D0\202u\314\240\210\211@AD\262\201Z C\316C\317\305\320\321\322$\201[ \"\324$\216\325\242\"\240)\204\240\326\242!\210\266\327!\210\330\331\201\\ \"\266\301\302!\303!\210\201] c\210\305b\210\306 \210\307C\201^ 1\323\311\312 )\316D0\202\336\314\240\210\211@AD\262\201_ C\316C\317\305\320\321\322$\201` \"\324$\216\325\242\"\240)\204 \326\242!\210\266\327!\210\330\331\201a \"\266\301\302!\303!\210\201b c\210\305b\210\306 \210\307C\201c 1<\311\312 )\316D0\202G\314\240\210\211@AD\262\201d C\316C\317\305\320\321\322$\201e \"\324$\216\325\242\"\240)\204r\326\242!\210\266\327!\210\330\331\201f \"\266\301\302!\303!\210\201g c\210\305b\210\306 \210\307C\201h 1\245\311\312 )\316D0\202\260\314\240\210\211@AD\262\201i C\316C\317\305\320\321\322$\201j \"\324$\216\325\242\"\240)\204\333\326\242!\210\266\327!\210\330\331\201k \"\266\301\302!\303!\210\201l c\210\305b\210\306 \210\307C\201m 1\311\312 )\201n D0\202\314\240\210\211@AD\262\201o C\316C\317\305\320\321\322$\201p \"\324$\216\325\242\"\240)\204F\326\242!\210\266\327!\210\330\331\201q \"\207" [signal-hook-function generate-new-buffer "test" switch-to-buffer "addMessage(\"My random {$message} here\" . ($random > 1 ? \"A\" : \"\") . \" was here.\");\n }\n \n /**\n *\n */\n public function myFunction2()\n {\n }\n\n /**\n * It's good\n */\n public function myFunction3()\n {\n }\n\n /**\n *\n */\n public function myFunction4()\n {\n }\n}\n" (error) #24=(("MyNamespace" ("MyClass" ("__construct" . 92) ("myFunction1" . 193) ("myFunction2" . 365) ("myFunction3" . 445) ("myFunction4" . 515)))) #23=#:ert-form-evaluation-aborted-8777 [(should (equal (phps-mode-lex-analyzer--get-imenu) '#24#)) :form eql #23# :value equal ert-explainer :explanation apply ert--signal-should-execution] "Imenu with double quoted string with variable inside it and concatenated string" "\n\n
MyTitle\n\n\n
My paragraph
\n\n" 0 signal #1=#:ert-form-evaluation-aborted-8872 nil make-byte-code "\303\304C\305\300\242\301BD\244\306\302\242\307\"?\205 \310\302\242D\244\311\312N\211\205% \313\314\301\"D\262\244\240\210\315\303\242!\207" vconcat vector [(should (equal '#2# (nth 0 (phps-mode-lex-analyzer--get-inline-html-indentation #3# 0 0 0 0 0)))) :form eql #1# :value equal ert-explainer :explanation apply ert--signal-should-execution] 7 apply ert-fail (error) #5=(2 2 1 0) #6="\n
My paragraph
\n\n" 2 #4=#:ert-form-evaluation-aborted-8877 [(should (equal '#5# (nth 0 (phps-mode-lex-analyzer--get-inline-html-indentation #6# 2 2 0 0 0)))) :form eql #4# :value equal ert-explainer :explanation apply ert--signal-should-execution] (error) #8=(0) #9="" #7=#:ert-form-evaluation-aborted-8882 [(should (equal '#8# (nth 0 (phps-mode-lex-analyzer--get-inline-html-indentation #9# 0 0 0 0 0)))) :form eql #7# :value equal ert-explainer :explanation apply ert--signal-should-execution] (error) #11=(0 1 2 1 0) #12="\n" #10=#:ert-form-evaluation-aborted-8887 [(should (equal '#11# (nth 0 (phps-mode-lex-analyzer--get-inline-html-indentation #12# 0 0 0 0 0)))) :form eql #10# :value equal ert-explainer :explanation apply ert--signal-should-execution]] 13 (#$ . 144398)])
#@23 Test the bookkeeping.
(defalias 'phps-mode-test-lex-analyzer--bookkeeping #[0 "\301\302!\303!\210\304c\210\305b\210\306 \210\307C\31016 \311\312\313 \314\"\315\316D\317\320D\316D\321\322D\305D\323\324D\316DF)D0\202A \325\240\210\211@AD\262\326C\327C\330\305\331\332\333$\334\"\335$\216\336\242\"\240)\204h \337\242!\210\266\340!\210\341\342\343\"\266\301\302!\303!\210\344c\210\305b\210\306 \210\307C\3451\252 \311\312\313 \314\"\315\316D\317\320D\316D\321\346D\316D\347\324D\305DF)D0\202\265 \325\240\210\211@AD\262\350C\327C\330\305\331\332\333$\351\"\335$\216\336\242\"\240)\204\334 \337\242!\210\266\340!\210\341\342\352\"\266\301\302!\303!\210\353c\210\305b\210\306 \210\307C\3541\\\311\312\313 \314\"\355\316D\317\356D\316D\357\316D\360\361D\316D\362\316D\363\364D\316D\365\366D\316D\367\370D\305D\371\372D\316D\373\316D\374\375D\316D\376\377D\305D\201@ \201A D\316D\201B \201C D\305D\201D \201E D\316D\257)D0\202g\325\240\210\211@AD\262\201F C\327C\330\305\331\332\333$\201G \"\335$\216\336\242\"\240)\204\222\337\242!\210\266\340!\210\341\342\201H \"\266\301\302!\303!\210\201I c\210\305b\210\306 \210\307C\201J 13\311\312\313 \314\"\201K \201L D\316D\201M \201N D\316D\201O \201P D\316D\201Q \201R D\316D\201S \201T D\316D\201U \201V D\316D\376\201W D\316D\201X \201Y D\316D\201Z \201[ D\316D\201\\ \201] D\316D\201^ \201_ D\316D\201` \201a D\316D\257\f)D0\202>\325\240\210\211@AD\262\201b C\327C\330\305\331\332\333$\201c \"\335$\216\336\242\"\240)\204i\337\242!\210\266\340!\210\341\342\201d \"\266\301\302!\303!\210\201e c\210\305b\210\306 \210\307C\201f 1\357\311\312\313 \316\"\315\316D\201g \201h D\316D\201i \316D\201j \201k D\316D\201l \316D\201m \316D\201n \201o D\316D\201p \316D\201q \201r D\316D\201s \201t D\305D\201u \201v D\305D\201w \201x D\316D\201y \201z D\316D\201{ \316D\201| \316D\201} \201~ D\316D\201 \316D\201\200 \201\201 D\316D\201\202 \201\203 D\305D\201\204 \201\205 D\305D\201\206 \201\207 D\305D\201\210 \201\211 D\305D\201\212 \201\213 D\316D\201\214 \201\215 D\316D\201\216 \201\217 D\316D\201\220 \201\221 D\305D\201\222 \201\223 D\305D\201\224 \201\225 D\305D\201\226 \201\227 D\305D\201\230 \201\231 D\305D\201\232 \316D\201\233 \201\234 D\316D\201\235 \316D\201\236 \201\237 D\316D\201\240 \316D\201\241 \316D\201\242 \201\243 D\316D\201\244 \316D\201\245 \201\246 D\316D\201\247 \201\250 D\305D\201\251 \201\252 D\305D\201\253 \201\254 D\305D\201\255 \201\256 D\305D\201\257 \201\260 D\305D\201\261 \201\262 D\305D\201\263 \201\264 D\305D\201\265 \201\266 D\305D\201\267 \201\270 D\316D\201\271 \201\272 D\316D\201\273 \316D\201\274 \316D\201\275 \201\276 D\316D\201\277 \316D\201\300 \201\301 D\316D\201\302 \201\303 D\305D\201\304 \201\305 D\305D\201\306 \201\307 D\305D\201\310 \201\311 D\305D\201\312 \201\313 D\305D\201\314 \201\315 D\305D\201\316 \201\317 D\305D\201\320 \201\321 D\305D\201\322 \201\323 D\305D\201\324 \201\325 D\305D\201\326 \201\327 D\316D\201\330 \201\331 D\316D\201\332 \201\333 D\316D\201\334 \201\335 D\305D\201\336 \201\337 D\305D\201\340 \201\341 D\305D\201\342 \201\343 D\305D\201\344 \201\345 D\305D\201\346 \201\347 D\316D\257I)D0\202\372\325\240\210\211@AD\262\201\350 C\327C\330\305\331\332\333$\201\351 \"\335$\216\336\242\"\240)\204%\337\242!\210\266\340!\210\341\342\201\352 \"\266\301\302!\303!\210\201\353 c\210\305b\210\306 \210\307C\201\354 1+\311\312\313 \314\"\201\355 \316D\201\356 \201\357 D\316D\365\201\360 D\316D\201\361 \316D\201\362 \201\363 D\316D\201\364 \201\365 D\316D\201\366 \201q D\316D\201\367 \316D\201\370 \201\371 D\316D\201\372 \316D\372\201\373 D\316D\201\374 \201\375 D\316D\201\376 \201\377 D\316D\201 \316D\201\201D\316D\201\201D\316D\201\201D\316D\201\201D\316D\201@ \201 D\316D\201\n\316D\201\201\fD\316D\201
\201] D\316D\201\316D\201\201D\316D\201\201D\316D\201\316D\201\201D\316D\257)D0\2026\325\240\210\211@AD\262\201C\327C\330\305\331\332\333$\201\"\335$\216\336\242\"\240)\204a\337\242!\210\266\340!\210\341\342\201\"\266\301\302!\303!\210\201c\210\305b\210\306 \210\307C\2011A\311\312\313 \314\"\201\316D\201O \201D\316D\201\316D\201Q \201D\316D\201\316D\201 \201!D\316D\201\"\316D\201#\201$D\316D\201%\316D\201&\201'D\316D\201(\201)D\316D\201*\201@ D\316D\201+\201,D\305D\201-\201.D\316D\201/\2010D\316D\2011\2012D\316D\2013\2014D\316D\2015\2016D\316D\2017\2018D\316D\2019\201:D\305D\201;\201<D\305D\257)D0\202L\325\240\210\211@AD\262\201=C\327C\330\305\331\332\333$\201>\"\335$\216\336\242\"\240)\204w\337\242!\210\266\340!\210\341\342\201?\"\266\301\302!\303!\210\201@c\210\305b\210\306 \210\307C\201A1\315\311\312\313 \314\"\201B\316D\201C\201h D\316D\201D\201ED\316D\201F\201GD\316DF)D0\202\330\325\240\210\211@AD\262\201HC\327C\330\305\331\332\333$\201I\"\335$\216\336\242\"\240)\204\337\242!\210\266\340!\210\341\342\201J\"\266\301\302!\303!\210\201Kc\210\305b\210\306 \210\307C\201L1\306\311\312\313 \314\"\201M\316D\317\201ND\316D\201O\316D\201P\201QD\316D\201R\201SD\316D\201T\201\364 D\305D\201U\316D\201V\201WD\316D\201X\316D\201\370 \201YD\316D\201Z\316D\201[\201\\D\316D\201]\201^D\316D\201\201D\316D\201 \201_D\305D\201`\201aD\305D\201b\201cD\305D\201d\201eD\305D\257)D0\202\321\325\240\210\211@AD\262\201fC\327C\330\305\331\332\333$\201g\"\335$\216\336\242\"\240)\204\374\337\242!\210\266\340!\210\341\342\201h\"\266\301\302!\303!\210\201ic\210\305b\210\306 \210\307C\201j1I \311\312\313 \314\"\201k\316D\201T\201GD\316D\201l\201mD\316DE)D0\202T \325\240\210\211@AD\262\201nC\327C\330\305\331\332\333$\201o\"\335$\216\336\242\"\240)\204 \337\242!\210\266\340!\210\341\342\201p\"\266\301\302!\303!\210\201qc\210\305b\210\306 \210\307C\201r1\n\311\312\313 \314\"\201\355 \316D\335\356D\316D\201h \201sD\316D\201\361 \316D\363\364D\316D\201t\366D\316D\201u\201vD\316D\201\367 \316D\201w\201xD\316D\201y\316D\201z\201WD\316D\201{\201\371 D\316D\257\f)D0\202\n\325\240\210\211@AD\262\201|C\327C\330\305\331\332\333$\201}\"\335$\216\336\242\"\240)\204>\n\337\242!\210\266\340!\210\341\342\201~\"\266\301\302!\303!\210\201c\210\305b\210\306 \210\307C\201\2001\315\n\311\312\313 \314\"\201\201\316D\201\202\201ND\316D\201\203\316D\201\204\201\205D\316D\201\206\363D\316D\201\207\201\363 D\316D\201\210\316D\201l\201\211D\316D\201\212\316D\201\213\201D\316D\201\370 \372D\316D\201\376 \201\214D\305D\257\f)D0\202\330\n\325\240\210\211@AD\262\201\215C\327C\330\305\331\332\333$\201\216\"\335$\216\336\242\"\240)\204\337\242!\210\266\340!\210\341\342\201\217\"\266\301\302!\303!\210\201\220c\210\305b\210\306 \210\307C\201\2211e\311\312\313 \314\"\315\316D\317\320D\316D\201\222\316D\201L \201CD\316D\201\223\316D\201\224\201\225D\316D\201\226\347D\316D\257)D0\202p\325\240\210\211@AD\262\201\227C\327C\330\305\331\332\333$\201\230\"\335$\216\336\242\"\240)\204\233\337\242!\210\266\340!\210\341\342\201\231\"\266\301\302!\303!\210\201\232c\210\305b\210\306 \210\307C\201\2331\353\f\311\312\313 \314\"\201\234\316D\335\201\202D\316D\201\235\316D\201\236\201\237D\316D\201\240\316D\201\205\321D\316D\322\201QD\316D\201g \201CD\316D\201\241\316D\201h \201\242D\316D\201\243\316D\201\244\363D\316D\201\245\316D\201\225\201M D\316D\201\246\316D\201t\347D\316D\324\201\362 D\316D\201\247\201j D\316D\201T\201k D\316D\201\250\316D\201\365 \201\251D\316D\201\252\201\253D\316D\201\254\316D\201u\201\255D\316D\201\256\201\257D\316D\201\260\316D\201{\201\261D\316D\201$\201\262D\316D\201\263\316D\201\\\201\264D\316D\201t \201\265D\316D\201\266\316D\201\267\201\270D\316D\201\271\201\272D\316D\201\273\316D\201\274\201\275D\316D\201\276\316D\374\201\277D\316D\201\300\201D\316D\257')D0\202\366\f\325\240\210\211@AD\262\201\301C\327C\330\305\331\332\333$\201\302\"\335$\216\336\242\"\240)\204!
\337\242!\210\266\340!\210\341\342\201\303\"\266\301\302!\303!\210\201\304c\210\305b\210\306 \210\307C\201\3051j
\311\312\313 \314\"\201\241\316D\335\201\202D\316D\363\201\224D\316DE)D0\202u
\325\240\210\211@AD\262\201\306C\327C\330\305\331\332\333$\201\307\"\335$\216\336\242\"\240)\204\240
\337\242!\210\266\340!\210\341\342\201\310\"\266\301\302!\303!\210\201\311c\210\305b\210\306 \210\307C\201\3121\340
\311\312\313 \314\")\315\316D\320\201ND\316DDD0\202\353
\325\240\210\211@AD\262\201\313C\327C\330\305\331\332\333$\201\314\"\335$\216\336\242\"\240)\204\337\242!\210\266\340!\210\341\342\201\315\"\266\301\302!\303!\210\201\316c\210\305b\210\306 \210\307C\201\3171\311\312\313 \314\"\201\320\316D\201\204\201\321D\316D\201\322\201L D\316D\201\323\316D\324\201\324D\316D\201\325\316D\201\326\201\247D\316D\201\327\201\330D\316D\201\262\201\331D\316D\201\201\332D\316D\201\333\201\334D\305D\201\335\201\336D\305D\201\337\201\340D\305D\201\341\316D\201\342\201/D\316D\201\343\201\344D\316D\201\345\316D\201\201 \201\346D\316D\201\347\316D\2016\201\350D\316D\201\351\201\352D\316D\201\353\201\354D\316D\201\355\201\356D\316D\201\357\201\360D\305D\201\361\201\362D\305D\201\363\201\364D\305D\257)D0\202(\325\240\210\211@AD\262\201\365C\327C\330\305\331\332\333$\201\366\"\335$\216\336\242\"\240)\204S\337\242!\210\266\340!\210\341\342\201\367\"\266\301\302!\303!\210\201\370c\210\305b\210\306 \210\307C\201\3711\227\311\312\313 \314\")\201\372\316D\201\373\201j D\316DDD0\202\242\325\240\210\211@AD\262\201\374C\327C\330\305\331\332\333$\201\375\"\335$\216\336\242\"\240)\204\315\337\242!\210\266\340!\210\341\342\201\376\"\266\301\302!\303!\210\201\377c\210\305b\210\306 \210\307C\201 1\311\312\313 \314\")\201D0\202\325\240\210\211@AD\262\201C\327C\330\305\331\332\333$\201\"\335$\216\336\242\"\240)\204;\337\242!\210\266\340!\210\341\342\201\"\266\301\302!\303!\210\201c\210\305b\210\306 \210\307C\2011s\311\312\313 \314\")\201D0\202~\325\240\210\211@AD\262\201C\327C\330\305\331\332\333$\201 \"\335$\216\336\242\"\240)\204\251\337\242!\210\266\340!\210\341\342\201\n\"\266\301\302!\303!\210\201c\210\305b\210\306 \210\307C\201\f1\341\311\312\313 \314\")\201
D0\202\354\325\240\210\211@AD\262\201C\327C\330\305\331\332\333$\201\"\335$\216\336\242\"\240)\204\337\242!\210\266\340!\210\341\342\201\"\266\301\302!\303!\210\201c\210\305b\210\306 \210\307C\2011O\311\312\313 \314\")\201D0\202Z\325\240\210\211@AD\262\201C\327C\330\305\331\332\333$\201\"\335$\216\336\242\"\240)\204\205\337\242!\210\266\340!\210\341\342\201\"\266\301\302!\303!\210\201c\210\305b\210\306 \210\307C\2011\275\311\312\313 \314\")\201D0\202\310\325\240\210\211@AD\262\201C\327C\330\305\331\332\333$\201\"\335$\216\336\242\"\240)\204\363\337\242!\210\266\340!\210\341\342\201\"\266\301\302!\303!\210\201c\210\305b\210\306 \210\307C\2011+\311\312\313 \314\")\201D0\2026\325\240\210\211@AD\262\201 C\327C\330\305\331\332\333$\201!\"\335$\216\336\242\"\240)\204a\337\242!\210\266\340!\210\341\342\201\"\"\266\301\302!\303!\210\201#c\210\305b\210\306 \210\307C\201$1\231\311\312\313 \314\")\201%D0\202\244\325\240\210\211@AD\262\201&C\327C\330\305\331\332\333$\201'\"\335$\216\336\242\"\240)\204\317\337\242!\210\266\340!\210\341\342\201(\"\207" [signal-hook-function generate-new-buffer "test" switch-to-buffer " $value) {\n if ($key || $value) {\n echo 'Hit';\n }\n}\nfor ($i = 0; $i < count($items); $i++) {\n if ($i) {\n echo 'Hit';\n }\n}\nif ($a = 123) {\n if ($a) {\n echo 'Hit';\n }\n}\nwhile ($b = 123) {\n if ($a) {\n echo 'Hit';\n }\n}\ndo {\n echo 'Hit';\n} while ($c = 456);\n" (error) #27=" id $items" 36 42 76 #28=" id $item" 80 85 97 102 143 #29=" id $key" 153 157 #30=" id $value" 167 179 183 187 193 #31=" id $i" 230 232 238 240 249 255 258 260 276 #32=" id $a" 312 314 332 #33=" id $b" 373 375 393 395 #34=" id $c" 457 459 #26=#:ert-form-evaluation-aborted-8917 [(should (equal (phps-mode-test--hash-to-list (phps-mode-lex-analyzer--get-bookkeeping) t) (list (list #27# 1) (list (list 36 42) 1) (list (list 70 76) 1) (list #28# 1) (list (list 80 85) 1) (list (list 97 102) 1) (list (list 143 149) 1) (list #29# 1) (list (list 153 157) 1) (list #30# 1) (list (list 161 167) 1) (list (list 179 183) 1) (list (list 187 193) 1) (list #31# 1) (list (list 230 232) 1) (list (list 238 240) 1) (list (list 249 255) 1) (list (list 258 260) 1) (list (list 274 276) 1) (list #32# 1) (list (list 312 314) 1) (list (list 332 334) 1) (list #33# 1) (list (list 373 375) 1) (list (list 393 395) 1) (list #34# 1) (list (list 457 459) 1)))) :form eql #26# :value equal ert-explainer :explanation apply ert--signal-should-execution] "Bookkeeping of conditional assignments" "var1) {\n echo 'Hit';\n }\n if (self::$var1) {\n echo 'Miss';\n }\n if (self::$var2) {\n echo 'Hit';\n }\n if ($this->var3) {\n echo 'Hit';\n }\n if ($this->var4) {\n echo 'Hit';\n }\n if ($this->var5) {\n echo 'Miss';\n }\n if (paren1) {\n echo 'Hit';\n }\n }\n}\n\nif ($this) {\n echo 'Miss';\n}\nif (self) {\n echo 'Miss';\n}\nif (paren1) {\n echo 'Miss';\n}" (error) #36=" class myParent id $var1" 98 #37=" class myParent static id $var2" 132 #38=" class myParent id $var3" 145 150 #39=" class myParent id $var4" 160 165 #40=" class myParent function __construct id $this" 208 213 263 268 270 330 335 392 397 447 452 454 458 508 513 515 519 569 574 576 580 688 693 #35=#:ert-form-evaluation-aborted-8922 [(should (equal (phps-mode-test--hash-to-list (phps-mode-lex-analyzer--get-bookkeeping) t) (list (list #36# 1) (list (list 93 98) 1) (list #37# 1) (list (list 127 132) 1) (list #38# 1) (list (list 145 150) 1) (list #39# 1) (list (list 160 165) 1) (list #40# 1) (list (list 208 213) 1) (list (list 263 268) 1) (list (list 270 274) 1) (list (list 330 335) 0) (list (list 392 397) 1) (list (list 447 452) 1) (list (list 454 458) 1) (list (list 508 513) 1) (list (list 515 519) 1) (list (list 569 574) 1) (list (list 576 580) 0) (list (list 688 693) 0)))) :form eql #35# :value equal ert-explainer :explanation apply ert--signal-should-execution] "Bookkeeping of class properties" "random();\n $this->random['abc'] = 123;\n }\n}" (error) #50=" class myClass function __construct id $this" 114 119 #49=#:ert-form-evaluation-aborted-8937 [(should (equal (phps-mode-test--hash-to-list (phps-mode-lex-analyzer--get-bookkeeping) t) (list (list #50# 1) (list (list 89 94) 1) (list (list 114 119) 1)))) :form eql #49# :value equal ert-explainer :explanation apply ert--signal-should-execution] "Method calls should be avoied in bookkeeping" " &$item2) {\n if ($item) {\n echo 'Hit';\n }\n}" (error) 47 69 115 121 125 129 #52=" id $item2" 134 152 #51=#:ert-form-evaluation-aborted-8942 [(should (equal (phps-mode-test--hash-to-list (phps-mode-lex-analyzer--get-bookkeeping) t) (list (list " id $items" 1) (list (list 7 13) 1) (list (list 41 47) 1) (list " id $item" 1) (list (list 52 57) 1) (list (list 69 74) 1) (list (list 115 121) 1) (list " id $key" 1) (list (list 125 129) 1) (list #52# 1) (list (list 134 140) 1) (list (list 152 157) 1)))) :form eql #51# :value equal ert-explainer :explanation apply ert--signal-should-execution] "Bookkeeping of foreach reference variable declaration" " $x + $y;\n$z = 1;\n$fn = fn($x2) => fn($y2) => $x2 * $y2 + $z;\nfn(array $x3) => $x3;\n$x4 = 4;\nstatic fn(): int => $x4;\nfn($x5 = 42) => $x5;\nfn(&$x6) => $x6;\nfn&($x7) => $x7;\nfn($x8, ...$rest) => $rest;" (error) #62=" id $y" #63=" id $fn1" 15 19 #64=" arrow function 1 id $x" #65=" id $z" 43 #66=" id $fn" 49 #67=" arrow function 2 id $x2" #68=" arrow function 2 id $y2" 83 #69=" arrow function 3 id $x3" 105 110 113 #70=" id $x4" 118 144 147 #71=" arrow function 5 id $x5" 155 168 #72=" arrow function 6 id $x6" 177 185 #73=" arrow function 7 id $x7" 191 194 199 202 #74=" arrow function 8 id $x8" 207 210 #75=" arrow function 8 id $rest" 220 225 #61=#:ert-form-evaluation-aborted-8957 [(should (equal (phps-mode-test--hash-to-list (phps-mode-lex-analyzer--get-bookkeeping) t) (list (list #62# 1) (list (list 7 9) 1) (list #63# 1) (list (list 15 19) 1) (list #64# 1) (list (list 25 27) 1) (list (list 32 34) 1) (list (list 37 39) 1) (list #65# 1) (list (list 41 43) 1) (list #66# 1) (list (list 49 52) 1) (list #67# 1) (list (list 58 61) 1) (list #68# 1) (list (list 69 72) 1) (list (list 77 80) 1) (list (list 83 86) 1) (list (list 89 91) 1) (list #69# 1) (list (list 102 105) 1) (list (list 110 113) 1) (list #70# 1) (list (list 115 118) 1) (list (list 144 147) 1) (list #71# 1) (list (list 152 155) 1) (list (list 165 168) 1) (list #72# 1) (list (list 174 177) 1) (list (list 182 185) 1) (list #73# 1) (list (list 191 194) 1) (list (list 199 202) 1) (list #74# 1) (list (list 207 210) 1) (list #75# 1) (list (list 215 220) 1) (list (list 225 230) 1)))) :form eql #61# :value equal ert-explainer :explanation apply ert--signal-should-execution] "Bookkeeping in arrow functions" " 'random');\nif ($z->name) {\n echo 'Hit';\n}" (error) #76=#:ert-form-evaluation-aborted-8962 [(should (equal (phps-mode-test--hash-to-list (phps-mode-lex-analyzer--get-bookkeeping) t) (list (list " id $z" 1) (list (list 7 9) 1) (list (list 52 54) 1)))) :form eql #76# :value equal ert-explainer :explanation apply ert--signal-should-execution] "Bookkeeping object properties." " $page)\n{\n if (isset($pages)) {\n if ($a) {\n echo 'Hit';\n }\n if ($uri) {\n echo 'Hit';\n }\n if ($page) {\n echo 'Hit';\n }\n }\n}\n" (error) #90=((" id $a" 1) ((8 10) 1) ((38 40) 1) (" id $uri" 1) ((44 48) 1) (" id $page" 1) ((52 57) 1) (" defined 1 id $pages" 1) ((75 81) 1) ((98 100) 1) ((150 154) 1) ((204 209) 1)) #89=#:ert-form-evaluation-aborted-8987 [(should (equal (phps-mode-test--hash-to-list (phps-mode-lex-analyzer--get-bookkeeping) t) '#90#)) :form eql #89# :value equal ert-explainer :explanation apply ert--signal-should-execution] "Bookkeeping of foreach variable inside if (isset()) block" "