@@ -28,6 +28,7 @@ http://pear.php.net/dtd/package-2.0.xsd">
2828 <notes >
2929 - PHPCBF will now fix incorrect newline characters in a file
3030 - PHPCBF now exists cleanly when there are no errors to fix
31+ - Added phpcbf.bat file for Windows
3132 - Fixed a problem that could occur with line numbers when using HHVM to check files with Windows newline characters
3233 - Fixed bug #20261 : phpcbf has an endless fixing loop
3334 </notes >
@@ -53,7 +54,11 @@ http://pear.php.net/dtd/package-2.0.xsd">
5354 <tasks : replace from =" @php_bin@" to =" php_bin" type =" pear-config" />
5455 <tasks : replace from =" @bin_dir@" to =" bin_dir" type =" pear-config" />
5556 <tasks : replace from =" @php_dir@" to =" php_dir" type =" pear-config" />
56- <tasks : replace from =" @package_version@" to =" version" type =" package-info" />
57+ </file >
58+ <file baseinstalldir =" " name =" phpcbf.bat" role =" script" >
59+ <tasks : replace from =" @php_bin@" to =" php_bin" type =" pear-config" />
60+ <tasks : replace from =" @bin_dir@" to =" bin_dir" type =" pear-config" />
61+ <tasks : replace from =" @php_dir@" to =" php_dir" type =" pear-config" />
5762 </file >
5863 </dir >
5964 <dir name =" tests" >
@@ -2186,9 +2191,10 @@ http://pear.php.net/dtd/package-2.0.xsd">
21862191 </os >
21872192 </installconditions >
21882193 <filelist >
2189- <install as =" phpcbf" name =" scripts/phpcbf" />
21902194 <install as =" phpcs" name =" scripts/phpcs" />
2195+ <install as =" phpcbf" name =" scripts/phpcbf" />
21912196 <install as =" phpcs.bat" name =" scripts/phpcs.bat" />
2197+ <install as =" phpcbf.bat" name =" scripts/phpcbf.bat" />
21922198 <install as =" AllTests.php" name =" tests/AllTests.php" />
21932199 <install as =" TestSuite.php" name =" tests/TestSuite.php" />
21942200 <install as =" CodeSniffer/Core/AllTests.php" name =" tests/Core/AllTests.php" />
@@ -2201,8 +2207,8 @@ http://pear.php.net/dtd/package-2.0.xsd">
22012207 </phprelease >
22022208 <phprelease >
22032209 <filelist >
2204- <install as =" phpcbf" name =" scripts/phpcbf" />
22052210 <install as =" phpcs" name =" scripts/phpcs" />
2211+ <install as =" phpcbf" name =" scripts/phpcbf" />
22062212 <install as =" AllTests.php" name =" tests/AllTests.php" />
22072213 <install as =" TestSuite.php" name =" tests/TestSuite.php" />
22082214 <install as =" CodeSniffer/Core/AllTests.php" name =" tests/Core/AllTests.php" />
@@ -2212,6 +2218,7 @@ http://pear.php.net/dtd/package-2.0.xsd">
22122218 <install as =" CodeSniffer/Standards/AllSniffs.php" name =" tests/Standards/AllSniffs.php" />
22132219 <install as =" CodeSniffer/Standards/AbstractSniffUnitTest.php" name =" tests/Standards/AbstractSniffUnitTest.php" />
22142220 <ignore name =" scripts/phpcs.bat" />
2221+ <ignore name =" scripts/phpcbf.bat" />
22152222 </filelist >
22162223 </phprelease >
22172224 <changelog >
0 commit comments