Releases: IngeniozIT/php-skeleton
Releases · IngeniozIT/php-skeleton
PHP 8.5
Everything has been updated !
This is a major update
Everything has been updated:
- The overall structure of the project
- The docker commands
- The composer commands
- The PHP verison (8.4 minimum)
Feel free to take a look at the README for further information.
Have fun with this release ! 👍
Docker support
What's new ?
- Added Docker support
- You can use
maketo run several useful Docker commands
Fixed
- Removed Rector's version constraint inside the
composer.jsonto make sure it stays up to date - Removed the local server's timeout of 5 minutes when you run
composer serve
Use Rector & improve initial namespaces
What's new
- Add scripts to automatically refactor your app with Rector:
composer quality:refactor(orcomposer quality:refactor-dryfor a dry run) - Change the default namespace of the code to
\App - Change the default namespace of the tests to
\Tests
v1.1.3
Fixed
Due to recent changes, the log files of Infection were created inside ./quality/tmp/ instead of ./tmp/.
Improvement
When running phpunit, only the files that end with Test.php are treated as test classes.
This allows to add utilitary files inside the ./tests/ directory that should not be directly executed when running the tests.
Bugfix
- Fix a bug with the namespace (replaced
IngeniozItbyIngeniozIT).
PHPUnit update
The format of PHPUnit's configuration files has changed.
- Update
phpunit.xml.distto match the new structure.
Update
What's new
- Add the
composer quality:cleancommand. It runsphpcbfto automatically fix code formatting.
Release
The first version of the PHP skeleton !