Skip to content

Conversation

@bluehaha
Copy link
Contributor

No description provided.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR migrates Laravel View functionality to Hypervel, including comprehensive test coverage for Blade compilation, view components, and the view engine system. The migration includes test fixtures, unit tests for various Blade directives and features, and core source files for the view service provider, view name normalization, and engine implementations.

Key Changes:

  • Added comprehensive test suite covering Blade compilation features (150+ test files)
  • Implemented ViewServiceProvider for dependency injection and service registration
  • Added ViewName class for view name normalization
  • Created ViewFinderInterface defining the view finder contract
  • Implemented ViewException for view-specific error handling
  • Added ShareErrorsFromSession middleware for error handling
  • Implemented FileEngine for raw file rendering

Reviewed changes

Copilot reviewed 150 out of 151 changed files in this pull request and generated no comments.

Show a summary per file
File Description
tests/View/fixtures/* Test fixture files for view rendering tests
tests/View/ViewTest.php Unit tests for View class functionality
tests/View/ViewPhpEngineTest.php Tests for PHP engine
tests/View/ViewFileViewFinderTest.php Tests for file view finder
tests/View/ViewFactoryTest.php Comprehensive tests for view factory
tests/View/ViewEngineResolverTest.php Tests for engine resolver
tests/View/ViewComponentTest.php Tests for view components
tests/View/ViewComponentAttributeBagTest.php Tests for component attributes
tests/View/ViewCompilerEngineTest.php Tests for compiler engine
tests/View/ViewBladeCompilerTest.php Tests for Blade compiler
tests/View/ComponentTest.php Component integration tests
tests/View/Blade/* Extensive Blade directive compilation tests
src/view/src/ViewServiceProvider.php Service provider for view system
src/view/src/ViewName.php View name normalization utility
src/view/src/ViewFinderInterface.php Interface for view finding
src/view/src/ViewException.php Custom exception for views
src/view/src/Middleware/ShareErrorsFromSession.php Middleware for error sharing
src/view/src/Engines/FileEngine.php File-based rendering engine

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

1 participant