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

FriendsOfPHP / PHP-CS-Fixer / 4976 / 1
90%
master: 93%

Build:
Build:
LAST BUILD BRANCH: phpdocAlignFixer
DEFAULT BRANCH: master
Ran 28 Dec 2015 10:08PM UTC
Files 147
Run time 4s
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

28 Dec 2015 09:51PM UTC coverage: 86.256% (+0.02%) from 86.234%
COMPOSER_FLAGS="--prefer-stable --prefer-lowest"

push

travis-ci

keradus
feature #1610 HashToSlashCommentFixer - Add (SpacePossum)

This PR was merged into the 1.12 branch.

Discussion
----------

HashToSlashCommentFixer - Add

Just a little fixer from my collection I think others might want to use once in a while (so on contrib level).
It changes single line comments starting with `#` to starting with `\\`.
PHP handles those the same so changing those should not be a problem.
For example

```php
<h1>This is an <?php #echo 123;?> example</h1>
```
to
```php
<h1>This is an <?php //echo 123;?> example</h1>
```

```php
<?php
    # test
```
to
```php
<?php
    // test
```

Commits
-------

4994b61 Add HashToSlashCommentFixer.

4368 of 5064 relevant lines covered (86.26%)

82.6 hits per line

Source Files on job 4976.1 (COMPOSER_FLAGS="--prefer-stable --prefer-lowest")
  • Tree
  • List 0
  • Changed 13
  • Source Changed 1
  • Coverage Changed 12
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 4976
  • Travis Job 4976.1
  • 4b5e0497 on github
  • Prev Job for COMPOSER_FLAGS="--prefer-stable --prefer-lowest" on 1.12 (#4974.1)
  • Next Job for COMPOSER_FLAGS="--prefer-stable --prefer-lowest" on 1.12 (#5010.1)
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