Skip to content

fix(messages): PossiblyFalseArgument says 'possibly false value provided' - #15151

Merged
orklah merged 1 commit into
vimeo:masterfrom
ARAYN7011:fix/possibly-false-argument-message
Nov 27, 2026
Merged

orklah merged 1 commit into
vimeo:masterfrom
ARAYN7011:fix/possibly-false-argument-message

Conversation

@ARAYN7011

Copy link
Copy Markdown
Contributor

Fixes #15149. PossiblyFalseArgument described the parameter type as the possibly-provided value instead of false, unlike PossiblyNullArgument.

Before

<?php
function takesString(string $s): void {}

/** @return string|false */
function maybeString() {
    return rand(0, 1) ? "a" : false;
}

takesString(maybeString()); // PossiblyFalseArgument: Argument 1 of takesString cannot be false, possibly string value expected

After

takesString(maybeString()); // PossiblyFalseArgument: Argument 1 of takesString cannot be false, possibly false value provided

Test: FunctionCallTest case possiblyFalseArgumentMessageNamesTheFalseValue (fails on master, passes here; phpcs clean). AI-assisted (Claude).

🤖 Generated with Claude Code

@orklah

orklah commented Nov 27, 2026

Copy link
Copy Markdown
Collaborator

Thanks for the PR!

It conflicts with master: the branch is based on an older master, and this code has moved since. The messages now live in src/Psalm/Internal/Analyzer/Statements/TypeMismatch/ArgumentTypeMismatchReporter.php (possiblyFalseIssue()), so the change needs to go there after a rebase.

While you're at it, could you also align falseIssue() with nullIssue()? It currently says cannot be false, string value expected; following nullIssue(), it would be cannot be false, false value provided to parameter with type string.

@ARAYN7011
ARAYN7011 force-pushed the fix/possibly-false-argument-message branch from 1318554 to 336a8f9 Compare November 27, 2026 12:49
@ARAYN7011

Copy link
Copy Markdown
Contributor Author

Rebased onto current master and moved the change into ArgumentTypeMismatchReporter::possiblyFalseIssue() (now ... cannot be false, possibly false value provided). Also aligned falseIssue() with nullIssue() as suggested (cannot be false, false value provided to parameter with type string), with a test for each. FunctionCallTest passes in full and phpcs is clean.

@github-actions

Copy link
Copy Markdown
Contributor

✅ Performance: unchanged · Types: unchanged

Project Memory (MB) Wall (s) Issues Weighted (types) Taint Dead code
✅ laravel 1 788 108.4 $\color{gray}{\textsf{-0.7\%}}$ 25 830 $\color{red}{\textsf{+158}}$ $\color{green}{\textsf{-158}}$ 52 547 819 0
✅ symfony 3 450 159.6 $\color{gray}{\textsf{+1.3\%}}$ 51 768 $\color{red}{\textsf{+657}}$ $\color{green}{\textsf{-657}}$ 100 072 1 675 0
✅ doctrine-orm 337 25.3 $\color{gray}{\textsf{-0.6\%}}$ 3 369 $\color{red}{\textsf{+40}}$ $\color{green}{\textsf{-40}}$ 5 822 0 0
✅ psl 624 30.0 $\color{gray}{\textsf{+0.9\%}}$ 1 296 5 125 2 0
✅ phpunit 434 22.8 $\color{gray}{\textsf{-1.0\%}}$ 1 582 $\color{red}{\textsf{+9}}$ $\color{green}{\textsf{-9}}$ 2 379 18 0
✅ php-parser 229 15.4 $\color{gray}{\textsf{+0.5\%}}$ 17 032 $\color{red}{\textsf{+28}}$ $\color{green}{\textsf{-28}}$ 21 091 0 0
✅ tempest 915 42.5 $\color{gray}{\textsf{-2.6\%}}$ 5 515 $\color{red}{\textsf{+38}}$ $\color{green}{\textsf{-38}}$ 11 033 288 0
✅ amphp-amp 49 1.7 30 57 0 0
✅ webmozarts-assert 281 5.1 $\color{gray}{\textsf{+0.8\%}}$ 576 $\color{red}{\textsf{+6}}$ $\color{green}{\textsf{-6}}$ 2 740 0 0
✅ guzzle-promises 47 1.8 $\color{gray}{\textsf{+2.8\%}}$ 152 415 2 0
✅ monolog 140 6.1 $\color{gray}{\textsf{-3.3\%}}$ 936 $\color{red}{\textsf{+29}}$ $\color{green}{\textsf{-29}}$ 2 483 31 0
✅ drupal 5 079 168.2 $\color{gray}{\textsf{-0.7\%}}$ 98 367 $\color{red}{\textsf{+516}}$ $\color{green}{\textsf{-516}}$ 169 545 687 0
✅ wordpress 2 027 153.0 $\color{gray}{\textsf{-1.0\%}}$ 143 607 $\color{red}{\textsf{+3094}}$ $\color{green}{\textsf{-3094}}$ 678 804 479 1
Total 15 399 739.7 $\color{gray}{\textsf{-0.4\%}}$ 350 060 $\color{red}{\textsf{+4575}}$ $\color{green}{\textsf{-4575}}$ 1 052 113 4 001 1
How to read this table
  • Memory: Psalm's own peak figure, threads=1. More than +5 % fails, unless the PR changes composer.json.
  • Wall: base and head run on the same runner; ±10 % is noise. Above +10 % warns, never fails. re-run: a reversed second run was taken and the faster kept.
  • Issues: head count over all categories, then $\color{red}{\textsf{+added}}$ $\color{green}{\textsf{-removed}}$ against base.
  • Weighted (types): type issues weighted by error level (levels 1–8 as is, always-errors 10, strictness checks 1). Taint and dead-code issues are not weighed. The projects' own code is pinned and their dependencies resolve identically for base and head, so a change means Psalm reports more, fewer or differently serious issues. A rise is not necessarily a regression.
  • Taint: head count of Tainted* issues, then $\color{orange}{\textsf{+added}}$ $\color{orange}{\textsf{-removed}}$ against base. Both are orange as either direction needs review: more can be new detection or false positives, fewer can be fixed false positives or lost detection.
  • Dead code: head count of unused-code issues, shown only when a run reported some (findUnusedCode). More is red, fewer is green.
  • Total: sum over the projects compared on both sides. Its wall time warns above +5 % (±5 % is noise); the other thresholds apply per project.
  • Profiling: when both sides support it, the measured runs use --debug-performance=PATH for the hot-files block, which adds the same small CPU and memory cost to both sides.
  • Colors: $\color{red}{\textsf{red}}$ past a fail or warn threshold (or more issues), $\color{green}{\textsf{green}}$ an improvement past noise (or fewer issues), $\color{orange}{\textsf{orange}}$ needs review, $\color{gray}{\textsf{gray}}$ noise.
  • Performance: regressed if a head run crashed or timed out or a memory or wall delta is red, else improved if one is green, else unchanged. Its icon is the check result: ❌ fail · ⚠️ warn · ✅ pass; the icon next to each project is that project's result, 💥 = not comparable: base crashed or timed out (counts as ⚠️).
  • Types (heading): direction of the total weighted change, increased · decreased · unchanged. Taint and Dead code (heading): added and removed counts, present only when non-zero. Informational, never fails the check.
