Skip to content

Commit 6dd4fc2

Browse files
jmschejmsche
authored andcommitted
Upgrade some dev requirements
1 parent 7d0a6b0 commit 6dd4fc2

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@
3131
"twig/twig": "^3.0"
3232
},
3333
"require-dev": {
34-
"friendsofphp/php-cs-fixer": "^3.3.2",
35-
"phpstan/phpstan": "^1.6.8",
36-
"phpstan/phpstan-deprecation-rules": "^1.0.0",
37-
"phpunit/phpunit": "^9.5.10",
34+
"friendsofphp/php-cs-fixer": "^3.49.0",
35+
"phpstan/phpstan": "^1.10.57",
36+
"phpstan/phpstan-deprecation-rules": "^1.1.4",
37+
"phpunit/phpunit": "^9.6.16",
3838
"symfony/css-selector": "^5.4 || ^6.0",
3939
"symfony/dom-crawler": "^5.4 || ^6.0",
4040
"symfony/yaml": "^5.4 || ^6.0"

src/DependencyInjection/LeaptFroalaEditorExtension.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ private function loadConfig(ContainerBuilder $container, array $arrConfig): void
2727
{
2828
// Load defined options in config file.
2929
foreach (UConfiguration::getArrOptionAll() as $option) {
30-
if (false === empty($arrConfig[$option]) ||
31-
false === $arrConfig[$option] ||
32-
0 === $arrConfig[$option]
30+
if (false === empty($arrConfig[$option])
31+
|| false === $arrConfig[$option]
32+
|| 0 === $arrConfig[$option]
3333
) {
3434
$container->setParameter(Configuration::NODE_ROOT . '.' . $option, $arrConfig[$option]);
3535
}
@@ -40,9 +40,9 @@ private function loadConfig(ContainerBuilder $container, array $arrConfig): void
4040
foreach ($arrConfig['profiles'] as $key => $profile) {
4141
$parameterProfiles[$key] = [];
4242
foreach ($profile as $optionKey => $optionValue) {
43-
if (false === empty($optionValue) ||
44-
false === $optionValue ||
45-
0 === $optionValue
43+
if (false === empty($optionValue)
44+
|| false === $optionValue
45+
|| 0 === $optionValue
4646
) {
4747
$parameterProfiles[$key][$optionKey] = $optionValue;
4848
}

0 commit comments

Comments
 (0)