mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-15 16:57:09 +00:00
Repair php cs fixer.
This commit is contained in:
@@ -37,11 +37,12 @@ $finder = PhpCsFixer\Finder::create()
|
|||||||
$config = new PhpCsFixer\Config();
|
$config = new PhpCsFixer\Config();
|
||||||
return $config->setRules([
|
return $config->setRules([
|
||||||
'@PhpCsFixer:risky' => true,
|
'@PhpCsFixer:risky' => true,
|
||||||
// '@PSR12:risky' => true,
|
'@PSR12:risky' => true,
|
||||||
'declare_strict_types' => true,
|
'declare_strict_types' => true,
|
||||||
'strict_param' => true,
|
'strict_param' => true,
|
||||||
'array_syntax' => ['syntax' => 'short'],
|
'array_syntax' => ['syntax' => 'short'],
|
||||||
'native_function_invocation' => false, // annoying
|
'native_function_invocation' => false, // annoying
|
||||||
'php_unit_data_provider_name' => false, // bloody annoying long test names
|
'php_unit_data_provider_name' => false, // bloody annoying long test names
|
||||||
|
'static_lambda' => false, // breaks the Response macro for API's.
|
||||||
])
|
])
|
||||||
->setFinder($finder);
|
->setFinder($finder);
|
||||||
|
@@ -29,7 +29,7 @@ SCRIPT_DIR="$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
|
|||||||
# cp .ci/.env.ci .env
|
# cp .ci/.env.ci .env
|
||||||
|
|
||||||
OUTPUT_FORMAT=txt
|
OUTPUT_FORMAT=txt
|
||||||
EXTRA_PARAMS=""
|
EXTRA_PARAMS="-v"
|
||||||
|
|
||||||
if [[ $GITHUB_ACTIONS = "true" ]]
|
if [[ $GITHUB_ACTIONS = "true" ]]
|
||||||
then
|
then
|
||||||
|
Reference in New Issue
Block a user