mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-03 10:32:33 +00:00
Updated to PHP-CS-Fixer 3.0.0
This commit is contained in:
parent
e6ff908e18
commit
a13b0c98a1
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
@ -278,4 +278,4 @@ jobs:
|
||||
tools: php-cs-fixer
|
||||
|
||||
- name: Run PHP-CS-Fixer
|
||||
run: php-cs-fixer fix --dry-run --diff --diff-format=udiff
|
||||
run: php-cs-fixer fix --dry-run --diff
|
||||
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -47,3 +47,4 @@ Documentation/*
|
||||
|
||||
# php-cs-fixer
|
||||
/.php_cs.cache
|
||||
/.php-cs-fixer.cache
|
||||
|
@ -9,7 +9,7 @@ $finder = PhpCsFixer\Finder::create()
|
||||
->notContains('#ifndef COMPILE') //preprocessor will break if these are changed
|
||||
->notName('PocketMine.php');
|
||||
|
||||
return PhpCsFixer\Config::create()
|
||||
return (new PhpCsFixer\Config)
|
||||
->setRiskyAllowed(true)
|
||||
->setRules([
|
||||
'align_multiline_comment' => [
|
Loading…
x
Reference in New Issue
Block a user