Skip to content

Commit

Permalink
editorconfig, phpdocs edits
Browse files Browse the repository at this point in the history
  • Loading branch information
unfulvio committed Jun 19, 2015
1 parent 3cb72d6 commit 52ccb21
Show file tree
Hide file tree
Showing 2 changed files with 57 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
#
# .editorconfig
#
# This file is for unifying the coding style for different editors and IDEs:
# http://editorconfig.org
#
# WordPress Coding Standards:
# http://make.wordpress.org/core/handbook/coding-standards/
#
root = true

[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
indent_style = tab
indent_size = 4

[*.{md,sass,scss,less}]
indent_style = space
indent_size = 2

[*.{json,yml,xml,xml.dist}]
insert_final_newline = false
indent_style = space
indent_size = 2

[*.{txt,md}]
insert_final_newline = false
indent_style = space
indent_size = 2
trim_trailing_whitespace = false
end_of_line = crlf
23 changes: 23 additions & 0 deletions wp-php-console.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,29 @@
* Domain Path: /languages
*/

/**
* WP PHP Console
* Copyright (c) 2014-2015 Fulvio Notarstefano <[email protected]>
* and contributors
*
* PhpConsole server library.
* Copyright (c) 2011-2013 by Barbushin Sergey <[email protected]>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License, version 2 or, at
* your discretion, any later version, as published by the Free
* Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/

if ( ! defined( 'WPINC' ) ) {
exit; // Exit if accessed directly
}
Expand Down

0 comments on commit 52ccb21

Please sign in to comment.