74925[!!!][FEATURE] Provide dedicated enum for contextual feedback
Commit message
Review
-
Code review CR +2 Done
- Andreas Kienast +2
- Oliver Klee +1
- Markus Klein +1
- Frank Nägler +1
-
Verified V +2 Done
- Andreas Kienast +2
- Frank Nägler +1
- Benni Mack +1
- core-ci +1 CI
Issues 1
Files 133
- Build/phpstan/phpstan-baseline.neon+0 −5
- typo3/sysext/backend/Classes/Controller/File/FileController.php+2 −2
- typo3/sysext/backend/Classes/Controller/EditDocumentController.php+3 −3
- typo3/sysext/backend/Classes/Controller/FormInlineAjaxController.php+2 −2
- typo3/sysext/backend/Classes/Controller/MfaConfigurationController.php+14 −14
- typo3/sysext/backend/Classes/Controller/MfaSetupController.php+2 −2
- typo3/sysext/backend/Classes/Controller/OnlineMediaController.php+3 −2
- typo3/sysext/backend/Classes/Controller/SimpleDataHandlerController.php+2 −2
- typo3/sysext/backend/Classes/Controller/SiteConfigurationController.php+8 −7
- typo3/sysext/backend/Classes/Form/Element/UserSysFileStorageIsPublicElement.php+3 −2
- typo3/sysext/backend/Classes/Form/FormDataProvider/AbstractItemProvider.php+3 −2
- typo3/sysext/backend/Classes/Form/FormDataProvider/DatabaseSystemLanguageRows.php+2 −1
- typo3/sysext/backend/Classes/Form/FormDataProvider/TcaInline.php+2 −1
- typo3/sysext/backend/Classes/Template/ModuleTemplate.php3+8 −2
- typo3/sysext/backend/Classes/View/BackendLayout/ContentFetcher.php+2 −1
- typo3/sysext/backend/Classes/View/Drawing/BackendLayoutRenderer.php+2 −1
- typo3/sysext/backend/Classes/View/PageLayoutView.php+4 −3
- typo3/sysext/backend/Tests/Unit/Controller/File/FileControllerTest.php+2 −1
- typo3/sysext/belog/Classes/Controller/BackendLogController.php+2 −2
- typo3/sysext/beuser/Classes/Controller/BackendUserController.php+3 −3
Show 113 more files
- typo3/sysext/beuser/Classes/Controller/PermissionController.php+4 −4
- typo3/sysext/core/Classes/Authentication/Mfa/Provider/RecoveryCodesProvider.php+6 −5
- typo3/sysext/core/Classes/DataHandling/DataHandler.php+2 −1
- typo3/sysext/core/Classes/DataHandling/ItemProcessingService.php+2 −1
- typo3/sysext/core/Classes/Error/ErrorHandler.php+3 −2
- typo3/sysext/core/Classes/FormProtection/FormProtectionFactory.php+2 −1
- typo3/sysext/core/Classes/Hooks/BackendUserGroupIntegrityCheck.php+2 −1
- typo3/sysext/core/Classes/Hooks/CreateSiteConfiguration.php+2 −1
- typo3/sysext/core/Classes/Messaging/Renderer/BootstrapRenderer.php+2 −24
- typo3/sysext/core/Classes/Messaging/Renderer/ListRenderer.php+2 −24
- typo3/sysext/core/Classes/Messaging/Renderer/PlaintextRenderer.php+1 −13
- typo3/sysext/core/Classes/Messaging/AbstractMessage.php16+33 −58
- typo3/sysext/core/Classes/Messaging/FlashMessage.php4+8 −3
- typo3/sysext/core/Classes/Messaging/FlashMessageQueue.php+33 −8
- typo3/sysext/core/Classes/Resource/Service/UserFileMountService.php+3 −2
- typo3/sysext/core/Classes/Resource/SynchronizeFolderRelations.php+2 −1
- typo3/sysext/core/Classes/Type/ContextualFeedbackSeverity.phpnew+98 −0
- typo3/sysext/core/Classes/Utility/File/ExtendedFileUtility.php+26 −25
- typo3/sysext/core/Documentation/Changelog/12.0/Breaking-97787-AbstractMessageGetSeverityReturnsContextualFeedbackSeverity.rstnew+61 −0
- typo3/sysext/core/Documentation/Changelog/12.0/Deprecation-97787-SeveritiesOfFlashMessagesAndReportsDeprecated.rstnew+61 −0
- typo3/sysext/core/Documentation/Changelog/12.0/Feature-97787-EnumForSeveritiesIntroduced.rstnew+55 −0
- typo3/sysext/core/Tests/Functional/Messaging/FlashMessageQueueTest.php+16 −15
- typo3/sysext/core/Tests/Unit/Messaging/Renderer/BootstrapRendererTest.php+3 −2
- typo3/sysext/core/Tests/Unit/Messaging/Renderer/ListRendererTest.php+3 −2
- typo3/sysext/core/Tests/Unit/Messaging/Renderer/PlaintextRendererTest.php+3 −2
- typo3/sysext/core/Tests/Unit/Messaging/FlashMessageTest.php+3 −2
- typo3/sysext/extbase/Classes/Mvc/Controller/ActionController.php+10 −4
- typo3/sysext/extbase/Tests/Unit/Mvc/Controller/ActionControllerTest.php+13 −12
- typo3/sysext/extensionmanager/Classes/Controller/ActionController.php+3 −3
- typo3/sysext/extensionmanager/Classes/Controller/DownloadController.php+2 −1
- typo3/sysext/extensionmanager/Classes/Controller/ListController.php+3 −3
- typo3/sysext/extensionmanager/Classes/Controller/UploadExtensionFileController.php+5 −5
- typo3/sysext/extensionmanager/Classes/Report/ExtensionComposerStatus.php+2 −1
- typo3/sysext/extensionmanager/Classes/Report/ExtensionStatus.php+12 −11
- typo3/sysext/extensionmanager/Tests/Unit/Report/ExtensionStatusTest.php+9 −8
- typo3/sysext/felogin/Classes/Controller/PasswordRecoveryController.php+2 −2
- typo3/sysext/filelist/Classes/Controller/File/EditFileController.php+2 −2
- typo3/sysext/filelist/Classes/Controller/FileListController.php+6 −6
- typo3/sysext/fluid/Tests/Functional/ViewHelpers/FlashMessagesViewHelperTest.php+3 −3
- typo3/sysext/form/Classes/Controller/FormManagerController.php+2 −2
- typo3/sysext/form/Classes/Domain/Finishers/AbstractFinisher.php+1 −1
- typo3/sysext/form/Classes/Domain/Finishers/FlashMessageFinisher.php+10 −7
- typo3/sysext/form/Classes/Hooks/DataStructureIdentifierHook.php+2 −2
- typo3/sysext/form/Classes/Hooks/FormPagePreviewRenderer.php+2 −2
- typo3/sysext/form/Documentation/D/FinisherOptions/Index.rst+4 −4
- typo3/sysext/form/Documentation/I/Config/proto/finishersDefinition/finishers/FlashMessage.rst+2 −2
- typo3/sysext/impexp/Classes/Controller/ExportController.php+10 −10
- typo3/sysext/impexp/Classes/Controller/ImportController.php+3 −3
- typo3/sysext/install/Classes/Controller/EnvironmentController.php+16 −15
- typo3/sysext/install/Classes/Controller/InstallerController.php3+28 −29
- typo3/sysext/install/Classes/Controller/MaintenanceController.php+13 −12
- typo3/sysext/install/Classes/Controller/SettingsController.php+11 −10
- typo3/sysext/install/Classes/Controller/UpgradeController.php+14 −13
- typo3/sysext/install/Classes/FolderStructure/AbstractNode.php+2 −1
- typo3/sysext/install/Classes/FolderStructure/DefaultPermissionsCheck.php+8 −7
- typo3/sysext/install/Classes/FolderStructure/DirectoryNode.php+8 −7
- typo3/sysext/install/Classes/FolderStructure/FileNode.php+10 −9
- typo3/sysext/install/Classes/FolderStructure/LinkNode.php+5 −4
- typo3/sysext/install/Classes/FolderStructure/RootNode.php+2 −1
- typo3/sysext/install/Classes/Middleware/Maintenance.php+3 −2
- typo3/sysext/install/Classes/Report/EnvironmentStatusReport.php+7 −7
- typo3/sysext/install/Classes/Report/InstallStatusReport.php+17 −16
- typo3/sysext/install/Classes/Report/SecurityStatusReport.php+4 −3
- typo3/sysext/install/Classes/Service/CoreUpdateService.php+28 −27
- typo3/sysext/install/Classes/Service/UpgradeWizardsService.php+2 −1
- typo3/sysext/install/Classes/SystemEnvironment/DatabaseCheck/Driver/Mysqli.php+2 −1
- typo3/sysext/install/Classes/SystemEnvironment/DatabaseCheck/Platform/AbstractPlatform.php+2 −1
- typo3/sysext/install/Classes/SystemEnvironment/DatabaseCheck/Platform/MySql.php+6 −5
- typo3/sysext/install/Classes/SystemEnvironment/DatabaseCheck/Platform/PostgreSql.php+7 −6
- typo3/sysext/install/Classes/SystemEnvironment/DatabaseCheck/Platform/Sqlite.php+2 −1
- typo3/sysext/install/Classes/SystemEnvironment/ServerResponse/ServerResponseCheck.php+12 −11
- typo3/sysext/install/Classes/SystemEnvironment/Check.php+31 −30
- typo3/sysext/install/Classes/SystemEnvironment/DatabaseCheck.php+3 −2
- typo3/sysext/install/Classes/SystemEnvironment/SetupCheck.php+16 −15
- typo3/sysext/install/Configuration/ExtensionScanner/Php/ClassConstantMatcher.php2+75 −0
- typo3/sysext/install/Tests/Unit/FolderStructure/AbstractNodeTest.php+2 −2
- typo3/sysext/install/Tests/Unit/FolderStructure/DirectoryNodeTest.php+10 −9
- typo3/sysext/install/Tests/Unit/FolderStructure/FileNodeTest.php+11 −10
- typo3/sysext/install/Tests/Unit/FolderStructure/LinkNodeTest.php+6 −6
- typo3/sysext/install/Tests/Unit/FolderStructure/RootNodeTest.php+4 −3
- typo3/sysext/linkvalidator/Classes/Controller/LinkValidatorController.php+3 −3
- typo3/sysext/linkvalidator/Classes/Task/ValidatorTaskAdditionalFieldProvider.php+4 −4
- typo3/sysext/lowlevel/Classes/Database/QueryGenerator.php+3 −2
- typo3/sysext/recordlist/Classes/Controller/RecordListController.php+2 −2
- typo3/sysext/recycler/Classes/Task/CleanerFieldProvider.php+4 −4
- typo3/sysext/recycler/Tests/Unit/Task/CleanerFieldProviderTest.php+2 −2
- typo3/sysext/redirects/Classes/Report/Status/RedirectStatus.php+3 −2
- typo3/sysext/reports/Classes/Report/Status/ConfigurationStatus.php+14 −13
- typo3/sysext/reports/Classes/Report/Status/FalStatus.php+3 −2
- typo3/sysext/reports/Classes/Report/Status/SecurityStatus.php+18 −17
- typo3/sysext/reports/Classes/Report/Status/Status.php+10 −16
- typo3/sysext/reports/Classes/Report/Status/SystemStatus.php+3 −2
- typo3/sysext/reports/Classes/Report/Status/Typo3Status.php+3 −2
- typo3/sysext/reports/Classes/Report/WarningsForAboutModule.php+2 −2
- typo3/sysext/reports/Classes/Task/SystemStatusUpdateTask.php+3 −2
- typo3/sysext/reports/Classes/Task/SystemStatusUpdateTaskNotificationEmailField.php+2 −2
- typo3/sysext/reports/Classes/Status.php+33 −27
- typo3/sysext/reports/Resources/Private/Templates/StatusReport.html+2 −2
- typo3/sysext/reports/Tests/Unit/Report/Status/Typo3StatusTest.php+3 −3
- typo3/sysext/scheduler/Classes/Controller/SchedulerModuleController.php+28 −28
- typo3/sysext/scheduler/Classes/Example/SleepTaskAdditionalFieldProvider.php+2 −2
- typo3/sysext/scheduler/Classes/Example/TestTaskAdditionalFieldProvider.php+2 −2
- typo3/sysext/scheduler/Classes/Task/CachingFrameworkGarbageCollectionAdditionalFieldProvider.php+3 −3
- typo3/sysext/scheduler/Classes/Task/ExecuteSchedulableCommandAdditionalFieldProvider.php+3 −2
- typo3/sysext/scheduler/Classes/Task/IpAnonymizationAdditionalFieldProvider.php+2 −2
- typo3/sysext/scheduler/Classes/Task/OptimizeDatabaseTableAdditionalFieldProvider.php+3 −3
- typo3/sysext/scheduler/Classes/Task/RecyclerGarbageCollectionAdditionalFieldProvider.php+2 −2
- typo3/sysext/scheduler/Classes/Task/TableGarbageCollectionAdditionalFieldProvider.php+2 −2
- typo3/sysext/scheduler/Classes/AbstractAdditionalFieldProvider.php+9 −2
- typo3/sysext/setup/Classes/Controller/SetupModuleController.php+4 −4
- typo3/sysext/tstemplate/Classes/Controller/ObjectBrowserController.php+4 −4
- typo3/sysext/viewpage/Classes/Controller/ViewModuleController.php+3 −3
- typo3/sysext/workspaces/Classes/Hook/BackendUtilityHook.php+2 −1
Review log 98124
Show 7899 earlier messages
-
Andreas Kienast uploaded patch set 1 06/17/22, 11:35
-
core-ci voted on patch set 1 V -1 06/17/22, 11:45 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/28136
-
Andreas Kienast uploaded patch set 2 06/17/22, 12:16
-
Benni Mack commented on patch set 2 06/17/22, 12:22
we can move the new Enum to EXT:core/Classes/Type -
core-ci voted on patch set 2 V -1 06/17/22, 12:28 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/28140
-
Andreas Kienast uploaded patch set 3 06/17/22, 12:29
-
core-ci voted on patch set 3 V -1 06/17/22, 12:41 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/28141
-
Andreas Kienast uploaded patch set 4 06/17/22, 13:15
-
Andreas Kienast uploaded patch set 5 06/17/22, 13:17
-
core-ci voted on patch set 4 V -1 06/17/22, 13:32 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/28147
-
core-ci voted on patch set 5 V -1 06/17/22, 13:35 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/28148
-
Andreas Kienast uploaded patch set 6 06/17/22, 13:39
-
Andreas Kienast uploaded patch set 7 06/17/22, 13:45
-
core-ci voted on patch set 6 V -1 06/17/22, 13:51 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/28153
-
core-ci voted on patch set 7 V +1 06/17/22, 13:52 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/28154
-
Andreas Kienast uploaded patch set 8 06/17/22, 20:01
-
core-ci voted on patch set 8 V +1 06/17/22, 20:09 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/28164
-
Oliver Klee commented on patch set 8 06/17/22, 21:21
Severity.php:28Let's help PHPStan a bit here by adding a more specific return type annotation. /** * @return non-empty string */Severity.php:39/** * @return non-empty string */ -
Andreas Kienast uploaded patch set 9 06/18/22, 11:19
-
core-ci voted on patch set 9 V +1 06/18/22, 11:27 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/28174
-
Oliver Klee commented on patch set 9 06/18/22, 11:30
Severity.php:28ReplyDoneSeverity.php:39ReplyDone -
Stefan Bürk commented on patch set 9 06/18/22, 17:41
ModuleTemplate.php:241Also the "transform" method throwing the deprecation notices, I think we should directly mark the "int" support for the method argument here directly as deprecated, adding a ``` * @deprecated int type for $severity deprecated in v12, will change to Severity only in v13. ``` or something like that - or at least add a corresponding @todo line to the method docblock comment. Same for eventually similar places .... -
Andreas Kienast commented on patch set 9 06/18/22, 20:54
ModuleTemplate.php:241ReplyI'll add a @todo in the docblock and a @deprecated in the is_int() checks. -
Andreas Kienast uploaded patch set 10 06/18/22, 21:01
-
core-ci voted on patch set 10 V +1 06/18/22, 21:08 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/28190
-
Andreas Kienast uploaded patch set 11 06/19/22, 11:49
-
core-ci voted on patch set 11 V +1 06/19/22, 11:56 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/28221
-
Jörg Bösche voted on patch set 11 CR +1 06/23/22, 13:45
-
Oliver Klee commented on patch set 11 06/23/22, 13:59
ModuleTemplate.php:241ReplyDone -
Andreas Kienast uploaded patch set 12 07/05/22, 13:40
-
core-ci voted on patch set 12 V +1 07/05/22, 13:49 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/28674
-
Benni Mack voted on patch set 12 CR +1 07/05/22, 20:29
-
Oliver Klee commented on patch set 12 07/08/22, 09:26
Should we also deprecate the TYPO3\CMS\Backend\Toolbar\Enumeration\InformationStatus class and its usages? -
Markus Klein commented on patch set 12 07/08/22, 09:36
Not sure what that means. -
Markus Klein commented on patch set 12 07/08/22, 09:42
ClassConstantMatcher.php:478shouldn't we catch AbstractMessage::* too? -
Andreas Kienast commented on patch set 12 CR -1 07/08/22, 09:55
Reply
Should be "backed", muscle memory...ClassConstantMatcher.php:478ReplyAck -
Andreas Kienast uploaded patch set 13 07/08/22, 10:05
-
core-ci voted on patch set 13 V +1 07/08/22, 10:13 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/28751
-
Andreas Kienast commented on patch set 13 07/08/22, 10:22
Reply
I guess I'd like to tackle those enums in a separate patch. -
Oliver Klee commented on patch set 13 CR +1 07/08/22, 10:29
Reply
Ack. -
Oliver Klee commented on patch set 13 07/08/22, 10:29
Reply
Done -
crell commented on patch set 13 07/08/22, 13:26
I like this! A few comment notes, nothing major. My one question is whether "Severity" is too generic a name. The constants it has are very similar to those used for logging, but are still different. I have to ask, should the enum have a scope prefix, like FlashSeverity or something like that?AbstractMessage.php:75The updated comment here is slightly misleading. The return value must be one of the backing values of Severity, not a Severity case per se. For long-term planning, it may make sense to have it switch to actually returning the Enum in the future so we can get rid of getSeverityEnum() (after making one an alias of the other for a while). I'm not sure if that's worth mentioning in a comment or not.Severity.php:26I think these could use a comment to explain where/why these integer values are used. Even if it's just for BC, that's worth noting. -
Andreas Kienast commented on patch set 13 07/08/22, 19:30
Reply
I also thought a while about this. "Flash" binds this to flash messages, where it's not only used but also for notifications and reports. One of two hard things in IT is naming things, next to caching and off-by-one errors :P.AbstractMessage.php:75ReplyThe whole "must be one of ..." doesn't make sense, it's a getter. Will update the comment accordingly. I also thought about returning the enum here, but I have no idea how to do this in an as less breaking way as possible. AFAICS getSeverity() is used for internal reasons only, so the method may become @internal in future.Severity.php:26ReplyAck -
Andreas Kienast commented on patch set 13 07/08/22, 19:34
Reply
I think I'll go with "ContextualFeedback". -
Andreas Kienast uploaded patch set 14 07/08/22, 19:42
-
Stefan Bürk commented on patch set 14 07/08/22, 19:47
Reply
Caching is simple, proper invalidation and rebuild is the hard thing. But yeah, naming things is the harded thing eversince .... -
core-ci voted on patch set 14 V +1 07/08/22, 19:49 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/28773
-
Oliver Klee voted on patch set 14 CR +1 07/08/22, 20:11
-
crell commented on patch set 14 07/08/22, 22:08
Reply
`ContextualFeedback` implies it is itself feedback, not a feedback severity. `MessageSeverity`, maybe? (As opposed to LogSeverity or something?) (I hate to bikeshed, but we should get this right.)AbstractMessage.php:75ReplyIf we're certain it's internal, we could just do it and be done with it. Though, if the new value is called something other than Severity that we plan to keep around, use that instead, perhaps? getMessageSeverity()? Then the old getSeverity() can be marked deprecated and/or removed, with no need to switch back later. -
Andreas Kienast commented on patch set 14 07/09/22, 05:11
Reply
AckAbstractMessage.php:75ReplyI can check with Simon Gilli next week if any extension relies on getSeverity() to find a proper strategy here. -
Andreas Kienast uploaded patch set 15 07/09/22, 05:11
-
core-ci voted on patch set 15 V +1 07/09/22, 05:23 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/28796
-
Oliver Klee voted on patch set 15 CR +1 07/09/22, 08:34
-
Nikita Hovratov voted on patch set 15 CR +1 07/09/22, 15:49
-
Oliver Klee commented on patch set 15 CR 0 07/09/22, 15:56
AbstractMessage.php:72@return value-of<ContextualFeedbackSeverity> See https://phpstan.org/writing-php-code/phpdoc-types#key-and-value-types-of-arrays-and-iterables for docs.AbstractMessage.php:85@param int value-of<ContextualFeedbackSeverity>|ContextualFeedbackSeverity $severity -
Nikita Hovratov commented on patch set 15 07/09/22, 16:07
AbstractMessage.php:72Replywow, this is possible?! -
Andreas Kienast commented on patch set 15 07/09/22, 16:51
AbstractMessage.php:72Reply_mind blown_ -
Andreas Kienast uploaded patch set 16 07/09/22, 16:51
-
Andreas Kienast uploaded patch set 17 07/09/22, 16:52
-
Oliver Klee commented on patch set 17 CR +1 07/09/22, 17:18
AbstractMessage.php:72ReplyI hadn't known until today either (until I looked it up). :-) -
core-ci voted on patch set 16 V -1 07/09/22, 17:51 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/28822
-
core-ci voted on patch set 17 V -1 07/09/22, 17:54 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/28823
-
Oliver Klee commented on patch set 17 07/09/22, 17:58
AbstractMessage.php:85ReplyDone -
Oliver Klee commented on patch set 17 CR 0 07/09/22, 17:59
We probably need to adapt something to get the tests working again. -
Andreas Kienast commented on patch set 17 07/09/22, 18:03
Reply
I don't fully understand why it breaks now. Either I did a mistake when adapting the return types or this triggers some Extbase foo now. -
Oliver Klee commented on patch set 17 07/09/22, 19:03
On it, I have an idea. (Why might need to resort to @phpstan-return etc. in one or two places.) -
Oliver Klee commented on patch set 17 07/09/22, 19:28
Okay, this is strange. THe failing unit tests do not fail for me locally: ./Build/Scripts/runTests.sh -s unit typo3/sysext/extbase/Tests/Unit/Reflection/ClassSchema/MethodParameterTest.php -
Oliver Klee commented on patch set 17 07/09/22, 19:34
(And also, I have no problem running all unit tests.) -
Oliver Klee commented on patch set 17 07/09/22, 19:38
Scratch that. Now I can reproduce the problem on my machine, too. -
Oliver Klee commented on patch set 17 07/09/22, 19:53
I have entered https://forge.typo3.org/issues/97884 for throwing a proper exception in cases like this. -
Oliver Klee uploaded patch set 18 07/09/22, 19:57
-
Oliver Klee voted on patch set 18 CR +1 07/09/22, 19:57
-
Oliver Klee commented on patch set 18 07/09/22, 19:57
Reply
Done -
core-ci voted on patch set 18 V -1 07/09/22, 20:04 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/28827
-
Oliver Klee commented on patch set 18 07/09/22, 20:42
I honestly have no idea what to do about the annotations check in the CI build. (Everything else seems to be fine.) -
Andreas Kienast commented on patch set 18 07/09/22, 20:46
Reply
The annotation checker doesn't know about @phpstan-* -
Andreas Kienast commented on patch set 18 07/09/22, 20:49
Reply
Got it fixed, will push asap -
Andreas Kienast uploaded patch set 19 07/09/22, 20:49
-
Oliver Klee uploaded patch set 20 07/09/22, 20:51
-
Oliver Klee voted on patch set 20 CR +1 07/09/22, 20:51
-
Oliver Klee commented on patch set 20 07/09/22, 20:52
Reply
Done -
core-ci voted on patch set 19 V +1 07/09/22, 21:03 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/28831
-
core-ci voted on patch set 20 V +1 07/09/22, 21:04 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/28832
-
Markus Klein voted on patch set 20 CR +1 07/10/22, 18:42
-
crell commented on patch set 20 07/11/22, 15:10
I'm not wild about the over-verbose name, but won't block on it. Just noting the method names still need to be sorted out before merging.AbstractMessage.php:80Flagging this method as still needing an improved name, as noted. -
Andreas Kienast commented on patch set 20 07/11/22, 20:15
AbstractMessage.php:80ReplySuggestions are welcome, IMO the method does exactly what its name says. -
Oliver Klee commented on patch set 20 07/11/22, 21:15
AbstractMessage.php:80ReplyI’d be fine with either of these names: - getSeverityEnum - getSeverityAsEnum - getAsEnum - toEnum Larry, Andreas, which which of these names could you live? -
Oliver Klee commented on patch set 20 07/11/22, 21:48
Reply
Which name do you consider over-verbose? And do you have suggestions for improvement? -
Andreas Kienast commented on patch set 20 07/12/22, 05:59
Reply
I blatantly stole this description from bootstrap and I find it very fitting.AbstractMessage.php:80ReplyI'm fine with getSeverityEnum(), as I came up with in the first place. `toEnum()` implies that the whole AbstractMessage is converted into an enum which is totally wrong, IMO. -
Andreas Kienast commented on patch set 20 CR -2 07/12/22, 12:12
For the sake of making everybody unhappy, I'll make this patch breaking and ditch getSeverityEnum() now... -
Andreas Kienast uploaded patch set 21 07/12/22, 12:52
-
Andreas Kienast voted on patch set 21 CR 0 07/12/22, 12:52
-
Andreas Kienast commented on patch set 21 07/12/22, 12:53
Reply
DoneAbstractMessage.php:75ReplyDone -
Oliver Klee commented on patch set 21 07/12/22, 12:55
InstallerController.php:1390This line seems to have gotten lost in the change: !empty($localConfigurationPathValuePairs)) { -
Andreas Kienast commented on patch set 21 07/12/22, 12:57
InstallerController.php:1390ReplyThat's intended. `$result->getSeverityEnum() === ContextualFeedbackSeverity::OK` was the common condition with the expression above and then $localConfigurationPathValuePairs is not empty anymore. -
core-ci voted on patch set 21 V +1 07/12/22, 13:00 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/28971
-
Oliver Klee commented on patch set 21 07/12/22, 13:31
InstallerController.php:1390ReplyAck -
Oliver Klee voted on patch set 21 CR +1 07/12/22, 13:32
-
crell commented on patch set 21 07/12/22, 14:28
AbstractMessage.php:80ReplyIt's the "Enum" suffix that I don't think is meaningful. It adds nothing of value, especially if we assume that it's going to fully replace the current getSeverity. getFeedBackSeverity or something like that would flow better, and mean we don't need to bother with transitioning back to getSeverity later.
-
crell commented on patch set 21 CR +1 07/12/22, 14:31
Or just that works for me too. :-) Thanks! -
Andreas Kienast uploaded patch set 22 07/13/22, 19:51
-
core-ci voted on patch set 22 V +1 07/13/22, 19:58 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/29098
-
Andreas Kienast uploaded patch set 23 07/13/22, 20:02
-
core-ci voted on patch set 23 V +1 07/13/22, 20:09 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/29099
-
Oliver Klee voted on patch set 23 CR +1 07/13/22, 20:13
-
crell voted on patch set 23 CR +1 07/13/22, 20:17
-
Andreas Kienast commented on patch set 23 CR -1 07/14/22, 04:21
need to check extension scanner stuff -
Andreas Kienast uploaded patch set 24 07/14/22, 05:53
-
core-ci voted on patch set 24 V +1 07/14/22, 06:02 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/29111
-
Andreas Kienast uploaded patch set 25 07/14/22, 06:26
-
core-ci voted on patch set 25 V +1 07/14/22, 06:41 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/29114
-
Andreas Kienast uploaded patch set 26 07/14/22, 07:56
-
core-ci voted on patch set 26 V +1 07/14/22, 08:04 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/29123
-
Frank Nägler voted on patch set 26 CR +1 07/14/22, 08:28
-
Frank Nägler voted on patch set 26 V +1 07/14/22, 08:39
-
Markus Klein voted on patch set 26 CR +1 07/14/22, 08:52
-
Oliver Klee voted on patch set 26 CR +1 07/14/22, 08:59
-
Oliver Klee commented on patch set 26 CR 0 07/14/22, 09:00
FlashMessage.php:40We don’t need the int here: The value-of thing already is said integer. -
Andreas Kienast commented on patch set 26 07/14/22, 10:04
FlashMessage.php:40ReplyPhpStorm says otherwise and annotated the is_int() check. -
Oliver Klee commented on patch set 26 CR +1 07/14/22, 10:11
FlashMessage.php:40ReplyAh, that's probably because PhpStorm doesn't recognize the value-of syntax (yet). I'm fine with either version. -
Benni Mack voted on patch set 26 V +1 07/14/22, 16:33
-
Andreas Kienast voted on patch set 26 V +2 CR +2 07/14/22, 16:43
-
Andreas Kienast merged patch set 27 07/14/22, 16:43
-
Oliver Klee commented on patch set 27 07/14/22, 16:53
Wohoo, it's finally merged!FlashMessage.php:40ReplyDone