From caf1956c477c2b3a3d0928b9df96ca9c2da8cb7c Mon Sep 17 00:00:00 2001 From: Ernesto Baschny Date: Thu, 14 Sep 2023 17:38:05 +0200 Subject: [PATCH 1/2] Fix github workflow (do not composer install too early) --- .github/workflows/tests.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index dafb365..5a60672 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -42,9 +42,6 @@ jobs: extensions: intl, mbstring, pdo, pdo_sqlite, sqlite3, zip tools: composer:v2 - - name: Install Composer Dependencies - run: composer install - - name: Set TYPO3 Version run: composer require typo3/cms-core=${{ matrix.typo3-version }} From ab69a82fd27c6a78df3356dcd906d90d60f7feb5 Mon Sep 17 00:00:00 2001 From: Ernesto Baschny Date: Thu, 14 Sep 2023 17:38:15 +0200 Subject: [PATCH 2/2] Fix PHP 8 warning in new code --- Classes/Generator/Runner.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Classes/Generator/Runner.php b/Classes/Generator/Runner.php index f49983c..f35eca1 100644 --- a/Classes/Generator/Runner.php +++ b/Classes/Generator/Runner.php @@ -89,7 +89,7 @@ protected function getFakerFields() } // Workaround so DataHandler doesn't set crdate to $GLOBALS['EXEC_TIME'] - if ($GLOBALS['TCA'][$this->table]['ctrl']['crdate'] && + if (isset($GLOBALS['TCA'][$this->table]['ctrl']['crdate']) && $GLOBALS['TCA'][$this->table]['ctrl']['crdate'] == $name) { unset($GLOBALS['TCA'][$this->table]['ctrl']['crdate']); } @@ -97,4 +97,4 @@ protected function getFakerFields() return $fields; } -} \ No newline at end of file +}