Skip to content
This repository was archived by the owner on Oct 20, 2025. It is now read-only.

Conversation

@dconco
Copy link
Member

@dconco dconco commented Jan 17, 2025

This pull request includes changes to the Router and Core components of the PhpSlides application, focusing on namespace refactoring, case sensitivity handling, and workflow improvements. The most important changes include namespace updates, case sensitivity handling in routing, and modifications to GitHub workflows.

Namespace Refactoring:

  • Updated namespaces from PhpSlides\Src to PhpSlides\Core across multiple files including Router/MapRoute.php, Router/Route.php, Router/view.php, src/Bootstrap/App.php, src/Cache/Cache.php, src/Config/config.php, and various controller files. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11]

Case Sensitivity Handling:

  • Added case sensitivity handling in routing by introducing a caseSensitive method in Router/Route.php and updating the match and match_routing methods in Router/MapRoute.php to consider case sensitivity. [1] [2] [3]

GitHub Workflows:

  • Renamed workflow steps in .github/workflows/release.yml and .github/workflows/tests.yml for better clarity. [1] [2]
  • Modified the Push changes to main job in .github/workflows/tests.yml to use a different approach for merging and pushing changes.

Additional Changes:

  • Updated the composer.json and phpunit.xml files to reflect new directory structures and autoload configurations. [1] [2]
  • Changed methods in src/Cache/Cache.php to be static and updated the clear and clearHotReload methods accordingly. [1] [2]

dconco and others added 23 commits December 25, 2024 09:29
…lides\Core and improve test script execution
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants