diff --git a/.editorconfig b/.editorconfig index e69de29..5d7c63e 100644 --- a/.editorconfig +++ b/.editorconfig @@ -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 \ No newline at end of file diff --git a/wp-php-console.php b/wp-php-console.php index 4ba0d07..e31d567 100644 --- a/wp-php-console.php +++ b/wp-php-console.php @@ -18,6 +18,29 @@ * Domain Path: /languages */ +/** + * WP PHP Console + * Copyright (c) 2014-2015 Fulvio Notarstefano + * and contributors + * + * PhpConsole server library. + * Copyright (c) 2011-2013 by Barbushin Sergey + * + * 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 }