Add editorconfig, fix style, skip resources (#1385)

* Add editorconfig, fix style, skip resources

* Minimum dev
This commit is contained in:
Barry vd. Heuvel 2023-02-04 16:30:33 +01:00 committed by GitHub
parent 6e922688ca
commit a67e03c63d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 17 additions and 3 deletions

12
.editorconfig Normal file
View File

@ -0,0 +1,12 @@
root = true
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
indent_style = space
indent_size = 4
trim_trailing_whitespace = true
[*.md]
trim_trailing_whitespace = false

View File

@ -51,6 +51,7 @@ jobs:
run: |
composer create-project --prefer-dist laravel/lumen:${{ matrix.lumen }} --no-progress sample
cd sample
composer config minimum-stability dev
composer update --prefer-stable --prefer-dist --no-progress
- name: Add package from source
run: |
@ -105,6 +106,7 @@ jobs:
run: |
composer create-project --prefer-dist laravel/laravel:${{ matrix.laravel }} --no-progress sample
cd sample
composer config minimum-stability dev
composer update --prefer-stable --prefer-dist --no-progress
- name: Add package from source
run: |

View File

@ -52,8 +52,8 @@
}
},
"scripts": {
"check-style": "phpcs -p --standard=PSR12 config/ src/ tests/",
"fix-style": "phpcbf -p --standard=PSR12 config/ src/ tests/",
"check-style": "phpcs -p --standard=PSR12 config/ src/ tests/ --ignore=src/Resources/* ",
"fix-style": "phpcbf -p --standard=PSR12 config/ src/ tests/ --ignore=src/Resources*",
"test": "phpunit"
}
}

View File

@ -545,7 +545,7 @@ class QueryCollector extends PDOCollector
'params' => [
'Virtual Machine Instructions' => $vmi,
]
];
];
} else {
foreach ($query['explain'] as $explain) {
$statements[] = [