File tree Expand file tree Collapse file tree 2 files changed +17
-4
lines changed Expand file tree Collapse file tree 2 files changed +17
-4
lines changed Original file line number Diff line number Diff line change @@ -19,3 +19,19 @@ _run_task() {
19
19
exit $ok
20
20
}
21
21
export -f _run_task
22
+
23
+ install_property_info_for_version () {
24
+ local php_version=" $1 "
25
+ local min_stability=" $2 "
26
+
27
+ if [ " $php_version " = " 8.2" ]; then
28
+ composer require symfony/property-info:7.1.* symfony/type-info:7.3.*
29
+ elif [ " $php_version " = " 8.3" ]; then
30
+ composer require symfony/property-info:7.2.* symfony/type-info:7.3.*
31
+ elif [ " $php_version " = " 8.4" ] && [ " $min_stability " = " stable" ]; then
32
+ composer require symfony/property-info:7.3.* symfony/type-info:7.3.*
33
+ elif [ " $php_version " = " 8.4" ] && [ " $min_stability " = " dev" ]; then
34
+ composer require symfony/property-info:> =7.3 symfony/type-info:> =7.3
35
+ fi
36
+ }
37
+ export -f install_property_info_for_version
Original file line number Diff line number Diff line change 75
75
'(cd src/{} \
76
76
&& $COMPOSER_MIN_STAB \
77
77
&& $COMPOSER_UP \
78
- && ([ {} = LiveComponent ] && [ \"${{ matrix.php-version }}\" = \"8.2\" ] && composer require symfony/property-info:7.1.* symfony/type-info:7.1.*) \
79
- && ([ {} = LiveComponent ] && [ \"${{ matrix.php-version }}\" = \"8.3\" ] && composer require symfony/property-info:7.2.* symfony/type-info:7.2.*) \
80
- && ([ {} = LiveComponent ] && [ \"${{ matrix.php-version }}\" = \"8.4\" ] && composer require symfony/property-info:7.3.* symfony/type-info:7.3.*) \
81
- && ([ {} = LiveComponent ] && [ \"${{ matrix.php-version }}\" = \"8.4\" ] && [ \"${{ matrix.minimum-stability }}\" = \"dev\" ] && composer require symfony/property-info:>=7.3 symfony/type-info:>=7.3) \
78
+ && if [ {} = LiveComponent ]; then install_property_info_for_version \"${{ matrix.php-version }}\" \"${{ matrix.minimum-stability }}\"; fi \
82
79
&& $PHPUNIT)'"
83
80
84
81
js :
You can’t perform that action at this time.
0 commit comments