Skip to content

Commit

Permalink
Remove unnecessary paragonie/random_compat dependency
Browse files Browse the repository at this point in the history
Given that Yii itself requires PHP 7.3 since 2.0.50, this dependency does
nothing, as PHP 7.0+ guarantees the existence of the CSPRNG.
  • Loading branch information
TimWolla committed Nov 4, 2024
1 parent 5ec5a4b commit d3e97ff
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 55 deletions.
3 changes: 1 addition & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,7 @@
"bower-asset/jquery": "3.7.*@stable | 3.6.*@stable | 3.5.*@stable | 3.4.*@stable | 3.3.*@stable | 3.2.*@stable | 3.1.*@stable | 2.2.*@stable | 2.1.*@stable | 1.11.*@stable | 1.12.*@stable",
"bower-asset/inputmask": "^5.0.8 ",
"bower-asset/punycode": "^2.2",
"bower-asset/yii2-pjax": "~2.0.1",
"paragonie/random_compat": ">=1"
"bower-asset/yii2-pjax": "~2.0.1"
},
"require-dev": {
"cebe/indent": "~1.0.2",
Expand Down
52 changes: 1 addition & 51 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions framework/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Yii Framework 2 Change Log
- Enh #20248: Add support for attaching behaviors in configurations with Closure (timkelty)
- Enh #20267: Fixed called class check in `Widget::end()` when widget configured using callable (rob006, jrajamaki)
- Enh #20268: Minor optimisation in `\yii\helpers\BaseArrayHelper::map` (chriscpty)
- Enh #20273: Remove unnecessary `paragonie/random_compat` dependency (timwolla)

2.0.51 July 18, 2024
--------------------
Expand Down
3 changes: 1 addition & 2 deletions framework/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,7 @@
"bower-asset/jquery": "3.7.*@stable | 3.6.*@stable | 3.5.*@stable | 3.4.*@stable | 3.3.*@stable | 3.2.*@stable | 3.1.*@stable | 2.2.*@stable | 2.1.*@stable | 1.11.*@stable | 1.12.*@stable",
"bower-asset/inputmask": "^5.0.8 ",
"bower-asset/punycode": "^2.2",
"bower-asset/yii2-pjax": "~2.0.1",
"paragonie/random_compat": ">=1"
"bower-asset/yii2-pjax": "~2.0.1"
},
"autoload": {
"psr-4": {"yii\\": ""}
Expand Down

0 comments on commit d3e97ff

Please sign in to comment.