Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use stubs from stubs package #67

Open
wants to merge 1 commit into
base: 3.x
Choose a base branch
from

Conversation

WyriHaximus
Copy link
Contributor

No description provided.

@WyriHaximus WyriHaximus added this to the 3.0.0 milestone Dec 26, 2024
@boring-cyborg boring-cyborg bot added Dependencies 📦 Pull requests that update a dependency file JSON 👨‍💼 NEON 🦹‍♂️ PHP 🐘 Hypertext Pre Processor Source 🔮 Tests 🧪 labels Dec 26, 2024
Copy link

github-actions bot commented Dec 26, 2024

🏰 Composer Production Dependency changes 🏰

Prod Packages Operation Base Target Link
lcobucci/clock Upgraded 3.0.0 3.3.1 Compare
react-parallel/event-loop Changed 2.x-dev d34a8cf dev-2.x-ensure-void-returntype-translates-to-null 1f721d7 Compare
react/promise Upgraded v2.11.0 v3.2.0 Compare
php Changed ^8.1 ^8.2
reactivex/rxphp Removed 2.0.12 - Compare
wyrihaximus/react-awaitable-observable Removed 1.0.0 - Compare
wyrihaximus/react-event-loop-rx-scheduler-hook-up Removed 0.1.1 - Compare

Copy link

github-actions bot commented Dec 26, 2024

🚧 Composer Development Dependency changes 🚧

