Skip to content

Commit

Permalink
Remove HHVM references since it dropped support for php.
Browse files Browse the repository at this point in the history
  • Loading branch information
othercorey committed Apr 30, 2020
1 parent 5dc2ec1 commit 6202849
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
2 changes: 0 additions & 2 deletions README.md
Expand Up @@ -46,8 +46,6 @@ A minor but still noticeable difference is that `Chronos` has no external depend
Finally, Chronos is faster than Carbon as it has been optimized for the creation of hundreds of instances with minimal
overhead.

Chronos also strives for HHVM compatibility, this library can be used safely with HHVM 3.11.

# Migrating from Carbon


Expand Down
5 changes: 0 additions & 5 deletions src/Traits/DifferenceTrait.php
Expand Up @@ -140,11 +140,6 @@ public function diffFiltered(
$end = $dt ?? static::now($this->tz);
$inverse = false;

if (defined('HHVM_VERSION')) {
$start = new DateTimeImmutable($this->toIso8601String());
$end = new DateTimeImmutable($end->toIso8601String());
}

if ($end < $start) {
$start = $end;
$end = $this;
Expand Down

0 comments on commit 6202849

Please sign in to comment.