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

slimphp / Slim / 2420
98%

Build:
DEFAULT BRANCH: 3.x
Ran 21 Sep 2017 07:15AM UTC
Jobs 1
Files 45
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

pending completion
2420

push

travis-ci

akrabat
Track only the stack tip in MiddlewareAwareTrait

As the stack is stored recursively in
the closure of the stack tip,
there is no need to hold an explicit reference
to all middlewares on the stack.

The \SplStack data structure was actually unused
in runtime code, it was only used to fetch the
tip of the stack and to check stack interity in tests.

That means those tests have to change, as the
middlewares now need to be executed, to be able to check whether
the stack has been built correctly.
An advantage of these changes is that the tests
now actually test the recursive closure stack structure, not
the unusued linked-list structure of \SplStack.

TODO: variable naming: Is "tip" too generic? But stackTip/stackTop sounds
clumsy..

1572 of 1687 relevant lines covered (93.18%)

32.78 hits per line

Jobs
ID Job ID Ran Files Coverage
2 2420.2 21 Sep 2017 07:14AM UTC 0
93.18
Travis Job 2420.2
Source Files on build 2420
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2420
  • a08b779d on github
  • Prev Build on 3.x (#2406)
  • Next Build on 3.x (#2422)
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