✅ laravel: issues +158 −158

Memory 1 788 → 1 788 MB (<0.1 %) · Wall 109.1 → 108.4 s (−0.7 %)

Issue type added removed
InvalidArgument 2 2
PossiblyFalseArgument 156 156

Changed in place (158)

@​@​ 81 places PossiblyFalseArgument @​@​
  src/Illuminate/Broadcasting/Broadcasters/RedisBroadcaster.php:134
  src/Illuminate/Bus/Dispatcher.php:123
  src/Illuminate/Cache/RedisStore.php:364
  src/Illuminate/Cache/RedisTagSet.php:45
  src/Illuminate/Concurrency/Console/InvokeSerializedClosureCommand.php:46
  src/Illuminate/Concurrency/Console/InvokeSerializedClosureCommand.php:73
  src/Illuminate/Console/Scheduling/Event.php:473
  src/Illuminate/Console/Scheduling/Event.php:761
  src/Illuminate/Encryption/Encrypter.php:130
  src/Illuminate/Encryption/Encrypter.php:281
  … and 71 more
- …Redis::publish cannot be false, possibly string value expected
+ …Redis::publish cannot be false, possibly false value provided

@​@​ 6 places PossiblyFalseArgument @​@​
  src/Illuminate/Console/Parser.php:128
  src/Illuminate/Console/Scheduling/CronExpressionTimezoneConverter.php:35
  src/Illuminate/Database/Eloquent/Builder.php:2256
  src/Illuminate/Foundation/Console/AboutCommand.php:291
  src/Illuminate/Support/Str.php:1566
  src/Illuminate/Support/Str.php:1616
- Argument 1 of count cannot be false, possibly Countable|array<array-key, mixed> value expected
+ Argument 1 of count cannot be false, possibly false value provided

@​@​ src/Illuminate/Console/Scheduling/CronExpressionTimezoneConverter.php:39 PossiblyFalseArgument @​@​
- …CronExpressionTimezoneConverter::convert cannot be false, possibly array<int, string> value expected
+ …CronExpressionTimezoneConverter::convert cannot be false, possibly false value provided

@​@​ 5 places PossiblyFalseArgument @​@​
  src/Illuminate/Console/Scheduling/ManagesFrequencies.php:697
  src/Illuminate/Database/Eloquent/Concerns/HasRelationships.php:824
  src/Illuminate/Support/Str.php:1072
  src/Illuminate/Support/Str.php:1568
  src/Illuminate/Support/Str.php:1642
- … 2 of implode cannot be false, possibly array<array-key, null|object{__tostring()}|scalar> value expected
+ … 2 of implode cannot be false, possibly false value provided

@​@​ 18 places PossiblyFalseArgument @​@​
  src/Illuminate/Console/Scheduling/ScheduleListCommand.php:157
  src/Illuminate/Database/Eloquent/Builder.php:1475
  src/Illuminate/Database/Eloquent/Builder.php:2256
  src/Illuminate/Database/Eloquent/Casts/AsVector.php:43
  src/Illuminate/Database/Eloquent/Concerns/HasRelationships.php:822
  src/Illuminate/Database/Query/Builder.php:3940
  src/Illuminate/Database/Query/Grammars/PostgresGrammar.php:662
  src/Illuminate/Database/Query/Grammars/PostgresGrammar.php:719
  src/Illuminate/Database/Query/Grammars/SQLiteGrammar.php:421
  src/Illuminate/Database/Query/Grammars/SQLiteGrammar.php:480
  … and 8 more
- … of array_map cannot be false, possibly array<array-key, mixed> value expected
+ … of array_map cannot be false, possibly false value provided

@​@​ 6 places PossiblyFalseArgument @​@​
  src/Illuminate/Database/Console/ShowCommand.php:150
  src/Illuminate/Database/Console/TableCommand.php:213
  src/Illuminate/Foundation/Console/DevListCommand.php:44
  src/Illuminate/Queue/Console/WorkCommand.php:258
  src/Illuminate/Queue/Console/WorkCommand.php:292
  src/Illuminate/Queue/Console/WorkCommand.php:402
- …OutputStyle::writeln cannot be false, possibly iterable<mixed, mixed>|string value expected
+ …OutputStyle::writeln cannot be false, possibly false value provided

@​@​ 2 places PossiblyFalseArgument @​@​
  src/Illuminate/Database/Console/ShowCommand.php:222
  src/Illuminate/Foundation/ComposerScripts.php:102
- …twoColumnDetail cannot be false, possibly null|string value expected
+ …twoColumnDetail cannot be false, possibly false value provided

@​@​ 2 places PossiblyFalseArgument @​@​
  src/Illuminate/Database/Grammar.php:69
  src/Illuminate/Database/Schema/Blueprint.php:1832
- …substr_replace cannot be false, possibly array<array-key, int>|int value expected
+ …substr_replace cannot be false, possibly false value provided

@​@​ 7 places PossiblyFalseArgument @​@​
  src/Illuminate/Database/Query/Grammars/PostgresGrammar.php:818
  src/Illuminate/Filesystem/Filesystem.php:250
  src/Illuminate/Foundation/Console/KeyGenerateCommand.php:105
  src/Illuminate/Foundation/Console/MailMakeCommand.php:130
  src/Illuminate/Foundation/Console/VendorPublishCommand.php:278
  src/Illuminate/Foundation/Console/VendorPublishCommand.php:384
  src/Illuminate/Foundation/Console/VendorPublishCommand.php:386
- …of str_replace cannot be false, possibly array<array-key, float|int|string>|string value expected
+ …of str_replace cannot be false, possibly false value provided

