[Phpmyadmin-devel] about long lines

Chanaka Dharmarathna pe.chanaka.ck at gmail.com
Tue Jun 12 19:29:26 CEST 2012


On Tue, Jun 12, 2012 at 6:18 PM, Marc Delisle <marc at infomarc.info> wrote:

> Chanaka,
>
> about your question on long lines, I agree with you that this could be
> put on two lines. Suggestion:
>
> if ((PMA_strlen($wktval) > $GLOBALS['cfg']['LimitChars'])
>    && ($_SESSION['tmp_user_values']['display_text'] ==
>        self::DISPLAY_PARTIAL_TEXT)
> ) {
>
> --
> Marc Delisle
> http://infomarc.info
>
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Phpmyadmin-devel mailing list
> Phpmyadmin-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel
>
>
Hi Marc,

Thanks for your suggestion.
I check whether it works or not before also.

But code sniffer gives following errors,
| ERROR   | Multi-line IF statement not indented correctly; expected 20
spaces but found 24
| ERROR   | Each line in a multi-line IF statement must begin with a
boolean operator

Sorry if I'm doing any wrong. Can you please tell any guesses why I'm
getting these errors ?

Regards !
-- 
____________________________________

Chanaka Indrajith
Bsc.Computer Engineering Undergraduate
Faculty of Engineering
University of Peradeniya
Sri Lanka
____________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phpmyadmin.net/pipermail/developers/attachments/20120612/9179f563/attachment.html>


More information about the Developers mailing list