Php code style - Avoid blank line after text

Answered

Hello,

How can i avoid automatic blank line after text when i'm typing ?

$content = "Ceci est un message
automatique envoyé à la création d'une
offre";

And i want

$content = "Ceci est un message envoyé à la création d'une offre";

My desktop is ubuntu 14.04.

Thank you
0
3 comments
Avatar
Permanently deleted user

For an other example :

when i want to change 'publish' in this line :

$wpdb->update( $wpdb->posts, array( 'post_status' => 'publish' ), array( 'ID' => $post->ID ) );

the line change in :

$wpdb->update( $wpdb->posts, 
array( 'post_status' =>
'draft' ), array( 'ID'
=> $post->ID ) );
0

What value does Settings | Editor | Code Style | Right Margin have?
Please try increasing it, it should resolve the typing issue.

As for the second example, this is controlled by various Settings | Editor | Code Style | PHP | Wrapping and Braces settings.

Please switch to the default scheme to get things back intact.

0
Avatar
Permanently deleted user

It's ok now, thank you

1

Please sign in to leave a comment.