View Issue Details

IDProjectCategoryView StatusLast Update
0000323Adventure PHP FrameworkCode-Verbesserung // Code improvementpublic2017-08-30 20:18
ReporterChristianAchatzAssigned ToChristianAchatz 
PrioritynormalSeverityfeatureReproducibilityN/A
Status assignedResolutionopen 
Product Version4.0 
Target Version4.0Fixed in Version 
Summary0000323: Introduce strict type declaration for methods
DescriptionWith this issue, the APF code base will be updated to use strict type declaration for methods such as

- scalar type declarations (float, int, string, ...), see http://php.net/manual/en/functions.arguments.php#functions.arguments.type-declaration
- return type declaration, see http://php.net/manual/en/functions.returning-values.php#functions.returning-values.type-declaration (in case method can return null "?" must be preceeded w/ type declaration --> only PHP7.1)
Additional InformationMaybe also interesting:

- anonymous class declarations (http://php.net/manual/en/migration70.new-features.php#migration70.new-features.anonymous-classes)
- Null coalescing operator for isset() statements (see http://php.net/manual/en/migration70.new-features.php#migration70.new-features.null-coalesce-op)
TagsNo tags attached.
Codereferenz: ([Datei]:[Zeile])
Namespacecore

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2017-08-30 20:18 ChristianAchatz New Issue
2017-08-30 20:18 ChristianAchatz Status new => assigned
2017-08-30 20:18 ChristianAchatz Assigned To => ChristianAchatz