@​@​ 2 places PossiblyFalseArgument @​@​
  src/Illuminate/Database/Schema/SqliteSchemaState.php:69
  src/Illuminate/Foundation/Console/ApiInstallCommand.php:129
- …::__construct cannot be false, possibly Arrayable<array-key, mixed>|iterable<array-key, mixed>|null value expected
+ …::__construct cannot be false, possibly false value provided

… and 28 more

✅ symfony: issues +657 −657

Memory 3 450 → 3 450 MB (<0.1 %) · Wall 157.6 → 159.6 s (+1.3 %)

Issue type added removed
InvalidArgument 3 3
PossiblyFalseArgument 654 654

Changed in place (657)

@​@​ 290 places PossiblyFalseArgument @​@​
  src/Symfony/Bridge/Doctrine/Form/ChoiceList/IdReader.php:37
  src/Symfony/Bridge/Doctrine/Form/ChoiceList/IdReader.php:43
  src/Symfony/Bridge/Doctrine/Form/ChoiceList/IdReader.php:45
  src/Symfony/Bridge/Doctrine/Security/User/EntityUserProvider.php:100
  src/Symfony/Bridge/PhpUnit/DeprecationErrorHandler/Configuration.php:145
  src/Symfony/Bridge/PhpUnit/DeprecationErrorHandler/Deprecation.php:389
  src/Symfony/Bridge/PhpUnit/DeprecationErrorHandler/Deprecation.php:395
  src/Symfony/Bridge/PhpUnit/bin/simple-phpunit.php:205
  src/Symfony/Bridge/PhpUnit/bin/simple-phpunit.php:257
  src/Symfony/Bridge/PhpUnit/bin/simple-phpunit.php:326
  … and 280 more
- …getTypeOfField cannot be false, possibly string value expected
+ …getTypeOfField cannot be false, possibly false value provided

@​@​ src/Symfony/Bridge/Doctrine/Form/ChoiceList/IdReader.php:94 PossiblyFalseArgument @​@​
- …IdReader::getIdValue cannot be false, possibly null|object value expected
+ …IdReader::getIdValue cannot be false, possibly false value provided

@​@​ 27 places PossiblyFalseArgument @​@​
  src/Symfony/Bridge/PhpUnit/ClassExistsMock.php:76
  src/Symfony/Bridge/PhpUnit/ClassExistsMock.php:79
  src/Symfony/Bridge/PhpUnit/ClockMock.php:146
  src/Symfony/Bridge/PhpUnit/ClockMock.php:149
  src/Symfony/Bridge/PhpUnit/DnsMock.php:169
  src/Symfony/Bridge/PhpUnit/DnsMock.php:172
  src/Symfony/Component/AssetMapper/ImportMap/ImportMapEntry.php:78
  src/Symfony/Component/BrowserKit/Cookie.php:155
  src/Symfony/Component/DependencyInjection/Compiler/ResolveBindingsPass.php:229
  src/Symfony/Component/DependencyInjection/Dumper/PhpDumper.php:545
  … and 17 more
- Argument 3 of substr cannot be false, possibly int|null value expected
+ Argument 3 of substr cannot be false, possibly false value provided

@​@​ 116 places PossiblyFalseArgument @​@​
  src/Symfony/Bridge/PhpUnit/DeprecationErrorHandler.php:316
  src/Symfony/Bridge/PhpUnit/DeprecationErrorHandler.php:318
  src/Symfony/Bridge/PhpUnit/DeprecationErrorHandler.php:329
  src/Symfony/Bridge/PhpUnit/DeprecationErrorHandler.php:338
  src/Symfony/Bridge/PhpUnit/DeprecationErrorHandler.php:341
  src/Symfony/Bridge/PhpUnit/DeprecationErrorHandler.php:349
  src/Symfony/Bridge/PhpUnit/bin/simple-phpunit.php:274
  src/Symfony/Bridge/Twig/Extension/DumpExtension.php:75
  src/Symfony/Component/Cache/Traits/FilesystemCommonTrait.php:102
  src/Symfony/Component/Cache/Traits/FilesystemCommonTrait.php:103
  … and 106 more
- Argument 1 of fwrite cannot be false, possibly resource value expected
+ Argument 1 of fwrite cannot be false, possibly false value provided

@​@​ 5 places PossiblyFalseArgument @​@​
  src/Symfony/Bridge/PhpUnit/DeprecationErrorHandler/Configuration.php:279
  src/Symfony/Bridge/PhpUnit/bin/simple-phpunit.php:289
  src/Symfony/Component/ErrorHandler/DebugClassLoader.php:1117
  src/Symfony/Component/ErrorHandler/DebugClassLoader.php:1214
  src/Symfony/Component/HttpKernel/Profiler/FileProfilerStorage.php:185
- …file_put_contents cannot be false, possibly array<array-key, string>|resource|string value expected
+ …file_put_contents cannot be false, possibly false value provided

@​@​ 57 places PossiblyFalseArgument @​@​
  src/Symfony/Bridge/PhpUnit/DeprecationErrorHandler/Deprecation.php:192
  src/Symfony/Bridge/Twig/Command/DebugCommand.php:397
  src/Symfony/Bundle/SecurityBundle/DependencyInjection/SecurityExtension.php:1227
  src/Symfony/Component/BrowserKit/CookieJar.php:185
  src/Symfony/Component/Console/Application.php:813
  src/Symfony/Component/Console/Application.php:991
  src/Symfony/Component/Console/DependencyInjection/RegisterCommandArgumentLocatorsPass.php:184
  src/Symfony/Component/Console/Formatter/OutputFormatter.php:317
  src/Symfony/Component/Console/Helper/Table.php:780
  src/Symfony/Component/Console/Input/InputOption.php:101
  … and 47 more
- Argument 1 of key cannot be false, possibly array<array-key, mixed> value expected
+ Argument 1 of key cannot be false, possibly false value provided

@​@​ 20 places PossiblyFalseArgument @​@​
  src/Symfony/Bridge/PhpUnit/bin/simple-phpunit.php:171
  src/Symfony/Bridge/PhpUnit/bin/simple-phpunit.php:172
  src/Symfony/Bridge/PhpUnit/bin/simple-phpunit.php:266
  src/Symfony/Bridge/PhpUnit/bin/simple-phpunit.php:287
  src/Symfony/Bridge/PhpUnit/bin/simple-phpunit.php:293
  src/Symfony/Bundle/FrameworkBundle/Resources/bin/check-unused-known-tags.php:22
  src/Symfony/Bundle/FrameworkBundle/Secrets/DotenvVault.php:39
  src/Symfony/Bundle/FrameworkBundle/Secrets/DotenvVault.php:71
  src/Symfony/Component/Console/Command/DumpCompletionCommand.php:109
  src/Symfony/Component/Console/Descriptor/TextDescriptor.php:359
  … and 10 more
