Skip to content

Commit 0dacd0d

Browse files
authored
Merge pull request #71 from jrfnl/feature/remove-drupal8-symfony2
Remove `Drupal8` and `Symfony2` support
2 parents 226ac34 + 327c4b3 commit 0dacd0d

File tree

6 files changed

+0
-98
lines changed

6 files changed

+0
-98
lines changed

Security/Sniffs/Drupal8/Utils.php

Lines changed: 0 additions & 29 deletions
This file was deleted.

Security/Sniffs/Symfony2/Utils.php

Lines changed: 0 additions & 33 deletions
This file was deleted.

Security/Tests/AbstractSecurityTestCase.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -70,14 +70,6 @@ public function setCliValues($filename, $config)
7070
$config->setConfigData('CmsFramework', 'Drupal7', true);
7171
break;
7272

73-
case 'Drupal8':
74-
$config->setConfigData('CmsFramework', 'Drupal8', true);
75-
break;
76-
77-
case 'Symfony2':
78-
$config->setConfigData('CmsFramework', 'Symfony2', true);
79-
break;
80-
8173
default:
8274
$config->setConfigData('CmsFramework', null, true);
8375
break;

Security/Tests/BadFunctions/BackticksUnitTest.Drupal8.inc

Lines changed: 0 additions & 5 deletions
This file was deleted.

Security/Tests/BadFunctions/BackticksUnitTest.Symfony2.inc

Lines changed: 0 additions & 5 deletions
This file was deleted.

Security/Tests/BadFunctions/BackticksUnitTest.php

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -36,19 +36,6 @@ public function getErrorList($testFile = '')
3636
5 => 1,
3737
];
3838

39-
case 'BackticksUnitTest.Drupal8.inc':
40-
return [
41-
3 => 1,
42-
4 => 1,
43-
5 => 1,
44-
];
45-
46-
case 'BackticksUnitTest.Symfony2.inc':
47-
return [
48-
4 => 1,
49-
5 => 1,
50-
];
51-
5239
default:
5340
return [];
5441
}
@@ -81,11 +68,6 @@ public function getWarningList($testFile = '')
8168
4 => 1,
8269
];
8370

84-
case 'BackticksUnitTest.Symfony2.inc':
85-
return [
86-
3 => 1,
87-
];
88-
8971
default:
9072
return [];
9173
}

0 commit comments

Comments
 (0)