Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,13 @@
"psr/http-message": "^1.0|^2.0",
"psr/log": "^3.0.0",
"rector/rector": "2.3.8",
"symfony/cache": "^7.3",
"symfony/filesystem": "^7.3",
"symfony/mailer": "^7.2.6",
"symfony/process": "^7.3",
"symfony/uid": "^7.1",
"symfony/var-dumper": "^7.1",
"symfony/var-exporter": "^7.1",
"symfony/cache": "^7.3|^8.0",
"symfony/filesystem": "^7.3|^8.0",
"symfony/mailer": "^7.2.6|^8.0",
"symfony/process": "^7.3|^8.0",
"symfony/uid": "^7.1|^8.0",
"symfony/var-dumper": "^7.1|^8.0",
"symfony/var-exporter": "^7.1|^8.0",
"symfony/yaml": "^7.3|^8.0",
"tempest/highlight": "^2.11.4",
"vlucas/phpdotenv": "^5.6.1",
Expand Down Expand Up @@ -85,8 +85,8 @@
"spatie/phpunit-snapshot-assertions": "^5.1.8",
"spaze/phpstan-disallowed-calls": "^4.0",
"stevenmaguire/oauth2-microsoft": "^2.2",
"symfony/amazon-mailer": "^7.2.0",
"symfony/postmark-mailer": "^7.2.6",
"symfony/amazon-mailer": "^7.2.0|^8.0",
"symfony/postmark-mailer": "^7.2.6|^8.0",
"symplify/monorepo-builder": "^11.2",
"tempest/blade": "dev-main",
"thenetworg/oauth2-azure": "^2.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/cache/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"require": {
"php": "^8.5",
"psr/cache": "^3.0",
"symfony/cache": "^7.3",
"symfony/cache": "^7.3|^8.0",
"tempest/core": "3.x-dev",
"tempest/clock": "3.x-dev",
"tempest/kv-store": "3.x-dev",
Expand Down
2 changes: 1 addition & 1 deletion packages/console/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"minimum-stability": "dev",
"require": {
"php": "^8.5",
"symfony/filesystem": "^7.3",
"symfony/filesystem": "^7.3|^8.0",
"tempest/core": "3.x-dev",
"tempest/container": "3.x-dev",
"tempest/generation": "3.x-dev",
Expand Down
2 changes: 1 addition & 1 deletion packages/core/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"tempest/reflection": "3.x-dev",
"tempest/support": "3.x-dev",
"vlucas/phpdotenv": "^5.6.1",
"symfony/cache": "^7.3",
"symfony/cache": "^7.3|^8.0",
"filp/whoops": "^2.15"
},
"require-dev": {
Expand Down
2 changes: 1 addition & 1 deletion packages/debug/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"require": {
"php": "^8.5",
"tempest/highlight": "^2.11.4",
"symfony/var-dumper": "^7.1"
"symfony/var-dumper": "^7.1|^8.0"
},
"require-dev": {
"tempest/console": "3.x-dev"
Expand Down
2 changes: 1 addition & 1 deletion packages/discovery/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"tempest/reflection": "3.x-dev",
"tempest/support": "3.x-dev",
"psr/container": "^2.0",
"symfony/cache": "^7.3"
"symfony/cache": "^7.3|^8.0"
},
"require-dev": {
"tempest/container": "3.x-dev",
Expand Down
2 changes: 1 addition & 1 deletion packages/http/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"laminas/laminas-diactoros": "^3.3",
"psr/http-factory": "^1.0",
"psr/http-message": "^1.0|^2.0",
"symfony/uid": "^7.1"
"symfony/uid": "^7.1|^8.0"
},
"autoload": {
"psr-4": {
Expand Down
2 changes: 1 addition & 1 deletion packages/icon/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"tempest/container": "3.x-dev",
"tempest/http-client": "3.x-dev",
"tempest/support": "3.x-dev",
"symfony/cache": "^7.3"
"symfony/cache": "^7.3|^8.0"
},
"suggest": {
"tempest/event-bus": "For events support"
Expand Down
3 changes: 2 additions & 1 deletion packages/intl/src/MessageFormat/Functions/NumberFunction.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

namespace Tempest\Intl\MessageFormat\Functions;

use MessageFormatter;
use Tempest\Intl\Currency;
use Tempest\Intl\IntlConfig;
use Tempest\Intl\MessageFormat\Formatter\FormattedValue;
Expand Down Expand Up @@ -50,7 +51,7 @@ private function getOrdinalCategory(float|int $number): string
{
$cacheKey = "{$this->intlConfig->currentLocale->value}:{$number}";

return $this->ordinalCategories[$cacheKey] ??= \MessageFormatter::formatMessage(
return $this->ordinalCategories[$cacheKey] ??= MessageFormatter::formatMessage(
$this->intlConfig->currentLocale->value,
'{number, selectordinal, zero {zero} one {one} two {two} few {few} many {many} other {other}}',
['number' => $number],
Expand Down
6 changes: 3 additions & 3 deletions packages/mail/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
"tempest/reflection": "3.x-dev",
"tempest/support": "3.x-dev",
"tempest/event-bus": "3.x-dev",
"symfony/mailer": "^7.2.6"
"symfony/mailer": "^7.2.6|^8.0"
},
"require-dev": {
"symfony/postmark-mailer": "^7.2.6",
"symfony/amazon-mailer": "^7.2.0"
"symfony/postmark-mailer": "^7.2.6|^8.0",
"symfony/amazon-mailer": "^7.2.0|^8.0"
},
"suggest": {
"tempest/storage": "For storage attachment support"
Expand Down
2 changes: 1 addition & 1 deletion packages/process/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"minimum-stability": "dev",
"require": {
"php": "^8.5",
"symfony/process": "^7.3",
"symfony/process": "^7.3|^8.0",
"tempest/container": "3.x-dev",
"tempest/support": "3.x-dev",
"tempest/datetime": "3.x-dev"
Expand Down
2 changes: 1 addition & 1 deletion packages/router/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"tempest/http": "3.x-dev",
"tempest/view": "3.x-dev",
"tempest/highlight": "^2.11.4",
"symfony/var-exporter": "^7.1"
"symfony/var-exporter": "^7.1|^8.0"
},
"autoload": {
"files": [
Expand Down
3 changes: 2 additions & 1 deletion packages/router/src/RouteBindingInitializer.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
use Tempest\Container\Container;
use Tempest\Container\DynamicInitializer;
use Tempest\Reflection\ClassReflector;
use Tempest\Reflection\ParameterReflector;
use Tempest\Router\Exceptions\RouteBindingDidNotSupportRelations;
use Tempest\Router\Exceptions\RouteBindingFailed;
use UnitEnum;
Expand Down Expand Up @@ -43,7 +44,7 @@ public function initialize(ClassReflector $class, string|UnitEnum|null $tag, Con
if ($withRelations !== null) {
$resolve = $class->getMethod('resolve');

if ($resolve->getParameter('relations') === null && ! $resolve->getReflection()->isVariadic()) {
if (! $resolve->getParameter('relations') instanceof ParameterReflector && ! $resolve->getReflection()->isVariadic()) {
throw new RouteBindingDidNotSupportRelations($class->getName());
}
}
Expand Down
2 changes: 1 addition & 1 deletion packages/support/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"require": {
"php": "^8.5",
"voku/portable-ascii": "^2.0.3",
"symfony/uid": "^7.1"
"symfony/uid": "^7.1|^8.0"
},
"autoload": {
"psr-4": {
Expand Down
2 changes: 1 addition & 1 deletion packages/view/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"tempest/validation": "3.x-dev",
"tempest/clock": "3.x-dev",
"league/commonmark": "^2.7",
"symfony/cache": "^7.3"
"symfony/cache": "^7.3|^8.0"
},
"autoload": {
"files": [
Expand Down
Loading