File tree Expand file tree Collapse file tree 4 files changed +9
-4
lines changed Expand file tree Collapse file tree 4 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 33[ ![ Latest stable version] ( https://img.shields.io/packagist/v/kubawerlos/php-cs-fixer-custom-fixers.svg?label=current%20version )] ( https://packagist.org/packages/kubawerlos/php-cs-fixer-custom-fixers )
44[ ![ PHP version] ( https://img.shields.io/packagist/php-v/kubawerlos/php-cs-fixer-custom-fixers.svg )] ( https://php.net )
55[ ![ License] ( https://img.shields.io/github/license/kubawerlos/php-cs-fixer-custom-fixers.svg )] ( LICENSE )
6- ![ Tests] ( https://img.shields.io/badge/tests-3237 -brightgreen.svg )
6+ ![ Tests] ( https://img.shields.io/badge/tests-3238 -brightgreen.svg )
77[ ![ Downloads] ( https://img.shields.io/packagist/dt/kubawerlos/php-cs-fixer-custom-fixers.svg )] ( https://packagist.org/packages/kubawerlos/php-cs-fixer-custom-fixers )
88
99[ ![ CI Status] ( https://github.com/kubawerlos/php-cs-fixer-custom-fixers/workflows/CI/badge.svg?branch=main&event=push )] ( https://github.com/kubawerlos/php-cs-fixer-custom-fixers/actions )
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ public function testFixerAddingIsListed(FixerInterface $fixer): void
3636 public function testFixerDeprecatingIsListed (FixerInterface $ fixer ): void
3737 {
3838 if (!$ fixer instanceof DeprecatedFixerInterface) {
39- $ this ->addToAssertionCount ( 1 );
39+ $ this ->expectNotToPerformAssertions ( );
4040
4141 return ;
4242 }
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ final public function testFixerDefinitionSummaryStartWithCorrectCase(): void
5656 final public function testFixerDefinitionRiskyDescriptionStartWithLowercase (): void
5757 {
5858 if (!$ this ->fixer ->isRisky ()) {
59- $ this ->addToAssertionCount ( 1 );
59+ $ this ->expectNotToPerformAssertions ( );
6060
6161 return ;
6262 }
@@ -70,7 +70,7 @@ final public function testFixerDefinitionRiskyDescriptionStartWithLowercase(): v
7070 final public function testFixerDefinitionRiskyDescriptionDoesNotEndWithDot (): void
7171 {
7272 if (!$ this ->fixer ->isRisky ()) {
73- $ this ->addToAssertionCount ( 1 );
73+ $ this ->expectNotToPerformAssertions ( );
7474
7575 return ;
7676 }
Original file line number Diff line number Diff line change 2222 */
2323final class NumericLiteralSeparatorFixerTest extends AbstractFixerTestCase
2424{
25+ public function testIsRisky (): void
26+ {
27+ self ::assertFalse ($ this ->fixer ->isRisky ());
28+ }
29+
2530 public function testConfiguration (): void
2631 {
2732 $ options = $ this ->fixer ->getConfigurationDefinition ()->getOptions ();
You can’t perform that action at this time.
0 commit comments