From be45fed71704876fd563403101ca4536f99b661f Mon Sep 17 00:00:00 2001 From: riki137 Date: Tue, 22 Oct 2024 15:41:11 +0200 Subject: [PATCH] ci fix --- .github/workflows/composer.yml | 2 +- .github/workflows/extensions_finder.yml | 2 +- src/DataType/TextDataType.php | 2 +- tests/Event/EventTest.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/composer.yml b/.github/workflows/composer.yml index 3ec69c1..8b8b932 100644 --- a/.github/workflows/composer.yml +++ b/.github/workflows/composer.yml @@ -29,4 +29,4 @@ jobs: run: composer update --no-progress --no-interaction - name: Composer outdated - run: composer outdated -D --strict + run: composer outdated -D --strict --ignore=phpunit/phpunit diff --git a/.github/workflows/extensions_finder.yml b/.github/workflows/extensions_finder.yml index ca33e53..a85e564 100644 --- a/.github/workflows/extensions_finder.yml +++ b/.github/workflows/extensions_finder.yml @@ -24,7 +24,7 @@ jobs: run: composer update --no-progress --no-interaction - name: Install PHP extensions finder as dev dependency - run: composer require efabrica/php-extensions-finder --dev + run: composer require -W efabrica/php-extensions-finder --dev - name: PHP extensions finder run: vendor/bin/php-extensions-finder check src tests diff --git a/src/DataType/TextDataType.php b/src/DataType/TextDataType.php index 54b28f8..7fc6b65 100644 --- a/src/DataType/TextDataType.php +++ b/src/DataType/TextDataType.php @@ -10,6 +10,6 @@ class TextDataType extends AbstractDataType public function populate(Column $column): string { - return $this->faker->realTextBetween(1, mt_rand(10, $this->max)); + return $this->faker->realTextBetween(10, $this->max); } } diff --git a/tests/Event/EventTest.php b/tests/Event/EventTest.php index 85071f0..ea2930b 100644 --- a/tests/Event/EventTest.php +++ b/tests/Event/EventTest.php @@ -17,7 +17,7 @@ abstract class EventTest extends TestCase { protected function createInput(): InputInterface { - if (PHP_VERSION_ID < 80300) { + if (PHP_VERSION_ID < 80200) { return require __DIR__ . '/NullInputSymfony6.php'; } return require __DIR__ . '/NullInputSymfony7.php';