diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index b34ca20..13bb062 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -54,11 +54,6 @@ jobs: - name: "Install dependencies (Composer)" uses: "ramsey/composer-install@v1" - - name: "Setup PCOV" - run: | - composer require pcov/clobber - vendor/bin/pcov clobber - - name: "Run unit tests (PHPUnit)" run: "./vendor/bin/phpunit --verbose --colors=always --coverage-text --coverage-clover build/logs/clover.xml" @@ -86,9 +81,9 @@ jobs: experimental: - false include: - - php-version: "8.1" - experimental: true - composer-options: "--ignore-platform-req=php" + #- php-version: "8.1" + # experimental: true + # composer-options: "--ignore-platform-req=php" - php-version: "5.4" extensions: ", libsodium-1.0.7, uuid-1.0.4" - php-version: "5.5" diff --git a/tests/Codec/GuidStringCodecTest.php b/tests/Codec/GuidStringCodecTest.php index feb80b9..a201457 100644 --- a/tests/Codec/GuidStringCodecTest.php +++ b/tests/Codec/GuidStringCodecTest.php @@ -22,7 +22,7 @@ class GuidStringCodecTest extends TestCase /** @var array */ private $fields; - protected function set_up() + protected function set_up() // phpcs:ignore { parent::set_up(); $this->builder = $this->getMockBuilder('Ramsey\Uuid\Builder\UuidBuilderInterface')->getMock(); @@ -35,7 +35,7 @@ class GuidStringCodecTest extends TestCase 'node' => '1234abcd4321']; } - protected function tear_down() + protected function tear_down() // phpcs:ignore { parent::tear_down(); $this->builder = null; diff --git a/tests/Codec/OrderedTimeCodecTest.php b/tests/Codec/OrderedTimeCodecTest.php index 9fe51fb..6fd928e 100644 --- a/tests/Codec/OrderedTimeCodecTest.php +++ b/tests/Codec/OrderedTimeCodecTest.php @@ -26,7 +26,7 @@ class OrderedTimeCodecTest extends TestCase /** @var string */ private $optimizedHex = '11d8eebc58e0a7d796690800200c9a66'; - protected function set_up() + protected function set_up() // phpcs:ignore { parent::set_up(); $this->builder = $this->getMockBuilder('Ramsey\Uuid\Builder\UuidBuilderInterface')->getMock(); @@ -39,7 +39,7 @@ class OrderedTimeCodecTest extends TestCase 'node' => '0800200c9a66']; } - protected function tear_down() + protected function tear_down() // phpcs:ignore { parent::tear_down(); $this->builder = null; diff --git a/tests/Codec/StringCodecTest.php b/tests/Codec/StringCodecTest.php index a510191..8e5b9cf 100644 --- a/tests/Codec/StringCodecTest.php +++ b/tests/Codec/StringCodecTest.php @@ -24,7 +24,7 @@ class StringCodecTest extends TestCase /** @var string */ private $uuidString = '12345678-1234-abcd-abef-1234abcd4321'; - protected function set_up() + protected function set_up() // phpcs:ignore { parent::set_up(); $this->builder = $this->getMockBuilder('Ramsey\Uuid\Builder\UuidBuilderInterface')->getMock(); @@ -37,7 +37,7 @@ class StringCodecTest extends TestCase 'node' => '1234abcd4321']; } - protected function tear_down() + protected function tear_down() // phpcs:ignore { parent::tear_down(); $this->builder = null; diff --git a/tests/Encoder/TimestampFirstCombCodecTest.php b/tests/Encoder/TimestampFirstCombCodecTest.php index 911cf21..25d5cf4 100644 --- a/tests/Encoder/TimestampFirstCombCodecTest.php +++ b/tests/Encoder/TimestampFirstCombCodecTest.php @@ -18,7 +18,7 @@ class TimestampFirstCombCodecTest extends TestCase */ private $builderMock; - protected function set_up() + protected function set_up() // phpcs:ignore { parent::set_up(); $this->builderMock = $this->getMockBuilder('Ramsey\Uuid\Builder\UuidBuilderInterface')->getMock(); diff --git a/tests/Encoder/TimestampLastCombCodecTest.php b/tests/Encoder/TimestampLastCombCodecTest.php index 7952a0a..f1801b9 100644 --- a/tests/Encoder/TimestampLastCombCodecTest.php +++ b/tests/Encoder/TimestampLastCombCodecTest.php @@ -18,7 +18,7 @@ class TimestampLastCombCodecTest extends TestCase */ private $builderMock; - protected function set_up() + protected function set_up() // phpcs:ignore { parent::set_up(); $this->builderMock = $this->getMockBuilder('Ramsey\Uuid\Builder\UuidBuilderInterface')->getMock(); diff --git a/tests/Generator/DefaultTimeGeneratorTest.php b/tests/Generator/DefaultTimeGeneratorTest.php index 51affa0..91521f0 100644 --- a/tests/Generator/DefaultTimeGeneratorTest.php +++ b/tests/Generator/DefaultTimeGeneratorTest.php @@ -27,7 +27,7 @@ class DefaultTimeGeneratorTest extends TestCase /** @var int */ private $clockSeq = 4066; - protected function set_up() + protected function set_up() // phpcs:ignore { parent::set_up(); $this->timeProvider = $this->getMockBuilder('Ramsey\Uuid\Provider\TimeProviderInterface')->getMock(); @@ -37,7 +37,7 @@ class DefaultTimeGeneratorTest extends TestCase $this->calculatedTime = ["low" => "83cb98e0", "mid" => "98e0", "hi" => "03cb"]; } - protected function tear_down() + protected function tear_down() // phpcs:ignore { parent::tear_down(); $this->timeProvider = null; diff --git a/tests/TestCase.php b/tests/TestCase.php index e268c54..9131266 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -7,7 +7,7 @@ use Yoast\PHPUnitPolyfills\TestCases\TestCase as YoastTestCase; class TestCase extends YoastTestCase { - protected function tear_down() + protected function tear_down() // phpcs:ignore { parent::tear_down(); diff --git a/tests/UuidTest.php b/tests/UuidTest.php index f8085ed..65594d4 100644 --- a/tests/UuidTest.php +++ b/tests/UuidTest.php @@ -14,7 +14,7 @@ use stdClass; class UuidTest extends TestCase { - protected function set_up() + protected function set_up() // phpcs:ignore { parent::set_up(); Uuid::setFactory(new UuidFactory());