Skip to content

Commit 2296567

Browse files
author
Stefan Boonstra
committed
WIP
1 parent a48962a commit 2296567

File tree

4 files changed

+13
-1
lines changed

4 files changed

+13
-1
lines changed

src/Installer/PackagesInstaller.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,14 @@ class PackagesInstaller implements InstallerInterface
5555
'updateDependencies' => true,
5656
]
5757
],
58+
'drupal' => [
59+
'drupal/coder' => [
60+
'version' => '@stable',
61+
'dev' => true,
62+
'updateDependencies' => true,
63+
'allowVersionOverride' => false,
64+
]
65+
]
5866
];
5967

6068
/**

src/ProjectTypeResolver.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ class ProjectTypeResolver
4141
'alumio-project' => 'alumio',
4242
'laravel-project' => 'laravel',
4343
'pimcore-project' => 'pimcore',
44+
'drupal-project' => 'drupal',
4445
];
4546

4647
public const DEFAULT_PROJECT_TYPE = 'default';

templates/files/drupal/grumphp.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
imports:
2-
- resource: 'vendor/youwe/testing-suite/config/pimcore/grumphp.yml'
2+
- resource: 'vendor/youwe/testing-suite/config/drupal/grumphp.yml'

templates/mapping/project/drupal

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{drupal/,}phpcs.xml
2+
{drupal/,}phpmd.xml
3+
{drupal/,}phpstan.neon

0 commit comments

Comments
 (0)