Dev Packages Operation Base Target Link
beberlei/assert Upgraded v3.3.2 v3.3.3 Compare
composer/ca-bundle Upgraded 1.5.1 1.5.5 Compare
composer/class-map-generator Upgraded 1.3.4 1.5.0 Compare
composer/composer Upgraded 2.7.7 2.8.4 Compare
composer/pcre Upgraded 3.1.4 3.3.2 Compare
composer/semver Upgraded 3.4.2 3.4.3 Compare
doctrine/deprecations Upgraded 1.1.3 1.1.4 Compare
ergebnis/composer-normalize Upgraded 2.43.0 2.45.0 Compare
ergebnis/json Upgraded 1.2.0 1.4.0 Compare
ergebnis/json-normalizer Upgraded 4.5.0 4.8.0 Compare
ergebnis/json-pointer Upgraded 3.4.0 3.6.0 Compare
ergebnis/json-printer Upgraded 3.5.0 3.7.0 Compare
ergebnis/json-schema-validator Upgraded 4.2.0 4.4.0 Compare
ergebnis/phpstan-rules Upgraded 2.2.0 2.5.2 Compare
felixfbecker/language-server-protocol Upgraded v1.5.2 v1.5.3 Compare
fidry/cpu-core-counter Upgraded 0.4.1 1.2.0 Compare
filp/whoops Upgraded 2.15.4 2.16.0 Compare
guzzlehttp/guzzle Upgraded 7.9.1 7.9.2 Compare
guzzlehttp/promises Upgraded 2.0.3 2.0.4 Compare
infection/infection Upgraded 0.26.21 0.27.10 Compare
localheinz/diff Upgraded 1.1.1 1.2.0 Compare
maglnet/composer-require-checker Upgraded 4.7.1 4.14.0 Compare
myclabs/deep-copy Upgraded 1.12.0 1.12.1 Compare
netresearch/jsonmapper Upgraded v4.4.1 v4.5.0 Compare
nikic/php-parser Upgraded v4.19.1 v4.19.4 Compare
nunomaduro/collision Upgraded v6.4.0 v7.11.0 Compare
nunomaduro/termwind New - v1.17.0 Compare
ocramius/package-versions Upgraded 2.8.0 2.9.0 Compare
php-standard-library/psalm-plugin Upgraded 1.1.5 2.3.0 Compare
phpdocumentor/reflection-docblock Upgraded 5.4.1 5.6.1 Compare
phpdocumentor/type-resolver Upgraded 1.8.2 1.10.0 Compare
phpspec/prophecy Upgraded v1.19.0 v1.20.0 Compare
phpspec/prophecy-phpunit Upgraded v2.2.0 v2.3.0 Compare
phpstan/phpdoc-parser Upgraded 1.29.1 1.33.0 Compare
phpstan/phpstan Upgraded 1.11.7 1.12.15 Compare
phpstan/phpstan-deprecation-rules Upgraded 1.2.0 1.2.1 Compare
phpstan/phpstan-mockery New - 1.1.3 Compare
phpstan/phpstan-phpunit Upgraded 1.4.0 1.4.2 Compare
phpstan/phpstan-strict-rules Upgraded 1.6.0 1.6.1 Compare
phpunit/php-code-coverage Upgraded 9.2.31 9.2.32 Compare
phpunit/phpunit Upgraded 9.6.20 9.6.22 Compare
react-parallel/stubs New - 1.2.0 Compare
roave/backward-compatibility-check Upgraded 7.4.0 8.6.0 Compare
roave/better-reflection Upgraded 6.25.0 6.26.0 Compare
roave/infection-static-analysis-plugin Upgraded 1.31.0 1.35.0 Compare
sanmai/pipeline Upgraded v6.11 6.12 Compare
spatie/array-to-xml Upgraded 3.3.0 3.4.0 Compare
squizlabs/php_codesniffer Upgraded 3.10.1 3.11.2 Compare
symfony/config Upgraded v6.4.8 v7.2.0 Compare
symfony/console Upgraded v6.4.9 v6.4.17 Compare
symfony/dependency-injection Upgraded v6.4.9 v7.2.0 Compare
symfony/deprecation-contracts Upgraded v3.5.0 v3.5.1 Compare
symfony/filesystem Upgraded v6.4.9 v7.2.0 Compare
symfony/finder Upgraded v6.4.8 v7.2.2 Compare
symfony/polyfill-ctype Upgraded v1.30.0 v1.31.0 Compare
symfony/polyfill-intl-grapheme Upgraded v1.30.0 v1.31.0 Compare
symfony/polyfill-intl-normalizer Upgraded v1.30.0 v1.31.0 Compare
symfony/polyfill-mbstring Upgraded v1.30.0 v1.31.0 Compare
symfony/polyfill-php73 Upgraded v1.30.0 v1.31.0 Compare
symfony/polyfill-php80 Upgraded v1.30.0 v1.31.0 Compare
symfony/polyfill-php81 Upgraded v1.30.0 v1.31.0 Compare
symfony/polyfill-php83 Upgraded v1.30.0 v1.31.0 Compare
symfony/process Upgraded v6.4.8 v7.2.0 Compare
symfony/property-access Upgraded v6.4.8 v7.2.0 Compare
symfony/property-info Upgraded v6.4.9 v7.2.2 Compare
symfony/serializer Upgraded v6.4.9 v7.2.0 Compare
symfony/service-contracts Upgraded v3.5.0 v3.5.1 Compare
symfony/stopwatch Upgraded v6.4.8 v7.2.2 Compare
symfony/string Upgraded v6.4.9 v7.2.0 Compare
symfony/translation-contracts Upgraded v3.5.0 v3.5.1 Compare
symfony/type-info New - v7.2.2 Compare
symfony/validator Upgraded v6.4.9 v7.2.2 Compare
symfony/var-exporter Upgraded v6.4.9 v7.2.0 Compare
symfony/yaml Upgraded v6.4.8 v7.2.0 Compare
vimeo/psalm Upgraded 5.25.0 5.26.1 Compare
wyrihaximus/async-test-utilities Upgraded 5.0.25 7.3.0 Compare
wyrihaximus/coding-standard Upgraded 2.14.0 2.15.0 Compare
wyrihaximus/phpstan-react New - 1.0.0 Compare
wyrihaximus/phpstan-rules-wrapper Upgraded 2.15.0 3.5.0 Compare
wyrihaximus/test-utilities Upgraded 5.2.4 5.6.0 Compare
wyrihaximus/ticking-promise Upgraded 3.0.0 3.1.0 Compare
clue/block-react Removed v1.5.0 - Compare
nette/utils Removed v3.2.10 - Compare
react/promise-timer Removed v1.11.0 - Compare
tomasvotruba/cognitive-complexity Removed 0.1.2 - Compare

@WyriHaximus WyriHaximus force-pushed the 3.x-use-stubs-from-stubs-package branch from f00e6ea to 4925aca Compare January 10, 2025 06:35
@WyriHaximus WyriHaximus force-pushed the 3.x-use-stubs-from-stubs-package branch from 4925aca to 7000e4d Compare January 10, 2025 06:46
$pool = Runtime::create(new EventLoopBridge());
$runtime = Runtime::create(new EventLoopBridge());

assertType('null', $runtime->run(static function (): void {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Exact same as:

void is not a value, and cannot be asserted upon, while Closure(): void is, and can be asserted upon.

You cannot evaluate a void expression, then assert upon it: it has no value by definition.

You will need to change this assertion:

-assertType('null', $runtime->run(static function (): void {
+assertType('Closure(): void', fn() => $runtime->run(static function (): void {

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Dependencies 📦 Pull requests that update a dependency file JSON 👨‍💼 NEON 🦹‍♂️ PHP 🐘 Hypertext Pre Processor Source 🔮 Tests 🧪
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants