Actions
Task #84836
closedCreate a template with best practices for php files in Build/Scripts
Status:
Closed
Priority:
Should have
Assignee:
Category:
System/Bootstrap/Configuration
Target version:
Start date:
2018-04-22
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Sprint Focus:
Description
Some of the existing scripts in Build/Scripts have been converted to PHP. New scripts will be created. It might be good to have a template which includes some best practices, e.g.
- security: abort script if not called from command line
- handle command line arguments
- Apply PSR-1 2.3 Side Effects ? Which could mean do not define class and execute it in one file.
- ... more?
This script could continuously be refined and the other scripts updated at least for critical and security-related things.
Actions