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

krixon / rules / 59 / 9
99%
master: 99%

Build:
DEFAULT BRANCH: master
Ran 21 Jul 2019 03:31PM UTC
Files 35
Run time 1s
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

21 Jul 2019 03:28PM UTC coverage: 100.0%. Remained the same
DEPENDENCIES=highest

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%)

28.83 hits per line

Source Files on job 59.9 (DEPENDENCIES=highest)
  • Tree
  • List 0
  • Changed 17
  • Source Changed 10
  • Coverage Changed 17
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 52
  • Travis Job 59.9
  • 56d2b5d0 on github
  • Prev Job for DEPENDENCIES=highest on master (#58.7)
  • Next Job for DEPENDENCIES=highest on master (#64.5)
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