Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): Allow thecodingmachine/safe v3 #1448

Merged
merged 1 commit into from
Feb 19, 2025

Conversation

theofidry
Copy link
Member

No description provided.

@theofidry theofidry merged commit 9ec22a4 into box-project:main Feb 19, 2025
29 of 36 checks passed
@theofidry theofidry deleted the chore/tcm-safe branch February 19, 2025 20:30
@llaville
Copy link
Contributor

llaville commented Feb 20, 2025

BOX 4.6.3 PHAR distribution ( Box version 4.6.3@9ec22a4 2025-02-19 20:32:43 UTC) still raises lot of deprecated errors.

I.e:

Deprecated: _HumbugBox6d06b51b5f60\Safe\gmdate(): Implicitly marking parameter $timestamp as nullable is deprecated, the explicit nullable type must be used instead in phar:///shared/backups/bartlett/php-compatinfo-db/box-4.6.phar/vendor/thecodingmachine/safe/deprecated/datetime.php on line 6

Running on PHP 8.4.4 platform

@@ -41,7 +41,7 @@
"symfony/polyfill-mbstring": "^1.28",
"symfony/process": "^6.4.0 || ^7.0.0",
"symfony/var-dumper": "^6.4.0 || ^7.0.0",
"thecodingmachine/safe": "^2.5",
"thecodingmachine/safe": "^2.5 || 3.0",

Choose a reason for hiding this comment

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

I think we need to drop 2.5 here

Copy link
Contributor

Choose a reason for hiding this comment

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

Thanks Oskar to point this constraint to our attention, but the solution is more easy and better !

@theofidry You've just to fix the constraint like this (because there are two bug releases following initial 3.0)

"thecodingmachine/safe": "^2.5 || ^3.0",

Choose a reason for hiding this comment

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

Oh indeed, I dod not see the missing ^

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