- … preg_replace cannot be false, possibly array<array-key, float|int|string>|string value expected
+ … preg_replace cannot be false, possibly false value provided

@​@​ 31 places PossiblyFalseArgument @​@​
  src/Symfony/Bridge/PhpUnit/bin/simple-phpunit.php:274
  src/Symfony/Bundle/WebProfilerBundle/Controller/ProfilerController.php:326
  src/Symfony/Bundle/WebProfilerBundle/Controller/ProfilerController.php:348
  src/Symfony/Component/BrowserKit/AbstractBrowser.php:173
  src/Symfony/Component/DependencyInjection/Attribute/AutowireCallable.php:48
  src/Symfony/Component/DependencyInjection/Kernel/KernelTrait.php:595
  src/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php:146
  src/Symfony/Component/HttpFoundation/UriSigner.php:103
  src/Symfony/Component/HttpFoundation/UriSigner.php:118
  src/Symfony/Component/HttpFoundation/UriSigner.php:128
  … and 21 more
- … of proc_open cannot be false, possibly null|string value expected
+ … of proc_open cannot be false, possibly false value provided

@​@​ 9 places PossiblyFalseArgument @​@​
  src/Symfony/Bridge/Twig/Command/DebugCommand.php:206
  src/Symfony/Bridge/Twig/Command/DebugCommand.php:268
  src/Symfony/Bridge/Twig/Command/LintCommand.php:229
  src/Symfony/Component/AssetMapper/Command/ImportMapAuditCommand.php:187
  src/Symfony/Component/AssetMapper/Command/ImportMapOutdatedCommand.php:112
  src/Symfony/Component/Console/CI/GitlabCiReporter.php:63
  src/Symfony/Component/Messenger/Command/StatsCommand.php:125
  src/Symfony/Component/Translation/Command/XliffLintCommand.php:212
  src/Symfony/Component/Yaml/Command/LintCommand.php:358
- …SymfonyStyle::writeln cannot be false, possibly iterable<mixed, mixed>|string value expected
+ …SymfonyStyle::writeln cannot be false, possibly false value provided

@​@​ src/Symfony/Bridge/Twig/Extension/FormExtension.php:237 PossiblyFalseArgument @​@​
- …createFieldTranslation cannot be false, possibly TranslatableInterface|null|string value expected
+ …createFieldTranslation cannot be false, possibly false value provided

… and 100 more

✅ doctrine-orm: issues +40 −40

Memory 337 → 337 MB (<0.1 %) · Wall 25.4 → 25.3 s (−0.6 %)

Issue type added removed
PossiblyFalseArgument 40 40

Changed in place (40)

@​@​ 5 places PossiblyFalseArgument @​@​
  src/Cache/DefaultQueryCache.php:225
  src/Cache/DefaultQueryCache.php:233
  src/Cache/DefaultQueryCache.php:78
  src/Cache/DefaultQueryCache.php:84
  src/Mapping/ClassMetadataFactory.php:180
- …getEntityPersister cannot be false, possibly class-string value expected
+ …getEntityPersister cannot be false, possibly false value provided

@​@​ 10 places PossiblyFalseArgument @​@​
  src/Cache/DefaultQueryCache.php:228
  src/Internal/Hydration/SimpleObjectHydrator.php:41
  src/Mapping/Driver/DatabaseDriver.php:224
  src/Mapping/Driver/DatabaseDriver.php:228
  src/Mapping/Driver/DatabaseDriver.php:260
  src/Mapping/Driver/DatabaseDriver.php:484
  src/Mapping/Driver/XmlDriver.php:955
  src/Query/SqlWalker.php:883
  src/Tools/Console/Command/GenerateProxiesCommand.php:89
  src/Tools/Debug.php:78
- …NonCacheableEntity::fromEntity cannot be false, possibly string value expected
+ …NonCacheableEntity::fromEntity cannot be false, possibly false value provided

@​@​ 2 places PossiblyFalseArgument @​@​
  src/Internal/Hydration/ArrayHydrator.php:90
  src/Tools/SchemaValidator.php:305
- Argument 1 of key cannot be false, possibly array<array-key, mixed> value expected
+ Argument 1 of key cannot be false, possibly false value provided

@​@​ src/Internal/Hydration/ObjectHydrator.php:428 PossiblyFalseArgument @​@​
- …PersistentCollection::offsetGet cannot be false, possibly array-key value expected
+ …PersistentCollection::offsetGet cannot be false, possibly false value provided

@​@​ 5 places PossiblyFalseArgument @​@​
  src/Proxy/ProxyFactory.php:472
  src/Query/Parser.php:614
  src/QueryBuilder.php:424
  src/QueryBuilder.php:481
  src/Tools/Pagination/LimitSubqueryOutputWalker.php:401
- Argument 3 of substr cannot be false, possibly int|null value expected
+ Argument 3 of substr cannot be false, possibly false value provided

@​@​ src/Query/AST/Functions/IdentityFunction.php:70 PossiblyFalseArgument @​@​
- …getJoinColumnName cannot be false, possibly JoinColumnMapping value expected
+ …getJoinColumnName cannot be false, possibly false value provided

@​@​ src/Query/AST/NewObjectExpression.php:31 PossiblyFalseArgument @​@​
- …walkNewObject cannot be false, possibly null|string value expected
+ …walkNewObject cannot be false, possibly false value provided

@​@​ 15 places PossiblyFalseArgument @​@​
  src/Tools/DebugUnitOfWorkListener.php:103
  src/Tools/DebugUnitOfWorkListener.php:53
  src/Tools/DebugUnitOfWorkListener.php:58
  src/Tools/DebugUnitOfWorkListener.php:60
  src/Tools/DebugUnitOfWorkListener.php:63
  src/Tools/DebugUnitOfWorkListener.php:64
  src/Tools/DebugUnitOfWorkListener.php:69
  src/Tools/DebugUnitOfWorkListener.php:74
  src/Tools/DebugUnitOfWorkListener.php:77
  src/Tools/DebugUnitOfWorkListener.php:80
  … and 5 more
- Argument 1 of fclose cannot be false, possibly resource value expected
+ Argument 1 of fclose cannot be false, possibly false value provided
✅ phpunit: issues +9 −9

