Skip to content

Commit

Permalink
Fix PHP 8.2 deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolaasuni committed Sep 6, 2023
1 parent 032b9d4 commit aedcaad
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.4.19
1.4.20
2 changes: 1 addition & 1 deletion resources/debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ Vcs-Git: https://github.com/~#VENDOR#~/~#PROJECT#~.git
Package: ~#PKGNAME#~
Provides: php-~#PROJECT#~
Architecture: all
Depends: php (>= 5.4.0), php-mbstring, php-tecnickcom-tc-lib-unicode-data (<< 2.0.0), php-tecnickcom-tc-lib-unicode-data (>= 1.7.19), ${misc:Depends}
Depends: php (>= 5.4.0), php-mbstring, php-tecnickcom-tc-lib-unicode-data (<< 2.0.0), php-tecnickcom-tc-lib-unicode-data (>= 1.7.20), ${misc:Depends}
Description: PHP Unicode methods.
PHP library containing Unicode methods.
2 changes: 1 addition & 1 deletion resources/rpm/rpm.spec
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ BuildArch: noarch

Requires: php(language) >= 5.4.0
Requires: php-composer(%{c_vendor}/tc-lib-unicode-data) < 2.0.0
Requires: php-composer(%{c_vendor}/tc-lib-unicode-data) >= 1.7.19
Requires: php-composer(%{c_vendor}/tc-lib-unicode-data) >= 1.7.20
Requires: php-pcre
Requires: php-mbstring

Expand Down
2 changes: 1 addition & 1 deletion test/TestUtil.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class TestUtil extends TestCase
{
public function bcExpectException($exception)
{
if (\is_callable(['parent', 'expectException'])) {
if (\is_callable([self::class, 'expectException'])) {
return parent::expectException($exception);
}
return parent::setExpectedException($exception);
Expand Down

0 comments on commit aedcaad

Please sign in to comment.