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

Add support for mounting another castor app #367

Merged
merged 1 commit into from
Apr 3, 2024
Merged

Add support for mounting another castor app #367

merged 1 commit into from
Apr 3, 2024

Conversation

lyrixx
Copy link
Member

@lyrixx lyrixx commented Apr 2, 2024

image

castor.php Outdated Show resolved Hide resolved
@TheoD02
Copy link
Contributor

TheoD02 commented Apr 2, 2024

I like the approach, and it seems to meet the need for an issue I opened some time ago! :)

@joelwurtz
Copy link
Member

this PR is not ready. But WDYT?

Love it, made a proposition, it's only a namespace isn't it ?

@pyrech
Copy link
Member

pyrech commented Apr 2, 2024

I like the idea 👍

@lyrixx lyrixx force-pushed the mount branch 2 times, most recently from 01719f9 to b7faa34 Compare April 2, 2024 20:31
Copy link
Member Author

@lyrixx lyrixx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay, the PR is ready for review

Comment on lines 9 to 11
import(__DIR__ . '/tools/php-cs-fixer/castor.php');
import(__DIR__ . '/tools/phpstan/castor.php');
import(__DIR__ . '/tools/static/castor.php');
Copy link
Member Author

@lyrixx lyrixx Apr 2, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For the record, theses "app" cannot be mounted, since they refer to configuration in at the root (see the doc)

Copy link
Member

@pyrech pyrech left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some nitpicks but it looks good 🙌

doc/going-further/extending-castor/mount.md Outdated Show resolved Hide resolved
doc/going-further/extending-castor/mount.md Outdated Show resolved Hide resolved
doc/going-further/extending-castor/mount.md Show resolved Hide resolved
doc/reference.md Show resolved Hide resolved
tests/Helper/OutputCleaner.php Outdated Show resolved Hide resolved
@pyrech pyrech merged commit 8d51574 into main Apr 3, 2024
9 checks passed
@pyrech pyrech deleted the mount branch April 3, 2024 08:43
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.

None yet

4 participants