Memory 434 → 434 MB (<0.1 %) · Wall 23.0 → 22.8 s (−1.0 %)

Issue type added removed
PossiblyFalseArgument 9 9

Changed in place (9)

@​@​ 4 places PossiblyFalseArgument @​@​
  src/Event/TypeMap.php:130
  src/Event/TypeMap.php:147
  src/Runner/Extension/ChildProcessExtensionBootstrapper.php:70
  src/Runner/Extension/ExtensionBootstrapper.php:58
- …2 of in_array cannot be false, possibly array<array-key, mixed> value expected
+ …2 of in_array cannot be false, possibly false value provided

@​@​ 5 places PossiblyFalseArgument @​@​
  src/TextUI/Application.php:382
  src/TextUI/Command/Commands/GenerateConfigurationCommand.php:107
  src/TextUI/Command/Commands/GenerateConfigurationCommand.php:97
  src/TextUI/Command/Commands/VersionCheckCommand.php:63
  src/Util/Sanitizer.php:44
- … 2 of sprintf cannot be false, possibly float|int|object{__tostring()}|string value expected
+ … 2 of sprintf cannot be false, possibly false value provided
✅ php-parser: issues +28 −28

Memory 229 → 229 MB (<0.1 %) · Wall 15.3 → 15.4 s (+0.5 %)

Issue type added removed
PossiblyFalseArgument 28 28

Changed in place (28)

@​@​ 9 places PossiblyFalseArgument @​@​
  lib/PhpParser/BuilderHelpers.php:117
  lib/PhpParser/BuilderHelpers.php:121
  lib/PhpParser/NameContext.php:267
  lib/PhpParser/Parser/Php7.php:1386
  lib/PhpParser/Parser/Php7.php:2634
  lib/PhpParser/Parser/Php7.php:2637
  lib/PhpParser/Parser/Php8.php:1403
  lib/PhpParser/Parser/Php8.php:2666
  lib/PhpParser/Parser/Php8.php:2669
- …::__construct cannot be false, possibly Name|array<array-key, string>|string value expected
+ …::__construct cannot be false, possibly false value provided

@​@​ 13 places PossiblyFalseArgument @​@​
  lib/PhpParser/BuilderHelpers.php:197
  lib/PhpParser/Comment.php:161
  lib/PhpParser/Internal/TokenStream.php:261
  lib/PhpParser/Lexer/TokenEmulator/NullsafeTokenEmulator.php:43
  lib/PhpParser/NameContext.php:282
  lib/PhpParser/Node/Scalar/Float_.php:67
  lib/PhpParser/Node/Scalar/String_.php:120
  lib/PhpParser/Node/Scalar/String_.php:85
  lib/PhpParser/Parser/Php7.php:2228
  lib/PhpParser/Parser/Php8.php:2251
  … and 3 more
- …of strtolower cannot be false, possibly string value expected
+ …of strtolower cannot be false, possibly false value provided

@​@​ lib/PhpParser/BuilderHelpers.php:201 PossiblyFalseArgument @​@​
- …normalizeName cannot be false, possibly Name|string value expected
+ …normalizeName cannot be false, possibly false value provided

@​@​ 2 places PossiblyFalseArgument @​@​
  lib/PhpParser/Lexer/TokenEmulator/ExplicitOctalEmulator.php:36
  lib/PhpParser/Node/Scalar/String_.php:81
- …of str_replace cannot be false, possibly array<array-key, float|int|string>|string value expected
+ …of str_replace cannot be false, possibly false value provided

@​@​ lib/PhpParser/Node/Name.php:179 PossiblyFalseArgument @​@​
- …::__construct cannot be false, possibly Name|array<array-key, string>|string value expected
+ …::__construct cannot be false, possibly false value provided

@​@​ 2 places PossiblyFalseArgument @​@​
  lib/PhpParser/Parser/Php7.php:1389
  lib/PhpParser/Parser/Php8.php:1406
- …::__construct cannot be false, possibly Expr|string value expected
+ …::__construct cannot be false, possibly false value provided
✅ tempest: issues +38 −38

Memory 915 → 915 MB (<0.1 %) · Wall 43.6 → 42.5 s (−2.6 %)

Issue type added removed
PossiblyFalseArgument 38 38

Changed in place (38)

@​@​ 2 places PossiblyFalseArgument @​@​
  packages/command-bus/src/MonitorAsyncCommands.php:102
  packages/mail/src/Attachment.php:70
- …::__construct cannot be false, possibly null|string value expected
+ …::__construct cannot be false, possibly false value provided

@​@​ 13 places PossiblyFalseArgument @​@​
  packages/console/src/Components/Concerns/OpensInEditor.php:43
  packages/console/src/Components/Concerns/OpensInEditor.php:45
  packages/console/src/Components/Concerns/OpensInEditor.php:50
  packages/console/src/Components/Concerns/OpensInEditor.php:51
  packages/console/src/Output/TailReader.php:38
  packages/core/src/Tempest.php:19
  packages/cryptography/src/Encryption/GenericEncrypter.php:112
  packages/cryptography/src/Encryption/GenericEncrypter.php:52
  packages/http-client/src/Driver/Psr18Driver.php:60
  packages/http/src/Input/StdinInputStream.php:18
  … and 3 more
- …of write_file cannot be false, possibly string value expected
+ …of write_file cannot be false, possibly false value provided

@​@​ 10 places PossiblyFalseArgument @​@​
  packages/console/src/Input/StdinInputBuffer.php:20
  packages/console/src/Input/StdinInputBuffer.php:22
  packages/console/src/Output/LogOutputBuffer.php:34
  packages/console/src/Output/LogOutputBuffer.php:36
  packages/console/src/Output/TailReader.php:18
  packages/console/src/Output/TailReader.php:19
  packages/console/src/Output/TailReader.php:27
  packages/console/src/Output/TailReader.php:28
  packages/console/src/Output/TailReader.php:36
  packages/console/src/Output/TailReader.php:38
- Argument 1 of fgets cannot be false, possibly resource value expected
+ Argument 1 of fgets cannot be false, possibly false value provided

@​@​ packages/console/src/Output/TailReader.php:36 PossiblyFalseArgument @​@​
- Argument 2 of fseek cannot be false, possibly int value expected
+ Argument 2 of fseek cannot be false, possibly false value provided

@​@​ packages/database/src/DatabaseInsightsProvider.php:78 PossiblyFalseArgument @​@​
- …to_relative_path cannot be false, possibly Stringable|null|string value expected
+ …to_relative_path cannot be false, possibly false value provided

