-
-
Notifications
You must be signed in to change notification settings - Fork 5
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
Merge options from site.php config into hyde.php #964
Merged
caendesilva
merged 12 commits into
separate-internal-application-files-from-project-structure-
from
merge-site-config-into-hyde-config
Feb 11, 2023
Merged
Merge options from site.php config into hyde.php #964
caendesilva
merged 12 commits into
separate-internal-application-files-from-project-structure-
from
merge-site-config-into-hyde-config
Feb 11, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7c0b7df
to
e8a65fe
Compare
Codecov Report
@@ Coverage Diff @@
## separate-internal-application-files-from-project-structure- #964 +/- ##
=================================================================================================
Coverage 100.00% 100.00%
+ Complexity 2532 1266 -1266
=================================================================================================
Files 302 151 -151
Lines 6680 3339 -3341
=================================================================================================
- Hits 6680 3339 -3341 Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
Replace `config('site')` calls with `config('hyde')` Replace `config(['site'])` calls with `config(['hyde'])` Replace `Config::get('site')` calls with `Config::get('hyde')`
aeb8425
to
73143af
Compare
caendesilva
commented
Feb 11, 2023
df506f4
to
38ac03c
Compare
…ure-' into merge-site-config-into-hyde-config
…ure-' into merge-site-config-into-hyde-config
0cff459
into
separate-internal-application-files-from-project-structure-
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Abstract
Highly experimental PR to merge the site.php config file with the hyde.php one.
Upgrade path for existing installations
Step one - Move config settings
Start by copying all the options in the
config/site.php
config toconfig/hyde.php
Step two - Update config calls
Next, if you have written custom code, or created/published any Blade views, that calls
config('site.XXX')
you need to replace that withconfig('hyde.XXX')
This is fairly easy using search+replace across files in VS Code or another modern code editor or IDE. Try searching for
'site.
and you'll find matches needing replacement. See 73143af for an example for what you want.