From fc222e1e7d6805692b750745fea964705c5f15b0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Stephan=20Gro=C3=9Fberndt?= <stephan@grossberndt.de>
Date: Mon, 18 Dec 2017 17:18:27 +0100
Subject: [PATCH] [BUGFIX] Use integers in TCA definitions

Releases: master
Resolves: #83380
Change-Id: Ic90db1b6ee239841586ab100be6d8d312a94e859
Reviewed-on: https://review.typo3.org/55152
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Tested-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Tested-by: Alexander Opitz <opitz.alexander@googlemail.com>
---
 typo3/sysext/core/Configuration/TCA/sys_filemounts.php   | 2 +-
 typo3/sysext/frontend/Configuration/TCA/fe_users.php     | 4 ++--
 typo3/sysext/sys_action/Configuration/TCA/sys_action.php | 2 +-
 typo3/sysext/sys_note/Configuration/TCA/sys_note.php     | 2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/typo3/sysext/core/Configuration/TCA/sys_filemounts.php b/typo3/sysext/core/Configuration/TCA/sys_filemounts.php
index e646417d732b..d74197a8331e 100644
--- a/typo3/sysext/core/Configuration/TCA/sys_filemounts.php
+++ b/typo3/sysext/core/Configuration/TCA/sys_filemounts.php
@@ -45,7 +45,7 @@ return [
                 'type' => 'text',
                 'rows' => 5,
                 'cols' => 30,
-                'max' => '2000',
+                'max' => 2000
             ]
         ],
         'base' => [
diff --git a/typo3/sysext/frontend/Configuration/TCA/fe_users.php b/typo3/sysext/frontend/Configuration/TCA/fe_users.php
index 373dd2d2f1de..d7350a73bdba 100644
--- a/typo3/sysext/frontend/Configuration/TCA/fe_users.php
+++ b/typo3/sysext/frontend/Configuration/TCA/fe_users.php
@@ -154,7 +154,7 @@ return [
                 'type' => 'input',
                 'size' => 20,
                 'eval' => 'trim',
-                'max' => '40'
+                'max' => 40
             ]
         ],
         'zip' => [
@@ -164,7 +164,7 @@ return [
                 'type' => 'input',
                 'eval' => 'trim',
                 'size' => 10,
-                'max' => '10'
+                'max' => 10
             ]
         ],
         'city' => [
diff --git a/typo3/sysext/sys_action/Configuration/TCA/sys_action.php b/typo3/sysext/sys_action/Configuration/TCA/sys_action.php
index b3f0a2a0f0a2..2a14906a8d1e 100644
--- a/typo3/sysext/sys_action/Configuration/TCA/sys_action.php
+++ b/typo3/sysext/sys_action/Configuration/TCA/sys_action.php
@@ -81,7 +81,7 @@ return [
             'config' => [
                 'type' => 'input',
                 'size' => 25,
-                'max' => '10',
+                'max' => 10,
                 'eval' => 'trim'
             ]
         ],
diff --git a/typo3/sysext/sys_note/Configuration/TCA/sys_note.php b/typo3/sysext/sys_note/Configuration/TCA/sys_note.php
index 31e39ca9927b..9223b393c64f 100644
--- a/typo3/sysext/sys_note/Configuration/TCA/sys_note.php
+++ b/typo3/sysext/sys_note/Configuration/TCA/sys_note.php
@@ -50,7 +50,7 @@ return [
             'config' => [
                 'type' => 'text',
                 'cols' => 40,
-                'rows' => '15'
+                'rows' => 15
             ]
         ],
         'personal' => [
-- 
GitLab