longitude-one/property-bundle

A Symfony bundle to dynamically add properties to entities

This package is auto-updated.

Last update: 2024-11-05 23:47:21 UTC


README

Bundle under development, do not use.

Install

composer require longitude-one/property-bundle

Contributing

Clone project

git clone https://github.com/longitude-one/PropertyBundle.git
cd PropertyBundle

Install vendor libraries

docker run --init -it --rm -v "$(pwd):/project" -v "$(pwd)/tmp-phpqa:/tmp" -w /project jakzal/phpqa composer update

Test project

docker run --init -it --rm -v "$(pwd):/project" -v "$(pwd)/tmp-phpqa:/tmp" -w /project jakzal/phpqa php -d pcov.enabled=1 ./vendor/bin/phpunit --coverage-html ./.coverage/ 

Test code syntax

docker run --init -it --rm -v "$(pwd):/project" -v "$(pwd)/tmp-phpqa:/tmp" -w /project jakzal/phpqa php-cs-fixer fix --config=tools/php-cs-fixer/.php-cs-fixer.php --allow-risky=yes

Test code quality

docker run --init -it --rm -v "$(pwd):/project" -v "$(pwd)/tmp-phpqa:/tmp" -w /project jakzal/phpqa phpstan analyse src tests --configuration tools/php-stan/php-stan.neon -l 9