diff --git a/.travis.yml b/.travis.yml index a69f692..ad8d6be 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,6 +10,7 @@ php: - 7.2 - 7.3 - 7.4 + - 8.0 before_install: - composer self-update diff --git a/composer.json b/composer.json index 309239b..928eac5 100644 --- a/composer.json +++ b/composer.json @@ -20,14 +20,14 @@ } }, "require": { - "php": "^7.2.5", + "php": "^7.2.5|^8.0", "symfony/form": "^4.4|^5.0", "symfony/translation": "^4.4|^5.0", "symfony/serializer": "^4.4|^5.0", "symfony/contracts": "^1.0|^2.1" }, "require-dev": { - "dealerdirect/phpcodesniffer-composer-installer": "^0.6.2", + "dealerdirect/phpcodesniffer-composer-installer": "^v0.7.1", "escapestudios/symfony2-coding-standard": "^3.0", "phpunit/phpunit": "^8.0", "phpcompatibility/php-compatibility": "^9.3" diff --git a/src/Limenius/Liform/Transformer/AbstractTransformer.php b/src/Limenius/Liform/Transformer/AbstractTransformer.php index cf812d9..041ba5e 100644 --- a/src/Limenius/Liform/Transformer/AbstractTransformer.php +++ b/src/Limenius/Liform/Transformer/AbstractTransformer.php @@ -75,7 +75,7 @@ protected function applyExtensions(array $extensions, FormInterface $form, array * * @return array */ - protected function addCommonSpecs(FormInterface $form, array $schema, $extensions = [], $widget) + protected function addCommonSpecs(FormInterface $form, array $schema, $extensions = [], $widget = null) { $schema = $this->addLabel($form, $schema); $schema = $this->addAttr($form, $schema);