Skip to content

Commit 38c5f23

Browse files
committed
Merge branch 'v8' into develop
2 parents 5b63eb5 + a8231bc commit 38c5f23

File tree

9 files changed

+1503
-1755
lines changed

9 files changed

+1503
-1755
lines changed

app/Services/SnipeTranslator.php

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,17 +26,19 @@ class SnipeTranslator extends Translator {
2626
public function choice($key, $number, array $replace = [], $locale = null)
2727
{
2828
$line = $this->get(
29-
$key, $replace, $locale = $this->localeForChoice($locale)
29+
$key, [], $locale = $this->localeForChoice($key, $locale)
3030
);
3131

3232
// If the given "number" is actually an array or countable we will simply count the
3333
// number of elements in an instance. This allows developers to pass an array of
3434
// items without having to count it on their end first which gives bad syntax.
35-
if (is_array($number) || $number instanceof Countable) {
35+
if (is_countable($number)) {
3636
$number = count($number);
3737
}
3838

39-
$replace['count'] = $number;
39+
if (!isset($replace['count'])) {
40+
$replace['count'] = $number;
41+
}
4042

4143
$underscored_locale = str_replace("-","_",$locale); // OUR CHANGE.
4244
return $this->makeReplacements( // BELOW - that $underscored_locale is the *ONLY* modified part

composer.json

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,22 @@
1414
{
1515
"type": "vcs",
1616
"url": "https://github.com/grokability/laravel-scim-server"
17+
},
18+
{
19+
"type": "vcs",
20+
"url": "https://github.com/grokability/html"
1721
}
1822
],
1923
"require": {
20-
"php": "^8.1",
24+
"php": "^8.2",
2125
"ext-curl": "*",
2226
"ext-fileinfo": "*",
2327
"ext-iconv": "*",
2428
"ext-json": "*",
2529
"ext-mbstring": "*",
2630
"ext-pdo": "*",
2731
"alek13/slack": "^2.0",
28-
"arietimmerman/laravel-scim-server": "dev-master",
32+
"arietimmerman/laravel-scim-server": "dev-laravel_11_compatibility",
2933
"bacon/bacon-qr-code": "^2.0",
3034
"barryvdh/laravel-debugbar": "^3.13",
3135
"barryvdh/laravel-dompdf": "^2.0",
@@ -40,20 +44,20 @@
4044
"javiereguiluz/easyslugger": "^1.0",
4145
"laravel-notification-channels/google-chat": "^3.0",
4246
"laravel-notification-channels/microsoft-teams": "^1.2",
43-
"laravel/framework": "^10.0",
47+
"laravel/framework": "^11.0",
4448
"laravel/helpers": "^1.4",
45-
"laravel/passport": "^11.0",
46-
"laravel/slack-notification-channel": "^2.3",
49+
"laravel/passport": "^12.0",
50+
"laravel/slack-notification-channel": "^3.4",
4751
"laravel/socialite": "^5.6",
4852
"laravel/tinker": "^2.6",
4953
"laravel/ui": "^4.0",
50-
"laravelcollective/html": "^6.2",
54+
"laravelcollective/html": "6.x-dev",
5155
"league/csv": "^9.7",
5256
"league/flysystem-aws-s3-v3": "^3.0",
5357
"livewire/livewire": "^3.5",
5458
"neitanod/forceutf8": "^2.0",
55-
"nesbot/carbon": "^2.32",
56-
"nunomaduro/collision": "^7.0",
59+
"nesbot/carbon": "^3.0",
60+
"nunomaduro/collision": "^8.1",
5761
"okvpn/clock-lts": "^1.0",
5862
"onelogin/php-saml": "^3.4",
5963
"onnov/detect-encoding": "^2.0",
@@ -86,8 +90,7 @@
8690
"phpunit/phpunit": "^10.0",
8791
"squizlabs/php_codesniffer": "^3.5",
8892
"symfony/css-selector": "^4.4",
89-
"symfony/dom-crawler": "^4.4",
90-
"vimeo/psalm": "^5.13"
93+
"symfony/dom-crawler": "^4.4"
9194
},
9295
"extra": {
9396
"laravel": {

0 commit comments

Comments
 (0)