Skip to content

Commit fba5097

Browse files
arraypressclaude
andcommitted
Put the entrypoint where every other library keeps it
The Composer `files` entry -- the file that declares this library's global functions -- sat in a subfolder. Across the set there were three conventions for the same file: src/Functions.php, src/Utils/Functions.php and src/Utilities/Functions.php, so the answer to "where do the public functions live" depended on which repository you had open. It is src/ now, everywhere. Only the `files` entries moved; a Utils/Runtime is a namespaced class and stays where PSR-4 expects it. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Tk8y5eZa3CHVVSM6nVxsJw
1 parent 9b72e2a commit fba5097

6 files changed

Lines changed: 5 additions & 5 deletions

File tree

‎composer.json‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@
1919
"ArrayPress\\RegisterSettingFields\\": "src/"
2020
},
2121
"files": [
22-
"src/Utilities/Core.php",
23-
"src/Utilities/Email.php",
24-
"src/Utilities/License.php",
25-
"src/Utilities/Page.php",
26-
"src/Utilities/TypeCheck.php"
22+
"src/Core.php",
23+
"src/Email.php",
24+
"src/License.php",
25+
"src/Page.php",
26+
"src/TypeCheck.php"
2727
]
2828
},
2929
"config": {
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)