@​@​ packages/database/src/GenericDatabase.php:87 PossiblyFalseArgument @​@​
- …PrimaryKey::tryFrom cannot be false, possibly PrimaryKey|int|null|string value expected
+ …PrimaryKey::tryFrom cannot be false, possibly false value provided

@​@​ packages/http/src/ContentType.php:84 PossiblyFalseArgument @​@​
- …ContentType::from cannot be false, possibly int|string value expected
+ …ContentType::from cannot be false, possibly false value provided

@​@​ packages/http/src/Input/StdinInputStream.php:21 PossiblyFalseArgument @​@​
- Argument 1 of str cannot be false, possibly Stringable|int|null|string value expected
+ Argument 1 of str cannot be false, possibly false value provided

@​@​ 4 places PossiblyFalseArgument @​@​
  packages/intl/src/Number/functions.php:148
  packages/intl/src/Number/functions.php:171
  packages/intl/src/Number/functions.php:175
  packages/intl/src/Number/functions.php:182
- … 2 of sprintf cannot be false, possibly float|int|object{__tostring()}|string value expected
+ … 2 of sprintf cannot be false, possibly false value provided

@​@​ packages/mail/src/Attachment.php:70 PossiblyFalseArgument @​@​
- …of finfo_file cannot be false, possibly finfo value expected
+ …of finfo_file cannot be false, possibly false value provided

… and 3 more

✅ webmozarts-assert: issues +6 −6

Memory 281 → 281 MB (+0.0 %) · Wall 5.0 → 5.1 s (+0.8 %)

Issue type added removed
PossiblyFalseArgument 6 6

Changed in place (6)

@​@​ 6 places PossiblyFalseArgument @​@​
  src/Assert.php:1436
  src/Assert.php:1582
  src/Assert.php:1609
  src/Assert.php:1636
  src/Assert.php:1667
  src/Assert.php:1696
- … of setlocale cannot be false, possibly 0|null|string value expected
+ … of setlocale cannot be false, possibly false value provided
✅ monolog: issues +29 −29

Memory 140 → 140 MB (<0.1 %) · Wall 6.3 → 6.1 s (−3.3 %)

Issue type added removed
PossiblyFalseArgument 29 29

Changed in place (29)

@​@​ src/Monolog/Handler/AmqpHandler.php:131 PossiblyFalseArgument @​@​
- …createAmqpMessage cannot be false, possibly string value expected
+ …createAmqpMessage cannot be false, possibly false value provided

@​@​ 28 places PossiblyFalseArgument @​@​
  src/Monolog/Handler/IFTTTHandler.php:65
  src/Monolog/Handler/IFTTTHandler.php:66
  src/Monolog/Handler/IFTTTHandler.php:67
  src/Monolog/Handler/IFTTTHandler.php:68
  src/Monolog/Handler/IFTTTHandler.php:69
  src/Monolog/Handler/IFTTTHandler.php:73
  src/Monolog/Handler/LogglyHandler.php:82
  src/Monolog/Handler/LogglyHandler.php:83
  src/Monolog/Handler/LogglyHandler.php:84
  src/Monolog/Handler/MandrillHandler.php:72
  … and 18 more
- …of curl_setopt cannot be false, possibly CurlHandle value expected
+ …of curl_setopt cannot be false, possibly false value provided
✅ drupal: issues +516 −516

Memory 5 079 → 5 079 MB (<0.1 %) · Wall 169.3 → 168.2 s (−0.7 %)

Issue type added removed
InvalidArgument 2 2
PossiblyFalseArgument 514 514

Changed in place (497)

@​@​ 252 places PossiblyFalseArgument @​@​
  core/includes/install.core.inc:1467
  core/lib/Drupal/Component/Annotation/Doctrine/StaticReflectionParser.php:187
  core/lib/Drupal/Component/Annotation/Doctrine/StaticReflectionParser.php:191
  core/lib/Drupal/Component/Discovery/YamlDirectoryDiscovery.php:87
  core/lib/Drupal/Component/Discovery/YamlDiscovery.php:84
  core/lib/Drupal/Component/FileSystem/FileSystem.php:40
  core/lib/Drupal/Component/Gettext/PoHeader.php:201
  core/lib/Drupal/Component/Gettext/PoHeader.php:209
  core/lib/Drupal/Component/Gettext/PoStreamReader.php:272
  core/lib/Drupal/Component/Gettext/PoStreamReader.php:413
  … and 242 more
- Argument 1 of is_dir cannot be false, possibly string value expected
+ Argument 1 of is_dir cannot be false, possibly false value provided

@​@​ 29 places PossiblyFalseArgument @​@​
  core/includes/install.core.inc:846
  core/includes/install.core.inc:867
  core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php:942
  core/lib/Drupal/Component/Annotation/Plugin/Discovery/AnnotatedClassDiscovery.php:93
  core/lib/Drupal/Component/Utility/UserAgent.php:127
  core/lib/Drupal/Core/Asset/CssOptimizer.php:89
  core/lib/Drupal/Core/Cache/Context/CacheContextsManager.php:194
  core/lib/Drupal/Core/Cache/Context/CacheContextsPass.php:32
  core/lib/Drupal/Core/Config/ConfigInstaller.php:450
  core/lib/Drupal/Core/Config/Entity/ConfigEntityDependency.php:67
  … and 19 more
- …of array_slice cannot be false, possibly int|null value expected
+ …of array_slice cannot be false, possibly false value provided

@​@​ 26 places PossiblyFalseArgument @​@​
  core/includes/install.core.inc:848
  core/includes/install.core.inc:869
  core/lib/Drupal/Component/Utility/Random.php:348
  core/lib/Drupal/Component/Utility/Random.php:354
  core/lib/Drupal/Core/Command/ServerCommand.php:81
  core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/TimestampFormatter.php:251
  core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/TimestampFormatter.php:256
  core/modules/content_translation/src/ContentTranslationHandler.php:685
  core/modules/field_ui/src/Controller/EntityDisplayModeController.php:37
  core/modules/field_ui/src/Controller/EntityDisplayModeController.php:72
  … and 16 more
- …of array_slice cannot be false, possibly int value expected
+ …of array_slice cannot be false, possibly false value provided

@​@​ 5 places PossiblyFalseArgument @​@​
  core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php:806
  core/modules/ckeditor5/src/Controller/CKEditor5ImageController.php:100
  core/modules/file/src/Upload/InputStreamFileWriter.php:47
  core/modules/file/src/Upload/InputStreamFileWriter.php:58
  core/modules/serialization/src/Normalizer/FieldableEntityNormalizerTrait.php:115
