Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed some weirdly formatted comments #3552

Merged
merged 1 commit into from
Sep 27, 2023

Conversation

fballiano
Copy link
Contributor

I found these weird comments in the source code:

/**#@-*/

I couldn't find where they come from or what's the meaning.

@github-actions github-actions bot added Component: PayPal Relates to Mage_Paypal Component: Core Relates to Mage_Core Component: Sales Relates to Mage_Sales Component: Customer Relates to Mage_Customer Component: Adminhtml Relates to Mage_Adminhtml Component: Admin Relates to Mage_Admin Component: Tax Relates to Mage_Tax Component: Oauth Relates to Mage_Oauth Component: Api2 Relates to Mage_Api2 Component: ImportExport Relates to Mage_ImportExport Component: Install Relates to Mage_Install Component: PaypalUk Relates to Mage_PaypalUk labels Sep 27, 2023
@elidrissidev
Copy link
Member

Probably an ancient syntax for region folding, like for example you can do the following in VSCode to create a foldable code block with massactions as its title:

//region massactions
/**
 * Current massactions
 * @var string
 */
public const ASSIGN_GROUP              = 'assign_group';
public const ATTRIBUTES                = 'attributes';
public const CANCEL_ORDER              = 'cancel_order';
public const CHANGE_MODE               = 'change_mode';
// more values...
//endregion

@fballiano fballiano merged commit 2aed57e into OpenMage:main Sep 27, 2023
15 checks passed
@fballiano fballiano deleted the weirdcomments branch September 27, 2023 11:27
@fballiano fballiano changed the title Removed weird comments Removed some weirdly formatted comments Sep 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Admin Relates to Mage_Admin Component: Adminhtml Relates to Mage_Adminhtml Component: Api2 Relates to Mage_Api2 Component: Core Relates to Mage_Core Component: Customer Relates to Mage_Customer Component: ImportExport Relates to Mage_ImportExport Component: Install Relates to Mage_Install Component: Oauth Relates to Mage_Oauth Component: PayPal Relates to Mage_Paypal Component: PaypalUk Relates to Mage_PaypalUk Component: Sales Relates to Mage_Sales Component: Tax Relates to Mage_Tax
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants