Skip to content

Commit 247715a

Browse files
committed
Cleaned up code analysis
1 parent c05ed70 commit 247715a

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

composer.json

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,10 @@
1616
"vincentlanglet/twig-cs-fixer": "^3.11",
1717
"phpstan/phpstan": "^2.1"
1818
},
19-
"autoload": {
20-
"psr-4": {
21-
"Drupal\\drupal_translation_extractor\\": "src/"
22-
}
23-
},
2419
"autoload-dev": {
2520
"psr-4": {
21+
"Drupal\\drupal_translation_extractor\\": "src/",
22+
"Drupal\\locale\\": "vendor/drupal/core/modules/locale/src/",
2623
"Drupal\\drupal_translation_extractor\\Test\\": "tests/"
2724
}
2825
},

phpstan.dist.neon

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,3 @@ parameters:
1919

2020
# Stealing also includes type errors …
2121
- '#^Call to function is_null\(\) with Twig\\Node\\Node will always evaluate to false\.$#'
22-
23-
# Drupal is not loaded
24-
- '#invalid type Drupal\\locale\\StringStorageInterface#'
25-
- '#unknown class Drupal\\locale\\StringStorageInterface#'

0 commit comments

Comments
 (0)