Apply code formatting in root files

pull/531/head
fadrian06 1 year ago
parent 8f7c48ce6d
commit 7336bd4fd7

@ -49,8 +49,8 @@
"test": "phpunit", "test": "phpunit",
"test-coverage": "XDEBUG_MODE=coverage vendor/bin/phpunit --coverage-html=coverage --coverage-clover=clover.xml && vendor/bin/coverage-check clover.xml 100", "test-coverage": "XDEBUG_MODE=coverage vendor/bin/phpunit --coverage-html=coverage --coverage-clover=clover.xml && vendor/bin/coverage-check clover.xml 100",
"lint": "phpstan --no-progress -cphpstan.neon", "lint": "phpstan --no-progress -cphpstan.neon",
"beautify": "phpcbf --standard=phpcs.xml", "beautify": "phpcbf --standard=phpcs.xml",
"phpcs": "phpcs --standard=phpcs.xml" "phpcs": "phpcs --standard=phpcs.xml"
}, },
"suggest": { "suggest": {
"latte/latte": "Latte template engine", "latte/latte": "Latte template engine",

@ -19,9 +19,15 @@
"source.json.sublime": "LSP-json", "source.json.sublime": "LSP-json",
}, },
"LSP-html": { "LSP-html": {
"enabled": false "enabled": false,
}, },
"LSP-tailwindcss": { "LSP-tailwindcss": {
"enabled": false,
},
"ltex-ls": {
"enabled": false,
},
"marksman": {
"enabled": false "enabled": false
}, },
}, },
@ -30,12 +36,12 @@
{ {
"name": "Linter - HARD", "name": "Linter - HARD",
"quiet": true, "quiet": true,
"shell_cmd": "composer lint -- --no-ansi -lmax" "shell_cmd": "composer lint -- --no-ansi -lmax",
}, },
{ {
"name": "Linter - Default", "name": "Linter - Default",
"quiet": true, "quiet": true,
"shell_cmd": "composer lint -- --no-ansi" "shell_cmd": "composer lint -- --no-ansi",
} }
], ],
} }

@ -1,10 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<ruleset name="pcsg-generated-ruleset"> <ruleset name="pcsg-generated-ruleset">
<description>Created with the PHP Coding Standard Generator. http://edorian.github.io/php-coding-standard-generator/</description> <description>
<arg name="colors"/> Created with the PHP Coding Standard Generator.
<arg name="tab-width" value="4"/> http://edorian.github.io/php-coding-standard-generator/
<rule ref="PSR12"/> </description>
<!-- <rule ref="Generic.WhiteSpace.DisallowSpaceIndent"/> --> <arg name="colors" />
<file>flight/</file> <arg name="tab-width" value="4" />
<file>tests/</file> <rule ref="PSR12" />
</ruleset> <file>flight/</file>
<file>tests/</file>
</ruleset>

@ -1,23 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd" <phpunit
bootstrap="tests/phpunit_autoload.php" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
executionOrder="random" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
beStrictAboutOutputDuringTests="true" bootstrap="tests/phpunit_autoload.php"
beStrictAboutTodoAnnotatedTests="true" executionOrder="random"
convertDeprecationsToExceptions="true" beStrictAboutOutputDuringTests="true"
stopOnError="true" beStrictAboutTodoAnnotatedTests="true"
stopOnFailure="true" convertDeprecationsToExceptions="true"
verbose="true" stopOnError="true"
colors="true"> stopOnFailure="true"
<coverage processUncoveredFiles="true"> verbose="true"
<include> colors="true">
<directory suffix=".php">flight/</directory> <coverage processUncoveredFiles="true">
</include> <include>
</coverage> <directory suffix=".php">flight/</directory>
<testsuites> </include>
<testsuite name="default"> </coverage>
<directory>tests/</directory> <testsuites>
</testsuite> <testsuite name="default">
</testsuites> <directory>tests/</directory>
<logging/> </testsuite>
</testsuites>
<logging />
</phpunit> </phpunit>

Loading…
Cancel
Save