Merge remote-tracking branch 'jakubboucek/feature/jb-platform-check-tigger-error'
commit
ec960d12b0
|
@ -735,8 +735,10 @@ EXT_CHECKS;
|
|||
\$issues = array();
|
||||
${requiredPhp}${requiredExtensions}
|
||||
if (\$issues) {
|
||||
echo 'Composer detected issues in your platform:' . "\\n\\n" . implode("\\n", \$issues) . "\\n\\n";
|
||||
exit(104);
|
||||
trigger_error(
|
||||
'Composer detected issues in your platform: ' . implode(', ', \$issues),
|
||||
E_USER_ERROR
|
||||
);
|
||||
}
|
||||
|
||||
PLATFORM_CHECK;
|
||||
|
|
|
@ -9,6 +9,8 @@ if (!(PHP_VERSION_ID >= 70200)) {
|
|||
}
|
||||
|
||||
if ($issues) {
|
||||
echo 'Composer detected issues in your platform:' . "\n\n" . implode("\n", $issues) . "\n\n";
|
||||
exit(104);
|
||||
trigger_error(
|
||||
'Composer detected issues in your platform: ' . implode(', ', $issues),
|
||||
E_USER_ERROR
|
||||
);
|
||||
}
|
||||
|
|
|
@ -13,6 +13,8 @@ if ($missingExtensions) {
|
|||
}
|
||||
|
||||
if ($issues) {
|
||||
echo 'Composer detected issues in your platform:' . "\n\n" . implode("\n", $issues) . "\n\n";
|
||||
exit(104);
|
||||
trigger_error(
|
||||
'Composer detected issues in your platform: ' . implode(', ', $issues),
|
||||
E_USER_ERROR
|
||||
);
|
||||
}
|
||||
|
|
|
@ -9,6 +9,8 @@ if (!(PHP_VERSION_ID >= 70200)) {
|
|||
}
|
||||
|
||||
if ($issues) {
|
||||
echo 'Composer detected issues in your platform:' . "\n\n" . implode("\n", $issues) . "\n\n";
|
||||
exit(104);
|
||||
trigger_error(
|
||||
'Composer detected issues in your platform: ' . implode(', ', $issues),
|
||||
E_USER_ERROR
|
||||
);
|
||||
}
|
||||
|
|
|
@ -12,6 +12,8 @@ if ($missingExtensions) {
|
|||
}
|
||||
|
||||
if ($issues) {
|
||||
echo 'Composer detected issues in your platform:' . "\n\n" . implode("\n", $issues) . "\n\n";
|
||||
exit(104);
|
||||
trigger_error(
|
||||
'Composer detected issues in your platform: ' . implode(', ', $issues),
|
||||
E_USER_ERROR
|
||||
);
|
||||
}
|
||||
|
|
|
@ -9,6 +9,8 @@ if (!(PHP_VERSION_ID >= 70208)) {
|
|||
}
|
||||
|
||||
if ($issues) {
|
||||
echo 'Composer detected issues in your platform:' . "\n\n" . implode("\n", $issues) . "\n\n";
|
||||
exit(104);
|
||||
trigger_error(
|
||||
'Composer detected issues in your platform: ' . implode(', ', $issues),
|
||||
E_USER_ERROR
|
||||
);
|
||||
}
|
||||
|
|
|
@ -17,6 +17,8 @@ if ($missingExtensions) {
|
|||
}
|
||||
|
||||
if ($issues) {
|
||||
echo 'Composer detected issues in your platform:' . "\n\n" . implode("\n", $issues) . "\n\n";
|
||||
exit(104);
|
||||
trigger_error(
|
||||
'Composer detected issues in your platform: ' . implode(', ', $issues),
|
||||
E_USER_ERROR
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue