Skip to content

Use dependency injection - #188

Merged
PedroTroller merged 1 commit into
KnpLabs:masterfrom
tacman:patch-6
Jan 17, 2023
Merged

Use dependency injection#188
PedroTroller merged 1 commit into
KnpLabs:masterfrom
tacman:patch-6

Conversation

@tacman

@tacman tacman commented Dec 4, 2022

Copy link
Copy Markdown
Contributor

getting the dictionary through DI is a better practice that getting it from the container.

getting the dictionary through DI is a better practice that getting it from the container.
@tacman

tacman commented Jan 15, 2023

Copy link
Copy Markdown
Contributor Author

Any comments on this PR?

@PedroTroller

Copy link
Copy Markdown
Contributor

I'm having trouble making time, sorry for the delay.

@PedroTroller
PedroTroller merged commit ead34f5 into KnpLabs:master Jan 17, 2023
PedroTroller pushed a commit that referenced this pull request May 25, 2023
getting the dictionary through DI is a better practice that getting it from the container.
PedroTroller pushed a commit that referenced this pull request Jun 15, 2023
* add return annotation

To get rid of this warning: 

Method "ArrayAccess::offsetGet()" might add "mixed" as a native return type declaration in the future. Do the same in implementation "Knp\DictionaryBundle\Dictionary\Traceable" now to avoid errors or add an explicit @return annotation to suppress this message.
    1x in ImportYamlTest::testLoadYamlConfig with data set "oberon" from App\Tests\Service

* docs: remove $ so gitclip works (#186)

* Use dependency injection (#188)

getting the dictionary through DI is a better practice that getting it from the container.

* Allow Symfony 6.3

* refactor: remove support of php 7.4

* Add Symfony 6.2 to matrix (#183)

* chore: drop support of Symfony 6.1 & 6.2

* tests: remove beberlei/assert and replace it by webmozart/assert (already in indirect dependencies) (#185)

* fix: add missing Symfony 6.3 supported version constant

* refactor: ad type to Dictionary ArrayAccess methods

* ci: remove Symfony CLI security check (#194)

* refactor: fix cs issues

* ci: remove Symfony CLI security check

* test: add tests for Symfony 6.3 and php 8.2

---------

Co-authored-by: Tac Tacelosky <tacman@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants