@@ -15,10 +15,10 @@ http://pear.php.net/dtd/package-2.0.xsd">
1515  <active >yes</active >
1616 </lead >
1717 <date >2014-02-05</date >
18-  <time >10:46 :00</time >
18+  <time >13:54 :00</time >
1919 <version >
20-   <release >1.6 .0a1</release >
21-   <api >1.6 .0a1</api >
20+   <release >2.0 .0a1</release >
21+   <api >2.0 .0a1</api >
2222 </version >
2323 <stability >
2424  <release >alpha</release >
@@ -38,7 +38,7 @@ http://pear.php.net/dtd/package-2.0.xsd">
3838    -- e.g., arg value="sp" (print source and progress information; same as -sp)
3939    -- The -vvv, --sniffs, --standard and -l command line arguments cannot be set in this way
4040  - Sniff process() methods can not optionally return a token to ignore up to
41-     -- If returned, the sniff will not be executed again until the passed token in  reached in the file
41+     -- If returned, the sniff will not be executed again until the passed token is  reached in the file
4242    -- Useful if you are looking for tokens like T_OPEN_TAG but only want to process the first one
4343  - Removed the comment parser classes and replaced it with a simple comment tokenier
4444    -- T_DOC_COMMENT tokens are now tokenized into T_DOC_COMMENT_* tokens so they can be used more easily
@@ -2261,6 +2261,68 @@ http://pear.php.net/dtd/package-2.0.xsd">
22612261  </filelist >
22622262 </phprelease >
22632263 <changelog >
2264+   <release >
2265+    <version >
2266+     <release >2.0.0a1</release >
2267+     <api >2.0.0a1</api >
2268+    </version >
2269+    <stability >
2270+     <release >alpha</release >
2271+     <api >alpha</api >
2272+    </stability >
2273+    <date >2014-02-05</date >
2274+    <license  uri =" https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt"  >BSD License</license >
2275+    <notes >
2276+     - Added the phpcbf script to automatically fix many errors found by the phpcs script
2277+     - Added report type --report=diff to show suggested changes to fix coding standard violations
2278+     - The --report argument now allows for custom reports to be used
2279+       -- Use the full path to your custom report class as the report name
2280+     - The --extensions argument is now respected when passing filenames; not just with directories
2281+     - The --extensions argument now allows you to specify the tokenizer for each extension
2282+       -- e.g., --extensions=module/php,es/js
2283+     - Command line arguments can now be set in ruleset files
2284+       -- e.g., arg name="report" value="summary" (print summary report; same as --report=summary)
2285+       -- e.g., arg value="sp" (print source and progress information; same as -sp)
2286+       -- The -vvv, --sniffs, --standard and -l command line arguments cannot be set in this way
2287+     - Sniff process() methods can not optionally return a token to ignore up to
2288+       -- If returned, the sniff will not be executed again until the passed token is reached in the file
2289+       -- Useful if you are looking for tokens like T_OPEN_TAG but only want to process the first one
2290+     - Removed the comment parser classes and replaced it with a simple comment tokenier
2291+       -- T_DOC_COMMENT tokens are now tokenized into T_DOC_COMMENT_* tokens so they can be used more easily
2292+       -- This change requires a significant rewrite of sniffs that use the comment parser
2293+       -- This change requires minor changes to sniffs that listen for T_DOC_COMMENT tokens directly
2294+     - Added Generic DocCommentSniff to check generic doc block formatting
2295+       -- Removed doc block formatting checks from PEAR ClassCommentSniff
2296+       -- Removed doc block formatting checks from PEAR FileCommentSniff
2297+       -- Removed doc block formatting checks from PEAR FunctionCommentSniff
2298+       -- Removed doc block formatting checks from Squiz ClassCommentSniff
2299+       -- Removed doc block formatting checks from Squiz FileCommentSniff
2300+       -- Removed doc block formatting checks from Squiz FunctionCommentSniff
2301+       -- Removed doc block formatting checks from Squiz VariableCommentSniff
2302+     - Squiz DocCommentAlignmentSniff has had its error codes changed
2303+       -- NoSpaceBeforeTag becomes NoSpaceAfterStar
2304+       -- SpaceBeforeTag becomes SpaceAfterStar
2305+       -- SpaceBeforeAsterisk becomes SpaceBeforeStar
2306+     - Generic MultipleStatementAlignment now aligns assignments within a block so they fit within their max padding setting
2307+       -- The sniff previously requested the padding as 1 space if max padding was exceeded
2308+       -- It now aligns the assignment with surrounding assignments if it can
2309+       -- Removed property ignoreMultiline as multi-line assignments are now handled correctly and should not be ignored
2310+     - Squiz FunctionClosingBraceSpaceSniff now requires a blank line before the brace in all cases except function args
2311+     - Added error Squiz.Commenting.ClassComment.SpacingAfter to ensure there are no blank lines after a class comment
2312+     - Added error Squiz.WhiteSpace.MemberVarSpacing.AfterComment to ensure there are no blank lines after a member var comment
2313+       -- Fixes have also been corrected to not strip the member var comment or indent under some circumstances
2314+       -- Thanks to Mark Scherer for help with this fix
2315+     - Added error Squiz.Commenting.FunctionCommentThrowTag.Missing to ensure a throw is documented
2316+     - Removed error Squiz.Commenting.FunctionCommentThrowTag.WrongType
2317+     - Content passed via STDIN can now specify the filename to use so that sniffs can run the correct filename checks
2318+       -- Ensure the first line of the content is: phpcs_input_file: /path/to/file
2319+     - Squiz coding standard now enforces no closing PHP tag at the end of a pure PHP file
2320+     - Squiz coding standard now enforces a single newline character at the end of the file
2321+     - Squiz ClassDeclarationSniff no longer checks for a PHP ending tag after a class definition
2322+     - Squiz ControlStructureSpacingSniff now checks TRY and CATCH statements as well
2323+     - Removed MySource ChannelExceptionSniff
2324+    </notes >
2325+   </release >
22642326  <release >
22652327   <version >
22662328    <release >1.5.2</release >
0 commit comments