owncloud / password_policy

🛡️ Define password policies for user and public link passwords
GNU General Public License v2.0
7 stars 6 forks source link

php-cs-fixer #14

Closed mmattel closed 3 years ago

mmattel commented 6 years ago

@DeepDiver1975 Any plans to implement php-cs-fixer as we have in core ?

phil-davis commented 3 years ago

https://drone.owncloud.com/owncloud/password_policy/1849/1/2

php -d zend.enable_gc=0 vendor-bin/owncloud-codestyle/vendor/bin/php-cs-fixer fix -v --diff --allow-risky yes --dry-run
PHP CS Fixer 3.0.0 Constitution by Fabien Potencier and Dariusz Ruminski
Runtime: PHP 7.2.34-23+ubuntu18.04.1+deb.sury.org+1
Loaded config ownCloud coding standard from "/var/www/owncloud/server/apps/password_policy/.php-cs-fixer.dist.php".
....................................................              52 / 52 (100%)
Legend: ?-unknown, I-invalid file syntax (file ignored), S-skipped (cached or empty file), .-no changes, F-fixed, E-error

Checked all files in 2.437 seconds, 14.000 MB memory used
vendor-bin/php_codesniffer/vendor/bin/phpcs --runtime-set ignore_warnings_on_exit --standard=phpcs.xml tests/acceptance
...... 6 / 6 (100%)

Time: 264ms; Memory: 10MB

It is running in CI.