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

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"rector/rector": "^2.0.7",
"roave/infection-static-analysis-plugin": "^1.35",
"spatie/phpunit-watcher": "^1.24",
"vimeo/psalm": "^5.26.1|^6.2",
"vimeo/psalm": "^5.26.1 || ^6.9.1",
"yiisoft/di": "^1.3",
"yiisoft/test-support": "^3.0.1"
},
Expand Down Expand Up @@ -83,7 +83,6 @@
},
"config": {
"sort-packages": true,
"bump-after-update": "dev",
"allow-plugins": {
"bamarni/composer-bin-plugin": true,
"composer/package-versions-deprecated": true,
Expand Down
2 changes: 2 additions & 0 deletions psalm.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
errorLevel="1"
findUnusedBaselineEntry="true"
findUnusedCode="false"
ensureOverrideAttribute="false"
strictBinaryOperands="false"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="https://getpsalm.org/schema/config"
xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd"
Expand Down
6 changes: 3 additions & 3 deletions src/Exception/ErrorException.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@
/**
* `ErrorException` represents a PHP error.
* @psalm-type DebugBacktraceType = list<array{args?:list<mixed>,class?:class-string,file?:string,function:string,line?:int,object?:object,type?:string}>
*
* @final
*/
class ErrorException extends \ErrorException implements FriendlyExceptionInterface
{
/**
* @psalm-suppress MissingClassConstType Private constants never change.
*/
/** @psalm-suppress MissingClassConstType Private constants never change. */
private const ERROR_NAMES = [
E_ERROR => 'PHP Fatal Error',
E_WARNING => 'PHP Warning',
Expand Down
2 changes: 2 additions & 0 deletions src/Exception/UserException.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
/**
* UserException is the base class for exceptions that are meant to be shown to end users.
* Such exceptions are often caused by mistakes of end users.
*
* @final
*/
class UserException extends Exception
{
Expand Down
3 changes: 0 additions & 3 deletions tools/composer-require-checker/composer.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
{
"require-dev": {
"maglnet/composer-require-checker": "^4.7.1"
},
"config": {
"bump-after-update": "dev"
}
}
Loading