- … 4 of sprintf cannot be false, possibly float|int|object{__tostring()}|string value expected
+ … 4 of sprintf cannot be false, possibly false value provided

@​@​ 10 places PossiblyFalseArgument @​@​
  core/lib/Drupal/Component/Gettext/PoStreamReader.php:256
  core/lib/Drupal/Component/Transliteration/PhpTransliteration.php:148
  core/lib/Drupal/Component/Utility/Html.php:332
  core/lib/Drupal/Core/Command/GenerateTheme.php:168
  core/lib/Drupal/Core/Render/HtmlResponseAttachmentsProcessor.php:329
  core/lib/Drupal/Core/StreamWrapper/PrivateStream.php:51
  core/lib/Drupal/Core/StreamWrapper/PublicStream.php:53
  core/lib/Drupal/Core/StreamWrapper/TemporaryStream.php:50
  core/modules/big_pipe/src/EventSubscriber/HtmlResponseBigPipeSubscriber.php:58
  core/modules/big_pipe/src/EventSubscriber/HtmlResponseBigPipeSubscriber.php:83
- …of str_replace cannot be false, possibly array<array-key, float|int|string>|string value expected
+ …of str_replace cannot be false, possibly false value provided

@​@​ core/lib/Drupal/Component/Utility/Bytes.php:82 PossiblyFalseArgument @​@​
- Argument 2 of pow cannot be false, possibly float|int value expected
+ Argument 2 of pow cannot be false, possibly false value provided

@​@​ 3 places PossiblyFalseArgument @​@​
  core/lib/Drupal/Component/Utility/Environment.php:88
  core/lib/Drupal/Component/Utility/Environment.php:92
  core/modules/system/src/Hook/SystemRequirementsHooks.php:346
- …Bytes::toNumber cannot be false, possibly float|int|string value expected
+ …Bytes::toNumber cannot be false, possibly false value provided

@​@​ 18 places PossiblyFalseArgument @​@​
  core/lib/Drupal/Component/Utility/Html.php:323
  core/lib/Drupal/Component/Utility/Html.php:327
  core/lib/Drupal/Component/Utility/Html.php:328
  core/lib/Drupal/Core/Command/ServerCommand.php:270
  core/modules/file/src/Upload/InputStreamFileWriter.php:33
  core/modules/file/src/Upload/InputStreamFileWriter.php:34
  core/modules/file/src/Upload/InputStreamFileWriter.php:39
  core/modules/file/src/Upload/InputStreamFileWriter.php:46
  core/modules/file/src/Upload/InputStreamFileWriter.php:57
  core/modules/file/src/Upload/InputStreamFileWriter.php:62
  … and 8 more
- …::__construct cannot be false, possibly resource value expected
+ …::__construct cannot be false, possibly false value provided

@​@​ 39 places PossiblyFalseArgument @​@​
  core/lib/Drupal/Component/Utility/Html.php:465
  core/lib/Drupal/Core/Annotation/ContextDefinition.php:115
  core/lib/Drupal/Core/Batch/BatchBuilder.php:316
  core/lib/Drupal/Core/Config/ConfigManager.php:232
  core/lib/Drupal/Core/DependencyInjection/Compiler/RegisterAccessChecksPass.php:46
  core/lib/Drupal/Core/Entity/TypedData/EntityDataDefinition.php:79
  core/lib/Drupal/Core/EventSubscriber/ExcludedModulesEventSubscriber.php:107
  core/lib/Drupal/Core/EventSubscriber/ExcludedModulesEventSubscriber.php:138
  core/lib/Drupal/Core/EventSubscriber/ExcludedModulesEventSubscriber.php:88
  core/lib/Drupal/Core/Hook/HookCollectorPass.php:610
  … and 29 more
- …of array_keys cannot be false, possibly array<array-key, mixed> value expected
+ …of array_keys cannot be false, possibly false value provided

@​@​ 5 places PossiblyFalseArgument @​@​
  core/lib/Drupal/Component/Utility/Random.php:345
  core/lib/Drupal/Component/Utility/Random.php:348
  core/lib/Drupal/Component/Utility/Random.php:352
  core/lib/Drupal/Component/Utility/Random.php:354
  core/modules/system/src/Plugin/ImageToolkit/GDToolkit.php:545
- …imagecolorallocate cannot be false, possibly GdImage value expected
+ …imagecolorallocate cannot be false, possibly false value provided

… and 109 more

✅ wordpress: issues +3094 −3094

Memory 2 027 → 2 027 MB (<0.1 %) · Wall 154.5 → 153.0 s (−1.0 %)

Issue type added removed
InvalidArgument 13 13
PossiblyFalseArgument 3081 3081

Changed in place (3094)

@​@​ 125 places PossiblyFalseArgument @​@​
  src/wp-admin/_index.php:125
  src/wp-admin/_index.php:126
  src/wp-admin/admin-header.php:73
  src/wp-admin/admin-header.php:73
  src/wp-admin/admin-header.php:78
  src/wp-admin/async-upload.php:123
  src/wp-admin/includes/class-theme-installer-skin.php:139
  src/wp-admin/includes/class-theme-installer-skin.php:149
  src/wp-admin/includes/class-theme-upgrader-skin.php:105
  src/wp-admin/includes/class-theme-upgrader-skin.php:115
  … and 115 more
- … 2 of sprintf cannot be false, possibly float|int|object{__tostring()}|string value expected
+ … 2 of sprintf cannot be false, possibly false value provided

@​@​ 39 places PossiblyFalseArgument @​@​
  src/wp-admin/about.php:122
  src/wp-admin/about.php:72
  src/wp-admin/about.php:97
  src/wp-admin/includes/class-custom-image-header.php:611
  src/wp-admin/includes/class-custom-image-header.php:623
  src/wp-admin/includes/class-custom-image-header.php:639
  src/wp-admin/includes/class-custom-image-header.php:651
  src/wp-admin/includes/class-wp-comments-list-table.php:1056
  src/wp-admin/includes/class-wp-list-table.php:886
  src/wp-admin/includes/class-wp-list-table.php:905
  … and 29 more
- Argument 2 of printf cannot be false, possibly float|int|string value expected
+ Argument 2 of printf cannot be false, possibly false value provided

