Skip to content
This repository has been archived by the owner on Dec 5, 2024. It is now read-only.

Releases: SebSept/ps_dev_base

3.2.0 - shpongleland

04 Nov 16:01
Compare
Choose a tag to compare

upgraded phpstan to 1.9

v3.1.0

11 Apr 14:51
Compare
Choose a tag to compare

new php-cs-fixer filename supported.

v3

25 May 20:08
Compare
Choose a tag to compare
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

Misc

2.3.0 checks missing index.php on precommit

23 May 21:12
7adb615
Compare
Choose a tag to compare

🚀 Features

  • index filler can be added in pre-commit script (using new option --ckeck-only) (#28) @SebSept

✅ 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

18 May 19:50
e5eef75
Compare
Choose a tag to compare

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

12 May 20:18
addec1a
Compare
Choose a tag to compare

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

29 Apr 20:16
Compare
Choose a tag to compare
update installation note.