Skip to content

Comments

Do not import common.php#1533

Draft
jtojnar wants to merge 2 commits intomasterfrom
classification
Draft

Do not import common.php#1533
jtojnar wants to merge 2 commits intomasterfrom
classification

Conversation

@jtojnar
Copy link
Member

@jtojnar jtojnar commented Oct 6, 2025

Rather than import common.php in every entry point, let’s turn it into a class and use Composer autoloader for find it, similarly to what Nette does.

Depends on: #1532
Depends on: #1298

@netlify
Copy link

netlify bot commented Oct 6, 2025

Deploy Preview for selfoss canceled.

Name Link
🔨 Latest commit 15ec877
🔍 Latest deploy log https://app.netlify.com/projects/selfoss/deploys/68e38717e218d40008c598e5

We can just use `files` autoloader and have composer require it automatically.
Simplifies the entry point, similarly to what Nette does.
@netlify
Copy link

netlify bot commented Dec 25, 2025

Deploy Preview for selfoss canceled.

Name Link
🔨 Latest commit 29a47a0
🔍 Latest deploy log https://app.netlify.com/projects/selfoss/deploys/694cae88b0222a00087dd2ae

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant