diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8d8259b..3231827 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,9 +9,9 @@ jobs: strategy: fail-fast: false matrix: - php: [8.1] + php: [8.1, 8.2, 8.3] steps: - - name: Setup PHP + - name: Setup PHP ${{ matrix.php }} uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php }} diff --git a/src/Form/Form.php b/src/Form/Form.php index 03d5242..050b883 100644 --- a/src/Form/Form.php +++ b/src/Form/Form.php @@ -969,8 +969,6 @@ public function __construct($model, $value, $field, $name) $this->field = $field; $this->inputName = $name; $this->activeRecord = $model; // BC - - parent::__construct(); } public function getCurrentRecord(int|string|null $id = null, string|null $table = null): array|null diff --git a/tests/StringParserTest.php b/tests/StringParserTest.php index 3341a75..700dfe9 100644 --- a/tests/StringParserTest.php +++ b/tests/StringParserTest.php @@ -83,8 +83,8 @@ public function flattenDataProvider() 'foo', [], [ - 'foo_bar' => 'baz', 'foo_bar_baz' => '1', + 'foo_bar' => 'baz', 'foo' => '', ], ],