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

Finalize foundation collections #1193

Merged
merged 108 commits into from
Mar 4, 2023
Merged

Conversation

caendesilva
Copy link
Member

@caendesilva caendesilva commented Mar 3, 2023

Abstract

Polishes and finalizes the foundation collections in preparation for the 1.0 release.

Issues

Breaking/significant changes

  • Moves collection accessors to the facade classes to limit scope of the classes to focus on data discovery
  • Make the BaseFoundationCollection::boot method final
  • Change BaseFoundationCollection::runDiscovery to return void instead of self
  • Change BaseFoundationCollection::runExtensionCallbacks to return void instead of self
  • Make FileCollection::addFile method return void
  • Make PageCollection::addPage method return void
  • Make RouteCollection::addRoute method return void

@codecov
Copy link

codecov bot commented Mar 3, 2023

Codecov Report

Merging #1193 (5062f4b) into master (dc8e759) will not change coverage.
The diff coverage is 100.00%.

@@              Coverage Diff              @@
##              master     #1193     +/-   ##
=============================================
  Coverage     100.00%   100.00%             
- Complexity      1347      2690   +1343     
=============================================
  Files            156       312    +156     
  Lines           3524      7024   +3500     
=============================================
+ Hits            3524      7024   +3500     
Impacted Files Coverage Δ
...undation/Concerns/HandlesFoundationCollections.php 100.00% <ø> (ø)
...c/Foundation/Concerns/BaseFoundationCollection.php 100.00% <100.00%> (ø)
...ackages/framework/src/Foundation/Facades/Files.php 100.00% <100.00%> (ø)
...ackages/framework/src/Foundation/Facades/Pages.php 100.00% <100.00%> (ø)
...ckages/framework/src/Foundation/Facades/Routes.php 100.00% <100.00%> (ø)
...framework/src/Foundation/Kernel/FileCollection.php 100.00% <100.00%> (ø)
...framework/src/Foundation/Kernel/PageCollection.php 100.00% <100.00%> (ø)
...ramework/src/Foundation/Kernel/RouteCollection.php 100.00% <100.00%> (ø)
.../framework/src/Framework/Services/BuildService.php 100.00% <100.00%> (ø)
packages/framework/src/Pages/Concerns/HydePage.php 100.00% <100.00%> (ø)
... and 156 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@caendesilva caendesilva force-pushed the finalize-foundation-collections branch from 65fb19d to 44b7d5e Compare March 4, 2023 07:31
@caendesilva caendesilva marked this pull request as draft March 4, 2023 10:42
@caendesilva caendesilva force-pushed the finalize-foundation-collections branch from aa13fa2 to a6ca86b Compare March 4, 2023 11:15
@caendesilva caendesilva force-pushed the finalize-foundation-collections branch from 5c0edd9 to 17d80df Compare March 4, 2023 11:35
@caendesilva caendesilva marked this pull request as ready for review March 4, 2023 11:49
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