Skip to content

Commit a69c2ea

Browse files
author
DKravtsov
committed
updated to php 8 and laravel 8
1 parent cec146e commit a69c2ea

File tree

89 files changed

+6346
-3518
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

89 files changed

+6346
-3518
lines changed

.env.prod

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,20 @@ DB_PASSWORD=secret
1515

1616
BROADCAST_DRIVER=log
1717
CACHE_DRIVER=file
18+
FILESYSTEM_DRIVER=local
1819
QUEUE_CONNECTION=sync
1920
SESSION_DRIVER=file
2021
SESSION_LIFETIME=120
2122

23+
MEMCACHED_HOST=127.0.0.1
24+
2225
REDIS_HOST=127.0.0.1
2326
REDIS_PASSWORD=null
2427
REDIS_PORT=6379
2528

26-
MAIL_DRIVER=smtp
27-
MAIL_HOST=smtp.mailtrap.io
28-
MAIL_PORT=2525
29+
MAIL_MAILER=smtp
30+
MAIL_HOST=mailhog
31+
MAIL_PORT=1025
2932
MAIL_USERNAME=null
3033
MAIL_PASSWORD=null
3134
MAIL_ENCRYPTION=null
@@ -36,6 +39,7 @@ AWS_ACCESS_KEY_ID=
3639
AWS_SECRET_ACCESS_KEY=
3740
AWS_DEFAULT_REGION=us-east-1
3841
AWS_BUCKET=
42+
AWS_USE_PATH_STYLE_ENDPOINT=false
3943

4044
PUSHER_APP_ID=
4145
PUSHER_APP_KEY=

.env.staging

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,20 @@ DB_PASSWORD=secret
1515

1616
BROADCAST_DRIVER=log
1717
CACHE_DRIVER=file
18+
FILESYSTEM_DRIVER=local
1819
QUEUE_CONNECTION=sync
1920
SESSION_DRIVER=file
2021
SESSION_LIFETIME=120
2122

23+
MEMCACHED_HOST=127.0.0.1
24+
2225
REDIS_HOST=127.0.0.1
2326
REDIS_PASSWORD=null
2427
REDIS_PORT=6379
2528

26-
MAIL_DRIVER=smtp
27-
MAIL_HOST=smtp.mailtrap.io
28-
MAIL_PORT=2525
29+
MAIL_MAILER=smtp
30+
MAIL_HOST=mailhog
31+
MAIL_PORT=1025
2932
MAIL_USERNAME=null
3033
MAIL_PASSWORD=null
3134
MAIL_ENCRYPTION=null
@@ -36,6 +39,7 @@ AWS_ACCESS_KEY_ID=
3639
AWS_SECRET_ACCESS_KEY=
3740
AWS_DEFAULT_REGION=us-east-1
3841
AWS_BUCKET=
42+
AWS_USE_PATH_STYLE_ENDPOINT=false
3943

4044
PUSHER_APP_ID=
4145
PUSHER_APP_KEY=

.env.test

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,20 @@ DB_PASSWORD=secret
1515

1616
BROADCAST_DRIVER=log
1717
CACHE_DRIVER=file
18+
FILESYSTEM_DRIVER=local
1819
QUEUE_CONNECTION=sync
1920
SESSION_DRIVER=file
2021
SESSION_LIFETIME=120
2122

23+
MEMCACHED_HOST=127.0.0.1
24+
2225
REDIS_HOST=127.0.0.1
2326
REDIS_PASSWORD=null
2427
REDIS_PORT=6379
2528

26-
MAIL_DRIVER=smtp
27-
MAIL_HOST=smtp.mailtrap.io
28-
MAIL_PORT=2525
29+
MAIL_MAILER=smtp
30+
MAIL_HOST=mailhog
31+
MAIL_PORT=1025
2932
MAIL_USERNAME=null
3033
MAIL_PASSWORD=null
3134
MAIL_ENCRYPTION=null
@@ -36,6 +39,7 @@ AWS_ACCESS_KEY_ID=
3639
AWS_SECRET_ACCESS_KEY=
3740
AWS_DEFAULT_REGION=us-east-1
3841
AWS_BUCKET=
42+
AWS_USE_PATH_STYLE_ENDPOINT=false
3943

4044
PUSHER_APP_ID=
4145
PUSHER_APP_KEY=

.env.test-ci

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,20 @@ DB_PASSWORD=secret
1616

1717
BROADCAST_DRIVER=log
1818
CACHE_DRIVER=file
19+
FILESYSTEM_DRIVER=local
1920
QUEUE_CONNECTION=sync
2021
SESSION_DRIVER=file
2122
SESSION_LIFETIME=120
2223

24+
MEMCACHED_HOST=127.0.0.1
25+
2326
REDIS_HOST=127.0.0.1
2427
REDIS_PASSWORD=null
2528
REDIS_PORT=6379
2629

27-
MAIL_DRIVER=smtp
28-
MAIL_HOST=smtp.mailtrap.io
29-
MAIL_PORT=2525
30+
MAIL_MAILER=smtp
31+
MAIL_HOST=mailhog
32+
MAIL_PORT=1025
3033
MAIL_USERNAME=null
3134
MAIL_PASSWORD=null
3235
MAIL_ENCRYPTION=null
@@ -37,6 +40,7 @@ AWS_ACCESS_KEY_ID=
3740
AWS_SECRET_ACCESS_KEY=
3841
AWS_DEFAULT_REGION=us-east-1
3942
AWS_BUCKET=
43+
AWS_USE_PATH_STYLE_ENDPOINT=false
4044

4145
PUSHER_APP_ID=
4246
PUSHER_APP_KEY=

.gitattributes

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,5 @@
33
*.scss linguist-vendored
44
*.js linguist-vendored
55
CHANGELOG.md export-ignore
6-
docs/postman/symfony.postman_collection.json binary
76
tools/**/composer.lock binary
87
composer.lock binary

.php-cs-fixer.dist.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
// https://mlocati.github.io/php-cs-fixer-configurator/
46
$finder = PhpCsFixer\Finder::create()->in(__DIR__)->exclude('somedir');
57

.styleci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
php:
22
preset: laravel
3+
version: 8
34
disabled:
4-
- unused_use
5+
- no_unused_imports
56
finder:
67
not-name:
78
- index.php

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM php:7.4-apache
1+
FROM php:8.0-apache
22

33
# set main params
44
ARG BUILD_ARGUMENT_DEBUG_ENABLED=false

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,5 +191,5 @@ phpstan:
191191
###> Phpinsights PHP quality checks ###
192192
phpinsights:
193193
@echo "\033[32mRunning PHP Insights\033[39m"
194-
@make exec cmd="php -d error_reporting=0 ./vendor/bin/phpinsights analyse --no-interaction --min-quality=100 --min-complexity=85 --min-architecture=100 --min-style=100"
194+
@make exec cmd="php -d error_reporting=0 ./vendor/bin/phpinsights analyse --no-interaction --min-quality=100 --min-complexity=80 --min-architecture=100 --min-style=100"
195195
###< Phpinsights PHP quality checks ###

app/Console/Kernel.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@ class Kernel extends ConsoleKernel
2222
*/
2323
protected function schedule(Schedule $schedule): void
2424
{
25-
// $schedule->command('inspire')
26-
// ->hourly();
25+
// $schedule->command('inspire')->hourly();
2726
}
2827

2928
/**

0 commit comments

Comments
 (0)