Skip to content

Commit 3b4adb2

Browse files
committed
Update the docs
1 parent 8eb1ae0 commit 3b4adb2

File tree

2 files changed

+289
-138
lines changed

2 files changed

+289
-138
lines changed

Changelog.md

Lines changed: 118 additions & 115 deletions
Original file line numberDiff line numberDiff line change
@@ -1,261 +1,264 @@
1-
CHANGELOG
2-
=========
1+
# CHANGELOG
2+
3+
## 6.9.0
4+
5+
- Turn on tagging
6+
7+
## 6.8.0
38

4-
6.8.0
5-
-----
69
* Enhancement for allowing the configuration to use "~" which will be expanded out to your home directory. Thanks to [Quentin Dreyer](https://github.com/qkdreyer) for the [patch](https://github.com/benmatselby/sublime-phpcs/pull/169)
710

811

9-
6.7.0
10-
-----
12+
## 6.7.0
13+
1114
* Enhancement for allowing the definition of a `phpcs.xml` in the root of the project. Thanks to [Jason Madrid](https://github.com/jasonmadrid) for the [patch](https://github.com/benmatselby/sublime-phpcs/pull/161)
1215

13-
6.6.3
14-
-----
16+
## 6.6.3
17+
1518
* Fix for [GH-100](https://github.com/benmatselby/sublime-phpcs/issues/100). Issues when opening Sublime Text when the last file was an image
1619

17-
6.6.2
18-
-----
20+
## 6.6.2
21+
1922
* Fix for [GH-155](https://github.com/benmatselby/sublime-phpcs/issues/155). --runtime-set not working correctly
2023

21-
6.6.1
22-
-----
24+
## 6.6.1
25+
2326
* Fix for [GH-129](https://github.com/benmatselby/sublime-phpcs/issues/129), which is the cbf not showing as enabled.
2427

25-
6.6.0
26-
-----
28+
## 6.6.0
29+
2730
* Support for PHP Code Beautifier and Fixer (phpcbf) [GH-127](https://github.com/benmatselby/sublime-phpcs/issues/127)
2831

29-
6.5.3
30-
-----
32+
## 6.5.3
33+
3134
* Fix for [GH-120](https://github.com/benmatselby/sublime-phpcs/issues/120). Thanks to [Hermann Herz](https://github.com/Heart1010) for raising this.
3235

33-
6.5.2
34-
-----
36+
## 6.5.2
37+
3538
* Fix for [GH-117](https://github.com/benmatselby/sublime-phpcs/issues/117). Thanks to [autumnlansing](https://github.com/autumnlansing) for raising.
3639

37-
6.5.1
38-
-----
40+
## 6.5.1
41+
3942
* Fix for [GH-113](https://github.com/benmatselby/sublime-phpcs/issues/113). Thanks to [Rafael Nascimento](https://github.com/Arcane07) for the patch. PHP-CS-Fixer not reporting outcome
4043

41-
6.5.0
42-
-----
44+
## 6.5.0
45+
4346
* Stylise the icon color [GH-114](https://github.com/benmatselby/sublime-phpcs/issues/114)
4447

45-
6.4.2
46-
-----
48+
## 6.4.2
49+
4750
* Bug fix for switching the coding standard when not using a project.
4851
* Set the default coding standard when the plugin is installed to PSR2.
4952

50-
6.4.1
51-
-----
53+
## 6.4.1
54+
5255
* Bug fix for switching the coding standard. It does not rely on php-cs-fixer path being set
5356

54-
6.4.0
55-
-----
57+
## 6.4.0
58+
5659
* Enhancement [GH-112](https://github.com/benmatselby/sublime-phpcs/issues/112). Ability to toggle the coding standard being used.
5760

58-
6.3.5
59-
-----
61+
## 6.3.5
62+
6063
* Enhancement: Always show php-cs-fixer support in context menu in side bar, just not enabled if php-cs-fixer is not configured [GH-103](https://github.com/benmatselby/sublime-phpcs/issues/103)
6164

62-
6.3.4
63-
-----
65+
## 6.3.4
66+
6467
* Fix for [GH-98](https://github.com/benmatselby/sublime-phpcs/issues/98)
6568

66-
6.3.3
67-
-----
69+
## 6.3.3
70+
6871
* Fix for [GH-93](https://github.com/benmatselby/sublime-phpcs/issues/93). If plugin is off, all sub processes should respect that.
6972
* Fix for [GH-94](https://github.com/benmatselby/sublime-phpcs/issues/94). Thanks to [WaveHack](https://github.com/WaveHack) for raising this and proposing a solution
7073
* Fix for [GH-91](https://github.com/benmatselby/sublime-phpcs/issues/91). Thanks to [Alex Russell](https://github.com/alexrussell) for proposing a solution
7174
* Fix for [GH-85](https://github.com/benmatselby/sublime-phpcs/issues/85). Thanks to [Peter Farsinsen](https://github.com/peterfarsinsen) for this patch
7275

73-
6.3.2
74-
-----
76+
## 6.3.2
77+
7578
* Minor enhancement to provide hint with configuration issue [GH-78](https://github.com/benmatselby/sublime-phpcs/issues/78)
7679

77-
6.3.1
78-
-----
80+
## 6.3.1
81+
7982
* Fix for ST2 which does not like trailing commas in the json. Fixes [GH-75](https://github.com/benmatselby/sublime-phpcs/pull/75)
8083

81-
6.3
82-
---
84+
## 6.3
85+
8386
* Enhancement to toggle via the context menu or command palette if the plugin should execute on save or not [GH-73](https://github.com/benmatselby/sublime-phpcs/issues/73)
8487
* Enhancement to blacklist certain extensions if they form part of the main extensions to execute, the example being twig.php [GH-69](https://github.com/benmatselby/sublime-phpcs/issues/69)
8588

86-
6.2
87-
---
89+
## 6.2
90+
8891
* Enhancement to support per project settings. Thanks to [Handrus Stephan Nogueira](https://github.com/handrus) for the contribution
8992
* Enhancement to reload the settings when changed, so you do not have to restart Sublime Text each time.
9093

91-
6.1
92-
---
94+
## 6.1
95+
9396
* Bug fix for users of ST2 and PHP_CodeSniffer1.5.0 (Currently RC1). Essentially we now need to pass cwd so that PHP_CodeSniffer knows where to put the tmp files for its caching mechanism. Fixes [GH-68](https://github.com/benmatselby/sublime-phpcs/issues/68)
9497

95-
6.0.1
96-
-----
98+
## 6.0.1
99+
97100
* Missed a s/SCheck/scheck/ conversion
98101

99-
6.0
100-
---
102+
## 6.0
103+
101104
* Add support for [scheck](https://github.com/facebook/pfff/wiki/Main). Thanks to [Darby Payne](https://github.com/dpayne) for this patch
102105

103-
5.1.1
104-
-----
106+
## 5.1.1
107+
105108
* Minor patch to scrub the last report so the points and line numbers are correct each time. Fixes GH-67
106109

107-
5.1
108-
---
109-
* Only run commands if the *_run preferences are true. Thanks to [Rys Sommefeldt](https://github.com/rys) for this patch.
110+
## 5.1
111+
112+
* Only run commands if the _run preferences_ are true. Thanks to [Rys Sommefeldt](https://github.com/rys) for this patch.
113+
114+
## 5.0
110115

111-
5.0
112-
---
113116
* Support for Sublime Text 3 [GH-60](https://github.com/benmatselby/sublime-phpcs/issues/60)
114117

115-
4.6.3
116-
-----
118+
## 4.6.3
119+
117120
* Patch to fix [GH-53](https://github.com/benmatselby/sublime-phpcs/issues/53) which was php-cs-fixer executing on save for non plugin based files (e.g. running for a python file). Thanks to [John Hoffmann](https://github.com/jhoffmann) for the solution.
118121
* Minor update to the README to cover off a gotcha on installing php-cs-fixer using Homebrew [GH-52](https://github.com/benmatselby/sublime-phpcs/issues/52)
119122

120-
4.6.2
121-
-----
123+
## 4.6.2
124+
122125
* Small patch to fix [GH-51](https://github.com/benmatselby/sublime-phpcs/issues/51). Thanks to [mstaatz](https://github.com/mstaatz) for raising the issue.
123126

124-
4.6.1
125-
-----
127+
## 4.6.1
128+
126129
* Provided configuration option "phpcs_commands_to_php_prefix" that allows you to distinguish which commands should have the php path prefixed. Thanks to [Hamrani ahmed](https://github.com/ahamrani) for raising [GH-49](https://github.com/benmatselby/sublime-phpcs/issues/49)
127130

128-
4.6
129-
---
131+
## 4.6
132+
130133
* Fixes for windows based users and the use of phar files. Thanks to [Hamrani ahmed](https://github.com/ahamrani) for raising [GH-47](https://github.com/benmatselby/sublime-phpcs/issues/47)
131134
* Moved the options to the end of the php-cs-fixer command as per their documentation examples
132135
* Removed reloading settings code, as it seems redundant in latest build of Sublime Text 2
133136

134-
4.5.1
135-
-----
137+
## 4.5.1
138+
136139
* Minor changes to the README to better explain non package control installation.
137140
* Minor change to README for naming of the plugin
138141
* Minor change to when the "Goto Next Error" context menu is enabled
139142

140-
4.5
141-
---
143+
## 4.5
144+
142145
* Define a setting "php_cs_fixer_show_quick_panel" that stops quick panel displaying for php-cs-fixer. Thanks to [Kevin Perrine](https://github.com/kevinsperrine/) for the pull request
143146

144-
4.4.1
145-
-----
147+
## 4.4.1
148+
146149
* Blank out the default setting for php_cs_fixer_executable_path. Thanks to [Eric Lewis](https://github.com/ericandrewlewis/) for the pull request.
147150

148-
4.4
149-
---
151+
## 4.4
152+
150153
* Provide configuration options for each command to execute on save. Thanks to [Jeremy Romey](https://github.com/jeremyFreeAgent) for the [suggestion](https://github.com/benmatselby/sublime-phpcs/issues/36)
151154

152-
4.3
153-
---
155+
## 4.3
156+
154157
* Ehancement for [GH-34](https://github.com/benmatselby/sublime-phpcs/issues/34) which provides a command to "Goto Next Error" which can also have a shortcut key assigned to it. Thanks to [Casey Becking](https://github.com/caseybecking) for raising the feature request
155158
* Ability to fun PHP-CS-Fixer on save now. Thanks to [Cedric Lombardot](https://github.com/cedriclombardot) for raising the feature request
156159

157-
4.2
158-
---
160+
## 4.2
161+
159162
* Ability to configure if you want the errors to be highlighted in the editor. Thanks to [Aleksandr Gornostal](https://github.com/gornostal)
160163

161-
4.1.1
162-
-----
164+
## 4.1.1
165+
163166
* Small patch to be consistent with the naming of the tools. Thanks to [Beau Simensen](https://github.com/simensen)
164167

165-
4.1
166-
---
168+
## 4.1
169+
167170
* Added support to use php-cs-fixer on a directory in the side bar
168171
* Now displays the php-cs-fixer changes in the quick panel
169172

170-
4.0
171-
---
173+
## 4.0
174+
172175
* Added basic support for [php-cs-fixer](https://github.com/fabpot/PHP-CS-Fixer) based on the work by [Jeremy Romey](https://github.com/jeremyFreeAgent/sublime-php-cs-fixer/)
173176

174-
3.13
175-
----
177+
## 3.13
178+
176179
* Setting to configure if phpcs is run when the plugin is invoked [GH-20](https://github.com/benmatselby/sublime-phpcs/issues/20). Thanks to [grEvenX](https://github.com/grEvenX)
177180

178-
3.12
179-
----
181+
## 3.12
182+
180183
* Bug fix for [GH-18](https://github.com/benmatselby/sublime-phpcs/issues/18) which meant the plugin would fail to work when coming across non ascii characters
181184
* Added a show_debug setting for console output. Off by default
182185

183-
3.11
184-
----
186+
## 3.11
187+
185188
* Support added to configure the php path [GH-16](https://github.com/benmatselby/sublime-phpcs/issues/16). Thanks to [Dan Previte](https://github.com/dprevite)
186189
* Added support for multiple file extensions, rather than using Sublimes syntax checker [GH-15](https://github.com/benmatselby/sublime-phpcs/issues/15)
187190

188-
3.10
189-
----
191+
## 3.10
192+
190193
* Bug fix for [GH-13](https://github.com/benmatselby/sublime-phpcs/issues/13) which seems to be apparent when Sublime cannot find/load the settings file
191194

192-
3.9
193-
---
195+
## 3.9
196+
194197
* Bug fix for [GH-12](https://github.com/benmatselby/sublime-phpcs/issues/12)
195198
* Bug fix for incorrectly mismatching sublime line numbers to line numbers from a report *if* there was only one error reported
196199
* Updated name of change log
197200

198-
3.8
199-
---
201+
## 3.8
202+
200203
* Support added for running [phpmd](http://phpmd.org/) - Currently off by default
201204

202-
3.7
203-
---
205+
## 3.7
206+
204207
* Updated Main.sublime-menu so we can change the key bindings from within the Preferences panel
205208

206-
3.6
207-
---
209+
## 3.6
210+
208211
* Added the ability to show previous errors without generating the report again. Thanks to [Drarok](https://github.com/Drarok) [GH-9](https://github.com/benmatselby/sublime-phpcs/pull/9)
209212
* Put the processing back to being threaded which helps with large files. Thanks to [Drarok](https://github.com/Drarok) [GH-10](https://github.com/benmatselby/sublime-phpcs/pull/10)
210213
* Removed Side Bar Menu, as it doesn't make sense to run report against a non-open file
211214
* When selecting an error from the quick panel, also set the status bar message
212215
* Added "Show previous errors" to the context menu to be consistent
213216
* Added keymap for Mac OSX, cannot get the keys right when using Virtual Box to define for Windows and Linux, so leaving for the time being
214217

215-
3.5
216-
---
218+
## 3.5
219+
217220
* Ability to show the errors in the status bar (configurable with on/off setting). Thanks to [Drarok](https://github.com/Drarok)
218221
* Bug fix with clearing the sniffer marks
219222

220-
3.4
221-
---
223+
## 3.4
224+
222225
* Ability to not show the quick_panel errors on save, (errors shown by default). Thanks to [Drarok](https://github.com/Drarok)
223226

224-
3.3
225-
---
227+
## 3.3
228+
226229
* Allow the user to specify the location of the phpcs application [GH-4](https://github.com/benmatselby/sublime-phpcs/issues/4)
227230
* Turned the linter checks on by default
228231

229-
3.2
230-
---
232+
## 3.2
233+
231234
* Added the ability to run the PHP linter alongside the PHP_CodeSniffer
232235
* You can specify if you want the linter to run
233236
* You can specify the regex of the linter output, as it seems to differ on different systems
234237

235-
3.1
236-
---
238+
## 3.1
239+
237240
* Updated the loading of settings to use static method
238241
* Updated the debugging calls to prefix with "Phpcs"
239242
* Added a counter of errors in the console log
240243

241-
3.0
242-
---
244+
## 3.0
245+
243246
* Enables the plugin to work on the Windows platform [GH-1](https://github.com/benmatselby/sublime-phpcs/issues/1)
244247
* Removed some redundant code
245248

246-
2.0
247-
---
249+
## 2.0
250+
248251
* Changed the way the checkstyle report was parsed. due to [GH-2](https://github.com/benmatselby/sublime-phpcs/issues/2) which means it should now work on Linux machines
249252

250-
1.1
251-
---
253+
## 1.1
254+
252255
* Load the settings into memory if changed using _settings.add_on_change_. This only works on User settings rather than defaults, which is a limitation of the API from what I can see at the moment.
253256
* Define the coding standard as PEAR by default.
254257
* Introduced this Changelog.md file.
255258
* Raised [this feature request](http://sublimetext.userecho.com/topic/96221-gutter-hint-bubles-when-hovered-over/) so I can show tool tips in the gutter for each checkstyle error/warning
256259

257-
1.0
258-
---
260+
## 1.0
261+
259262
* Initial release documented [here](http://soulbroken.co.uk/code/sublimephpcs)
260263
* Right click on a php file and generate checkstyle report in the gutter and/or quick panel
261264
* Settings to turn the reporting on/off for gutter and quick panel

0 commit comments

Comments
 (0)