Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ahead of time factory creation command #180

Merged
merged 32 commits into from
Apr 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
aa86639
feature: introduce ahead-of-time factory compiler
boesing Feb 24, 2023
04b41a7
qa: add native return-types to `ReflectionBasedAbstractFactory` methods
boesing Apr 5, 2023
91a7a82
qa: mark CLI command as internal
boesing Apr 5, 2023
0bd48d6
docs: add documentation for `Ahead of Time Factories`
boesing Apr 5, 2023
595d69c
docs: re-order menu items so that there is a `Reflection-based Abstra…
boesing Apr 5, 2023
5363f9e
docs: enhance documentation regarding CI pipeline
boesing Apr 5, 2023
124d530
docs: versionize documentation
boesing Apr 5, 2023
95ba1f0
docs: reference correct file so that mkdocs will generate proper link…
boesing Apr 5, 2023
9216f52
docs: remove superfluous backtick
boesing Apr 8, 2023
86b33a8
docs: remove superfluous whitespaces
boesing Apr 8, 2023
d35caf5
docs: normalize some parts of the migration guide to match markdown r…
boesing Apr 8, 2023
6c5361b
docs: purge migration guide for v4
boesing Apr 8, 2023
f0e62cb
docs: normalize ahead-of-time-factories.md to match markdown rules
boesing Apr 8, 2023
32d6cc9
docs: remove trailing punctuation
boesing Apr 8, 2023
178c011
qa: mark `AheadOfTimeCompiledFactory#__construct` as internal
boesing Apr 8, 2023
c077566
qa: verify that `localConfigFilename` is actually writable
boesing Apr 8, 2023
be9edd7
qa: only allow array configuration to be passed
boesing Apr 8, 2023
eb58add
qa: add unit tests for `AheadOfTimeFactoryCreatorCommand`
boesing Apr 8, 2023
227eb72
qa: modify config type to `array`
boesing Apr 8, 2023
766b470
docs: add dedicated console documentation for the ahead of time facto…
boesing Apr 8, 2023
4ef0191
refactor: early return invokable when there are no required parameters
boesing Apr 9, 2023
b949deb
qa: apply coding standard to `AheadOfTimeFactoryCompiler`
boesing Apr 9, 2023
da333d7
refactor: move unit tests from `ReflectionBasedAbstractFactory` to `C…
boesing Apr 9, 2023
dc82a21
qa: move more complex tools into dedicated namespaces
boesing Apr 9, 2023
e7827c4
qa: add failing test for already existing factories
boesing Apr 9, 2023
b6946b1
feature: detect already existing factories
boesing Apr 9, 2023
b9675b2
qa: do not allow factory compilation for enums
boesing Apr 9, 2023
151d34d
qa: add tests for the `AheadOfTimeFactoryCompiler`
boesing Apr 9, 2023
334a86e
qa: add some more unit tests for `AheadOfTimeFactoryCompiler`
boesing Apr 9, 2023
3613baa
qa: add enum issues to psalm baseline
boesing Apr 9, 2023
9035a2d
qa: fix line-length coding-standard issue
boesing Apr 9, 2023
89976b0
docs: remove superfluous whitespace at the end of the line
boesing Apr 9, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,19 @@
[![Psalm coverage](https://shepherd.dev/github/laminas/laminas-servicemanager/coverage.svg?)](https://shepherd.dev/github/laminas/laminas-servicemanager)

> ## 🇷🇺 Русским гражданам
>
>
> Мы, участники Laminas, родились и живем в разных странах. У многих из нас есть друзья, родственники и коллеги как в России, так и в Украине. Некоторые из нас родились в России. Некоторые из нас живут в России. У некоторых бабушки и дедушки сражались с фашистами во Второй мировой войне. Здесь никто не поддерживает фашизм.
>
>
> У одного из нас есть украинская родственница, которая спаслась из дома вместе с сыном. Поезд задержался из-за бомбежки на дороге впереди. У нас есть друзья, которые прячутся в бомбоубежищах. Мы с тревогой ждем весточки от них после воздушных налетов, которые беспорядочно наносят удары и попадают по больницам, школам, детским садам и домам. Мы не берем это из каких-либо СМИ. Мы наблюдаем это напрямую.
>
>
> Вы доверяете нам достаточно, чтоб использовать наши программы, и мы просим вас довериться нам вновь. Мы нуждаемся в помощи. Выходите и протестуйте против этой бесполезной войны. Остановите кровопролитие. Скажите "Нет войне!"
>
>
> ## 🇺🇸 To Citizens of Russia
>
>
> We at Laminas come from all over the world. Many of us have friends, family and colleagues in both Russia and Ukraine. Some of us were born in Russia. Some of us currently live in Russia. Some have grandparents who fought Nazis in World War II. Nobody here supports fascism.
>
>
> One team member has a Ukrainian relative who fled her home with her son. The train was delayed due to bombing on the road ahead. We have friends who are hiding in bomb shelters. We anxiously follow up on them after the air raids, which indiscriminately fire at hospitals, schools, kindergartens and houses. We're not taking this from any media. These are our actual experiences.
>
>
> You trust us enough to use our software. We ask that you trust us to say the truth on this. We need your help. Go out and protest this unnecessary war. Stop the bloodshed. Say "stop the war!"

The Service Locator design pattern is implemented by the `Laminas\ServiceManager`
Expand Down
2 changes: 2 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
},
"require": {
"php": "~8.0.0 || ~8.1.0 || ~8.2.0",
"brick/varexporter": "^0.3.8",
"laminas/laminas-stdlib": "^3.2.1",
"psr/container": "^1.0"
},
Expand All @@ -49,6 +50,7 @@
"laminas/laminas-coding-standard": "~2.5.0",
"laminas/laminas-container-config-test": "^0.8",
"laminas/laminas-dependency-plugin": "^2.2",
"lctrs/psalm-psr-container-plugin": "^1.9",
"mikey179/vfsstream": "^1.6.11@alpha",
"ocramius/proxy-manager": "^2.14.1",
"phpbench/phpbench": "^1.2.7",
Expand Down
241 changes: 184 additions & 57 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion docs/book/index.md

This file was deleted.

Loading