Permalink
Browse files

Include symfony phpstan plugin

  • Loading branch information...
ohvitorino committed Nov 9, 2018
1 parent aea7a1f commit ea3aeb975d422b41cf1c8fd175f0ea9da6c7f69d
Showing with 76 additions and 4 deletions.
  1. +1 −0 .htaccess
  2. +2 −1 composer.json
  3. +63 −3 composer.lock
  4. +10 −0 phpstan.neon
@@ -74,6 +74,7 @@ deny from env=stayout
RewriteRule docker-compose\.override\.yml - [F]
RewriteRule \.env - [F]
RewriteRule \.env.dist - [F]
RewriteRule phpstan\.neon - [F]

# redirect all traffic to https
# <IfModule headers_module>
@@ -48,7 +48,8 @@
"symfony/var-dumper": "^3.3",
"squizlabs/php_codesniffer": "^2.7",
"symfony/phpunit-bridge": "^3.2",
"phpstan/phpstan": "^0.10.3"
"phpstan/phpstan": "^0.10.3",
"phpstan/phpstan-symfony": "^0.10.2"
},
"config": {
"bin-dir": "bin"

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
@@ -1,3 +1,6 @@
includes:
- vendor/phpstan/phpstan-symfony/extension.neon

parameters:
level: 0
autoload_files:
@@ -10,3 +13,10 @@ parameters:
- %rootDir%/../../../src/Common/WebTestCase.php
ignoreErrors:
- '#Function newrelic_name_transaction not found#'
- '#Service "breadcrumb" is not registered in the container.#'
- '#Service "header" is not registered in the container.#'
- '#Service "page" is not registered in the container.#'
- '#Service "template" is not registered in the container.#'
- '#Service "url" is not registered in the container.#'
symfony:
container_xml_path: %rootDir%/../../../var/cache/dev/appDevDebugProjectContainer.xml

0 comments on commit ea3aeb9

Please sign in to comment.