Skip to content

Commit 06aa7f8

Browse files
committed
iterate
1 parent c4a361b commit 06aa7f8

File tree

1 file changed

+2
-15
lines changed

1 file changed

+2
-15
lines changed

.github/workflows/.utils.sh

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -47,25 +47,12 @@ live_component_post_install() {
4747
fi
4848

4949
if [ "$php_version" = "8.3" ]; then
50-
# Install PropertyInfo 7.2 and TypeInfo 7.2, ensuring they are compatible together in LiveComponent
51-
composer require symfony/property-info:7.2.* symfony/type-info:7.2.*
52-
return $?
53-
fi
54-
55-
if [ "$php_version" = "8.4" ] && [ -z "$symfony_version" ]; then
5650
# Install PropertyInfo 7.3 (deprecate PropertyTypeExtractorInterface::getTypes) and TypeInfo 7.3 (new features and deprecations)
5751
composer require symfony/property-info:7.3.* symfony/type-info:7.3.*
5852
return $?
5953
fi
6054

61-
# Highest PHP version without Symfony version constraint
62-
if [ "$php_version" = "8.5" ]; then
63-
# Install the best TypeInfo version available
64-
composer require symfony/type-info
65-
return $?
66-
fi
67-
68-
echo "No specific PropertyInfo/TypeInfo installation for PHP \"$php_version\" and Symfony \"$symfony_version\""
69-
return 1
55+
# Install the best TypeInfo version available
56+
composer require symfony/type-info
7057
}
7158
export -f live_component_post_install

0 commit comments

Comments
 (0)