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

FriendsOfPHP / PHP-CS-Fixer / 13853 / 8
82%
master: 93%

Build:
Build:
LAST BUILD BRANCH: phpdocAlignFixer
DEFAULT BRANCH: master
Ran 10 Feb 2018 05:01PM UTC
Files 283
Run time 13s
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

10 Feb 2018 05:01PM UTC coverage: 79.83% (-0.002%) from 79.832%
COLLECT_COVERAGE=1 SYMFONY_DEPRECATIONS_HELPER=weak

push

travis-ci

keradus
minor #3484 Create Tokens::findBlockStart (ntzm)

This PR was squashed before being merged into the 2.2 branch (closes #3484).

Discussion
----------

Create Tokens::findBlockStart

Having `findBlockEnd` with a boolean flag to invert the behaviour is very confusing, makes the code harder to read. I propose we add a new `findBlockStart` method that replicates this behaviour in a more readable way.

Am I right in thinking I should target 2.2 with this, ~as this is an internal class~ it should be OK to add new features on patch releases?

Commits
-------

a2d22e36 Create Tokens::findBlockStart

7496 of 9390 relevant lines covered (79.83%)

25.72 hits per line

Source Files on job 13853.8 (COLLECT_COVERAGE=1 SYMFONY_DEPRECATIONS_HELPER=weak)
  • Tree
  • List 0
  • Changed 11
  • Source Changed 11
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 13853
  • Travis Job 13853.8
  • 4ced8cbe on github
  • Prev Job for COLLECT_COVERAGE=1 SYMFONY_DEPRECATIONS_HELPER=weak on 2.2 (#13852.8)
  • Next Job for COLLECT_COVERAGE=1 SYMFONY_DEPRECATIONS_HELPER=weak on 2.2 (#13855.8)
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