This repository has been archived by the owner on Dec 5, 2024. It is now read-only.
Releases: SebSept/ps_dev_base
Releases · SebSept/ps_dev_base
3.2.0 - shpongleland
v3.1.0
v3
Hello v3.
Bug fix
- index-fill command did not handle the index.php at the root of your project, it's fixed - 0f66226
Code improvements
- Command names & composer script names are the same (and can't diverge no more) - That's why version bumped from 2.x to 3.x - 3b04447
- Added a few php_cs_fixer rules - b4041cc - dd45684
- Remove dev dependencies from composer to use Phive - this twitt convince me and that's fine for the moment - 07646fd - 50245a9
- added constant visibility - fc26735
Other
- Workflows run on php 7.2, 7.3, 7.4 - f188689
- improved readme and help - 50245a9 - ae0ae0f - 0c8b1fd - c125771
Misc
2.3.0 checks missing index.php on precommit
🚀 Features
✅ Enhancements
psdt:install-precommit-hook
has a --reconfigure to rerun even if files and composer script exists- Improve index filler : manage index.php at root (#30) @SebSept
- Improve index filler : fix & improve help message (#30) @SebSept
- refactoring pre-commitable commands (#29) @SebSept
- Added a github workflow that triggers Phpstan (level 8) , php-cs-fixer & composer validate (#27) @SebSept
2.2.0 autodetect _PS_ROOT_DIR_ for phpstan
If you run composer psdt:phpstan
in a module directory which is in PrestaShop installation, you can just press enter to confirm the path :)
2.1.0 - Precommit command
This version add a pre-commit utility.
composer psdt:install-precommit-hook
This command need to be run only once.
It does :
- add a composer script
pre-commit
- add file
precommit.sh
- make it executable
- symlink it to .git/hooks/pre-commit
So before a commit is can be performed the composer script pre-commit
must succeed (return 0).
You can tweak the script by just editing the composer script.
You can run the pre-commit
at any time `compose
Other changes are refactoring.
2.0.0 First release
update installation note.