Skip to content

Conversation

@accognet
Copy link
Contributor

@accognet accognet commented Aug 28, 2025

Too many commits on this PR, and it's impossible to squash it without losing the Git history. Keep it for split files.

Split files :
core/action.class.inc.php
core/asynctask.class.inc.php
core/attributedef.class.inc.php
core/event.class.inc.php
core/valuesetdef.class.inc.php
core/event.class.inc.php

potherca-bot and others added 22 commits August 28, 2025 09:06
….php' into split-file_attributedef.class.inc.php
…ge.php' into split-file_attributedef.class.inc.php
…ber.php' into split-file_attributedef.class.inc.php
…Set.php' into split-file_attributedef.class.inc.php
…CodeSet.php' into split-file_attributedef.class.inc.php
…cySettings.php' into split-file_attributedef.class.inc.php
…h.php' into split-file_attributedef.class.inc.php
…hp' into split-file_attributedef.class.inc.php
…php' into split-file_attributedef.class.inc.php
…p' into split-file_attributedef.class.inc.php
…hp' into split-file_attributedef.class.inc.php
…HTML.php' into split-file_attributedef.class.inc.php
…String.php' into split-file_attributedef.class.inc.php
…Text.php' into split-file_attributedef.class.inc.php
…By.php' into split-file_attributedef.class.inc.php
…ption.php' into split-file_attributedef.class.inc.php
@CombodoApplicationsAccount CombodoApplicationsAccount added the internal Work made by Combodo label Aug 28, 2025
Copy link
Contributor

@Hipska Hipska left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great idea!

Please not that most files have no line ending at the end of the file:
image

lib/autoload.php Outdated
Comment on lines 17 to 20
throw new RuntimeException($err);
trigger_error(
$err,
E_USER_ERROR
);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems like a backward change..

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point, this change was made automatically by the composer

@Molkobain
Copy link
Contributor

Is there a particular reason why you don't move these files in the /src folder using the PSR-4 naming convention so everything is autoloded properly? (It will require to modify the code a bit to discover classes implementing/extending the base classes)

@accognet
Copy link
Contributor Author

I've done the first step of splitting the files. Next week, we'll discuss their final placement.

@accognet
Copy link
Contributor Author

Too many commits on this PR, and it's impossible to squash it without losing the Git history. Keep it for split files.

@Hipska
Copy link
Contributor

Hipska commented Sep 15, 2025

Yeah, I also prefer not to use squash just for that reason; loosing history 😉

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

Labels

internal Work made by Combodo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants