Skip to content

Commit

Permalink
Fix psr/container version bug
Browse files Browse the repository at this point in the history
  • Loading branch information
ProklUng committed Jul 22, 2021
1 parent 01a608a commit 0d7e600
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -222,3 +222,10 @@ mklink "upload" "../../upload" /j
```

Далее необходимо настроить веб-сервер для работы с новым сайтом.

## Прочее

- Пришлось залочить пакет `psr/container` на версию 1.0. Без этого ставился 1.1.1 (по запросу Symfony DI)
и конструкция падала из-за несоответствия интерфейсов.

Последствия: DI компонент пока версии 5.2, а не актуальной 5.3.
3 changes: 1 addition & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@

"require": {
"proklung/bitrix-core-symfony": "^1.2.1",
"psr/container": "1.0",
"psr/container": "1.0.*",
"proklung/core-framework-extension-bundle": "^1.1",
"proklung/core-argument-resolvers-bundle": "^1.0",
"proklung/container-locator-bundle": "^1.0",
Expand Down Expand Up @@ -127,7 +127,6 @@
"proklung/url-signer-bundle": "^1.0",
"proklung/task-scheduler-bundle": "^1.0",
"proklung/dto-mapper-bundle": "^1.0"

},
"require-dev": {
"proklung/phpunit-testing-tools": "^1.4",
Expand Down
2 changes: 1 addition & 1 deletion local/configs/packages/bitrix-fixture-generator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ bitrix-fixture-generator:
ignore_errors: true

# Пути к фикстурам.
bitrix_database_bundle_fixture_path:
fixture_path:
- '/local/classes/BaseFixtures/'

# Набор команд, генерирующих нужную фикстуру.
Expand Down

0 comments on commit 0d7e600

Please sign in to comment.