Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F12730140
D3879.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
5 KB
Referenced Files
None
Subscribers
None
D3879.id.diff
View Options
diff --git a/_utils/templates/generate-compose-json.php b/_utils/templates/generate-compose-json.php
--- a/_utils/templates/generate-compose-json.php
+++ b/_utils/templates/generate-compose-json.php
@@ -153,7 +153,7 @@
"ext-xmlwriter" => "*",
"nasqueron/codestyle" => "^0.1.2",
"phan/phan" => "^5.3.1",
- "phpunit/phpunit" => "^10.2",
+ "phpunit/phpunit" => "^12.4",
"symfony/yaml" => "^6.0.3",
"squizlabs/php_codesniffer" => "^4.0.0",
],
diff --git a/cache/composer.json b/cache/composer.json
--- a/cache/composer.json
+++ b/cache/composer.json
@@ -20,7 +20,7 @@
"keruald/omnitools": "^0.11"
},
"require-dev": {
- "phpunit/phpunit": "^10.2"
+ "phpunit/phpunit": "^12.4"
},
"suggest": {
"ext-memcached": "*",
diff --git a/commands/composer.json b/commands/composer.json
--- a/commands/composer.json
+++ b/commands/composer.json
@@ -19,7 +19,7 @@
},
"require-dev": {
"phan/phan": "^5.3",
- "phpunit/phpunit": "^10.2",
+ "phpunit/phpunit": "^12.4",
"squizlabs/php_codesniffer": "^3"
}
}
diff --git a/composer.json b/composer.json
--- a/composer.json
+++ b/composer.json
@@ -32,7 +32,7 @@
"ext-xmlwriter": "*",
"nasqueron/codestyle": "^0.1.2",
"phan/phan": "^5.3.1",
- "phpunit/phpunit": "^10.2",
+ "phpunit/phpunit": "^12.4",
"squizlabs/php_codesniffer": "^4.0.0"
},
"suggest": {
diff --git a/database/composer.json b/database/composer.json
--- a/database/composer.json
+++ b/database/composer.json
@@ -5,7 +5,7 @@
"require-dev": {
"phan/phan": "^5.3.2",
"squizlabs/php_codesniffer": "^4.0.0",
- "phpunit/phpunit": "^10.2",
+ "phpunit/phpunit": "^12.4",
"nasqueron/codestyle": "^0.1.2"
},
"suggest": {
diff --git a/github/composer.json b/github/composer.json
--- a/github/composer.json
+++ b/github/composer.json
@@ -27,7 +27,7 @@
},
"require-dev": {
"php": ">=8.2.0",
- "phpunit/phpunit": "11.*"
+ "phpunit/phpunit": "^12.4"
},
"autoload": {
"psr-4": {
diff --git a/omnitools/composer.json b/omnitools/composer.json
--- a/omnitools/composer.json
+++ b/omnitools/composer.json
@@ -21,7 +21,7 @@
"require-dev": {
"nasqueron/codestyle": "^0.1.2",
"phan/phan": "^5.3.1",
- "phpunit/phpunit": "^10.2",
+ "phpunit/phpunit": "^12.4",
"squizlabs/php_codesniffer": "^4.0.0"
}
}
diff --git a/omnitools/tests/HTTP/URLTest.php b/omnitools/tests/HTTP/URLTest.php
--- a/omnitools/tests/HTTP/URLTest.php
+++ b/omnitools/tests/HTTP/URLTest.php
@@ -10,21 +10,21 @@
class URLTest extends TestCase {
#[DataProvider('provideURLsAndComponents')]
- public function testGetDomain ($url, $expectedDomain) : void {
+ public function testGetDomain ($url, $expectedDomain, $_, $__, $___ = null) : void {
$url = new URL($url);
$this->assertEquals($expectedDomain, $url->getDomain());
}
#[DataProvider('provideURLsAndComponents')]
- public function testGetProtocol ($url, $_, $expectedProtocol) : void {
+ public function testGetProtocol ($url, $_, $expectedProtocol, $__, $___ = null) : void {
$url = new URL($url);
$this->assertEquals($expectedProtocol, $url->getProtocol());
}
#[DataProvider('provideURLsAndComponents')]
- public function testGetQuery ($url, $_, $__, $expectedQuery) : void {
+ public function testGetQuery ($url, $_, $__, $expectedQuery, $___ = null) : void {
$url = new URL($url);
$this->assertEquals($expectedQuery, $url->getQuery());
diff --git a/omnitools/tests/Strings/Multibyte/StringUtilitiesTest.php b/omnitools/tests/Strings/Multibyte/StringUtilitiesTest.php
--- a/omnitools/tests/Strings/Multibyte/StringUtilitiesTest.php
+++ b/omnitools/tests/Strings/Multibyte/StringUtilitiesTest.php
@@ -101,16 +101,18 @@
}
public static function provideBase64 () : iterable {
- yield ['foo', 'Zm9v', "This is the regular base test without any exception."];
- yield ['', '', "An empty string should remain an empty string."];
- yield [
+ yield "This is the regular base test without any exception." => ['foo', 'Zm9v'];
+
+ yield "An empty string should remain an empty string." => ['', ''];
+
+ yield "No padding should be used." => [
"J'ai fait mes 60 prières par terre dans la poudrière.",
'SidhaSBmYWl0IG1lcyA2MCBwcmnDqHJlcyBwYXIgdGVycmUgZGFucyBsYSBwb3VkcmnDqHJlLg',
- "No padding should be used."
];
- yield [
- "àèòàFOOàèòà", "w6DDqMOyw6BGT0_DoMOow7LDoA",
- "Slashes / should be replaced by underscores _."
+
+ yield "Slashes / should be replaced by underscores _." => [
+ "àèòàFOOàèòà",
+ "w6DDqMOyw6BGT0_DoMOow7LDoA",
];
}
}
diff --git a/report/composer.json b/report/composer.json
--- a/report/composer.json
+++ b/report/composer.json
@@ -5,7 +5,7 @@
"require-dev": {
"nasqueron/codestyle": "^0.1.2",
"phan/phan": "^5.3",
- "phpunit/phpunit": "^10.2",
+ "phpunit/phpunit": "^12.4",
"squizlabs/php_codesniffer": "^4.0.0"
},
"license": "BSD-2-Clause",
diff --git a/yaml/composer.json b/yaml/composer.json
--- a/yaml/composer.json
+++ b/yaml/composer.json
@@ -28,7 +28,7 @@
"php": ">=8.3.0"
},
"require-dev": {
- "phpunit/phpunit": "12.*"
+ "phpunit/phpunit": "^12.4"
},
"autoload": {
"psr-4": {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 15, 09:12 (10 h, 22 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3165942
Default Alt Text
D3879.id.diff (5 KB)
Attached To
Mode
D3879: Upgrade tests to PHPUnit 12
Attached
Detach File
Event Timeline
Log In to Comment