Closed KEINOS closed 4 years ago
Currently, when running with the psalm option, such as composer test psalm or composer test all, Psalm fixes errors with Psalter by default.
psalm
composer test psalm
composer test all
Psalm
Psalter
https://github.com/KEINOS/TPL-PHP-HelloWorld/blob/da076ca4bc5dcbc1ee7f1713b3b7aa8809431c07/tests/run-tests.sh#L305-L317
Basically this is a helpful action but it will delete all the methods in the interface before implementing.
interface
So adding an option to let alter might be good.
alter
composer test psalm psalter
Suppress Psalter by default
Currently, when running with the
psalm
option, such ascomposer test psalm
orcomposer test all
,Psalm
fixes errors withPsalter
by default.https://github.com/KEINOS/TPL-PHP-HelloWorld/blob/da076ca4bc5dcbc1ee7f1713b3b7aa8809431c07/tests/run-tests.sh#L305-L317
Basically this is a helpful action but it will delete all the methods in the
interface
before implementing.So adding an option to let
alter
might be good.composer test psalm
-> No altercomposer test psalm psalter
-> Alter all issue