[DEPENDENCIES] Move from Symfony 5.4 to 6 and update all other packages, where applicable
This commit is contained in:
parent
301421ea15
commit
c30fcead74
|
@ -1,10 +0,0 @@
|
||||||
paths:
|
|
||||||
tests: tests/CodeCeption
|
|
||||||
output: tests/CodeCeption/_output
|
|
||||||
data: tests/CodeCeption/_data
|
|
||||||
support: tests/CodeCeption/_support
|
|
||||||
envs: tests/CodeCeption/_envs
|
|
||||||
actor_suffix: Tester
|
|
||||||
extensions:
|
|
||||||
enabled:
|
|
||||||
- Codeception\Extension\RunFailed
|
|
127
composer.json
127
composer.json
|
@ -27,39 +27,40 @@
|
||||||
"sensio/framework-extra-bundle": "6.*",
|
"sensio/framework-extra-bundle": "6.*",
|
||||||
"someonewithpc/memcached-polyfill": "^1.0",
|
"someonewithpc/memcached-polyfill": "^1.0",
|
||||||
"someonewithpc/redis-polyfill": "dev-master",
|
"someonewithpc/redis-polyfill": "dev-master",
|
||||||
"symfony/asset": "5.4.*",
|
"symfony/asset": "^6",
|
||||||
"symfony/cache": "5.4.*",
|
"symfony/cache": "^6",
|
||||||
"symfony/config": "5.4.*",
|
"symfony/config": "^6",
|
||||||
"symfony/console": "5.4.*",
|
"symfony/console": "^6",
|
||||||
"symfony/dom-crawler": "5.4.*",
|
"symfony/doctrine-messenger": "^6",
|
||||||
"symfony/dotenv": "5.4.*",
|
"symfony/dom-crawler": "^6",
|
||||||
"symfony/event-dispatcher": "5.4.*",
|
"symfony/dotenv": "^6",
|
||||||
"symfony/expression-language": "5.4.*",
|
"symfony/event-dispatcher": "^6",
|
||||||
"symfony/filesystem": "5.4.*",
|
"symfony/expression-language": "^6",
|
||||||
|
"symfony/filesystem": "^6",
|
||||||
"symfony/flex": "^1.3.1",
|
"symfony/flex": "^1.3.1",
|
||||||
"symfony/form": "5.4.*",
|
"symfony/form": "^6",
|
||||||
"symfony/framework-bundle": "5.4.*",
|
"symfony/framework-bundle": "^6",
|
||||||
"symfony/http-client": "5.4.*",
|
"symfony/http-client": "^6",
|
||||||
"symfony/intl": "5.4.*",
|
"symfony/intl": "^6",
|
||||||
"symfony/mailer": "5.4.*",
|
"symfony/mailer": "^6",
|
||||||
"symfony/messenger": "5.4.*",
|
"symfony/messenger": "^6",
|
||||||
"symfony/mime": "5.4.*",
|
"symfony/mime": "^6",
|
||||||
"symfony/monolog-bundle": "^3.1",
|
"symfony/monolog-bundle": "^3.1",
|
||||||
"symfony/notifier": "5.4.*",
|
"symfony/notifier": "^6",
|
||||||
"symfony/process": "5.4.*",
|
"symfony/process": "^6",
|
||||||
"symfony/property-access": "5.4.*",
|
"symfony/property-access": "^6",
|
||||||
"symfony/property-info": "5.4.*",
|
"symfony/property-info": "^6",
|
||||||
"symfony/proxy-manager-bridge": "5.4.*",
|
"symfony/proxy-manager-bridge": "^6",
|
||||||
"symfony/psr-http-message-bridge": "^2.1",
|
"symfony/psr-http-message-bridge": "^2.1",
|
||||||
"symfony/security-bundle": "5.4.*",
|
"symfony/security-bundle": "^6",
|
||||||
"symfony/serializer": "5.4.*",
|
"symfony/serializer": "^6",
|
||||||
"symfony/string": "5.4.*",
|
"symfony/string": "^6",
|
||||||
"symfony/translation": "5.4.*",
|
"symfony/translation": "^6",
|
||||||
"symfony/twig-bundle": "5.4.*",
|
"symfony/twig-bundle": "^6",
|
||||||
"symfony/validator": "5.4.*",
|
"symfony/validator": "^6",
|
||||||
"symfony/var-exporter": "5.4.*",
|
"symfony/var-exporter": "^6",
|
||||||
"symfony/web-link": "5.4.*",
|
"symfony/web-link": "^6",
|
||||||
"symfony/yaml": "5.4.*",
|
"symfony/yaml": "^6",
|
||||||
"symfonycasts/reset-password-bundle": "^1.9",
|
"symfonycasts/reset-password-bundle": "^1.9",
|
||||||
"symfonycasts/verify-email-bundle": "^1.0",
|
"symfonycasts/verify-email-bundle": "^1.0",
|
||||||
"tgalopin/html-sanitizer-bundle": "^1.2",
|
"tgalopin/html-sanitizer-bundle": "^1.2",
|
||||||
|
@ -70,26 +71,22 @@
|
||||||
"wikimedia/composer-merge-plugin": "^2.0"
|
"wikimedia/composer-merge-plugin": "^2.0"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"codeception/codeception": "^4.1",
|
|
||||||
"codeception/module-phpbrowser": "^2.0",
|
|
||||||
"codeception/module-symfony": "^2.1",
|
|
||||||
"doctrine/doctrine-fixtures-bundle": "^3.4",
|
"doctrine/doctrine-fixtures-bundle": "^3.4",
|
||||||
"friendsofphp/php-cs-fixer": "^3.2.1",
|
"friendsofphp/php-cs-fixer": "^3.2.1",
|
||||||
"jchook/phpunit-assert-throws": "^1.0",
|
"jchook/phpunit-assert-throws": "^1.0",
|
||||||
"niels-de-blaauw/php-doc-check": "^0.2.2",
|
"niels-de-blaauw/php-doc-check": "^0.2.2",
|
||||||
"phpstan/phpstan": "dev-master",
|
"phpstan/phpstan": "dev-master",
|
||||||
"phpunit/phpunit": "^9.5",
|
"phpunit/phpunit": "^9.5",
|
||||||
"symfony/browser-kit": "^5.4.",
|
"symfony/browser-kit": "^6.0",
|
||||||
"symfony/css-selector": "^5.4.",
|
"symfony/css-selector": "^6.0",
|
||||||
"symfony/debug-bundle": "^5.4.",
|
"symfony/debug-bundle": "^6.0",
|
||||||
"symfony/error-handler": "^5.4.",
|
"symfony/error-handler": "^6.0",
|
||||||
"symfony/maker-bundle": "^1.14",
|
"symfony/maker-bundle": "^1.14",
|
||||||
"symfony/phpunit-bridge": "^5.4.",
|
"symfony/phpunit-bridge": "^6.0",
|
||||||
"symfony/stopwatch": "5.4.*",
|
"symfony/stopwatch": "^6.0",
|
||||||
"symfony/web-profiler-bundle": "^5.4.",
|
"symfony/web-profiler-bundle": "^6.0",
|
||||||
"ulrichsg/getopt-php": "*",
|
"ulrichsg/getopt-php": "*",
|
||||||
"wp-cli/php-cli-tools": "^0.11.13",
|
"wp-cli/php-cli-tools": "^0.11.13"
|
||||||
"codeception/module-asserts": "^1.0.0"
|
|
||||||
},
|
},
|
||||||
"config": {
|
"config": {
|
||||||
"preferred-install": {
|
"preferred-install": {
|
||||||
|
@ -146,7 +143,7 @@
|
||||||
"extra": {
|
"extra": {
|
||||||
"symfony": {
|
"symfony": {
|
||||||
"allow-contrib": false,
|
"allow-contrib": false,
|
||||||
"require": "5.4.*"
|
"require": "^6"
|
||||||
},
|
},
|
||||||
"merge-plugin": {
|
"merge-plugin": {
|
||||||
"include": [
|
"include": [
|
||||||
|
@ -196,40 +193,26 @@
|
||||||
{
|
{
|
||||||
"type": "package",
|
"type": "package",
|
||||||
"package": {
|
"package": {
|
||||||
"name": "codeception/codeception",
|
"name": "landrok/activitypub",
|
||||||
"version": "4.1.30",
|
"version": "0.5.7",
|
||||||
|
"require": {
|
||||||
|
"php": "^7.2|^8.0",
|
||||||
|
"guzzlehttp/guzzle": ">=6.3",
|
||||||
|
"monolog/monolog": "^1.12|^2.0",
|
||||||
|
"symfony/http-foundation": ">=3.4",
|
||||||
|
"phpseclib/phpseclib": "^3.0.7",
|
||||||
|
"psr/cache": "*",
|
||||||
|
"symfony/cache": ">=4.0"
|
||||||
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
"psr-4": {
|
"psr-4": {
|
||||||
"Codeception\\": "src/Codeception",
|
"ActivityPhp\\": "src/ActivityPhp/"
|
||||||
"Codeception\\Extension\\": "ext"
|
}
|
||||||
},
|
|
||||||
"files": [
|
|
||||||
"functions.php"
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
"require": {
|
|
||||||
"php": ">=5.6.0 <9.0",
|
|
||||||
"ext-curl": "*",
|
|
||||||
"ext-json": "*",
|
|
||||||
"ext-mbstring": "*",
|
|
||||||
"codeception/lib-asserts": "^1.0 | 2.0.*@dev",
|
|
||||||
"guzzlehttp/psr7": "^1.4 | ^2.0",
|
|
||||||
"symfony/finder": ">=2.7 <6.0",
|
|
||||||
"symfony/console": ">=2.7 <6.0",
|
|
||||||
"symfony/event-dispatcher": ">=2.7 <6.0",
|
|
||||||
"symfony/yaml": ">=2.7 <6.0",
|
|
||||||
"symfony/css-selector": ">=2.7 <6.0",
|
|
||||||
"behat/gherkin": "^4.4.0",
|
|
||||||
"codeception/phpunit-wrapper": ">6.0.15 <6.1.0 | ^6.6.1 | ^7.7.1 | ^8.1.1 | ^9.0",
|
|
||||||
"codeception/stub": "^2.0 | ^3.0 | ^4.0"
|
|
||||||
},
|
|
||||||
"bin": [
|
|
||||||
"codecept"
|
|
||||||
],
|
|
||||||
"source": {
|
"source": {
|
||||||
"url": "https://github.com/someonewithpc/Codeception.git",
|
"url": "https://github.com/landrok/activitypub.git",
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"reference": "4.1"
|
"reference": "509dd3d"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
3073
composer.lock
generated
3073
composer.lock
generated
File diff suppressed because it is too large
Load Diff
|
@ -8,7 +8,7 @@ return [
|
||||||
Twig\Extra\TwigExtraBundle\TwigExtraBundle::class => ['all' => true],
|
Twig\Extra\TwigExtraBundle\TwigExtraBundle::class => ['all' => true],
|
||||||
Symfony\Bundle\WebProfilerBundle\WebProfilerBundle::class => ['dev' => true, 'test' => true],
|
Symfony\Bundle\WebProfilerBundle\WebProfilerBundle::class => ['dev' => true, 'test' => true],
|
||||||
Symfony\Bundle\MonologBundle\MonologBundle::class => ['all' => true],
|
Symfony\Bundle\MonologBundle\MonologBundle::class => ['all' => true],
|
||||||
Symfony\Bundle\DebugBundle\DebugBundle::class => ['dev' => true, 'test' => true],
|
Symfony\Bundle\DebugBundle\DebugBundle::class => ['dev' => true],
|
||||||
Sensio\Bundle\FrameworkExtraBundle\SensioFrameworkExtraBundle::class => ['all' => true],
|
Sensio\Bundle\FrameworkExtraBundle\SensioFrameworkExtraBundle::class => ['all' => true],
|
||||||
Doctrine\Bundle\DoctrineBundle\DoctrineBundle::class => ['all' => true],
|
Doctrine\Bundle\DoctrineBundle\DoctrineBundle::class => ['all' => true],
|
||||||
Doctrine\Bundle\MigrationsBundle\DoctrineMigrationsBundle::class => ['all' => true],
|
Doctrine\Bundle\MigrationsBundle\DoctrineMigrationsBundle::class => ['all' => true],
|
||||||
|
|
5
config/packages/debug.yaml
Normal file
5
config/packages/debug.yaml
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
when@dev:
|
||||||
|
debug:
|
||||||
|
# Forwards VarDumper Data clones to a centralized server allowing to inspect dumps on CLI or in your browser.
|
||||||
|
# See the "server:dump" command to start a new server.
|
||||||
|
dump_destination: "tcp://%env(VAR_DUMPER_SERVER)%"
|
|
@ -1,19 +0,0 @@
|
||||||
monolog:
|
|
||||||
handlers:
|
|
||||||
main:
|
|
||||||
type: stream
|
|
||||||
path: "%kernel.logs_dir%/%kernel.environment%.log"
|
|
||||||
level: debug
|
|
||||||
channels: ["!event"]
|
|
||||||
# uncomment to get logging in your browser
|
|
||||||
# you may have to allow bigger header sizes in your Web server configuration
|
|
||||||
#firephp:
|
|
||||||
# type: firephp
|
|
||||||
# level: info
|
|
||||||
#chromephp:
|
|
||||||
# type: chromephp
|
|
||||||
# level: info
|
|
||||||
console:
|
|
||||||
type: console
|
|
||||||
process_psr_3_messages: false
|
|
||||||
channels: ["!event", "!doctrine", "!console"]
|
|
|
@ -1,6 +0,0 @@
|
||||||
web_profiler:
|
|
||||||
toolbar: true
|
|
||||||
intercept_redirects: false
|
|
||||||
|
|
||||||
framework:
|
|
||||||
profiler: { only_exceptions: false }
|
|
|
@ -1,7 +1,8 @@
|
||||||
|
# see https://symfony.com/doc/current/reference/configuration/framework.html
|
||||||
framework:
|
framework:
|
||||||
secret: '%env(APP_SECRET)%'
|
secret: '%env(APP_SECRET)%'
|
||||||
csrf_protection: true
|
csrf_protection: true
|
||||||
#http_method_override: true
|
# http_method_override: false
|
||||||
|
|
||||||
# Enables session support. Note that the session will ONLY be started if you read or write from it.
|
# Enables session support. Note that the session will ONLY be started if you read or write from it.
|
||||||
# Remove or comment this section to explicitly disable session support.
|
# Remove or comment this section to explicitly disable session support.
|
||||||
|
@ -9,8 +10,15 @@ framework:
|
||||||
handler_id: null
|
handler_id: null
|
||||||
cookie_secure: auto
|
cookie_secure: auto
|
||||||
cookie_samesite: lax
|
cookie_samesite: lax
|
||||||
|
storage_factory_id: session.storage.factory.native
|
||||||
|
|
||||||
#esi: true
|
#esi: true
|
||||||
#fragments: true
|
#fragments: true
|
||||||
php_errors:
|
php_errors:
|
||||||
log: true
|
log: true
|
||||||
|
|
||||||
|
when@test:
|
||||||
|
framework:
|
||||||
|
test: true
|
||||||
|
session:
|
||||||
|
storage_factory_id: session.storage.factory.mock_file
|
||||||
|
|
61
config/packages/monolog.yaml
Normal file
61
config/packages/monolog.yaml
Normal file
|
@ -0,0 +1,61 @@
|
||||||
|
monolog:
|
||||||
|
channels:
|
||||||
|
- deprecation # Deprecations are logged in the dedicated "deprecation" channel when it exists
|
||||||
|
|
||||||
|
when@dev:
|
||||||
|
monolog:
|
||||||
|
handlers:
|
||||||
|
main:
|
||||||
|
type: stream
|
||||||
|
path: "%kernel.logs_dir%/%kernel.environment%.log"
|
||||||
|
level: debug
|
||||||
|
channels: ["!event"]
|
||||||
|
# uncomment to get logging in your browser
|
||||||
|
# you may have to allow bigger header sizes in your Web server configuration
|
||||||
|
#firephp:
|
||||||
|
# type: firephp
|
||||||
|
# level: info
|
||||||
|
#chromephp:
|
||||||
|
# type: chromephp
|
||||||
|
# level: info
|
||||||
|
console:
|
||||||
|
type: console
|
||||||
|
process_psr_3_messages: false
|
||||||
|
channels: ["!event", "!doctrine", "!console"]
|
||||||
|
|
||||||
|
when@test:
|
||||||
|
monolog:
|
||||||
|
handlers:
|
||||||
|
main:
|
||||||
|
type: fingers_crossed
|
||||||
|
action_level: error
|
||||||
|
handler: nested
|
||||||
|
excluded_http_codes: [404, 405]
|
||||||
|
channels: ["!event"]
|
||||||
|
nested:
|
||||||
|
type: stream
|
||||||
|
path: "%kernel.logs_dir%/%kernel.environment%.log"
|
||||||
|
level: debug
|
||||||
|
|
||||||
|
when@prod:
|
||||||
|
monolog:
|
||||||
|
handlers:
|
||||||
|
main:
|
||||||
|
type: fingers_crossed
|
||||||
|
action_level: error
|
||||||
|
handler: nested
|
||||||
|
excluded_http_codes: [404, 405]
|
||||||
|
buffer_size: 50 # How many messages should be saved? Prevent memory leaks
|
||||||
|
nested:
|
||||||
|
type: stream
|
||||||
|
path: php://stderr
|
||||||
|
level: debug
|
||||||
|
formatter: monolog.formatter.json
|
||||||
|
console:
|
||||||
|
type: console
|
||||||
|
process_psr_3_messages: false
|
||||||
|
channels: ["!event", "!doctrine"]
|
||||||
|
deprecation:
|
||||||
|
type: stream
|
||||||
|
channels: [deprecation]
|
||||||
|
path: php://stderr
|
|
@ -1,24 +0,0 @@
|
||||||
monolog:
|
|
||||||
handlers:
|
|
||||||
main:
|
|
||||||
type: fingers_crossed
|
|
||||||
action_level: error
|
|
||||||
handler: nested
|
|
||||||
excluded_http_codes: [404, 405]
|
|
||||||
buffer_size: 50 # How many messages should be saved? Prevent memory leaks
|
|
||||||
nested:
|
|
||||||
type: stream
|
|
||||||
path: "%kernel.logs_dir%/%kernel.environment%.log"
|
|
||||||
level: debug
|
|
||||||
console:
|
|
||||||
type: console
|
|
||||||
process_psr_3_messages: false
|
|
||||||
channels: ["!event", "!doctrine"]
|
|
||||||
deprecation:
|
|
||||||
type: stream
|
|
||||||
path: "%kernel.logs_dir%/%kernel.environment%.deprecations.log"
|
|
||||||
deprecation_filter:
|
|
||||||
type: filter
|
|
||||||
handler: deprecation
|
|
||||||
max_level: info
|
|
||||||
channels: ["php"]
|
|
|
@ -1,4 +0,0 @@
|
||||||
framework:
|
|
||||||
test: true
|
|
||||||
session:
|
|
||||||
storage_id: session.storage.mock_file
|
|
|
@ -1,12 +0,0 @@
|
||||||
monolog:
|
|
||||||
handlers:
|
|
||||||
main:
|
|
||||||
type: fingers_crossed
|
|
||||||
action_level: error
|
|
||||||
handler: nested
|
|
||||||
excluded_http_codes: [404, 405]
|
|
||||||
channels: ["!event"]
|
|
||||||
nested:
|
|
||||||
type: stream
|
|
||||||
path: "%kernel.logs_dir%/%kernel.environment%.log"
|
|
||||||
level: debug
|
|
|
@ -1,6 +0,0 @@
|
||||||
web_profiler:
|
|
||||||
toolbar: false
|
|
||||||
intercept_redirects: false
|
|
||||||
|
|
||||||
framework:
|
|
||||||
profiler: { collect: false }
|
|
15
config/packages/web_profiler.yaml
Normal file
15
config/packages/web_profiler.yaml
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
when@dev:
|
||||||
|
web_profiler:
|
||||||
|
toolbar: true
|
||||||
|
intercept_redirects: false
|
||||||
|
|
||||||
|
framework:
|
||||||
|
profiler: { only_exceptions: false }
|
||||||
|
|
||||||
|
when@test:
|
||||||
|
web_profiler:
|
||||||
|
toolbar: false
|
||||||
|
intercept_redirects: false
|
||||||
|
|
||||||
|
framework:
|
||||||
|
profiler: { collect: false }
|
4
config/routes/framework.yaml
Normal file
4
config/routes/framework.yaml
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
when@dev:
|
||||||
|
_errors:
|
||||||
|
resource: '@FrameworkBundle/Resources/config/routing/errors.xml'
|
||||||
|
prefix: /_error
|
8
config/routes/web_profiler.yaml
Normal file
8
config/routes/web_profiler.yaml
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
when@dev:
|
||||||
|
web_profiler_wdt:
|
||||||
|
resource: '@WebProfilerBundle/Resources/config/routing/wdt.xml'
|
||||||
|
prefix: /_wdt
|
||||||
|
|
||||||
|
web_profiler_profiler:
|
||||||
|
resource: '@WebProfilerBundle/Resources/config/routing/profiler.xml'
|
||||||
|
prefix: /_profiler
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"require": {
|
"require": {
|
||||||
"php-ffmpeg/php-ffmpeg": "^0.19.0"
|
"php-ffmpeg/php-ffmpeg": "^1.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"require": {
|
"require": {
|
||||||
"php-ffmpeg/php-ffmpeg": "^0.19.0"
|
"php-ffmpeg/php-ffmpeg": "^1.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
525
symfony.lock
525
symfony.lock
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user