Skip to content

jacq-system/orm-model

Repository files navigation

PHPStan PHPUnit CSFixer

orm-model

PHP Doctrine ORM and shared application model for JACQ herbarium applications based on Symfony Framework v8. Before push, please run ./composer.sh check.

Unit tests are AI generated to describe actual implementation that seems to be proven.

Code quality checks

PHPStan

./composer.sh phpstan

OR

clear && \
docker run --rm -it  \
 -u $(id -u):$(id -g)   \
 -v $(pwd):/app   -w /app  \
 php:8.5-cli  \
 vendor/bin/phpstan analyse --memory-limit 500M --level 7 src

PHP Unit

./composer.sh test

OR

clear && \
docker run --rm -it  \
 -u $(id -u):$(id -g)   \
 -v $(pwd):/app   -w /app  \
 php:8.5-cli  \
vendor/bin/phpunit

PHP CS fixer

./composer.sh fixer

OR

clear && \
docker run --rm -it  \
 -u $(id -u):$(id -g)   \
 -v $(pwd):/app   -w /app  \
 php:8.5-cli  \
vendor/bin/php-cs-fixer check

and to fix:

./composer.sh fixit

OR

clear && \
docker run --rm -it  \
 -u $(id -u):$(id -g)   \
 -v $(pwd):/app   -w /app  \
 php:8.5-cli  \
vendor/bin/php-cs-fixer fix

About

PHP Doctrine ORM model for the JACQ herbarium applications

Topics

Resources

License

Stars

Watchers

Forks

Contributors