Skip to content
This repository was archived by the owner on Sep 1, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,16 @@
"php": "^7.2",
"friendsofsymfony/http-cache-bundle": "^2.6",
"phpstan/phpstan": "^0.12",
"phpstan/phpstan-symfony": "^0.12",
"phpstan/phpstan-phpunit": "^0.12",
"phpstan/phpstan-symfony": "^0.12",
"symfony/debug": "^4.4",
"symfony/monolog-bridge": "^4.4",
"symfony/monolog-bundle": "^3.3",
"symfony/templating": "^4.4"
},
"require-dev": {
"contao/core-bundle": "^4.9",
"contao/news-bundle": "^4.9",
"contao/test-case": "^3.0",
"friendsofphp/php-cs-fixer": "^2.14",
"lexik/maintenance-bundle": "^2.1.3",
Expand All @@ -31,6 +32,12 @@
"symfony/http-client": "^4.4",
"symfony/var-dumper": "^4.4"
},
"config": {
"preferred-install": {
"contao/*": "source",
"*": "dist"
}
},
"extra": {
"phpstan": {
"includes": [
Expand All @@ -43,7 +50,8 @@
},
"autoload": {
"psr-4": {
"Contao\\PhpStan\\": "src/"
"Contao\\PhpStan\\": "src/",
"Contao\\CoreBundle\\Tests\\": "../../contao/core-bundle/tests/"
}
},
"autoload-dev": {
Expand Down
21 changes: 0 additions & 21 deletions config/config_phpstan.yml

This file was deleted.

63 changes: 0 additions & 63 deletions config/security.yml

This file was deleted.

101 changes: 0 additions & 101 deletions src/AppKernel.php

This file was deleted.

1 change: 1 addition & 0 deletions src/ServiceHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

namespace Contao\PhpStan;

use Contao\CoreBundle\Tests\Functional\app\AppKernel;
use PhpParser\Node\Expr;
use PHPStan\Analyser\Scope;
use PHPStan\Type\TypeUtils;
Expand Down