Skip to content

Resolve lint warnings/errors of "Eclipse for PHP" #9

@danielmarschall

Description

@danielmarschall

The following patch will fix lint warnings/errors shown in "Eclipse for PHP":

Index: Converter.php
===================================================================
--- Converter.php	(revision 433)
+++ Converter.php	(working copy)
@@ -86,6 +86,7 @@
          *     /home/forkcms/frontend/core/layout/images/img.gif
          */
         do {
+        	$count = -1;
             $path = preg_replace('/[^\/]+(?<!\.\.)\/\.\.\//', '', $path, -1, $count);
         } while ($count);
 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions