This repository was archived by the owner on Oct 20, 2025. It is now read-only.
v1.4.3 - Initialized PHPUnit test and test workflow - Added URL parameter strict types ✅
This release includes several changes aimed at improving the test configurations, updating the autoload paths, and adding new traits and methods for better application configuration. Below are the most important changes:
Test Configuration Improvements:
.github/workflows/php.yml: Added a new GitHub Actions workflow for PHP Composer to validate and test the code on push and pull requests to the master branch..github/workflows/release.yml: Added a new workflow to configure and run tests before release, ensuring code quality before deployment..github/workflows/tests.yml: Added a new workflow to execute tests on the dev branch and push changes to the main branch if tests pass.
Autoload Path Updates:
composer.json: Updated the autoload paths forPhpSlides\Tests\and modified the test script to use the correct PHPUnit path.tests/manualTests/Router/RouteTest.php: Corrected the autoload path and renamed the directory fromtesttotests.
New Traits and Methods:
src/Cli/Configure.php: Added a newConfiguretrait to mock necessary$_SERVERvariables for CLI environments.src/Foundation/Application.php: Integrated theConfiguretrait and updated methods to use the new trait for better configuration handling in CLI environments. [1] [2] [3] [4] [5] [6]
Miscellaneous Changes:
.gitattributes: Updated export-ignore rules to include new cache files.phpunit.xml: Updated the PHPUnit configuration file with new settings and environment variables.