* Initial work * Setup script stub * Wrap runit and call dos2unix beforehand. * Working to the point I need to make it sync in and out of s3. * Seems like we're done and its working. * Add build process. * Add build process. * Bugfixes discovered during deployment. * Copy certs into /live because certbot is a pain. * More elegant about hammering letsencrypt. * Working!
22 lines
602 B
PHP
22 lines
602 B
PHP
<?php
|
|
$finder = PhpCsFixer\Finder::create();
|
|
$finder->in(__DIR__);
|
|
|
|
return (new PhpCsFixer\Config)
|
|
->setRiskyAllowed(true)
|
|
->setHideProgress(false)
|
|
->setRules([
|
|
'@PSR2' => true,
|
|
'strict_param' => true,
|
|
'array_syntax' => ['syntax' => 'short'],
|
|
'@PhpCsFixer' => true,
|
|
'@PHP73Migration' => true,
|
|
'no_php4_constructor' => true,
|
|
'no_unused_imports' => true,
|
|
'no_useless_else' => true,
|
|
'no_superfluous_phpdoc_tags' => true,
|
|
'void_return' => true,
|
|
'yoda_style' => false,
|
|
])
|
|
->setFinder($finder)
|
|
;
|