Skip to content

[TASK] Deprecate DeclarationBlock::expandShorthands#558

Merged
oliverklee merged 5 commits into
MyIntervals:mainfrom
ziegenberg:deprecate-shorthand-functions_1
Jun 18, 2024
Merged

[TASK] Deprecate DeclarationBlock::expandShorthands#558
oliverklee merged 5 commits into
MyIntervals:mainfrom
ziegenberg:deprecate-shorthand-functions_1

Conversation

@ziegenberg

@ziegenberg ziegenberg commented Jun 18, 2024

Copy link
Copy Markdown
Contributor

The expandShorthands/createShorthands Functions are deprecated and will be removed without substitution in version 10.0. Expanding and creating the shorthand notation is out of the scope of this library. If you want to include this functionality in your project or build it into a separate package, get the code from the v8.5.1 version of this library.

Helps with fixing #512

The `expandShorthands`/`createShorthands` Functions are deprecated and
will be removed without substitution in version 10.0.  Expanding and
creating the shorthand notation is out of the scope of this library. If
you want to include this functionality in your project or build it into
a separate package, get the code from the v8.5.1 version of this
library.

Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
@ziegenberg ziegenberg force-pushed the deprecate-shorthand-functions_1 branch from 00a8754 to 814d923 Compare June 18, 2024 09:19
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
@ziegenberg

Copy link
Copy Markdown
Contributor Author

I removed the now superfluous tests.

Comment thread src/RuleSet/DeclarationBlock.php

@oliverklee oliverklee left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Let's deprecate it (with a corresponding changelog entry), but keep the functionality intact.

In the commit message and PR title, this should be a [TASK], not a mere (code) [CLEANUP].

@oliverklee oliverklee changed the title [CLEANUP] Deprecate DeclarationBlock::expandShorthands [TASK] Deprecate DeclarationBlock::expandShorthands Jun 18, 2024
Comment thread CHANGELOG.md Outdated
Comment thread src/RuleSet/DeclarationBlock.php

@oliverklee oliverklee left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM.

@oliverklee oliverklee merged commit b979dc8 into MyIntervals:main Jun 18, 2024
@ziegenberg ziegenberg deleted the deprecate-shorthand-functions_1 branch June 18, 2024 22:42
oliverklee added a commit that referenced this pull request Sep 10, 2024
This is the backport of #714 and the tickets leading up to that:
- #578
- #580
- #579
- #577
- #576
- #575
- #574
- #573
- #572
- #571
- #570
- #569
- #566
- #567
- #558
oliverklee added a commit that referenced this pull request Sep 10, 2024
This is the backport of #714 and all those changes:

- #578
- #580
- #579
- #577
- #576
- #575
- #574
- #573
- #572
- #571
- #570
- #569
- #566
- #567
- #558
JakeQZ pushed a commit that referenced this pull request Sep 10, 2024
This is the backport of #714 and all those changes:

- #578
- #580
- #579
- #577
- #576
- #575
- #574
- #573
- #572
- #571
- #570
- #569
- #566
- #567
- #558
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.

3 participants