@@ -26,6 +26,15 @@ http://pear.php.net/dtd/package-2.0.xsd">
26
26
</stability >
27
27
<license uri =" https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt" >BSD 3-Clause License</license >
28
28
<notes >
29
+ - This release includes a change to support newer versions of PHPUnit (versions 4, 5, and 6 are now supported)
30
+ -- The custom PHP_CodeSniffer test runner now requires a bootstrap file
31
+ -- Developers with custom standards using the PHP_CodeSniffer test runner will need to do one of the following:
32
+ --- run your unit tests from the PHP_CodeSniffer root dir so the bootstrap file is included
33
+ --- specify the PHP_CodeSniffer bootstrap file on the command line: phpunit --bootstrap=/path/to/phpcs/tests/bootstrap.php
34
+ --- require the PHP_CodeSniffer bootstrap file from your own bootstrap file
35
+ -- If you don't run PHP_CodeSniffer unit tests, this change will not affect you
36
+ -- Thanks to Juliette Reinders Folmer for the patch
37
+
29
38
- A phpcs.xml or phpcs.xml.dist file now takes precedence over the default_standard config setting
30
39
-- Thanks to Björn Fischer for the patch
31
40
- Both phpcs.xml and phpcs.xml.dist files can now be prefixed with a dot (request #1566)
@@ -98,6 +107,7 @@ http://pear.php.net/dtd/package-2.0.xsd">
98
107
<file baseinstalldir =" PHP/CodeSniffer" name =" README.md" role =" doc" />
99
108
<file baseinstalldir =" PHP/CodeSniffer" name =" CONTRIBUTING.md" role =" doc" />
100
109
<file baseinstalldir =" PHP/CodeSniffer" name =" licence.txt" role =" doc" />
110
+ <file baseinstalldir =" PHP/CodeSniffer" name =" phpunit.xml.dist" role =" test" />
101
111
<dir name =" bin" >
102
112
<file baseinstalldir =" " name =" phpcbf" role =" script" >
103
113
<tasks : replace from =" /usr/bin/env php" to =" php_bin" type =" pear-config" />
@@ -132,8 +142,8 @@ http://pear.php.net/dtd/package-2.0.xsd">
132
142
<file baseinstalldir =" " name =" AbstractSniffUnitTest.php" role =" test" />
133
143
<file baseinstalldir =" " name =" AllSniffs.php" role =" test" />
134
144
</dir >
135
- <file baseinstalldir =" " name =" bootstrap.php" role =" test" />
136
145
<file baseinstalldir =" " name =" AllTests.php" role =" test" />
146
+ <file baseinstalldir =" " name =" bootstrap.php" role =" test" />
137
147
<file baseinstalldir =" " name =" TestSuite.php" role =" test" />
138
148
</dir >
139
149
<dir name =" src" >
@@ -1569,8 +1579,10 @@ http://pear.php.net/dtd/package-2.0.xsd">
1569
1579
<install as =" README" name =" README.md" />
1570
1580
<install as =" CONTRIBUTING" name =" CONTRIBUTING.md" />
1571
1581
<install as =" LICENCE" name =" licence.txt" />
1582
+ <install as =" phpunit.xml" name =" phpunit.xml.dist" />
1572
1583
<install as =" AllTests.php" name =" tests/AllTests.php" />
1573
1584
<install as =" TestSuite.php" name =" tests/TestSuite.php" />
1585
+ <install as =" tests/bootstrap.php" name =" tests/bootstrap.php" />
1574
1586
<install as =" CodeSniffer/Core/AllTests.php" name =" tests/Core/AllTests.php" />
1575
1587
<install as =" CodeSniffer/Core/IsCamelCapsTest.php" name =" tests/Core/IsCamelCapsTest.php" />
1576
1588
<install as =" CodeSniffer/Core/ErrorSuppressionTest.php" name =" tests/Core/ErrorSuppressionTest.php" />
@@ -1591,8 +1603,10 @@ http://pear.php.net/dtd/package-2.0.xsd">
1591
1603
<install as =" README" name =" README.md" />
1592
1604
<install as =" CONTRIBUTING" name =" CONTRIBUTING.md" />
1593
1605
<install as =" LICENCE" name =" licence.txt" />
1594
- <install as =" AllTests.php" name =" tests/AllTests.php" />
1595
- <install as =" TestSuite.php" name =" tests/TestSuite.php" />
1606
+ <install as =" phpunit.xml" name =" phpunit.xml.dist" />
1607
+ <install as =" tests/AllTests.php" name =" tests/AllTests.php" />
1608
+ <install as =" tests/bootstrap.php" name =" tests/bootstrap.php" />
1609
+ <install as =" tests/TestSuite.php" name =" tests/TestSuite.php" />
1596
1610
<install as =" CodeSniffer/Core/AllTests.php" name =" tests/Core/AllTests.php" />
1597
1611
<install as =" CodeSniffer/Core/IsCamelCapsTest.php" name =" tests/Core/IsCamelCapsTest.php" />
1598
1612
<install as =" CodeSniffer/Core/ErrorSuppressionTest.php" name =" tests/Core/ErrorSuppressionTest.php" />
0 commit comments