emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/phps-mode 9a852fd48e 03/15: Added another failing inden


From: Christian Johansson
Subject: [elpa] externals/phps-mode 9a852fd48e 03/15: Added another failing indentation case
Date: Fri, 4 Mar 2022 14:13:02 -0500 (EST)

branch: externals/phps-mode
commit 9a852fd48e92a0aabbfe104ebc57973b5997f0c1
Author: Christian Johansson <christian@cvj.se>
Commit: Christian Johansson <christian@cvj.se>

    Added another failing indentation case
---
 TODO.md | 40 ++++++++++++++++++++++++++++++----------
 1 file changed, 30 insertions(+), 10 deletions(-)

diff --git a/TODO.md b/TODO.md
index 4e0cf526b0..e5f36d9383 100644
--- a/TODO.md
+++ b/TODO.md
@@ -4,18 +4,38 @@
 
 * Case 1
 
-        $table = $installer->getConnection()
-            ->newTable($installer->getTable('my_table'))
-            ->addColumn();
-            
-* Case 2
-
-        $criteria = $this->searchCriteriaBuilder
-            ->addFilter('status', $status)
-                ->addFilter(method', 'my_method_' . $object->getId())
-                    ->create();
+```php
+<?php
+if (true) {
+    $table = $installer->getConnection()
+        ->newTable($installer->getTable('my_table'))
+        ->addColumn();
+}
+```
 
+* Case 2
 
+```php
+<?php
+if (true) {
+    $criteria = $this->searchCriteriaBuilder
+        ->addFilter('status', $status)
+        ->addFilter(method', 'my_method_' . $object->getId())
+        ->create();
+}
+```
+
+* Case 3
+
+```php
+<?php
+if (true) {
+    /*
+    was here
+    */
+    echo 'there';
+}
+```
 
 ## Code intelligence
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]