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

hoaproject / Ruler / 52
97%

Build:
DEFAULT BRANCH: master
Ran 25 Jun 2018 09:38AM UTC
Jobs 6
Files 16
Run time 1min
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
52

Pull #121

travis-ci

web-flow
Enhanced Context to access offsets as object properties.

This commit enhances Context behavior so the following context

```php
$context = new Context();
$context['user'] = new Context([
   'activityIndex' => function () use ($activityCalculator) {
       // Takes a lot of time to calculate
       return $activityCalculator($user);
   }
]);
```

Can be accessed with either an array

```php
user['activityIndex'] > 20
```

or an object syntax

```php
user.activityIndex > 20
```
Pull Request #121: Enhanced Context to access offsets as object properties.

524 of 538 relevant lines covered (97.4%)

0.97 hits per line

Jobs
ID Job ID Ran Files Coverage
1 52.1 25 Jun 2018 09:39AM UTC 0
Travis Job 52.1
2 52.2 25 Jun 2018 09:39AM UTC 0
Travis Job 52.2
3 52.3 25 Jun 2018 09:38AM UTC 0
Travis Job 52.3
4 52.4 (ENABLE_XDEBUG=true) 25 Jun 2018 09:40AM UTC 0
97.4
Travis Job 52.4
5 52.5 (ENABLE_DEVTOOLS=true) 25 Jun 2018 09:39AM UTC 0
Travis Job 52.5
6 52.6 25 Jun 2018 09:40AM UTC 0
Travis Job 52.6
Source Files on build 52
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #52
  • Pull Request #121
  • PR Base - master (#51)
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

© 2025 Coveralls, Inc