Skip to content

Commit

Permalink
Merge pull request #57 from phpwutz/master
Browse files Browse the repository at this point in the history
PHP8 Compatibility
  • Loading branch information
nacmartin authored Feb 28, 2023
2 parents f45af09 + 2882846 commit 2949bef
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ php:
- 7.2
- 7.3
- 7.4
- 8.0

before_install:
- composer self-update
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion src/Limenius/Liform/Transformer/AbstractTransformer.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 2949bef

Please sign in to comment.