Skip to content

Commit

Permalink
User: Allow delete
Browse files Browse the repository at this point in the history
  • Loading branch information
Radek Bruha committed Feb 4, 2020
1 parent d808b9e commit 86d0073
Show file tree
Hide file tree
Showing 7 changed files with 170 additions and 189 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ database-create:
init-dev: docker-up-force composer-install

phpcodesniffer:
$(DE) ./vendor/bin/phpcs --standard=./ruleset.xml src/ tests/
$(DE) ./vendor/bin/phpcs --standard=./ruleset.xml src tests

phpstan:
$(DE) ./vendor/bin/phpstan analyse -c ./phpstan.neon -l 8 src/ tests/
$(DE) ./vendor/bin/phpstan analyse -c ./phpstan.neon -l 8 src tests

phpunit:
$(DE) ./vendor/bin/paratest -c ./vendor/hanaboso/php-check-utils/phpunit.xml.dist -p 4 --runner=WrapperRunner tests/Unit
Expand All @@ -66,12 +66,12 @@ phpcontroller:

phpcoverage:
$(DE) sed -i 's/TRUE/FALSE/g' src/Command/PasswordCommandAbstract.php
$(DE) vendor/bin/paratest -c vendor/hanaboso/php-check-utils/phpunit.xml.dist --coverage-html var/coverage --whitelist src tests
$(DE) ./vendor/bin/paratest -c ./vendor/hanaboso/php-check-utils/phpunit.xml.dist --coverage-html var/coverage --whitelist src tests
$(DE) sed -i 's/FALSE/TRUE/g' src/Command/PasswordCommandAbstract.php

phpcoverage-ci:
$(DE) sed -i 's/TRUE/FALSE/g' src/Command/PasswordCommandAbstract.php
$(DE) ./vendor/hanaboso/php-check-utils/bin/coverage.sh -c 100
$(DE) ./vendor/hanaboso/php-check-utils/bin/coverage.sh
$(DE) sed -i 's/FALSE/TRUE/g' src/Command/PasswordCommandAbstract.php

test: docker-up-force composer-install fasttest
Expand Down
7 changes: 5 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "hanaboso/user-bundle",
"license": "proprietary",
"version": "1.3.5",
"version": "1.3.6",
"autoload": {
"psr-4": {
"Hanaboso\\UserBundle\\": "src/"
Expand All @@ -14,7 +14,10 @@
},
"require": {
"php": "^7.4",
"ext-json": "*",
"ext-ctype": "*",
"ext-iconv": "*",
"ext-intl": "*",
"ext-mbstring": "*",
"doctrine/orm": "^2.7",
"hanaboso/commons-bundle": "^2.0",
"hanaboso/email-service-bundle": "^1.1",
Expand Down

0 comments on commit 86d0073

Please sign in to comment.