Skip to content

Commit

Permalink
Merge pull request #32 from laminas/renovate/lock-file-maintenance
Browse files Browse the repository at this point in the history
Lock file maintenance
  • Loading branch information
gsteel authored Jan 15, 2024
2 parents c962f66 + 6aa22d4 commit ea39c22
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 38 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@
"laminas/laminas-config-aggregator": "^1.14",
"laminas/laminas-servicemanager": "^3.22.1",
"maglnet/composer-require-checker": "^4.7.1",
"phpunit/phpunit": "^10.4.2",
"phpunit/phpunit": "^10.5.7",
"psalm/plugin-phpunit": "^0.18.4",
"vimeo/psalm": "^5.15"
"vimeo/psalm": "^5.19"
},
"autoload": {
"psr-4": {
Expand Down
64 changes: 32 additions & 32 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 3 additions & 4 deletions test/Form/FormIntegrationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
use Laminas\Form\Element\Text;
use Laminas\Form\Form;
use Laminas\Form\FormElementManager;
use Laminas\Form\FormInterface;
use Laminas\I18n\PhoneNumber\Form\Element\PhoneNumber;
use Laminas\I18n\PhoneNumber\PhoneNumberValue;
use Laminas\I18n\PhoneNumber\Test\NumberGeneratorTrait;
Expand All @@ -33,9 +34,7 @@ protected function setUp(): void
$formElements = $this->container->get(FormElementManager::class);
/** @psalm-suppress RedundantCondition */
assert($formElements instanceof FormElementManager);
$form = $formElements->get(Form::class);
assert($form instanceof Form);
$this->form = $form;
$this->form = $formElements->get(Form::class);
$this->formElements = $formElements;
}

Expand Down Expand Up @@ -228,7 +227,7 @@ public function testAllowableTypesAsAConstructorOptionCanBeUsedToLimitValidNumbe
);

$form = $this->formElements->get(Form::class);
assert($form instanceof Form);
assert($form instanceof FormInterface);
$form->add($element, ['name' => 'num']);

$form->setData(['num' => '999']);
Expand Down

0 comments on commit ea39c22

Please sign in to comment.