@​@​ 68 places PossiblyFalseArgument @​@​
  src/wp-admin/includes/ajax-actions.php:3235
  src/wp-admin/includes/class-core-upgrader.php:282
  src/wp-admin/includes/class-core-upgrader.php:283
  src/wp-admin/includes/class-wp-community-events.php:356
  src/wp-admin/includes/file.php:2175
  src/wp-admin/includes/media.php:816
  src/wp-admin/includes/meta-boxes.php:1277
  src/wp-admin/includes/meta-boxes.php:1284
  src/wp-admin/includes/meta-boxes.php:1290
  src/wp-admin/includes/meta-boxes.php:1296
  … and 58 more
- … of array_map cannot be false, possibly array<array-key, mixed> value expected
+ … of array_map cannot be false, possibly false value provided

@​@​ 2493 places PossiblyFalseArgument @​@​
  src/wp-admin/includes/ajax-actions.php:3850
  src/wp-admin/includes/ajax-actions.php:3851
  src/wp-admin/includes/ajax-actions.php:3866
  src/wp-admin/includes/class-file-upload-upgrader.php:135
  src/wp-admin/includes/class-file-upload-upgrader.php:135
  src/wp-admin/includes/class-ftp-pure.php:137
  src/wp-admin/includes/class-ftp-pure.php:137
  src/wp-admin/includes/class-ftp.php:162
  src/wp-admin/includes/class-ftp.php:163
  src/wp-admin/includes/class-language-pack-upgrader.php:222
  … and 2483 more
- …of preg_match cannot be false, possibly string value expected
+ …of preg_match cannot be false, possibly false value provided

@​@​ 48 places PossiblyFalseArgument @​@​
  src/wp-admin/includes/ajax-actions.php:654
  src/wp-admin/includes/ajax-actions.php:688
  src/wp-admin/includes/class-ftp-pure.php:136
  src/wp-admin/includes/class-wp-debug-data.php:489
  src/wp-admin/includes/network.php:415
  src/wp-content/themes/twentytwenty/inc/template-tags.php:72
  src/wp-includes/ID3/getid3.php:45
  src/wp-includes/ID3/getid3.php:609
  src/wp-includes/ID3/module.audio-video.quicktime.php:465
  src/wp-includes/ID3/module.audio-video.quicktime.php:611
  … and 38 more
- …of str_replace cannot be false, possibly array<array-key, float|int|string>|string value expected
+ …of str_replace cannot be false, possibly false value provided

@​@​ 146 places PossiblyFalseArgument @​@​
  src/wp-admin/includes/class-ftp-sockets.php:134
  src/wp-admin/includes/class-ftp-sockets.php:135
  src/wp-admin/includes/class-ftp-sockets.php:146
  src/wp-admin/includes/class-ftp-sockets.php:147
  src/wp-admin/includes/class-ftp-sockets.php:151
  src/wp-admin/includes/class-ftp-sockets.php:152
  src/wp-admin/includes/class-ftp-sockets.php:156
  src/wp-admin/includes/class-ftp-sockets.php:157
  src/wp-admin/includes/misc.php:902
  src/wp-admin/includes/misc.php:903
  … and 136 more
- …socket_connect cannot be false, possibly resource value expected
+ …socket_connect cannot be false, possibly false value provided

@​@​ 3 places InvalidArgument @​@​
  src/wp-admin/includes/class-ftp-sockets.php:181
  src/wp-admin/includes/class-ftp-sockets.php:204
  src/wp-admin/includes/class-ftp-sockets.php:55
- …1 of socket_last_error cannot be false, resource value expected
+ …1 of socket_last_error cannot be false, false value provided to parameter with type resource

@​@​ 39 places PossiblyFalseArgument @​@​
  src/wp-admin/includes/class-pclzip.php:3342
  src/wp-admin/includes/class-pclzip.php:4559
  src/wp-admin/includes/class-wp-automatic-updater.php:1818
  src/wp-admin/includes/class-wp-filesystem-direct.php:260
  src/wp-admin/includes/class-wp-filesystem-direct.php:668
  src/wp-admin/includes/class-wp-filesystem-direct.php:669
  src/wp-admin/includes/class-wp-filesystem-ssh2.php:442
  src/wp-admin/includes/class-wp-filesystem-ssh2.php:814
  src/wp-admin/includes/class-wp-filesystem-ssh2.php:815
  src/wp-admin/includes/export.php:136
  … and 29 more
- Argument 2 of fseek cannot be false, possibly int value expected
+ Argument 2 of fseek cannot be false, possibly false value provided

@​@​ 23 places PossiblyFalseArgument @​@​
  src/wp-admin/includes/class-wp-automatic-updater.php:1827
  src/wp-admin/includes/file.php:114
  src/wp-admin/includes/file.php:603
  src/wp-admin/includes/file.php:622
  src/wp-includes/ID3/module.audio-video.riff.php:309
  src/wp-includes/ID3/module.tag.id3v2.php:1148
  src/wp-includes/PHPMailer/SMTP.php:759
  src/wp-includes/Requests/src/Cookie.php:517
  src/wp-includes/Requests/src/Ipv6.php:142
  src/wp-includes/SimplePie/src/Net/IPv6.php:182
  … and 13 more
- Argument 3 of substr cannot be false, possibly int|null value expected
+ Argument 3 of substr cannot be false, possibly false value provided

@​@​ src/wp-admin/includes/class-wp-automatic-updater.php:440 PossiblyFalseArgument @​@​
- …Automatic_Upgrader_Skin::feedback cannot be false, possibly WP_Error|array<array-key, mixed>|string value expected
+ …Automatic_Upgrader_Skin::feedback cannot be false, possibly false value provided

… and 109 more

head 336a8f9 · base d1429c1 (merge-base) · workflow run

@orklah orklah added the release:fix The PR will be included in 'Fixes' section of the release notes label Nov 27, 2026
@orklah

orklah commented Nov 27, 2026

Copy link
Copy Markdown
Collaborator

Thanks @ARAYN7011!

@orklah
orklah merged commit ecb7f8c into vimeo:master Nov 27, 2026
70 of 71 checks passed
alies-dev added a commit to psalm/psalm-plugin-laravel that referenced this pull request Nov 29, 2026
- Raise the Psalm floor to ^7.24.0.
- Update the InvalidArgument and PossiblyFalseArgument wording for false arguments (vimeo/psalm#15151).
- Move the isEmpty() class-string case and the Route::domain() native-return override out of the known limitations: Psalm now resolves them.
- Re-pin the receiver-union isEmpty() limitation: null now drops in either union order.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release:fix The PR will be included in 'Fixes' section of the release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

PossiblyFalseArgument message says "possibly string value expected"

2 participants