-
-
Notifications
You must be signed in to change notification settings - Fork 162
Closed
Description
Aka. for machines only
repo/
├─ generated/
│ ├─ src/
│ ├─ functions.php
- all classes go (generated or copied) in
srcdirectory as per PSR-4 - all functions go (generated or copied) into
functions.phpfile - keep
generated/functionsList.php - deprecated things get a PHPDoc tag
/**
* @deprecated Reason, date, version ...
*/Resulting Composer config.
"autoload": {
"psr-4": {
"Safe\\": [
"generated/src/"
]
},
"files": [
"generated/functions.php"
]
},All other directories could be excluded from distribution.
Would you support a PR that modifies the generator?
JanTvrdik
Metadata
Metadata
Assignees
Labels
No labels