Skip to content

Commit 37d097e

Browse files
committed
Replaced non-mandatory symfony references with zf1s
Replaced non-mandatory symfony references with zf1s
1 parent 62efb91 commit 37d097e

4 files changed

Lines changed: 9 additions & 13 deletions

File tree

Php81.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
namespace Symfony\Polyfill\Php81;
12+
namespace Zf1s\Polyfill\Php81;
1313

1414
/**
1515
* @author Nicolas Grekas <p@tchwork.com>

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Symfony Polyfill / Php81
1+
zf1s Polyfill / Php81
22
========================
33

44
This component provides features added to PHP 8.1 core:
@@ -7,8 +7,8 @@ This component provides features added to PHP 8.1 core:
77
- [`MYSQLI_REFRESH_REPLICA`](https://www.php.net/manual/en/mysqli.constants.php#constantmysqli-refresh-replica) constant
88
- [`ReturnTypeWillChange`](https://wiki.php.net/rfc/internal_method_return_types)
99

10-
More information can be found in the
11-
[main Polyfill README](https://github.com/symfony/polyfill/blob/master/README.md).
10+
This is a fork of symfony/polyfill-php81 to make it compatible for PHP 5.3, so that it can be used in
11+
[zf1s/zend](https://github.com/zf1s/zf1).
1212

1313
License
1414
=======

bootstrap.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
use Symfony\Polyfill\Php81 as p;
12+
use Zf1s\Polyfill\Php81 as p;
1313

1414
if (\PHP_VERSION_ID >= 80100) {
1515
return;

composer.json

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
2-
"name": "symfony/polyfill-php81",
2+
"name": "zf1s/polyfill-php81",
33
"type": "library",
4-
"description": "Symfony polyfill backporting some PHP 8.1+ features to lower PHP versions",
4+
"description": "zf1s polyfill backporting some PHP 8.1+ features to lower PHP versions",
55
"keywords": ["polyfill", "shim", "compatibility", "portable"],
6-
"homepage": "https://symfony.com",
6+
"homepage": "https://github.com/zf1s/zf1",
77
"license": "MIT",
88
"authors": [
99
{
@@ -19,18 +19,14 @@
1919
"php": ">=5.3"
2020
},
2121
"autoload": {
22-
"psr-4": { "Symfony\\Polyfill\\Php81\\": "" },
22+
"psr-4": { "Zf1s\\Polyfill\\Php81\\": "" },
2323
"files": [ "bootstrap.php" ],
2424
"classmap": [ "Resources/stubs" ]
2525
},
2626
"minimum-stability": "dev",
2727
"extra": {
2828
"branch-alias": {
2929
"dev-main": "1.23-dev"
30-
},
31-
"thanks": {
32-
"name": "symfony/polyfill",
33-
"url": "https://github.com/symfony/polyfill"
3430
}
3531
}
3632
}

0 commit comments

Comments
 (0)