-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
4.2.0 MOLIM-110 image upgrade (#194)
* image upgrade added * Apply php-cs-fixer changes * phpstan unlink error fixed * Apply php-cs-fixer changes * annotations added * Apply php-cs-fixer changes * annotations fixed * Apply php-cs-fixer changes Co-authored-by: lukas <[email protected]> Co-authored-by: lukvai <[email protected]>
- Loading branch information
1 parent
63c527a
commit dcda5c1
Showing
14 changed files
with
89 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,8 +37,8 @@ | |
* | ||
* @author Fabien Potencier <[email protected]> | ||
* @author Jordi Boggiano <[email protected]> | ||
* @see http://www.php-fig.org/psr/psr-0/ | ||
* @see http://www.php-fig.org/psr/psr-4/ | ||
* @see https://www.php-fig.org/psr/psr-0/ | ||
* @see https://www.php-fig.org/psr/psr-4/ | ||
*/ | ||
class ClassLoader | ||
{ | ||
|
@@ -60,7 +60,7 @@ class ClassLoader | |
public function getPrefixes() | ||
{ | ||
if (!empty($this->prefixesPsr0)) { | ||
return call_user_func_array('array_merge', $this->prefixesPsr0); | ||
return call_user_func_array('array_merge', array_values($this->prefixesPsr0)); | ||
} | ||
|
||
return array(); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,26 @@ | ||
<?php | ||
|
||
namespace MolliePrefix; | ||
|
||
// platform_check.php @generated by Composer | ||
|
||
$issues = array(); | ||
if (!(\PHP_VERSION_ID >= 50600)) { | ||
$issues[] = 'Your Composer dependencies require a PHP version ">= 5.6.0". You are running ' . \PHP_VERSION . '.'; | ||
|
||
if (!(PHP_VERSION_ID >= 50600)) { | ||
$issues[] = 'Your Composer dependencies require a PHP version ">= 5.6.0". You are running ' . PHP_VERSION . '.'; | ||
} | ||
|
||
if ($issues) { | ||
if (!\headers_sent()) { | ||
\header('HTTP/1.1 500 Internal Server Error'); | ||
if (!headers_sent()) { | ||
header('HTTP/1.1 500 Internal Server Error'); | ||
} | ||
if (!\ini_get('display_errors')) { | ||
if (\PHP_SAPI === 'cli' || \PHP_SAPI === 'phpdbg') { | ||
\fwrite(\STDERR, 'Composer detected issues in your platform:' . \PHP_EOL . \PHP_EOL . \implode(\PHP_EOL, $issues) . \PHP_EOL . \PHP_EOL); | ||
} elseif (!\headers_sent()) { | ||
echo 'Composer detected issues in your platform:' . \PHP_EOL . \PHP_EOL . \str_replace('You are running ' . \PHP_VERSION . '.', '', \implode(\PHP_EOL, $issues)) . \PHP_EOL . \PHP_EOL; | ||
if (!ini_get('display_errors')) { | ||
if (PHP_SAPI === 'cli' || PHP_SAPI === 'phpdbg') { | ||
fwrite(STDERR, 'Composer detected issues in your platform:' . PHP_EOL.PHP_EOL . implode(PHP_EOL, $issues) . PHP_EOL.PHP_EOL); | ||
} elseif (!headers_sent()) { | ||
echo 'Composer detected issues in your platform:' . PHP_EOL.PHP_EOL . str_replace('You are running '.PHP_VERSION.'.', '', implode(PHP_EOL, $issues)) . PHP_EOL.PHP_EOL; | ||
} | ||
} | ||
\trigger_error('Composer detected issues in your platform: ' . \implode(' ', $issues), \E_USER_ERROR); | ||
trigger_error( | ||
'Composer detected issues in your platform: ' . implode(' ', $issues), | ||
E_USER_ERROR | ||
); | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.