Skip to content

Commit 723b3e7

Browse files
author
dmitriy
committed
updated to symfony 4.3
1 parent 0b31aac commit 723b3e7

19 files changed

+1359
-1099
lines changed

.env

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ APP_SECRET=42f011ec3a7bde0bec87364b1d967193
2121
###< symfony/framework-bundle ###
2222

2323
###> doctrine/doctrine-bundle ###
24-
# Format described at http://docs.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url
24+
# Format described at https://www.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url
2525
# For an SQLite database, use: "sqlite:///%kernel.project_dir%/var/data.db"
2626
# Configure your db driver and server_version in config/packages/doctrine.yaml
2727
DATABASE_URL=mysql://root:secret@mysql:3306/symfony

.env.test

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# define your env variables for the test env here
22
APP_ENV=test
33
KERNEL_CLASS='App\Kernel'
4-
APP_SECRET='s$cretf0rt3st'
4+
APP_SECRET='$ecretf0rt3st'
55
APP_DEBUG=0
66
SYMFONY_DEPRECATIONS_HELPER=999999
77
DATABASE_URL=mysql://root:secret@mysql:3306/symfony_testing

bin/console

+4
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ use Symfony\Bundle\FrameworkBundle\Console\Application;
66
use Symfony\Component\Console\Input\ArgvInput;
77
use Symfony\Component\Debug\Debug;
88

9+
if (false === in_array(\PHP_SAPI, ['cli', 'phpdbg', 'embed'], true)) {
10+
echo 'Warning: The console should be invoked via the CLI version of PHP, not the '.\PHP_SAPI.' SAPI'.\PHP_EOL;
11+
}
12+
913
set_time_limit(0);
1014

1115
require dirname(__DIR__).'/vendor/autoload.php';

bin/phpunit

+3-9
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,13 @@
11
#!/usr/bin/env php
22
<?php
33

4-
if (!file_exists(dirname(__DIR__).'/vendor/symfony/phpunit-bridge/bin/simple-phpunit')) {
5-
echo "Unable to find the `simple-phpunit` script in `vendor/symfony/phpunit-bridge/bin/`.\n";
4+
if (!file_exists(dirname(__DIR__).'/vendor/symfony/phpunit-bridge/bin/simple-phpunit.php')) {
5+
echo "Unable to find the `simple-phpunit.php` script in `vendor/symfony/phpunit-bridge/bin/`.\n";
66
exit(1);
77
}
88

9-
if (false === getenv('SYMFONY_PHPUNIT_VERSION')) {
10-
putenv('SYMFONY_PHPUNIT_VERSION=6.5');
11-
}
12-
if (false === getenv('SYMFONY_PHPUNIT_REMOVE')) {
13-
putenv('SYMFONY_PHPUNIT_REMOVE=');
14-
}
159
if (false === getenv('SYMFONY_PHPUNIT_DIR')) {
1610
putenv('SYMFONY_PHPUNIT_DIR='.__DIR__.'/.phpunit');
1711
}
1812

19-
require dirname(__DIR__).'/vendor/symfony/phpunit-bridge/bin/simple-phpunit';
13+
require dirname(__DIR__).'/vendor/symfony/phpunit-bridge/bin/simple-phpunit.php';

composer.json

+28-26
Original file line numberDiff line numberDiff line change
@@ -2,46 +2,48 @@
22
"type": "project",
33
"license": "proprietary",
44
"require": {
5-
"php": "^7.2.0",
5+
"php": "^7.1.3",
66
"ext-ctype": "*",
77
"ext-iconv": "*",
8-
"doctrine/doctrine-fixtures-bundle": "^3.1",
8+
"doctrine/doctrine-fixtures-bundle": "^3.2",
99
"doctrine/doctrine-migrations-bundle": "^2.0",
1010
"jmose/command-scheduler-bundle": "^2.0",
11-
"sensio/framework-extra-bundle": "^5.2",
12-
"sensiolabs/security-checker": "^5.0",
11+
"sensio/framework-extra-bundle": "^5.4",
12+
"sensiolabs/security-checker": "^6.0",
1313
"symfony/amqp-pack": "^1.0",
1414
"symfony/apache-pack": "^1.0",
15-
"symfony/asset": "4.2.*",
16-
"symfony/console": "4.2.*",
17-
"symfony/dotenv": "4.2.*",
18-
"symfony/expression-language": "4.2.*",
19-
"symfony/flex": "^1.1",
20-
"symfony/form": "4.2.*",
21-
"symfony/framework-bundle": "4.2.*",
22-
"symfony/messenger": "4.2.*",
15+
"symfony/asset": "4.3.*",
16+
"symfony/console": "4.3.*",
17+
"symfony/dotenv": "4.3.*",
18+
"symfony/expression-language": "4.3.*",
19+
"symfony/flex": "^1.3.1",
20+
"symfony/form": "4.3.*",
21+
"symfony/framework-bundle": "4.3.*",
22+
"symfony/messenger": "4.3.*",
23+
"symfony/http-client": "4.3.*",
24+
"symfony/intl": "4.3.*",
2325
"symfony/monolog-bundle": "^3.1",
2426
"symfony/orm-pack": "*",
25-
"symfony/process": "4.2.*",
26-
"symfony/security-bundle": "4.2.*",
27-
"symfony/serializer-pack": "^1.0",
27+
"symfony/process": "4.3.*",
28+
"symfony/security-bundle": "4.3.*",
29+
"symfony/serializer-pack": "*",
2830
"symfony/swiftmailer-bundle": "^3.1",
29-
"symfony/translation": "4.2.*",
30-
"symfony/twig-bundle": "4.2.*",
31-
"symfony/validator": "4.2.*",
32-
"symfony/web-link": "4.2.*",
33-
"symfony/yaml": "4.2.*"
31+
"symfony/translation": "4.3.*",
32+
"symfony/twig-bundle": "4.3.*",
33+
"symfony/validator": "4.3.*",
34+
"symfony/web-link": "4.3.*",
35+
"symfony/yaml": "4.3.*"
3436
},
3537
"require-dev": {
36-
"codedungeon/phpunit-result-printer": "^0.26.0",
37-
"symfony/browser-kit": "4.2.*",
38-
"symfony/css-selector": "4.2.*",
38+
"codedungeon/phpunit-result-printer": "0.26.0",
39+
"symfony/browser-kit": "4.3.*",
40+
"symfony/css-selector": "4.3.*",
3941
"symfony/debug-pack": "*",
4042
"symfony/maker-bundle": "^1.0",
41-
"symfony/phpunit-bridge": "4.2.*",
43+
"symfony/phpunit-bridge": "4.3.*",
4244
"symfony/profiler-pack": "*",
4345
"symfony/test-pack": "*",
44-
"symfony/web-server-bundle": "4.2.*"
46+
"symfony/web-server-bundle": "4.3.*"
4547
},
4648
"config": {
4749
"preferred-install": {
@@ -86,7 +88,7 @@
8688
"extra": {
8789
"symfony": {
8890
"allow-contrib": "true",
89-
"require": "4.2.*"
91+
"require": "4.3.*"
9092
}
9193
}
9294
}

0 commit comments

Comments
 (0)