diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml index 7d27dc07..b167f425 100644 --- a/.github/workflows/static-analysis.yml +++ b/.github/workflows/static-analysis.yml @@ -26,7 +26,7 @@ jobs: runs-on: ${{ matrix.os }} concurrency: cancel-in-progress: true - group: static-analysis-${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + group: psalm-${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} strategy: fail-fast: true matrix: @@ -77,7 +77,7 @@ jobs: runs-on: ${{ matrix.os }} concurrency: cancel-in-progress: true - group: static-analysis-${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + group: phpstan-${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} strategy: fail-fast: true matrix: diff --git a/composer.json b/composer.json index 5b8ba89c..ef78a3d0 100644 --- a/composer.json +++ b/composer.json @@ -96,6 +96,7 @@ "config": { "allow-plugins": { "ergebnis/composer-normalize": true, + "infection/extension-installer": true, "pestphp/pest-plugin": true, "phpstan/extension-installer": true }, diff --git a/composer.lock b/composer.lock index e4a115fc..b64091b2 100644 --- a/composer.lock +++ b/composer.lock @@ -468,16 +468,16 @@ }, { "name": "symfony/console", - "version": "v6.4.7", + "version": "v6.4.8", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "a170e64ae10d00ba89e2acbb590dc2e54da8ad8f" + "reference": "be5854cee0e8c7b110f00d695d11debdfa1a2a91" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/a170e64ae10d00ba89e2acbb590dc2e54da8ad8f", - "reference": "a170e64ae10d00ba89e2acbb590dc2e54da8ad8f", + "url": "https://api.github.com/repos/symfony/console/zipball/be5854cee0e8c7b110f00d695d11debdfa1a2a91", + "reference": "be5854cee0e8c7b110f00d695d11debdfa1a2a91", "shasum": "" }, "require": { @@ -542,7 +542,7 @@ "terminal" ], "support": { - "source": "https://github.com/symfony/console/tree/v6.4.7" + "source": "https://github.com/symfony/console/tree/v6.4.8" }, "funding": [ { @@ -558,7 +558,7 @@ "type": "tidelift" } ], - "time": "2024-04-18T09:22:46+00:00" + "time": "2024-05-31T14:49:08+00:00" }, { "name": "symfony/deprecation-contracts", @@ -1030,16 +1030,16 @@ }, { "name": "symfony/string", - "version": "v6.4.7", + "version": "v6.4.8", "source": { "type": "git", "url": "https://github.com/symfony/string.git", - "reference": "ffeb9591c61f65a68d47f77d12b83fa530227a69" + "reference": "a147c0f826c4a1f3afb763ab8e009e37c877a44d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/ffeb9591c61f65a68d47f77d12b83fa530227a69", - "reference": "ffeb9591c61f65a68d47f77d12b83fa530227a69", + "url": "https://api.github.com/repos/symfony/string/zipball/a147c0f826c4a1f3afb763ab8e009e37c877a44d", + "reference": "a147c0f826c4a1f3afb763ab8e009e37c877a44d", "shasum": "" }, "require": { @@ -1096,7 +1096,7 @@ "utf8" ], "support": { - "source": "https://github.com/symfony/string/tree/v6.4.7" + "source": "https://github.com/symfony/string/tree/v6.4.8" }, "funding": [ { @@ -1112,20 +1112,20 @@ "type": "tidelift" } ], - "time": "2024-04-18T09:22:46+00:00" + "time": "2024-05-31T14:49:08+00:00" }, { "name": "symfony/var-dumper", - "version": "v6.4.7", + "version": "v6.4.8", "source": { "type": "git", "url": "https://github.com/symfony/var-dumper.git", - "reference": "7a9cd977cd1c5fed3694bee52990866432af07d7" + "reference": "ad23ca4312395f0a8a8633c831ef4c4ee542ed25" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/var-dumper/zipball/7a9cd977cd1c5fed3694bee52990866432af07d7", - "reference": "7a9cd977cd1c5fed3694bee52990866432af07d7", + "url": "https://api.github.com/repos/symfony/var-dumper/zipball/ad23ca4312395f0a8a8633c831ef4c4ee542ed25", + "reference": "ad23ca4312395f0a8a8633c831ef4c4ee542ed25", "shasum": "" }, "require": { @@ -1181,7 +1181,7 @@ "dump" ], "support": { - "source": "https://github.com/symfony/var-dumper/tree/v6.4.7" + "source": "https://github.com/symfony/var-dumper/tree/v6.4.8" }, "funding": [ { @@ -1197,7 +1197,7 @@ "type": "tidelift" } ], - "time": "2024-04-18T09:22:46+00:00" + "time": "2024-05-31T14:49:08+00:00" }, { "name": "yiisoft/injector", @@ -5686,16 +5686,16 @@ }, { "name": "symfony/event-dispatcher", - "version": "v6.4.7", + "version": "v6.4.8", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher.git", - "reference": "d84384f3f67de3cb650db64d685d70395dacfc3f" + "reference": "8d7507f02b06e06815e56bb39aa0128e3806208b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/d84384f3f67de3cb650db64d685d70395dacfc3f", - "reference": "d84384f3f67de3cb650db64d685d70395dacfc3f", + "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/8d7507f02b06e06815e56bb39aa0128e3806208b", + "reference": "8d7507f02b06e06815e56bb39aa0128e3806208b", "shasum": "" }, "require": { @@ -5746,7 +5746,7 @@ "description": "Provides tools that allow your application components to communicate with each other by dispatching events and listening to them", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/event-dispatcher/tree/v6.4.7" + "source": "https://github.com/symfony/event-dispatcher/tree/v6.4.8" }, "funding": [ { @@ -5762,7 +5762,7 @@ "type": "tidelift" } ], - "time": "2024-04-18T09:22:46+00:00" + "time": "2024-05-31T14:49:08+00:00" }, { "name": "symfony/event-dispatcher-contracts", @@ -5842,23 +5842,25 @@ }, { "name": "symfony/filesystem", - "version": "v6.4.7", + "version": "v6.4.8", "source": { "type": "git", "url": "https://github.com/symfony/filesystem.git", - "reference": "78dde75f8f6dbbca4ec436a4b0087f7af02076d4" + "reference": "4d37529150e7081c51b3c5d5718c55a04a9503f3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/filesystem/zipball/78dde75f8f6dbbca4ec436a4b0087f7af02076d4", - "reference": "78dde75f8f6dbbca4ec436a4b0087f7af02076d4", + "url": "https://api.github.com/repos/symfony/filesystem/zipball/4d37529150e7081c51b3c5d5718c55a04a9503f3", + "reference": "4d37529150e7081c51b3c5d5718c55a04a9503f3", "shasum": "" }, "require": { "php": ">=8.1", "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-mbstring": "~1.8", - "symfony/process": "^5.4|^6.4" + "symfony/polyfill-mbstring": "~1.8" + }, + "require-dev": { + "symfony/process": "^5.4|^6.4|^7.0" }, "type": "library", "autoload": { @@ -5886,7 +5888,7 @@ "description": "Provides basic utilities for the filesystem", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/filesystem/tree/v6.4.7" + "source": "https://github.com/symfony/filesystem/tree/v6.4.8" }, "funding": [ { @@ -5902,20 +5904,20 @@ "type": "tidelift" } ], - "time": "2024-04-18T09:22:46+00:00" + "time": "2024-05-31T14:49:08+00:00" }, { "name": "symfony/finder", - "version": "v6.4.7", + "version": "v6.4.8", "source": { "type": "git", "url": "https://github.com/symfony/finder.git", - "reference": "511c48990be17358c23bf45c5d71ab85d40fb764" + "reference": "3ef977a43883215d560a2cecb82ec8e62131471c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/511c48990be17358c23bf45c5d71ab85d40fb764", - "reference": "511c48990be17358c23bf45c5d71ab85d40fb764", + "url": "https://api.github.com/repos/symfony/finder/zipball/3ef977a43883215d560a2cecb82ec8e62131471c", + "reference": "3ef977a43883215d560a2cecb82ec8e62131471c", "shasum": "" }, "require": { @@ -5950,7 +5952,7 @@ "description": "Finds files and directories via an intuitive fluent interface", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/finder/tree/v6.4.7" + "source": "https://github.com/symfony/finder/tree/v6.4.8" }, "funding": [ { @@ -5966,20 +5968,20 @@ "type": "tidelift" } ], - "time": "2024-04-23T10:36:43+00:00" + "time": "2024-05-31T14:49:08+00:00" }, { "name": "symfony/options-resolver", - "version": "v6.4.7", + "version": "v6.4.8", "source": { "type": "git", "url": "https://github.com/symfony/options-resolver.git", - "reference": "9a3c92b490716ba6771f5beced13c6eda7183eed" + "reference": "22ab9e9101ab18de37839074f8a1197f55590c1b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/options-resolver/zipball/9a3c92b490716ba6771f5beced13c6eda7183eed", - "reference": "9a3c92b490716ba6771f5beced13c6eda7183eed", + "url": "https://api.github.com/repos/symfony/options-resolver/zipball/22ab9e9101ab18de37839074f8a1197f55590c1b", + "reference": "22ab9e9101ab18de37839074f8a1197f55590c1b", "shasum": "" }, "require": { @@ -6017,7 +6019,7 @@ "options" ], "support": { - "source": "https://github.com/symfony/options-resolver/tree/v6.4.7" + "source": "https://github.com/symfony/options-resolver/tree/v6.4.8" }, "funding": [ { @@ -6033,20 +6035,20 @@ "type": "tidelift" } ], - "time": "2024-04-18T09:22:46+00:00" + "time": "2024-05-31T14:49:08+00:00" }, { "name": "symfony/process", - "version": "v6.4.7", + "version": "v6.4.8", "source": { "type": "git", "url": "https://github.com/symfony/process.git", - "reference": "cdb1c81c145fd5aa9b0038bab694035020943381" + "reference": "8d92dd79149f29e89ee0f480254db595f6a6a2c5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/process/zipball/cdb1c81c145fd5aa9b0038bab694035020943381", - "reference": "cdb1c81c145fd5aa9b0038bab694035020943381", + "url": "https://api.github.com/repos/symfony/process/zipball/8d92dd79149f29e89ee0f480254db595f6a6a2c5", + "reference": "8d92dd79149f29e89ee0f480254db595f6a6a2c5", "shasum": "" }, "require": { @@ -6078,7 +6080,7 @@ "description": "Executes commands in sub-processes", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/process/tree/v6.4.7" + "source": "https://github.com/symfony/process/tree/v6.4.8" }, "funding": [ { @@ -6094,20 +6096,20 @@ "type": "tidelift" } ], - "time": "2024-04-18T09:22:46+00:00" + "time": "2024-05-31T14:49:08+00:00" }, { "name": "symfony/stopwatch", - "version": "v6.4.7", + "version": "v6.4.8", "source": { "type": "git", "url": "https://github.com/symfony/stopwatch.git", - "reference": "ffec95ba269e541eb2232126c0c20f83086b5c68" + "reference": "63e069eb616049632cde9674c46957819454b8aa" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/stopwatch/zipball/ffec95ba269e541eb2232126c0c20f83086b5c68", - "reference": "ffec95ba269e541eb2232126c0c20f83086b5c68", + "url": "https://api.github.com/repos/symfony/stopwatch/zipball/63e069eb616049632cde9674c46957819454b8aa", + "reference": "63e069eb616049632cde9674c46957819454b8aa", "shasum": "" }, "require": { @@ -6140,7 +6142,7 @@ "description": "Provides a way to profile code", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/stopwatch/tree/v6.4.7" + "source": "https://github.com/symfony/stopwatch/tree/v6.4.8" }, "funding": [ { @@ -6156,7 +6158,7 @@ "type": "tidelift" } ], - "time": "2024-04-18T09:22:46+00:00" + "time": "2024-05-31T14:49:08+00:00" }, { "name": "ta-tikoma/phpunit-architecture-test", diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index aab49911..6468030f 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -1,2 +1,1031 @@ parameters: - ignoreErrors: [] + ignoreErrors: + - + message: "#^Call to function assert\\(\\) with true will always evaluate to true\\.$#" + count: 1 + path: src/Application.php + + - + message: "#^Instanceof between Buggregator\\\\Trap\\\\Sender and Buggregator\\\\Trap\\\\Sender will always evaluate to true\\.$#" + count: 1 + path: src/Application.php + + - + message: "#^Method Buggregator\\\\Trap\\\\Application\\:\\:prepareServerFiber\\(\\) return type with generic class Fiber does not specify its types\\: TStart, TResume, TReturn, TSuspend$#" + count: 1 + path: src/Application.php + + - + message: "#^Only booleans are allowed in &&, null given on the right side\\.$#" + count: 1 + path: src/Application.php + + - + message: "#^Parameter \\$clientInflector of static method Buggregator\\\\Trap\\\\Socket\\\\Server\\:\\:init\\(\\) expects \\(Closure\\(Buggregator\\\\Trap\\\\Socket\\\\Client, int\\)\\: void\\)\\|null, Closure\\(Buggregator\\\\Trap\\\\Socket\\\\Client, int\\)\\: Buggregator\\\\Trap\\\\Socket\\\\Client given\\.$#" + count: 1 + path: src/Application.php + + - + message: "#^Property Buggregator\\\\Trap\\\\Application\\:\\:\\$fibers with generic class Fiber does not specify its types\\: TStart, TResume, TReturn, TSuspend$#" + count: 1 + path: src/Application.php + + - + message: "#^While loop condition is always true\\.$#" + count: 1 + path: src/Application.php + + - + message: "#^Method Buggregator\\\\Trap\\\\Bootstrap\\:\\:withConfig\\(\\) has parameter \\$environment with no value type specified in iterable type array\\.$#" + count: 1 + path: src/Bootstrap.php + + - + message: "#^Method Buggregator\\\\Trap\\\\Bootstrap\\:\\:withConfig\\(\\) has parameter \\$inputArguments with no value type specified in iterable type array\\.$#" + count: 1 + path: src/Bootstrap.php + + - + message: "#^Method Buggregator\\\\Trap\\\\Bootstrap\\:\\:withConfig\\(\\) has parameter \\$inputOptions with no value type specified in iterable type array\\.$#" + count: 1 + path: src/Bootstrap.php + + - + message: "#^Only booleans are allowed in \\|\\|, string given on the right side\\.$#" + count: 1 + path: src/Bootstrap.php + + - + message: "#^Constant Buggregator\\\\Trap\\\\Client\\\\Caster\\\\ProtobufCaster\\:\\:TYPES is unused\\.$#" + count: 1 + path: src/Client/Caster/ProtobufCaster.php + + - + message: "#^Method Buggregator\\\\Trap\\\\Client\\\\Caster\\\\ProtobufCaster\\:\\:cast\\(\\) has parameter \\$a with no value type specified in iterable type array\\.$#" + count: 1 + path: src/Client/Caster/ProtobufCaster.php + + - + message: "#^Method Buggregator\\\\Trap\\\\Client\\\\Caster\\\\ProtobufCaster\\:\\:cast\\(\\) return type has no value type specified in iterable type array\\.$#" + count: 1 + path: src/Client/Caster/ProtobufCaster.php + + - + message: "#^Method Buggregator\\\\Trap\\\\Client\\\\Caster\\\\ProtobufCaster\\:\\:castEnum\\(\\) has parameter \\$a with no value type specified in iterable type array\\.$#" + count: 1 + path: src/Client/Caster/ProtobufCaster.php + + - + message: "#^Method Buggregator\\\\Trap\\\\Client\\\\Caster\\\\ProtobufCaster\\:\\:castEnum\\(\\) return type has no value type specified in iterable type array\\.$#" + count: 1 + path: src/Client/Caster/ProtobufCaster.php + + - + message: "#^Method Buggregator\\\\Trap\\\\Client\\\\Caster\\\\ProtobufCaster\\:\\:castMap\\(\\) has parameter \\$a with no value type specified in iterable type array\\.$#" + count: 1 + path: src/Client/Caster/ProtobufCaster.php + + - + message: "#^Method Buggregator\\\\Trap\\\\Client\\\\Caster\\\\ProtobufCaster\\:\\:castMap\\(\\) return type has no value type specified in iterable type array\\.$#" + count: 1 + path: src/Client/Caster/ProtobufCaster.php + + - + message: "#^Method Buggregator\\\\Trap\\\\Client\\\\Caster\\\\ProtobufCaster\\:\\:castMessage\\(\\) return type has no value type specified in iterable type array\\.$#" + count: 1 + path: src/Client/Caster/ProtobufCaster.php + + - + message: "#^Method Buggregator\\\\Trap\\\\Client\\\\Caster\\\\ProtobufCaster\\:\\:castRepeated\\(\\) has parameter \\$a with no value type specified in iterable type array\\.$#" + count: 1 + path: src/Client/Caster/ProtobufCaster.php + + - + message: "#^Method Buggregator\\\\Trap\\\\Client\\\\Caster\\\\ProtobufCaster\\:\\:castRepeated\\(\\) return type has no value type specified in iterable type array\\.$#" + count: 1 + path: src/Client/Caster/ProtobufCaster.php + + - + message: "#^Variable method call on Google\\\\Protobuf\\\\Internal\\\\Message\\.$#" + count: 1 + path: src/Client/Caster/ProtobufCaster.php + + - + message: "#^Method Buggregator\\\\Trap\\\\Client\\\\Caster\\\\TraceCaster\\:\\:cast\\(\\) has parameter \\$a with no value type specified in iterable type array\\.$#" + count: 1 + path: src/Client/Caster/TraceCaster.php + + - + message: "#^Method Buggregator\\\\Trap\\\\Client\\\\Caster\\\\TraceCaster\\:\\:cast\\(\\) return type has no value type specified in iterable type array\\.$#" + count: 1 + path: src/Client/Caster/TraceCaster.php + + - + message: "#^Method Buggregator\\\\Trap\\\\Client\\\\Caster\\\\TraceCaster\\:\\:castLine\\(\\) has parameter \\$a with no value type specified in iterable type array\\.$#" + count: 1 + path: src/Client/Caster/TraceCaster.php + + - + message: "#^Method Buggregator\\\\Trap\\\\Client\\\\Caster\\\\TraceCaster\\:\\:castLine\\(\\) return type has no value type specified in iterable type array\\.$#" + count: 1 + path: src/Client/Caster/TraceCaster.php + + - + message: "#^Method Buggregator\\\\Trap\\\\Client\\\\TrapHandle\\:\\:__construct\\(\\) has parameter \\$values with no value type specified in iterable type array\\.$#" + count: 1 + path: src/Client/TrapHandle.php + + - + message: "#^Method Buggregator\\\\Trap\\\\Client\\\\TrapHandle\\:\\:fromArray\\(\\) has parameter \\$array with no value type specified in iterable type array\\.$#" + count: 1 + path: src/Client/TrapHandle.php + + - + message: "#^Only booleans are allowed in &&, null given on the right side\\.$#" + count: 1 + path: src/Client/TrapHandle.php + + - + message: "#^Call to method format\\(\\) on an unknown class Symfony\\\\Component\\\\HttpKernel\\\\Debug\\\\FileLinkFormatter\\.$#" + count: 1 + path: src/Client/TrapHandle/ContextProvider/Source.php + + - + message: "#^Call to method getDebugInfo\\(\\) on an unknown class Twig\\\\Template\\.$#" + count: 1 + path: src/Client/TrapHandle/ContextProvider/Source.php + + - + message: "#^Call to method getSource\\(\\) on an unknown class Twig\\\\Template\\.$#" + count: 1 + path: src/Client/TrapHandle/ContextProvider/Source.php + + - + message: "#^Call to method getSourceContext\\(\\) on an unknown class Twig\\\\Template\\.$#" + count: 2 + path: src/Client/TrapHandle/ContextProvider/Source.php + + - + message: "#^Call to method getTemplateName\\(\\) on an unknown class Twig\\\\Template\\.$#" + count: 1 + path: src/Client/TrapHandle/ContextProvider/Source.php + + - + message: "#^Class Twig\\\\Template not found\\.$#" + count: 1 + path: src/Client/TrapHandle/ContextProvider/Source.php + + - + message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" + count: 1 + path: src/Client/TrapHandle/ContextProvider/Source.php + + - + message: "#^For loop initial assignment overwrites variable \\$i\\.$#" + count: 1 + path: src/Client/TrapHandle/ContextProvider/Source.php + + - + message: "#^Method Buggregator\\\\Trap\\\\Client\\\\TrapHandle\\\\ContextProvider\\\\Source\\:\\:getContext\\(\\) return type has no value type specified in iterable type array\\.$#" + count: 1 + path: src/Client/TrapHandle/ContextProvider/Source.php + + - + message: "#^Parameter \\$fileLinkFormatter of method Buggregator\\\\Trap\\\\Client\\\\TrapHandle\\\\ContextProvider\\\\Source\\:\\:__construct\\(\\) has invalid type Symfony\\\\Component\\\\HttpKernel\\\\Debug\\\\FileLinkFormatter\\.$#" + count: 1 + path: src/Client/TrapHandle/ContextProvider/Source.php + + - + message: "#^Property Buggregator\\\\Trap\\\\Client\\\\TrapHandle\\\\ContextProvider\\\\Source\\:\\:\\$fileLinkFormatter has unknown class Symfony\\\\Component\\\\HttpKernel\\\\Debug\\\\FileLinkFormatter as its type\\.$#" + count: 1 + path: src/Client/TrapHandle/ContextProvider/Source.php + + - + message: "#^Call to method push\\(\\) on an unknown class Symfony\\\\Component\\\\HttpFoundation\\\\RequestStack\\.$#" + count: 1 + path: src/Client/TrapHandle/Dumper.php + + - + message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" + count: 1 + path: src/Client/TrapHandle/Dumper.php + + - + message: "#^Instantiated class Symfony\\\\Component\\\\HttpFoundation\\\\RequestStack not found\\.$#" + count: 1 + path: src/Client/TrapHandle/Dumper.php + + - + message: "#^Only booleans are allowed in &&, Symfony\\\\Component\\\\VarDumper\\\\Cloner\\\\Data given on the right side\\.$#" + count: 1 + path: src/Client/TrapHandle/Dumper.php + + - + message: "#^Only booleans are allowed in \\|\\|, Symfony\\\\Component\\\\VarDumper\\\\Cloner\\\\Data given on the right side\\.$#" + count: 1 + path: src/Client/TrapHandle/Dumper.php + + - + message: "#^Only booleans are allowed in \\|\\|, string given on the right side\\.$#" + count: 1 + path: src/Client/TrapHandle/Dumper.php + + - + message: "#^PHPDoc tag @return with type \\(callable\\)\\|null is not subtype of native type Closure\\|null\\.$#" + count: 1 + path: src/Client/TrapHandle/Dumper.php + + - + message: "#^PHPDoc tag @var for variable \\$fileLinkFormatter contains unknown class Symfony\\\\Component\\\\HttpKernel\\\\Debug\\\\FileLinkFormatter\\.$#" + count: 1 + path: src/Client/TrapHandle/Dumper.php + + - + message: "#^Only booleans are allowed in &&, string given on the right side\\.$#" + count: 1 + path: src/Client/TrapHandle/StackTrace.php + + - + message: "#^Call to function base64_decode\\(\\) requires parameter \\#2 to be set\\.$#" + count: 1 + path: src/Command/Joke.php + + - + message: "#^Method Buggregator\\\\Trap\\\\Command\\\\Run\\:\\:getSubscribedSignals\\(\\) return type has no value type specified in iterable type array\\.$#" + count: 1 + path: src/Command/Run.php + + - + message: "#^Only booleans are allowed in &&, int given on the right side\\.$#" + count: 2 + path: src/Command/Run.php + + - + message: "#^Short ternary operator is not allowed\\. Use null coalesce operator if applicable or consider using long ternary\\.$#" + count: 1 + path: src/Command/Run.php + + - + message: "#^Strict comparison using \\!\\=\\= between non\\-empty\\-string and '' will always evaluate to true\\.$#" + count: 1 + path: src/Config/Server/Files/ObserverConfig.php + + - + message: "#^Only booleans are allowed in &&, null given on the right side\\.$#" + count: 1 + path: src/Handler/Http/Emitter.php + + - + message: "#^Only booleans are allowed in a ternary operator condition, string given\\.$#" + count: 1 + path: src/Handler/Http/Emitter.php + + - + message: "#^Property Buggregator\\\\Trap\\\\Handler\\\\Http\\\\Handler\\\\Fallback\\:\\:\\$pipeline \\(Buggregator\\\\Trap\\\\Handler\\\\Pipeline\\\\) does not accept Buggregator\\\\Trap\\\\Handler\\\\Pipeline\\\\.$#" + count: 1 + path: src/Handler/Http/Handler/Fallback.php + + - + message: "#^Unreachable statement \\- code above always terminates\\.$#" + count: 1 + path: src/Handler/Http/Handler/Websocket.php + + - + message: "#^While loop condition is always true\\.$#" + count: 1 + path: src/Handler/Http/Handler/Websocket.php + + - + message: "#^Only booleans are allowed in \\|\\|, null given on the right side\\.$#" + count: 1 + path: src/Handler/Http/Middleware/SentryTrap/EnvelopeParser.php + + - + message: "#^Method Buggregator\\\\Trap\\\\Handler\\\\Pipeline\\:\\:next\\(\\) return type with generic class Buggregator\\\\Trap\\\\Handler\\\\Pipeline does not specify its types\\: TMiddleware, TReturn$#" + count: 1 + path: src/Handler/Pipeline.php + + - + message: "#^Property Buggregator\\\\Trap\\\\Handler\\\\Pipeline\\:\\:\\$returnType is never read, only written\\.$#" + count: 1 + path: src/Handler/Pipeline.php + + - + message: "#^Variable method call on TMiddleware of object\\.$#" + count: 1 + path: src/Handler/Pipeline.php + + - + message: "#^Method Buggregator\\\\Trap\\\\Handler\\\\Router\\\\Attribute\\\\AssertRouteSuccess\\:\\:__construct\\(\\) has parameter \\$args with no value type specified in iterable type array\\.$#" + count: 1 + path: src/Handler/Router/Attribute/AssertRouteSuccess.php + + - + message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" + count: 2 + path: src/Handler/Router/Router.php + + - + message: "#^Instanceof between Buggregator\\\\Trap\\\\Handler\\\\Router\\\\Attribute\\\\AssertRoute and Buggregator\\\\Trap\\\\Handler\\\\Router\\\\Attribute\\\\AssertRoute will always evaluate to true\\.$#" + count: 1 + path: src/Handler/Router/Router.php + + - + message: "#^Instanceof between Buggregator\\\\Trap\\\\Handler\\\\Router\\\\Attribute\\\\Route and Buggregator\\\\Trap\\\\Handler\\\\Router\\\\Attribute\\\\Route will always evaluate to true\\.$#" + count: 1 + path: src/Handler/Router/Router.php + + - + message: "#^Method Buggregator\\\\Trap\\\\Handler\\\\Router\\\\Router\\:\\:doNothing\\(\\) return type has no value type specified in iterable type array\\.$#" + count: 1 + path: src/Handler/Router/Router.php + + - + message: "#^Method Buggregator\\\\Trap\\\\Handler\\\\Router\\\\Router\\:\\:invoke\\(\\) has parameter \\$args with no value type specified in iterable type array\\.$#" + count: 1 + path: src/Handler/Router/Router.php + + - + message: "#^Only booleans are allowed in &&, string given on the right side\\.$#" + count: 1 + path: src/Handler/Router/Router.php + + - + message: "#^Only booleans are allowed in \\|\\|, string given on the right side\\.$#" + count: 1 + path: src/Handler/Router/Router.php + + - + message: "#^Static method Buggregator\\\\Trap\\\\Handler\\\\Router\\\\Router\\:\\:doNothing\\(\\) is unused\\.$#" + count: 1 + path: src/Handler/Router/Router.php + + - + message: "#^Method Buggregator\\\\Trap\\\\Proto\\\\Frame\\:\\:jsonSerialize\\(\\) return type has no value type specified in iterable type array\\.$#" + count: 1 + path: src/Proto/Frame.php + + - + message: "#^Call to function assert\\(\\) with true will always evaluate to true\\.$#" + count: 1 + path: src/Proto/Frame/Http.php + + - + message: "#^Instanceof between Psr\\\\Http\\\\Message\\\\UploadedFileInterface and Psr\\\\Http\\\\Message\\\\UploadedFileInterface will always evaluate to true\\.$#" + count: 1 + path: src/Proto/Frame/Http.php + + - + message: "#^PHPDoc tag @var for variable \\$generator has no value type specified in iterable type array\\.$#" + count: 1 + path: src/Proto/Frame/Http.php + + - + message: "#^Method Buggregator\\\\Trap\\\\Proto\\\\Frame\\\\Monolog\\:\\:__construct\\(\\) has parameter \\$message with no value type specified in iterable type array\\.$#" + count: 1 + path: src/Proto/Frame/Monolog.php + + - + message: "#^PHPDoc tag @var for variable \\$data contains unresolvable type\\.$#" + count: 1 + path: src/Proto/Frame/Profiler.php + + - + message: "#^Method Buggregator\\\\Trap\\\\Proto\\\\Frame\\\\Profiler\\\\Payload\\:\\:__construct\\(\\) has parameter \\$callsProvider with no value type specified in iterable type array\\.$#" + count: 2 + path: src/Proto/Frame/Profiler/Payload.php + + - + message: "#^Method Buggregator\\\\Trap\\\\Proto\\\\Frame\\\\Profiler\\\\Payload\\:\\:fromArray\\(\\) has parameter \\$data with no value type specified in iterable type array\\.$#" + count: 1 + path: src/Proto/Frame/Profiler/Payload.php + + - + message: "#^Method Buggregator\\\\Trap\\\\Proto\\\\Frame\\\\Profiler\\\\Payload\\:\\:getCalls\\(\\) return type has no value type specified in iterable type array\\.$#" + count: 2 + path: src/Proto/Frame/Profiler/Payload.php + + - + message: "#^Method Buggregator\\\\Trap\\\\Proto\\\\Frame\\\\Profiler\\\\Payload\\:\\:jsonSerialize\\(\\) return type has no value type specified in iterable type array\\.$#" + count: 1 + path: src/Proto/Frame/Profiler/Payload.php + + - + message: "#^Method Buggregator\\\\Trap\\\\Proto\\\\Frame\\\\Profiler\\\\Payload\\:\\:new\\(\\) has parameter \\$callsProvider with no value type specified in iterable type array\\.$#" + count: 2 + path: src/Proto/Frame/Profiler/Payload.php + + - + message: "#^Method Buggregator\\\\Trap\\\\Proto\\\\Frame\\\\Profiler\\\\Payload\\:\\:toArray\\(\\) return type has no value type specified in iterable type array\\.$#" + count: 1 + path: src/Proto/Frame/Profiler/Payload.php + + - + message: "#^PHPDoc tag @param for parameter \\$data contains unresolvable type\\.$#" + count: 1 + path: src/Proto/Frame/Profiler/Payload.php + + - + message: "#^PHPDoc tag @return contains unresolvable type\\.$#" + count: 2 + path: src/Proto/Frame/Profiler/Payload.php + + - + message: "#^PHPDoc tag @var for variable \\$provider has no value type specified in iterable type array\\.$#" + count: 2 + path: src/Proto/Frame/Profiler/Payload.php + + - + message: "#^Method Buggregator\\\\Trap\\\\Proto\\\\Frame\\\\Sentry\\:\\:fromString\\(\\) should return static\\(Buggregator\\\\Trap\\\\Proto\\\\Frame\\\\Sentry\\) but returns Buggregator\\\\Trap\\\\Proto\\\\Frame\\\\Sentry\\\\SentryEnvelope\\|Buggregator\\\\Trap\\\\Proto\\\\Frame\\\\Sentry\\\\SentryStore\\.$#" + count: 1 + path: src/Proto/Frame/Sentry.php + + - + message: "#^PHPDoc tag @var has invalid value \\(array\\{type\\: string, \\.\\.\\.mixed\\} \\$data\\)\\: Unexpected token \"mixed\", expected '\\}' at offset 32$#" + count: 1 + path: src/Proto/Frame/Sentry.php + + - + message: "#^Method Buggregator\\\\Trap\\\\Proto\\\\Frame\\\\Sentry\\\\EnvelopeItem\\:\\:__construct\\(\\) has parameter \\$headers with no value type specified in iterable type array\\.$#" + count: 1 + path: src/Proto/Frame/Sentry/EnvelopeItem.php + + - + message: "#^Asserted type array\\{type\\: 'envelope', items\\: array\\, headers\\: array\\\\} for \\$data with type array\\{type\\: 'envelope', items\\: array\\, headers\\: array\\\\} does not narrow down the type\\.$#" + count: 1 + path: src/Proto/Frame/Sentry/SentryEnvelope.php + + - + message: "#^Asserted type array\\{type\\: 'store', event_id\\: non\\-empty\\-string, timestamp\\: int\\<1, max\\>, platform\\?\\: non\\-empty\\-string, sdk\\?\\: array\\{name\\: non\\-empty\\-string, version\\: non\\-empty\\-string\\}, logger\\?\\: non\\-empty\\-string, contexts\\?\\: array\\\\>, environment\\?\\: non\\-empty\\-string, server_name\\?\\: non\\-empty\\-string, transaction\\?\\: non\\-empty\\-string, modules\\?\\: array\\, exception\\?\\: array\\, abs_path\\: non\\-empty\\-string, context_line\\: non\\-empty\\-string\\}\\>\\}\\}\\>\\} for \\$data with type array\\{type\\: 'store', event_id\\: non\\-empty\\-string, timestamp\\: int\\<1, max\\>, platform\\?\\: non\\-empty\\-string, sdk\\?\\: array\\{name\\: non\\-empty\\-string, version\\: non\\-empty\\-string\\}, logger\\?\\: non\\-empty\\-string, contexts\\?\\: array\\\\>, environment\\?\\: non\\-empty\\-string, server_name\\?\\: non\\-empty\\-string, transaction\\?\\: non\\-empty\\-string, modules\\?\\: array\\, exception\\?\\: array\\, abs_path\\: non\\-empty\\-string, context_line\\: non\\-empty\\-string\\}\\>\\}\\}\\>\\} does not narrow down the type\\.$#" + count: 1 + path: src/Proto/Frame/Sentry/SentryStore.php + + - + message: "#^Call to function assert\\(\\) with true will always evaluate to true\\.$#" + count: 1 + path: src/Proto/Server/Decoder.php + + - + message: "#^Instanceof between Buggregator\\\\Trap\\\\Proto\\\\Server\\\\Version\\\\PayloadDecoder and Buggregator\\\\Trap\\\\Proto\\\\Server\\\\Version\\\\PayloadDecoder will always evaluate to true\\.$#" + count: 1 + path: src/Proto/Server/Decoder.php + + - + message: "#^Method Buggregator\\\\Trap\\\\Proto\\\\Server\\\\Request\\:\\:__construct\\(\\) has parameter \\$payloadParser with no value type specified in iterable type iterable\\.$#" + count: 1 + path: src/Proto/Server/Request.php + + - + message: "#^Method Buggregator\\\\Trap\\\\Proto\\\\Server\\\\Request\\:\\:getParsedPayload\\(\\) return type has no value type specified in iterable type iterable\\.$#" + count: 1 + path: src/Proto/Server/Request.php + + - + message: "#^Call to function assert\\(\\) with true and 'Missing data\\.' will always evaluate to true\\.$#" + count: 1 + path: src/Proto/Server/Version/V1.php + + - + message: "#^Call to function assert\\(\\) with true will always evaluate to true\\.$#" + count: 1 + path: src/Proto/Server/Version/V1.php + + - + message: "#^Comparison operation \"\\>\" between int\\<1, max\\> and 0 is always true\\.$#" + count: 1 + path: src/Proto/Server/Version/V1.php + + - + message: "#^Offset 'data' on array in isset\\(\\) always exists and is not nullable\\.$#" + count: 1 + path: src/Proto/Server/Version/V1.php + + - + message: "#^Right side of && is always true\\.$#" + count: 1 + path: src/Proto/Server/Version/V1.php + + - + message: "#^Method Buggregator\\\\Trap\\\\Sender\\\\Console\\\\FrameHandler\\:\\:register\\(\\) has parameter \\$renderer with generic interface Buggregator\\\\Trap\\\\Sender\\\\Console\\\\Renderer but does not specify its types\\: TFrame$#" + count: 1 + path: src/Sender/Console/FrameHandler.php + + - + message: "#^Property Buggregator\\\\Trap\\\\Sender\\\\Console\\\\FrameHandler\\:\\:\\$renderers with generic interface Buggregator\\\\Trap\\\\Sender\\\\Console\\\\Renderer does not specify its types\\: TFrame$#" + count: 1 + path: src/Sender/Console/FrameHandler.php + + - + message: "#^Casting to int something that's already int\\<1, 256\\>\\.$#" + count: 1 + path: src/Sender/Console/Renderer/Http.php + + - + message: "#^Casting to int something that's already int\\<1, max\\>\\.$#" + count: 1 + path: src/Sender/Console/Renderer/Http.php + + - + message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" + count: 1 + path: src/Sender/Console/Renderer/Monolog.php + + - + message: "#^Offset 'date' on array\\{date\\: int, hostname\\: non\\-empty\\-string, filename\\?\\: non\\-empty\\-string\\} in isset\\(\\) always exists and is not nullable\\.$#" + count: 1 + path: src/Sender/Console/Renderer/Profiler.php + + - + message: "#^Offset 'hostname' on array\\{date\\: int, hostname\\: non\\-empty\\-string, filename\\?\\: non\\-empty\\-string\\} in isset\\(\\) always exists and is not nullable\\.$#" + count: 1 + path: src/Sender/Console/Renderer/Profiler.php + + - + message: "#^Only booleans are allowed in &&, DateTimeImmutable given on the right side\\.$#" + count: 1 + path: src/Sender/Console/Renderer/Profiler.php + + - + message: "#^Only booleans are allowed in &&, string given on the right side\\.$#" + count: 2 + path: src/Sender/Console/Renderer/Profiler.php + + - + message: "#^Right side of && is always true\\.$#" + count: 1 + path: src/Sender/Console/Renderer/Profiler.php + + - + message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" + count: 1 + path: src/Sender/Console/Renderer/Sentry/Exceptions.php + + - + message: "#^Method Buggregator\\\\Trap\\\\Sender\\\\Console\\\\Renderer\\\\Sentry\\\\Exceptions\\:\\:renderCodeSnippet\\(\\) has parameter \\$frame with no value type specified in iterable type array\\.$#" + count: 1 + path: src/Sender/Console/Renderer/Sentry/Exceptions.php + + - + message: "#^Method Buggregator\\\\Trap\\\\Sender\\\\Console\\\\Renderer\\\\Sentry\\\\Exceptions\\:\\:renderTrace\\(\\) has parameter \\$frames with no value type specified in iterable type array\\.$#" + count: 1 + path: src/Sender/Console/Renderer/Sentry/Exceptions.php + + - + message: "#^Only booleans are allowed in &&, null given on the right side\\.$#" + count: 2 + path: src/Sender/Console/Renderer/Sentry/Exceptions.php + + - + message: "#^Method Buggregator\\\\Trap\\\\Sender\\\\Console\\\\Renderer\\\\Sentry\\\\Header\\:\\:renderMessageHeader\\(\\) has parameter \\$message with no value type specified in iterable type array\\.$#" + count: 1 + path: src/Sender/Console/Renderer/Sentry/Header.php + + - + message: "#^Only booleans are allowed in &&, string given on the right side\\.$#" + count: 3 + path: src/Sender/Console/Renderer/Sentry/Header.php + + - + message: "#^Method Buggregator\\\\Trap\\\\Sender\\\\Console\\\\Renderer\\\\TemplateRenderer\\:\\:render\\(\\) has parameter \\$data with no value type specified in iterable type array\\.$#" + count: 1 + path: src/Sender/Console/Renderer/TemplateRenderer.php + + - + message: "#^Call to function base64_decode\\(\\) requires parameter \\#2 to be set\\.$#" + count: 1 + path: src/Sender/Console/Renderer/VarDumper.php + + - + message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" + count: 2 + path: src/Sender/Console/Renderer/VarDumper.php + + - + message: "#^Method class@anonymous/src/Sender/Console/Renderer/VarDumper\\.php\\:52\\:\\:describe\\(\\) has parameter \\$context with no value type specified in iterable type array\\.$#" + count: 1 + path: src/Sender/Console/Renderer/VarDumper.php + + - + message: "#^Method Buggregator\\\\Trap\\\\Sender\\\\Console\\\\Support\\\\Tables\\:\\:renderKeyValueTable\\(\\) has parameter \\$data with no value type specified in iterable type array\\.$#" + count: 1 + path: src/Sender/Console/Support/Tables.php + + - + message: "#^Left side of && is always true\\.$#" + count: 1 + path: src/Sender/Frontend/ConnectionPool.php + + - + message: "#^Only booleans are allowed in &&, Buggregator\\\\Trap\\\\Support\\\\Timer given on the left side\\.$#" + count: 1 + path: src/Sender/Frontend/ConnectionPool.php + + - + message: "#^Property Buggregator\\\\Trap\\\\Sender\\\\Frontend\\\\ConnectionPool\\:\\:\\$fibers with generic class Fiber does not specify its types\\: TStart, TResume, TReturn, TSuspend$#" + count: 1 + path: src/Sender/Frontend/ConnectionPool.php + + - + message: "#^Method Buggregator\\\\Trap\\\\Sender\\\\Frontend\\\\Event\\:\\:__construct\\(\\) has parameter \\$payload with no value type specified in iterable type array\\.$#" + count: 1 + path: src/Sender/Frontend/Event.php + + - + message: "#^Method Buggregator\\\\Trap\\\\Sender\\\\Frontend\\\\Event\\:\\:jsonSerialize\\(\\) return type has no value type specified in iterable type array\\.$#" + count: 1 + path: src/Sender/Frontend/Event.php + + - + message: "#^Return type \\(Generator\\) of method Buggregator\\\\Trap\\\\Sender\\\\Frontend\\\\Http\\\\RequestHandler\\:\\:handle\\(\\) should be covariant with return type \\(iterable\\<\\(int\\|string\\), Buggregator\\\\Trap\\\\Proto\\\\Frame\\>\\) of method Buggregator\\\\Trap\\\\Handler\\\\Http\\\\RequestHandler\\:\\:handle\\(\\)$#" + count: 1 + path: src/Sender/Frontend/Http/RequestHandler.php + + - + message: "#^Only booleans are allowed in \\|\\|, array given on the right side\\.$#" + count: 1 + path: src/Sender/Frontend/Http/Router.php + + - + message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" + count: 2 + path: src/Sender/Frontend/Http/StaticFiles.php + + - + message: "#^Only booleans are allowed in \\|\\|, mixed given on the right side\\.$#" + count: 1 + path: src/Sender/Frontend/Http/StaticFiles.php + + - + message: "#^Property Buggregator\\\\Trap\\\\Sender\\\\Frontend\\\\Http\\\\StaticFiles\\:\\:\\$earlyResponse type has no value type specified in iterable type array\\.$#" + count: 1 + path: src/Sender/Frontend/Http/StaticFiles.php + + - + message: "#^Call to function base64_decode\\(\\) requires parameter \\#2 to be set\\.$#" + count: 1 + path: src/Sender/Frontend/Mapper/VarDump.php + + - + message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" + count: 1 + path: src/Sender/Frontend/Mapper/VarDump.php + + - + message: "#^Method Buggregator\\\\Trap\\\\Sender\\\\Frontend\\\\Mapper\\\\VarDump\\:\\:parse\\(\\) return type has no value type specified in iterable type array\\.$#" + count: 1 + path: src/Sender/Frontend/Mapper/VarDump.php + + - + message: "#^Method Buggregator\\\\Trap\\\\Sender\\\\Frontend\\\\Message\\\\Connect\\:\\:jsonSerialize\\(\\) return type has no value type specified in iterable type array\\.$#" + count: 1 + path: src/Sender/Frontend/Message/Connect.php + + - + message: "#^Method Buggregator\\\\Trap\\\\Sender\\\\Frontend\\\\Message\\\\EventCollection\\:\\:jsonSerialize\\(\\) return type has no value type specified in iterable type array\\.$#" + count: 1 + path: src/Sender/Frontend/Message/EventCollection.php + + - + message: "#^Method Buggregator\\\\Trap\\\\Sender\\\\Frontend\\\\Message\\\\Push\\:\\:jsonSerialize\\(\\) return type has no value type specified in iterable type array\\.$#" + count: 1 + path: src/Sender/Frontend/Message/Push.php + + - + message: "#^Method Buggregator\\\\Trap\\\\Sender\\\\Frontend\\\\Message\\\\Response\\:\\:jsonSerialize\\(\\) return type has no value type specified in iterable type array\\.$#" + count: 1 + path: src/Sender/Frontend/Message/Response.php + + - + message: "#^Only booleans are allowed in &&, Buggregator\\\\Trap\\\\Sender\\\\Frontend\\\\Message\\\\Connect given on the right side\\.$#" + count: 1 + path: src/Sender/Frontend/Message/Response.php + + - + message: "#^Only booleans are allowed in &&, Buggregator\\\\Trap\\\\Sender\\\\Frontend\\\\Message\\\\Connect\\|null given on the left side\\.$#" + count: 1 + path: src/Sender/Frontend/Message/Response.php + + - + message: "#^Only booleans are allowed in &&, Buggregator\\\\Trap\\\\Sender\\\\Frontend\\\\Message\\\\Rpc given on the right side\\.$#" + count: 1 + path: src/Sender/Frontend/Message/Response.php + + - + message: "#^Only booleans are allowed in &&, Buggregator\\\\Trap\\\\Sender\\\\Frontend\\\\Message\\\\Rpc\\|null given on the left side\\.$#" + count: 1 + path: src/Sender/Frontend/Message/Response.php + + - + message: "#^Method Buggregator\\\\Trap\\\\Sender\\\\Frontend\\\\Message\\\\Rpc\\:\\:jsonSerialize\\(\\) return type has no value type specified in iterable type array\\.$#" + count: 1 + path: src/Sender/Frontend/Message/Rpc.php + + - + message: "#^Method Buggregator\\\\Trap\\\\Sender\\\\Frontend\\\\Message\\\\Settings\\:\\:jsonSerialize\\(\\) return type has no value type specified in iterable type array\\.$#" + count: 1 + path: src/Sender/Frontend/Message/Settings.php + + - + message: "#^Method Buggregator\\\\Trap\\\\Sender\\\\Frontend\\\\Message\\\\Success\\:\\:jsonSerialize\\(\\) return type has no value type specified in iterable type array\\.$#" + count: 1 + path: src/Sender/Frontend/Message/Success.php + + - + message: "#^Method Buggregator\\\\Trap\\\\Sender\\\\Frontend\\\\Message\\\\Version\\:\\:jsonSerialize\\(\\) return type has no value type specified in iterable type array\\.$#" + count: 1 + path: src/Sender/Frontend/Message/Version.php + + - + message: "#^Method Buggregator\\\\Trap\\\\Sender\\\\Frontend\\\\RPC\\:\\:callMethod\\(\\) has parameter \\$data with no value type specified in iterable type array\\.$#" + count: 1 + path: src/Sender/Frontend/RPC.php + + - + message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" + count: 1 + path: src/Sender/Frontend/Service.php + + - + message: "#^Method Buggregator\\\\Trap\\\\Sender\\\\Frontend\\\\Service\\:\\:eventsDelete\\(\\) has parameter \\$uuids with no value type specified in iterable type array\\.$#" + count: 1 + path: src/Sender/Frontend/Service.php + + - + message: "#^Call to function assert\\(\\) with true will always evaluate to true\\.$#" + count: 1 + path: src/Sender/FrontendSender.php + + - + message: "#^Instanceof between Buggregator\\\\Trap\\\\Proto\\\\Frame and Buggregator\\\\Trap\\\\Proto\\\\Frame will always evaluate to true\\.$#" + count: 1 + path: src/Sender/FrontendSender.php + + - + message: "#^Property Buggregator\\\\Trap\\\\Sender\\\\SocketSender\\:\\:\\$handler with generic class Fiber does not specify its types\\: TStart, TResume, TReturn, TSuspend$#" + count: 1 + path: src/Sender/SocketSender.php + + - + message: "#^Method Buggregator\\\\Trap\\\\Service\\\\Config\\\\ConfigLoader\\:\\:__construct\\(\\) has parameter \\$env with no value type specified in iterable type array\\.$#" + count: 1 + path: src/Service/Config/ConfigLoader.php + + - + message: "#^Method Buggregator\\\\Trap\\\\Service\\\\Config\\\\ConfigLoader\\:\\:__construct\\(\\) has parameter \\$inputArguments with no value type specified in iterable type array\\.$#" + count: 1 + path: src/Service/Config/ConfigLoader.php + + - + message: "#^Method Buggregator\\\\Trap\\\\Service\\\\Config\\\\ConfigLoader\\:\\:__construct\\(\\) has parameter \\$inputOptions with no value type specified in iterable type array\\.$#" + count: 1 + path: src/Service/Config/ConfigLoader.php + + - + message: "#^Short ternary operator is not allowed\\. Use null coalesce operator if applicable or consider using long ternary\\.$#" + count: 1 + path: src/Service/Config/ConfigLoader.php + + - + message: "#^Method Buggregator\\\\Trap\\\\Service\\\\Container\\:\\:bind\\(\\) has parameter \\$binding with no value type specified in iterable type array\\.$#" + count: 1 + path: src/Service/Container.php + + - + message: "#^Method Buggregator\\\\Trap\\\\Service\\\\Container\\:\\:get\\(\\) has parameter \\$arguments with no value type specified in iterable type array\\.$#" + count: 1 + path: src/Service/Container.php + + - + message: "#^Method Buggregator\\\\Trap\\\\Service\\\\Container\\:\\:make\\(\\) has parameter \\$arguments with no value type specified in iterable type array\\.$#" + count: 1 + path: src/Service/Container.php + + - + message: "#^PHPDoc tag @return with type T is not subtype of native type object\\.$#" + count: 1 + path: src/Service/Container.php + + - + message: "#^Parameter \\#1 \\$id \\(class\\-string\\) of method Buggregator\\\\Trap\\\\Service\\\\Container\\:\\:has\\(\\) should be contravariant with parameter \\$id \\(string\\) of method Psr\\\\Container\\\\ContainerInterface\\:\\:has\\(\\)$#" + count: 1 + path: src/Service/Container.php + + - + message: "#^Parameter \\#1 \\$id \\(class\\-string\\\\) of method Buggregator\\\\Trap\\\\Service\\\\Container\\:\\:get\\(\\) should be contravariant with parameter \\$id \\(string\\) of method Psr\\\\Container\\\\ContainerInterface\\:\\:get\\(\\)$#" + count: 1 + path: src/Service/Container.php + + - + message: "#^Property Buggregator\\\\Trap\\\\Service\\\\Container\\:\\:\\$factory type has no value type specified in iterable type array\\.$#" + count: 1 + path: src/Service/Container.php + + - + message: "#^Property Buggregator\\\\Trap\\\\Service\\\\FilesObserver\\:\\:\\$fibers with generic class Fiber does not specify its types\\: TStart, TResume, TReturn, TSuspend$#" + count: 1 + path: src/Service/FilesObserver.php + + - + message: "#^Method Buggregator\\\\Trap\\\\Service\\\\FilesObserver\\\\Converter\\\\Edge\\:\\:jsonSerialize\\(\\) return type has no value type specified in iterable type array\\.$#" + count: 1 + path: src/Service/FilesObserver/Converter/Edge.php + + - + message: "#^Call to function assert\\(\\) with true will always evaluate to true\\.$#" + count: 1 + path: src/Service/FilesObserver/Converter/XHProf.php + + - + message: "#^Match arm comparison between 3 and 3 is always true\\.$#" + count: 1 + path: src/Service/FilesObserver/Converter/XHProf.php + + - + message: "#^Match arm is unreachable because previous comparison is always true\\.$#" + count: 1 + path: src/Service/FilesObserver/Converter/XHProf.php + + - + message: "#^Method Buggregator\\\\Trap\\\\Service\\\\FilesObserver\\\\Converter\\\\XHProf\\:\\:dataToPayload\\(\\) return type has no value type specified in iterable type array\\.$#" + count: 2 + path: src/Service/FilesObserver/Converter/XHProf.php + + - + message: "#^Only booleans are allowed in &&, null given on the right side\\.$#" + count: 1 + path: src/Service/FilesObserver/Converter/XHProf.php + + - + message: "#^Strict comparison using \\!\\=\\= between non\\-empty\\-string\\|null and '' will always evaluate to true\\.$#" + count: 1 + path: src/Service/FilesObserver/Converter/XHProf.php + + - + message: "#^Method Buggregator\\\\Trap\\\\Service\\\\FilesObserver\\\\FileInfo\\:\\:toArray\\(\\) return type has no value type specified in iterable type array\\.$#" + count: 1 + path: src/Service/FilesObserver/FileInfo.php + + - + message: "#^Do\\-while loop condition is always true\\.$#" + count: 1 + path: src/Service/FilesObserver/Handler.php + + - + message: "#^Asserted type callable\\(\\)\\: void for \\$callable with type callable\\(\\)\\: void does not narrow down the type\\.$#" + count: 1 + path: src/Socket/Client.php + + - + message: "#^Asserted type callable\\(string\\)\\: void for \\$callable with type callable\\(string\\)\\: void does not narrow down the type\\.$#" + count: 1 + path: src/Socket/Client.php + + - + message: "#^Expression on left side of \\?\\? is not nullable\\.$#" + count: 2 + path: src/Socket/Client.php + + - + message: "#^Left side of && is always false\\.$#" + count: 1 + path: src/Socket/Server.php + + - + message: "#^Only booleans are allowed in &&, null given on the right side\\.$#" + count: 1 + path: src/Socket/Server.php + + - + message: "#^Only booleans are allowed in &&, void given on the right side\\.$#" + count: 1 + path: src/Socket/Server.php + + - + message: "#^Property Buggregator\\\\Trap\\\\Socket\\\\Server\\:\\:\\$fibers with generic class Fiber does not specify its types\\: TStart, TResume, TReturn, TSuspend$#" + count: 1 + path: src/Socket/Server.php + + - + message: "#^Short ternary operator is not allowed\\. Use null coalesce operator if applicable or consider using long ternary\\.$#" + count: 1 + path: src/Socket/Server.php + + - + message: "#^Call to function assert\\(\\) with true will always evaluate to true\\.$#" + count: 1 + path: src/Support/StreamHelper.php + + - + message: "#^Comparison operation \"\\>\" between int\\<1, max\\> and 0 is always true\\.$#" + count: 1 + path: src/Support/StreamHelper.php + + - + message: "#^Method Buggregator\\\\Trap\\\\Support\\\\TemplateEngine\\:\\:render\\(\\) has parameter \\$data with no value type specified in iterable type array\\.$#" + count: 1 + path: src/Support/TemplateEngine.php + + - + message: "#^Casting to string something that's already string\\.$#" + count: 1 + path: src/Test/Mock/StreamClientMock.php + + - + message: "#^Method Buggregator\\\\Trap\\\\Test\\\\Mock\\\\StreamClientMock\\:\\:getCreatedAt\\(\\) should return DateTimeImmutable but returns DateTimeInterface\\.$#" + count: 1 + path: src/Test/Mock/StreamClientMock.php + + - + message: "#^Property Buggregator\\\\Trap\\\\Traffic\\\\Inspector\\:\\:\\$fibers with generic class Fiber does not specify its types\\: TStart, TResume, TReturn, TSuspend$#" + count: 1 + path: src/Traffic/Inspector.php + + - + message: "#^Asserted type never for \\$this\\-\\>getError\\(\\) with type mixed can never happen\\.$#" + count: 1 + path: src/Traffic/Message/Multipart/File.php + + - + message: "#^Asserted type never for \\$this\\-\\>getSize\\(\\) with type mixed can never happen\\.$#" + count: 1 + path: src/Traffic/Message/Multipart/File.php + + - + message: "#^Asserted type never for \\$this\\-\\>getStream\\(\\) with type mixed can never happen\\.$#" + count: 1 + path: src/Traffic/Message/Multipart/File.php + + - + message: "#^Asserted type never for \\$this\\-\\>getUploadedFile\\(\\) with type mixed can never happen\\.$#" + count: 1 + path: src/Traffic/Message/Multipart/File.php + + - + message: "#^Asserted type never for \\$this\\-\\>moveTo\\(\\) with type mixed can never happen\\.$#" + count: 1 + path: src/Traffic/Message/Multipart/File.php + + - + message: "#^Only booleans are allowed in \\|\\|, int\\<0, max\\> given on the right side\\.$#" + count: 1 + path: src/Traffic/Message/Multipart/File.php + + - + message: "#^Only booleans are allowed in \\|\\|, string given on the right side\\.$#" + count: 1 + path: src/Traffic/Message/Multipart/File.php + + - + message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" + count: 1 + path: src/Traffic/Message/Multipart/Part.php + + - + message: "#^Short ternary operator is not allowed\\. Use null coalesce operator if applicable or consider using long ternary\\.$#" + count: 2 + path: src/Traffic/Message/Multipart/Part.php + + - + message: "#^Casting to array\\ something that's already array\\\\.$#" + count: 1 + path: src/Traffic/Message/Smtp.php + + - + message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" + count: 1 + path: src/Traffic/Message/Smtp.php + + - + message: "#^Method Buggregator\\\\Trap\\\\Traffic\\\\Message\\\\Smtp\\:\\:jsonSerialize\\(\\) return type has no value type specified in iterable type array\\.$#" + count: 1 + path: src/Traffic/Message/Smtp.php + + - + message: "#^Short ternary operator is not allowed\\. Use null coalesce operator if applicable or consider using long ternary\\.$#" + count: 2 + path: src/Traffic/Message/Smtp.php + + - + message: "#^Parameter \\$headers of class Buggregator\\\\Trap\\\\Traffic\\\\Message\\\\Multipart\\\\Field constructor expects array\\\\>, array\\<'Content\\-Type', array\\\\> given\\.$#" + count: 1 + path: src/Traffic/Parser/Smtp.php + + - + message: "#^Only booleans are allowed in \\|\\|, null given on the right side\\.$#" + count: 1 + path: src/Traffic/Websocket/StreamReader.php + + - + message: "#^While loop condition is always true\\.$#" + count: 1 + path: src/Traffic/Websocket/StreamReader.php + + - + message: "#^Dead catch \\- Throwable is never thrown in the try block\\.$#" + count: 2 + path: src/functions.php + + - + message: "#^Only booleans are allowed in &&, float given on the right side\\.$#" + count: 1 + path: src/functions.php