Skip to content
This repository was archived by the owner on Nov 5, 2022. It is now read-only.

Commit ca55a39

Browse files
committed
Removed Example editor configs
1 parent 2ad24e6 commit ca55a39

File tree

1 file changed

+2
-68
lines changed

1 file changed

+2
-68
lines changed

README.md

Lines changed: 2 additions & 68 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ PHP (7.1 or greater) with mbstring extension.
2323

2424
### Composer install
2525

26-
`cd /Path/To/MyProject`
27-
`composer require codeigniter4/codeigniter4-standard --dev`
26+
`cd /Path/To/MyProject`
27+
`composer require codeigniter4/codeigniter4-standard --dev`
2828

2929
Set the `phpcs standard path` and `phpcbf standard path` in your editor/plugin config to:
3030

@@ -110,72 +110,6 @@ or if globally installed.
110110

111111
`phpcbf /Path/To/MyProject --standard=CodeIgniter4`
112112

113-
## Example editor configs
114-
115-
### SublimeText project config
116-
117-
Project > Edit Project
118-
119-
Set it to your preference.
120-
121-
```
122-
{
123-
"SublimeLinter":
124-
{
125-
"linters":
126-
{
127-
"phpcs":
128-
{
129-
"@disable": false,
130-
"cmd": "/Path/To/php_codesniffer/bin/phpcs",
131-
// Or if installed globally. "cmd": "phpcs",
132-
"standard": "/Path/To/CodeIgniter4-Standard/CodeIgniter4/ruleset.xml"
133-
}
134-
}
135-
},
136-
"folders":
137-
[
138-
{
139-
"path": "/Path/To/MyProject"
140-
}
141-
],
142-
"settings":
143-
{
144-
"phpcs":
145-
{
146-
"extensions_to_execute":
147-
[
148-
"php"
149-
],
150-
"phpcs_executable_path": "/Path/To/php_codesniffer/bin/phpcs",
151-
// Or if installed globally. "phpcbf_executable_path": "phpcs",
152-
"phpcs_additional_args":
153-
{
154-
"--standard": "/Path/To/CodeIgniter4-Standard/CodeIgniter4/ruleset.xml",
155-
// Optional don't show warnings
156-
// "-n": ""
157-
},
158-
"phpcbf_executable_path": "/Path/To/php_codesniffer/bin/phpcbf",
159-
// Or if installed globally. "phpcbf_executable_path": "phpcbf",
160-
"phpcbf_additional_args":
161-
{
162-
"--standard": "/Path/To/CodeIgniter4-Standard/CodeIgniter4/ruleset.xml",
163-
// Optional don't fix warnings (if they're fixable)
164-
// "-n": ""
165-
},
166-
// Execute the sniffer on file save. (Using contextual menu instead)
167-
"phpcs_execute_on_save": false,
168-
// Show the error list after save. (Using sublime linter instead)
169-
"phpcs_show_errors_on_save": false,
170-
// Show the errors in the quick panel so you can then goto line. (Gets annoying)
171-
"phpcs_show_quick_panel": false,
172-
// Turn the debug output on/off.
173-
"show_debug": false
174-
}
175-
}
176-
}
177-
```
178-
179113
## Credits
180114

181115
Thanks to Greg Sherwood, Marc McIntyre, Andy Grunwald, Thomas Ernest and Erik Torsner, for providing open source code which helped me build this standard and a big thanks to [Squiz Labs](http://www.squizlabs.com) for creating [PHP_CodeSniffer](https://github.com/squizlabs/PHP_CodeSniffer).

0 commit comments

Comments
 (0)