From 4878b2d9f70c8199f6f39a31107b879d70f5b658 Mon Sep 17 00:00:00 2001 From: Marcel Kapfer Date: Mon, 29 Mar 2021 16:15:29 +0200 Subject: [PATCH] Formatted all files according to editorconfig --- .../Domain/Repository/FeGroupsRepository.php | 2 +- .../Domain/Service/AuthenticationService.php | 2 +- Classes/Slot/AddCustomGroupsSlot.php | 2 +- Configuration/TCA/Overrides/fe_groups.php | 2 +- .../Private/Language/de.locallang_db.xlf | 18 +++--- Resources/Private/Language/locallang_db.xlf | 16 ++--- composer.json | 58 +++++++++---------- ext_tables.sql | 2 +- 8 files changed, 51 insertions(+), 51 deletions(-) diff --git a/Classes/Domain/Repository/FeGroupsRepository.php b/Classes/Domain/Repository/FeGroupsRepository.php index b7dcc45..5868ceb 100644 --- a/Classes/Domain/Repository/FeGroupsRepository.php +++ b/Classes/Domain/Repository/FeGroupsRepository.php @@ -61,7 +61,7 @@ class FeGroupsRepository $this->getIpQueryString($queryBuilder); $rows = $queryBuilder->execute() - ->fetchAll(); + ->fetchAll(); if (!empty($rows)) { return $rows; diff --git a/Classes/Domain/Service/AuthenticationService.php b/Classes/Domain/Service/AuthenticationService.php index 24cf10f..d81d3a0 100644 --- a/Classes/Domain/Service/AuthenticationService.php +++ b/Classes/Domain/Service/AuthenticationService.php @@ -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; diff --git a/Classes/Slot/AddCustomGroupsSlot.php b/Classes/Slot/AddCustomGroupsSlot.php index 4aa2dbc..4b44b65 100644 --- a/Classes/Slot/AddCustomGroupsSlot.php +++ b/Classes/Slot/AddCustomGroupsSlot.php @@ -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) { diff --git a/Configuration/TCA/Overrides/fe_groups.php b/Configuration/TCA/Overrides/fe_groups.php index 4ba28d3..bf49fd0 100644 --- a/Configuration/TCA/Overrides/fe_groups.php +++ b/Configuration/TCA/Overrides/fe_groups.php @@ -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', diff --git a/Resources/Private/Language/de.locallang_db.xlf b/Resources/Private/Language/de.locallang_db.xlf index d5c949b..a34e181 100644 --- a/Resources/Private/Language/de.locallang_db.xlf +++ b/Resources/Private/Language/de.locallang_db.xlf @@ -1,12 +1,12 @@ - -
- - - Autologin with IP address (e.g. "192.168.*.*, 133.145.219.8") - Autologin über IP-Adresse (z.B. "192.168.*.*, 133.145.219.8") - - - + +
+ + + Autologin with IP address (e.g. "192.168.*.*, 133.145.219.8") + Autologin über IP-Adresse (z.B. "192.168.*.*, 133.145.219.8") + + + diff --git a/Resources/Private/Language/locallang_db.xlf b/Resources/Private/Language/locallang_db.xlf index 92323dd..dbb84de 100644 --- a/Resources/Private/Language/locallang_db.xlf +++ b/Resources/Private/Language/locallang_db.xlf @@ -1,11 +1,11 @@ - -
- - - IP access (e.g. "192.168.*.*, 133.145.219.8") - - - + +
+ + + IP access (e.g. "192.168.*.*, 133.145.219.8") + + + diff --git a/composer.json b/composer.json index bb9795f..da4e46b 100644 --- a/composer.json +++ b/composer.json @@ -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" - } - } } diff --git a/ext_tables.sql b/ext_tables.sql index 0b4641e..df1a221 100644 --- a/ext_tables.sql +++ b/ext_tables.sql @@ -2,5 +2,5 @@ # Table structure for table 'fe_groups' # CREATE TABLE fe_groups ( - ip_mask text + ip_mask text );