Skip to content

ci(mergify): upgrade configuration to current format#339

Closed
mergify[bot] wants to merge 1 commit intomasterfrom
mergify/configuration-deprecated-update
Closed

ci(mergify): upgrade configuration to current format#339
mergify[bot] wants to merge 1 commit intomasterfrom
mergify/configuration-deprecated-update

Conversation

@mergify
Copy link
Copy Markdown
Contributor

@mergify mergify bot commented Mar 30, 2026

No more deprecated fields are being used in your Mergify configuration, this pull request will be closed.

hyperized added a commit that referenced this pull request Apr 11, 2026
The delete_head_branch action is deprecated by Mergify (deadline: 2026-07-31).
Use GitHub's native 'Automatically delete head branches' setting instead.
Supersedes #339.
hyperized added a commit that referenced this pull request Apr 11, 2026
* Fix API action names to match HostFact API v2 docs, remove psalm

API action name fixes (verified against hostfact.nl/developer/api):
- CanResendApproverEmail: resendapproveremail -> resendapprovermail
- CanPaymentProcessPause: payment_process_pause -> paymentprocesspause
- CanPaymentProcessReactivate: payment_process_reactivate -> paymentprocessreactivate
- CanAddAttachment/CanDeleteAttachment/CanDownloadAttachment: use controller=attachment with action=add/delete/download
- CanAddLine/CanDeleteLine: use controller={name}line with action=add/delete
- Hosting: new CanEmailAccountInfo trait sending sendaccountinfobyemail (was incorrectly sharing VPS trait sending sendaccountdatabyemail)
- Api.php: store exception message string instead of non-serializable exception object in error array
- LICENSE: fix copyright year typo (2105 -> 2015)
- Remove psalm (no modern PHP support): config, dependency, and script references

* Update PHP version requirements to supported versions only
* Update all dependencies to latest major versions

Production:
- hyperized/value-objects: ^0.3.0 -> ^1.0.0 (update ByteArrayInterface namespace)
- thecodingmachine/safe: ^2.4 -> ^3.4

Dev:
- phpunit/phpunit: ^9.5 -> ^13.0 (update phpunit.xml.dist to v13 schema)
- orchestra/testbench: ^7.15||^8.0 -> ^11.0
- phpstan/phpstan: ^1.9 -> ^2.0
- infection/infection: ^0.26.16||^0.27.0 -> ^0.32

* Update GitHub workflow actions and dependabot config

- actions/checkout: v1 -> v4
- Remove deprecated --no-suggest flag and unnecessary composer self-update step
- Add github-actions ecosystem to dependabot for automatic action updates
- Use local PHPUnit XSD schema reference for infection compatibility

* Remove deprecated delete_head_branch from mergify config

The delete_head_branch action is deprecated by Mergify (deadline: 2026-07-31).
Use GitHub's native 'Automatically delete head branches' setting instead.
Supersedes #339.

* Update dependencies and drop PHP 8.2 from CI
* Add typed response system with DataBag, ApiResponse subclasses, and ResponseFactory
* Refactor API layer to return typed responses
* Add typed entity classes for HostFact API v3.1
* Add tests, examples, and updated documentation
* Add backed enums for HostFact API value sets
18 enums: Sex, Periodic, ProductType, InvoiceMethod, VatCalcMethod,
DiscountPercentageType, GroupType, TicketType, TicketPriority,
InvoiceStatus, InvoiceSubStatus, OrderStatus, PriceQuoteStatus,
DomainStatus, HostingStatus, SslStatus, VpsStatus, TicketStatus.
* Add nullableBool, nullableDateTime, and nullableEnum helpers
DataBag gains nullableBool() (yes/no/1/0/true/false) and
nullableDateTime() methods. Entity base class gains nullableEnum()
using ReflectionEnum for int/string backing detection.
* Replace string properties with strict types in all entity classes
Identifiers become ?int, dates become ?DateTimeImmutable, booleans
become ?bool, finite value sets become enums. Prices stay ?string
for bcmath precision. Update test assertions to match.

* Update docs and examples to use typed entities
* Add tests for Group, Order, PriceQuote, and Ticket entities
* Add tests for ServiceProvider::provides and Facade accessor
* Enable prefer-lowest in CI matrix
* Reduce extractErrors cyclomatic complexity to satisfy PHPMD
* Bump phpmd/phpmd to ^2.14 for readonly class support
* Update composer.lock
* Drop PHP 8.3, require PHP 8.4+
* Add #[\Override] to entity fromBag() methods
* Raise PHPMD cyclomatic complexity threshold to 10
* Bump hyperized/value-objects to ^2.0.0
* Remove thecodingmachine/safe, use native JSON_THROW_ON_ERROR
* Preserve controller/action in JSON parse error responses
* Use ReflectionNamedType for enum backing type check
* Prevent credential leaks in exception messages
* Fix dependabot typo in mergify config
* Remove phpcbf from CI, bump phpcs minimum to 3.8
PHPCBF is a fixer, not a validator — it returns exit code 1 when it
fixes code, causing CI failures. PHPCS already validates style.
Bump phpcs minimum to 3.8 for readonly class support.
@hyperized hyperized closed this Apr 11, 2026
@hyperized hyperized deleted the mergify/configuration-deprecated-update branch April 11, 2026 20:44
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