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

krixon / rules / 59
99%

Build:
DEFAULT BRANCH: master
Ran 21 Jul 2019 03:29PM UTC
Jobs 4
Files 35
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
59

push

travis-ci

krixon
Throw a compiler error for unsupported comparison types (#4)

Most comparison types are assumed to be compatible with any type of
literal since it is up to the specification generator to interpret
the comparison.

However some types of comparison can never make logical
sense; specifically relative comparisons such as greater-than and
less-than which do not make sense with boolean operands. It does not
make sense to say that something is greater than true or less than
false for example. Therefore this commit causes a CompilerError to
be thrown when boolean literals are compared using any operator other
than equals.

In future this can be extended if any other illogical comparisons
should be prevented.

Additionally, this commit upgrades PHPUnit to version 8.2 and makes
the necessary fixes to tests.

636 of 636 relevant lines covered (100.0%)

115.31 hits per line

Jobs
ID Job ID Ran Files Coverage
2 59.2 (DEPENDENCIES=standard) 21 Jul 2019 03:29PM UTC 0
100.0
Travis Job 59.2
3 59.3 (DEPENDENCIES=standard) 21 Jul 2019 03:29PM UTC 0
100.0
Travis Job 59.3
8 59.8 (DEPENDENCIES=highest) 21 Jul 2019 03:31PM UTC 0
100.0
Travis Job 59.8
9 59.9 (DEPENDENCIES=highest) 21 Jul 2019 03:31PM UTC 0
100.0
Travis Job 59.9
Source Files on build 59
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #59
  • 56d2b5d0 on github
  • Prev Build on master (#58)
  • Next Build on master (#64)
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