-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathCHANGE_LOG
69 lines (48 loc) · 2.73 KB
/
CHANGE_LOG
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
v 0.2.0 (in development):-
1. SmartyLint now tokenizes smarty tags.
2. Added rule:- Show error when single line smarty tag has space before closing it.
3. Updated copyright
4. Added support for custom delimiters which are more than one character.
=========================================================================
v 0.1.4 (Tue, 11 Sept 2013):-
Disabled rule which checks for empty file after file comment and before content.
It was disabled because it would print carriage return unnecessary when not needed.
Bugs fixed:-
SmartyLint would print "no of files" processed even when showProgress was off.
CLI file was having its name in CAPS.
generate function in Report file was supposed to send total number of errors.
===========================================================================
v 0.1.3 (Tue, 10 Sept 2013):-
Minor bug fixes in file comment rule.
===========================================================================
v 0.1.2 (Sun, 08 Sept 2013):-
1. Progress shown while files are scanned is turned off by default.
Need pass short argument "-p" to see progress.
2. Can disable rule for all files.
3. Can disable rule for selected files.
4. Can exclude folders/files/patterns from the folder being scanned.
5. Sample file sample.ignorerules.xml is available for points 2, 3 and 4
7. You can pass ignore rules using long argument "--ignore-rules=<path to ignorerules.xml>"
8. Improve tokenizer to handle new line characters in a better way.
9. Folder Tokenizers is renamed to Tokenizer because we have one tokenizer and which
pointed to remove 's' from the folder.
10. TODO and FIXME are also checked inside HTML Comments.
11. Added this (CHANGE_LOG) file.
===========================================================================
v 0.1.1 (Fri, 05 Sept 2013):-
Quick fix release which adds
1. support for PHP backword compatibility.
2. Minor bug fixes.
===========================================================================
v 0.1 (Fri, 03 Sept 2013):-
Basic version derived from PHP CodeSniffer which checks for following conventions
1. Should have one empty line at the bottom.
2. Should not have more than 1 empty line at the bottom
3. You should write file doc comment at the top in Java Doc format which contains short file description and all the variables used.
4. File comment and content should have one blank line in between.
5. There should be no TODO's and FixMe's in the code.
6. Never use HTML comments. You should use Smarty comments {**} instead.
7. No whitespace / empty spaces at the end of each line.
8. Have max only 2 empty lines in the content (i.e. 3 new lines in a row).
"php smartyl -h" would show you all available options.
===========================================================================