syntax error, unexpected token "="
mdinopol opened this issue · comments
mdinopol commented
Pint Version
1.13
PHP Version
8.2
Description
When running ./vendor/bin/pint
, it fails on some built in config files such as config/broadcasting.php
while I haven't even touched a thing in that file.
Steps To Reproduce
Here is my pint.json
configuration:
{
"preset": "laravel",
"rules": {
"class_attributes_separation": {
"elements": {
"const": "none",
"method": "one",
"property": "one",
"trait_import": "none",
"case": "none"
}
},
"no_superfluous_phpdoc_tags": false,
"compact_nullable_typehint": true,
"list_syntax": {
"syntax": "short"
},
"no_null_property_initialization": true,
"no_superfluous_elseif": true,
"no_useless_else": true,
"ordered_class_elements": true,
"simplified_null_return": true,
"yoda_style": false,
"single_line_throw": false,
"binary_operator_spaces": {
"operators": {
"=": "align_single_space_minimal",
"=>": "align_single_space_minimal"
}
}
},
"path": [
"app",
"config",
"database",
"routes",
"tests"
],
"notPath": [
"application/views"
],
"name": [
"*.php"
],
"ignoreDotFiles": true,
"ignoreVCS": true
}
Julius Kiekbusch commented
Duplicate of #245
Is already fixed, will probably be released on Tuesday.
You can for now revert to 1.13.8
Dries Vints commented
Thanks @Jubeki