Formatted all files according to editorconfig

This commit is contained in:
Marcel Kapfer 2021-03-29 16:15:29 +02:00
parent 261eed61cf
commit 4878b2d9f7
Signed by: mmk2410
GPG Key ID: CADE6F0C09F21B09
8 changed files with 51 additions and 51 deletions

View File

@ -61,7 +61,7 @@ class FeGroupsRepository
$this->getIpQueryString($queryBuilder);
$rows = $queryBuilder->execute()
->fetchAll();
->fetchAll();
if (!empty($rows)) {
return $rows;

View File

@ -48,7 +48,7 @@ class AuthenticationService extends AuthenticationServiceCore
public function getGroups($user, $knownGroups)
{
$feGroupsRepository = GeneralUtility::makeInstance(ObjectManager::class)
->get(FeGroupsRepository::class);
->get(FeGroupsRepository::class);
$feGroups = $feGroupsRepository->findByCurrentIpAddress();
if (!empty($feGroups)) {
return $feGroups;

View File

@ -40,7 +40,7 @@ class AddCustomGroupsSlot
public function addCustomGroups($customGroups)
{
$feGroupsRepository = GeneralUtility::makeInstance(ObjectManager::class)
->get(FeGroupsRepository::class);
->get(FeGroupsRepository::class);
$feGroups = $feGroupsRepository->findByCurrentIpAddress();
foreach ($feGroups as $feGroup) {

View File

@ -9,7 +9,7 @@ $columns = [
'ip_mask' => [
'exclude' => 0,
'label' => 'LLL:EXT:in2frontendauthentication/Resources/Private/Language/locallang_db.xlf:' .
FeGroupsRepository::TABLE_NAME . '.ip_mask',
FeGroupsRepository::TABLE_NAME . '.ip_mask',
'config' => [
'type' => 'text',
'cols' => '40',

View File

@ -1,12 +1,12 @@
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<xliff version="1.0">
<file source-language="en" target-language="de" datatype="plaintext" original="messages" date="2014-05-02T12:00:00Z" product-name="powermail">
<header/>
<body>
<trans-unit id="fe_groups.ip_mask">
<source>Autologin with IP address (e.g. "192.168.*.*, 133.145.219.8")</source>
<target state="translated">Autologin über IP-Adresse (z.B. "192.168.*.*, 133.145.219.8")</target>
</trans-unit>
</body>
</file>
<file source-language="en" target-language="de" datatype="plaintext" original="messages" date="2014-05-02T12:00:00Z" product-name="powermail">
<header/>
<body>
<trans-unit id="fe_groups.ip_mask">
<source>Autologin with IP address (e.g. "192.168.*.*, 133.145.219.8")</source>
<target state="translated">Autologin über IP-Adresse (z.B. "192.168.*.*, 133.145.219.8")</target>
</trans-unit>
</body>
</file>
</xliff>

View File

@ -1,11 +1,11 @@
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<xliff version="1.0">
<file source-language="en" datatype="plaintext" original="messages" date="2013-04-13T15:49:07Z" product-name="in2frontendauthentication">
<header/>
<body>
<trans-unit id="fe_groups.ip_mask">
<source>IP access (e.g. "192.168.*.*, 133.145.219.8")</source>
</trans-unit>
</body>
</file>
<file source-language="en" datatype="plaintext" original="messages" date="2013-04-13T15:49:07Z" product-name="in2frontendauthentication">
<header/>
<body>
<trans-unit id="fe_groups.ip_mask">
<source>IP access (e.g. "192.168.*.*, 133.145.219.8")</source>
</trans-unit>
</body>
</file>
</xliff>

View File

@ -1,34 +1,34 @@
{
"name": "in2code/in2frontendauthentication",
"description": "Simulate fe_groups login by IP address",
"keywords": ["typo3", "ip", "felogin"],
"homepage": "https://git.mmk2410.org/mmk2410/feipauth",
"authors": [
{
"name": "Alex Kellner",
"email": "alexander.kellner@in2code.de"
"name": "in2code/in2frontendauthentication",
"description": "Simulate fe_groups login by IP address",
"keywords": ["typo3", "ip", "felogin"],
"homepage": "https://git.mmk2410.org/mmk2410/feipauth",
"authors": [
{
"name": "Alex Kellner",
"email": "alexander.kellner@in2code.de"
},
{
"name": "Marcel Kapfer",
"email": "stuve.oeffentlichkeitsarbeit@uni-ulm.de"
},
{
"name": "Marcel Kapfer",
"email": "opensource@mmk2410.org"
}
],
"type": "typo3-cms-extension",
"license": "GPL-3.0",
"require": {
"typo3/cms": ">=8.7.0 <9.9.99"
},
{
"name": "Marcel Kapfer",
"email": "stuve.oeffentlichkeitsarbeit@uni-ulm.de"
"replace": {
"in2frontendauthentication": "self.version",
"typo3-ter/in2frontendauthentication": "self.version"
},
{
"name": "Marcel Kapfer",
"email": "opensource@mmk2410.org"
"autoload": {
"psr-4": {
"In2code\\In2frontendauthentication\\": "Classes"
}
}
],
"type": "typo3-cms-extension",
"license": "GPL-3.0",
"require": {
"typo3/cms": ">=8.7.0 <9.9.99"
},
"replace": {
"in2frontendauthentication": "self.version",
"typo3-ter/in2frontendauthentication": "self.version"
},
"autoload": {
"psr-4": {
"In2code\\In2frontendauthentication\\": "Classes"
}
}
}

View File

@ -2,5 +2,5 @@
# Table structure for table 'fe_groups'
#
CREATE TABLE fe_groups (
ip_mask text
ip_mask text
);