Skip to content

Commit

Permalink
Update to Symfony 3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikMinekus committed Jun 12, 2018
1 parent 56b932e commit 7e5e224
Show file tree
Hide file tree
Showing 5 changed files with 1,172 additions and 470 deletions.
13 changes: 8 additions & 5 deletions web/bin/symfony_requirements
Expand Up @@ -22,7 +22,6 @@ echo '> Checking Symfony requirements:'.PHP_EOL.' ';

$messages = array();
foreach ($symfonyRequirements->getRequirements() as $req) {
/** @var $req Requirement */
if ($helpText = get_error_message($req, $lineSize)) {
echo_style('red', 'E');
$messages['error'][] = $helpText;
Expand Down Expand Up @@ -121,10 +120,14 @@ function echo_block($style, $title, $message)

echo PHP_EOL.PHP_EOL;

echo_style($style, str_repeat(' ', $width).PHP_EOL);
echo_style($style, str_pad(' ['.$title.']', $width, ' ', STR_PAD_RIGHT).PHP_EOL);
echo_style($style, str_pad($message, $width, ' ', STR_PAD_RIGHT).PHP_EOL);
echo_style($style, str_repeat(' ', $width).PHP_EOL);
echo_style($style, str_repeat(' ', $width));
echo PHP_EOL;
echo_style($style, str_pad(' ['.$title.']', $width, ' ', STR_PAD_RIGHT));
echo PHP_EOL;
echo_style($style, $message);
echo PHP_EOL;
echo_style($style, str_repeat(' ', $width));
echo PHP_EOL;
}

function has_color_support()
Expand Down
7 changes: 3 additions & 4 deletions web/composer.json
@@ -1,8 +1,7 @@
{
"name": "symfony/framework-standard-edition",
"license": "MIT",
"name": "sourcebans",
"license": "proprietary",
"type": "project",
"description": "The \"Symfony Standard Edition\" distribution",
"autoload": {
"psr-4": {
"": "src/"
Expand All @@ -19,7 +18,7 @@
},
"require": {
"php": ">=5.5.9",
"symfony/symfony": "3.1.*",
"symfony/symfony": "3.4.*",
"doctrine/orm": "^2.5",
"doctrine/doctrine-bundle": "^1.6",
"doctrine/doctrine-cache-bundle": "^1.2",
Expand Down

0 comments on commit 7e5e224

Please sign in to comment.