<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to 22: Indentation for multiline function definition is wrong</title><link href="https://sourceforge.net/p/php-mode/feature-requests/22/" rel="alternate"/><link href="https://sourceforge.net/p/php-mode/feature-requests/22/feed.atom" rel="self"/><id>https://sourceforge.net/p/php-mode/feature-requests/22/</id><updated>2009-09-20T14:47:16Z</updated><subtitle>Recent changes to 22: Indentation for multiline function definition is wrong</subtitle><entry><title>Indentation for multiline function definition is wrong</title><link href="https://sourceforge.net/p/php-mode/feature-requests/22/" rel="alternate"/><published>2009-09-20T14:47:16Z</published><updated>2009-09-20T14:47:16Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net9e924b50a420ce9e5606b559799d9af816d605dc</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Indentation of the closing brace and parameters on a new line is wrong when using PEAR mode.&lt;/p&gt;
&lt;p&gt;function ($alongname,&lt;br /&gt;
____$b&lt;br /&gt;
) {&lt;br /&gt;
____//content&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;should be aligned exactly that way [1].&lt;br /&gt;
php-mode indents it the following way:&lt;/p&gt;
&lt;p&gt;function ($a, $b,&lt;br /&gt;
________$c&lt;br /&gt;
________)&lt;/p&gt;
&lt;p&gt;[1] &lt;a href="http://pear.php.net/manual/en/standards.funcdef.php" rel="nofollow"&gt;http://pear.php.net/manual/en/standards.funcdef.php&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>