Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
*.webp binary
*.bmp binary
*.ttf binary
*.blp binary
*.db2 binary

# Ignoring files for distribution archieves
.github/ export-ignore
Expand Down
12 changes: 8 additions & 4 deletions .github/renovate.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"github>WyriHaximus/renovate-config:php-package"
]
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"github>WyriHaximus/renovate-config:php-package"
],
"constraints": {
"php": "8.4.x",
"composer": "2.x"
}
}
115 changes: 85 additions & 30 deletions Makefile

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
},
"require-dev": {
"react-parallel/runtime": "^3.1.0",
"wyrihaximus/makefiles": "^0.7.16"
"wyrihaximus/makefiles": "^0.10.6"
},
"autoload": {
"psr-4": {
Expand Down
18 changes: 9 additions & 9 deletions composer.lock

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

2 changes: 1 addition & 1 deletion etc/qa/infection.json5
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"timeout": 120,
"source": {
"directories": [
"src"
"../../src"
]
},
"logs": {
Expand Down
13 changes: 12 additions & 1 deletion etc/qa/phpunit.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" bootstrap="../../vendor/autoload.php" colors="true" xsi:noNamespaceSchemaLocation="../../vendor/phpunit/phpunit/phpunit.xsd" cacheDirectory="../../var/phpunit/cache">
<phpunit
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
bootstrap="../../vendor/autoload.php"
colors="true"
xsi:noNamespaceSchemaLocation="../../vendor/phpunit/phpunit/phpunit.xsd"
cacheDirectory="../../var/phpunit/cache"
displayDetailsOnTestsThatTriggerDeprecations="true"
displayDetailsOnTestsThatTriggerErrors="true"
displayDetailsOnTestsThatTriggerNotices="true"
displayDetailsOnTestsThatTriggerWarnings="true"
displayDetailsOnPhpunitDeprecations="true"
>
<testsuites>
<testsuite name="Test Suite">
<directory>../../tests/</directory>
Expand Down
1 change: 0 additions & 1 deletion src/AbstractPoolTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@

try {
/** @phpstan-ignore method.unresolvableReturnType */
$result = $pool->run($callable, $args);

Check failure on line 104 in src/AbstractPoolTest.php

View workflow job for this annotation

GitHub Actions / Continuous Integration / Continuous Integration / Run stan on PHP 8.4 (zts) with lowest dependency preference

No error with identifier method.unresolvableReturnType is reported on line 104.

Check failure on line 104 in src/AbstractPoolTest.php

View workflow job for this annotation

GitHub Actions / Continuous Integration / Continuous Integration / Run stan on PHP 8.4 (zts) with lowest dependency preference

No error with identifier method.unresolvableReturnType is reported on line 104.

Check failure on line 104 in src/AbstractPoolTest.php

View workflow job for this annotation

GitHub Actions / Continuous Integration / Continuous Integration / Run stan on PHP 8.5 (zts) with lowest dependency preference

No error with identifier method.unresolvableReturnType is reported on line 104.
} finally {
$pool->close();
}
Expand All @@ -125,7 +125,7 @@
$results = [];
foreach (range(0, 8) as $i) {
/** @phpstan-ignore method.unresolvableReturnType */
$results[$i] = $pool->run($callable, $args);

Check failure on line 128 in src/AbstractPoolTest.php

View workflow job for this annotation

GitHub Actions / Continuous Integration / Continuous Integration / Run stan on PHP 8.4 (zts) with lowest dependency preference

No error with identifier method.unresolvableReturnType is reported on line 128.

Check failure on line 128 in src/AbstractPoolTest.php

View workflow job for this annotation

GitHub Actions / Continuous Integration / Continuous Integration / Run stan on PHP 8.4 (zts) with lowest dependency preference

No error with identifier method.unresolvableReturnType is reported on line 128.

Check failure on line 128 in src/AbstractPoolTest.php

View workflow job for this annotation

GitHub Actions / Continuous Integration / Continuous Integration / Run stan on PHP 8.5 (zts) with lowest dependency preference

No error with identifier method.unresolvableReturnType is reported on line 128.
}
} finally {
$pool->close();
Expand All @@ -152,7 +152,7 @@
self::assertTrue($pool->close());

/** @phpstan-ignore method.unresolvableReturnType */
$pool->run($callable, $args);

Check failure on line 155 in src/AbstractPoolTest.php

View workflow job for this annotation

GitHub Actions / Continuous Integration / Continuous Integration / Run stan on PHP 8.4 (zts) with lowest dependency preference

No error with identifier method.unresolvableReturnType is reported on line 155.

Check failure on line 155 in src/AbstractPoolTest.php

View workflow job for this annotation

GitHub Actions / Continuous Integration / Continuous Integration / Run stan on PHP 8.4 (zts) with lowest dependency preference

No error with identifier method.unresolvableReturnType is reported on line 155.

Check failure on line 155 in src/AbstractPoolTest.php

View workflow job for this annotation

GitHub Actions / Continuous Integration / Continuous Integration / Run stan on PHP 8.5 (zts) with lowest dependency preference

No error with identifier method.unresolvableReturnType is reported on line 155.
}

#[Test]
Expand All @@ -166,7 +166,6 @@
$pool->kill();
});

/** @phpstan-ignore-next-line */
/** @phpstan-ignore staticMethod.alreadyNarrowedType */
self::assertSame(123, $pool->run(static function (): int {
/** @phpstan-ignore wyrihaximus.reactphp.blocking.function.sleep */
Expand Down
Loading