mirror of
https://github.com/kmvan/x-prober.git
synced 2026-04-21 16:59:02 +08:00
rename php-cs-fixer54 filename
This commit is contained in:
@@ -1,14 +1,12 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
$finder = PhpCsFixer\Finder::create()
|
||||
->exclude(__DIR__ . '/dist')
|
||||
->exclude(__DIR__ . '/.tmp')
|
||||
->exclude(__DIR__ . '/node_modules')
|
||||
->notPath(__DIR__ . '/functions.php')
|
||||
->in(__DIR__);
|
||||
|
||||
return (new PhpCsFixer\Config())
|
||||
->setIndent(' ')
|
||||
->setRiskyAllowed(true)
|
||||
@@ -140,7 +138,7 @@ return (new PhpCsFixer\Config())
|
||||
'simple_to_complex_string_variable' => true,
|
||||
'simplified_null_return' => true,
|
||||
'single_blank_line_at_eof' => true,
|
||||
'single_blank_line_before_namespace' => true,
|
||||
// 'single_blank_line_before_namespace' => true,
|
||||
'single_import_per_statement' => true,
|
||||
'single_line_after_imports' => true,
|
||||
'single_line_comment_style' => true,
|
||||
2264
dist/prober.php
vendored
2264
dist/prober.php
vendored
File diff suppressed because one or more lines are too long
@@ -7,11 +7,11 @@
|
||||
"scripts": {
|
||||
"lang": "node ./tools/lang-builder.mjs",
|
||||
"dev": "webpack --config webpack.config.mjs",
|
||||
"dev:php": "php ./Make.php dev; php -S localhost:8000 -t .tmp",
|
||||
"dev:php": "php ./Make.php dev && php -S localhost:8000 -t .tmp",
|
||||
"build": "webpack --config webpack.config.prod.mjs",
|
||||
"build:php": "php-cs-fixer fix ./src --config=.php-cs-fixer54.php; php ./Make.php build; echo '\nPlease access via http://localhost:8001/prober.php'; php -S localhost:8001 -t dist",
|
||||
"build:php-debug": "php ./Make.php build debug; echo '\nPlease access via http://localhost:8001/prober.php'; php -S localhost:8001 -t dist",
|
||||
"php-cs-fixer-54": "php-cs-fixer fix ./src --config=.php-cs-fixer54.php"
|
||||
"build:php": "php-cs-fixer fix ./src --config=.php-cs-fixer54 && php ./Make.php build; echo '\nPlease access via http://localhost:8001/prober.php' && php -S localhost:8001 -t dist",
|
||||
"build:php-debug": "php ./Make.php build debug && echo '\nPlease access via http://localhost:8001/prober.php' && php -S localhost:8001 -t dist",
|
||||
"php-cs-fixer-54": "php-cs-fixer fix ./src --config=.php-cs-fixer54"
|
||||
},
|
||||
"browserslist": [
|
||||
"defaults"
|
||||
|
||||
Reference in New Issue
Block a user