Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5877b3c

Browse files
author
Julien Neuhart
committed
PHP analysis tools
1 parentfd07fbd commit5877b3c

17 files changed

+1599
-389
lines changed

‎app/.gitignore‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,8 @@
2121
npm-debug.log
2222
yarn-error.log
2323
###< symfony/webpack-encore-pack ###
24+
25+
###> squizlabs/php_codesniffer ###
26+
/.phpcs-cache
27+
/phpcs.xml
28+
###< squizlabs/php_codesniffer ###

‎app/composer.json‎

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@
2727
"symfony/validator":"^4.1",
2828
"symfony/web-link":"^4.1",
2929
"symfony/webpack-encore-pack":"^1.0",
30-
"symfony/yaml":"^4.1"
30+
"symfony/yaml":"^4.1",
31+
"thecodingmachine/safe":"^0.1.5"
3132
},
3233
"require-dev": {
3334
"doctrine/doctrine-fixtures-bundle":"^3.0",
@@ -36,7 +37,11 @@
3637
"symfony/maker-bundle":"^1.0",
3738
"symfony/profiler-pack":"*",
3839
"symfony/test-pack":"^1.0",
39-
"symfony/web-server-bundle":"^4.1"
40+
"symfony/web-server-bundle":"^4.1",
41+
"phpstan/phpstan":"^0.10",
42+
"squizlabs/php_codesniffer":"^3.1",
43+
"thecodingmachine/phpstan-safe-rule":"^0.1.0",
44+
"thecodingmachine/phpstan-strict-rules":"^0.10"
4045
},
4146
"config": {
4247
"preferred-install": {
@@ -61,6 +66,9 @@
6166
"symfony/polyfill-php56":"*"
6267
},
6368
"scripts": {
69+
"phpstan":"phpstan analyse src/ -c phpstan.neon --level=7 --no-progress -vvv --memory-limit=1024M",
70+
"cscheck":"phpcs --ignore=src/Migrations/**",
71+
"csfix":"phpcbf --ignore=src/Migrations/**",
6472
"auto-scripts": {
6573
"cache:clear":"symfony-cmd",
6674
"assets:install %PUBLIC_DIR%":"symfony-cmd"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp