From e875fd01e0ea04809f79723f5f87cedb887b54f0 Mon Sep 17 00:00:00 2001 From: Michael Moravec Date: Wed, 20 Feb 2019 05:30:48 +0100 Subject: [PATCH] Drop HHVM relics --- .scrutinizer.yml | 4 ---- README.md | 1 - tests/DoctrineTest/InstantiatorTest/InstantiatorTest.php | 8 -------- 3 files changed, 13 deletions(-) diff --git a/.scrutinizer.yml b/.scrutinizer.yml index aad5e40..c019a34 100644 --- a/.scrutinizer.yml +++ b/.scrutinizer.yml @@ -39,8 +39,4 @@ tools: enabled: true filter: paths: ["src/*", "tests/*"] - php_hhvm: - enabled: true - filter: - paths: ["src/*", "tests/*"] sensiolabs_security_checker: true diff --git a/README.md b/README.md index b66064b..eff5a0c 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,6 @@ This library provides a way of avoiding usage of constructors when instantiating [![Code Coverage](https://scrutinizer-ci.com/g/doctrine/instantiator/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/doctrine/instantiator/?branch=master) [![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/doctrine/instantiator/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/doctrine/instantiator/?branch=master) [![Dependency Status](https://www.versioneye.com/package/php--doctrine--instantiator/badge.svg)](https://www.versioneye.com/package/php--doctrine--instantiator) -[![HHVM Status](http://hhvm.h4cc.de/badge/doctrine/instantiator.png)](http://hhvm.h4cc.de/package/doctrine/instantiator) [![Latest Stable Version](https://poser.pugx.org/doctrine/instantiator/v/stable.png)](https://packagist.org/packages/doctrine/instantiator) [![Latest Unstable Version](https://poser.pugx.org/doctrine/instantiator/v/unstable.png)](https://packagist.org/packages/doctrine/instantiator) diff --git a/tests/DoctrineTest/InstantiatorTest/InstantiatorTest.php b/tests/DoctrineTest/InstantiatorTest/InstantiatorTest.php index 7096205..7bc61d2 100644 --- a/tests/DoctrineTest/InstantiatorTest/InstantiatorTest.php +++ b/tests/DoctrineTest/InstantiatorTest/InstantiatorTest.php @@ -24,7 +24,6 @@ use PharException; use PHPUnit\Framework\TestCase; use stdClass; -use function defined; use function str_replace; use function uniqid; @@ -70,13 +69,6 @@ public function testInstantiatesSeparateInstances(string $className) : void public function testExceptionOnUnSerializationException() : void { - if (defined('HHVM_VERSION')) { - $this->markTestSkipped( - 'As of facebook/hhvm#3432, HHVM has no PDORow, and therefore ' - . ' no internal final classes that cannot be instantiated' - ); - } - $this->expectException(UnexpectedValueException::class); $this->instantiator->instantiate(PDORow::class);