• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

FriendsOfPHP / PHP-CS-Fixer / 5792 / 2
90%
master: 93%

Build:
Build:
LAST BUILD BRANCH: phpdocAlignFixer
DEFAULT BRANCH: master
Ran 12 Mar 2016 08:38PM UTC
Files 163
Run time 5s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

12 Mar 2016 08:31PM UTC coverage: 89.703% (+0.2%) from 89.526%
LINT_TEST_CASES=1

push

travis-ci

keradus
feature #1792 Add PhpUnitDedicateAssertFixer. (SpacePossum)

This PR was squashed before being merged into the 1.12 branch (closes #1792).

Discussion
----------

Add PhpUnitDedicateAssertFixer.

Expected
```
<?php
$this->assertEmpty($a);
$this->assertNotEmpty($a);
$this->assertFileExists($a);
$this->assertFileNotExists($a);
$this->assertNotNull($a);
$this->assertNull($a);
$this->assertNan($a);
$this->assertInternalType('float', $a);
```

Input
```php
<?php
$this->assertTrue(empty($a));
$this->ASSERTFALSE(empty($a));
$this->assertTrue(file_exists($a));
$this->assertFalse(file_exists($a));
$this->assertTrue(is_null($a));
$this->assertFalse(is_null($a));
$this->assertTrue(is_nan($a));
$this->assertTrue(is_real( $a));
```

Commits
-------

d28f19c Add PhpUnitDedicateAssertFixer.

4138 of 4613 relevant lines covered (89.7%)

95.06 hits per line

Source Files on job 5792.2 (LINT_TEST_CASES=1)
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 5792
  • Travis Job 5792.2
  • 965db36a on github
  • Prev Job for LINT_TEST_CASES=1 on 1.12 (#5791.2)
  • Next Job for LINT_TEST_CASES=1 on 1.12 (#5796.2)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc