FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Tags · php-task/php-task · GitHub

Tags: php-task/php-task

Tags

3.0.2

Toggle 3.0.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fix TaskScheduler DateTime → DateTimeImmutable & restore broken tests (

…#54)

* Fix scheduleTask DateTime contract & restore tests

- TaskScheduler::scheduleTask now converts the \DateTime returned by
  Cron\CronExpression::getNextRunDate() to \DateTimeImmutable before
  calling TaskExecutionRepositoryInterface::create(), which contractually
  requires \DateTimeImmutable. Without this, every cron-driven schedule
  fails with a TypeError when the repository enforces the parameter type.
- TaskExecution::getResult() returns null when the result column was
  never set, instead of false (unserialize(null) === false in PHP 8).
- Repair pre-existing syntax errors ("new \\DateTimeImmutable))" and
  "new \\DateTimeImmutable)'...')") that were left in the test suite by
  the sed-based DateTime → DateTimeImmutable migration in #52, which
  made the whole tests/Unit/Execution and tests/Unit/Storage suites
  un-loadable.
- Update remaining tests that still called the removed findAll() method
  to use findAllPaginated(1).

* Update CI runner to ubuntu-22.04

ubuntu-20.04 has been retired; jobs hang waiting for a runner. See:
https://github.blog/changelog/2025-01-15-github-actions-ubuntu-20-runner-image-brownout-dates-and-other-breaking-changes/

* Address Copilot review

- TaskExecutionInterface::getResult() PHPDoc now documents the null
  return possibility introduced by the unset-result fix.
- Rename leftover testFindAll() methods to testFindAllPaginatedUnbounded()
  so the test name matches the API being exercised.

* Stop tracking phpunit result cache

Accidentally included in the previous commit; add it to .gitignore.

3.0.1

Toggle 3.0.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Revert json type and use text instead (#53)

3.0.0

Toggle 3.0.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Enhance doctrine compatability (#52)

* Fix doctrine compatibility

* Update DateTime to DateTimeImmutable

2.2.0

Toggle 2.2.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Replacing ramsey/uuid with Symfony (#51)

* Replacing ramsey/uuid with Symfony

Closes #50

* Using version 4

2.1.0

Toggle 2.1.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Add support for symfony 7 and doctrine collections 2 (#49)

* Add support for symfony 7 and doctrine collections 2

* Update tests with prophecy

* Fix failing test cases

* Update CI script

* Fix some code style

* Add PHP 8.4 to test CI

* CI Changes

* Update composer deps

* Fix lowest deps

2.0.1

Toggle 2.0.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Fix task execution status update not saved (#47)

2.0.0

Toggle 2.0.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Add symfony 6 comptability (#46)

* Add symfony 6 comptability

* Remove old php and symfony versions

* Fix scrutinizer upload for php8

1.5.0

Toggle 1.5.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Add PHP 8 compatibility (#45)

* Add PHP 8 compatibility

* Replace travis with github actions

* Fix test run agains php 8

* Fix PHP 8 and PHPUnit 9 compatibility

* Make deprecations weak

1.4.0

Toggle 1.4.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Add symfony 5 compatibility (#43)

1.3.3

Toggle 1.3.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
adjust phpdoc for handlerinterface (#44)


Back | FazBrowse Home | New Git URL