Skip to content

Commit 52ccb21

Browse files
committed
editorconfig, phpdocs edits
1 parent 3cb72d6 commit 52ccb21

File tree

2 files changed

+57
-0
lines changed

2 files changed

+57
-0
lines changed

.editorconfig

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
#
2+
# .editorconfig
3+
#
4+
# This file is for unifying the coding style for different editors and IDEs:
5+
# http://editorconfig.org
6+
#
7+
# WordPress Coding Standards:
8+
# http://make.wordpress.org/core/handbook/coding-standards/
9+
#
10+
root = true
11+
12+
[*]
13+
charset = utf-8
14+
end_of_line = lf
15+
insert_final_newline = true
16+
trim_trailing_whitespace = true
17+
indent_style = tab
18+
indent_size = 4
19+
20+
[*.{md,sass,scss,less}]
21+
indent_style = space
22+
indent_size = 2
23+
24+
[*.{json,yml,xml,xml.dist}]
25+
insert_final_newline = false
26+
indent_style = space
27+
indent_size = 2
28+
29+
[*.{txt,md}]
30+
insert_final_newline = false
31+
indent_style = space
32+
indent_size = 2
33+
trim_trailing_whitespace = false
34+
end_of_line = crlf

wp-php-console.php

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,29 @@
1818
* Domain Path: /languages
1919
*/
2020

21+
/**
22+
* WP PHP Console
23+
* Copyright (c) 2014-2015 Fulvio Notarstefano <fulvio.notarstefano@gmail.com>
24+
* and contributors
25+
*
26+
* PhpConsole server library.
27+
* Copyright (c) 2011-2013 by Barbushin Sergey <barbushin@gmail.com>
28+
*
29+
* This program is free software; you can redistribute it and/or modify
30+
* it under the terms of the GNU General Public License, version 2 or, at
31+
* your discretion, any later version, as published by the Free
32+
* Software Foundation.
33+
*
34+
* This program is distributed in the hope that it will be useful,
35+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
36+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
37+
* GNU General Public License for more details.
38+
*
39+
* You should have received a copy of the GNU General Public License
40+
* along with this program; if not, write to the Free Software
41+
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
42+
*/
43+
2144
if ( ! defined( 'WPINC' ) ) {
2245
exit; // Exit if accessed directly
2346
}

0 commit comments

Comments
 (0)