Skip to content

Commit

Permalink
Update baselines & composer normalize
Browse files Browse the repository at this point in the history
  • Loading branch information
sasezaki committed Nov 20, 2024
1 parent a4b90c0 commit cb3a9c7
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 50 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
},
"conflict": {
"phpspec/prophecy": "<1.17.0 || >=2.0.0",
"phpspec/prophecy-phpunit": "<2.3.0 || >=3.0.0",
"phpspec/prophecy-phpunit": "<2.3.0 || >=3.0.0",
"phpunit/phpunit": "<9.1.0 || >=12.0.0"
},
"require-dev": {
Expand Down
74 changes: 25 additions & 49 deletions phpstan-without-extension-baseline.neon
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
parameters:
ignoreErrors:
-
message: '#^Call to an undefined method Prophecy\\Prophecy\\ObjectProphecy\:\:bar\(\)\.$#'
message: '#^Call to an undefined method Prophecy\\Prophecy\\ObjectProphecy\<JanGregor\\Prophecy\\Test\\StaticAnalysis\\Src\\Bar\>\:\:bar\(\)\.$#'
identifier: method.notFound
count: 1
path: test/StaticAnalysis/Test/BaseModelTest.php

-
message: '#^Call to an undefined method Prophecy\\Prophecy\\ObjectProphecy\:\:baz\(\)\.$#'
message: '#^Call to an undefined method Prophecy\\Prophecy\\ObjectProphecy\<JanGregor\\Prophecy\\Test\\StaticAnalysis\\Src\\Baz\>\:\:baz\(\)\.$#'
identifier: method.notFound
count: 1
path: test/StaticAnalysis/Test/BaseModelTest.php
Expand All @@ -18,52 +18,16 @@ parameters:
count: 2
path: test/StaticAnalysis/Test/BaseModelTest.php

-
message: '#^Parameter \#1 \$bar of method JanGregor\\Prophecy\\Test\\StaticAnalysis\\Src\\BaseModel\:\:bar\(\) expects JanGregor\\Prophecy\\Test\\StaticAnalysis\\Src\\Bar, object given\.$#'
identifier: argument.type
count: 1
path: test/StaticAnalysis/Test/BaseModelTest.php

-
message: '#^Parameter \#1 \$baz of method JanGregor\\Prophecy\\Test\\StaticAnalysis\\Src\\BaseModel\:\:baz\(\) expects JanGregor\\Prophecy\\Test\\StaticAnalysis\\Src\\Baz, object given\.$#'
identifier: argument.type
count: 1
path: test/StaticAnalysis/Test/BaseModelTest.php

-
message: '#^Call to an undefined method Prophecy\\Prophecy\\ObjectProphecy\:\:doubleTheNumber\(\)\.$#'
identifier: method.notFound
count: 1
path: test/StaticAnalysis/Test/ObjectProphecy/ProphesizeTest.php

-
message: '#^Call to an undefined method Prophecy\\Prophecy\\ObjectProphecy\:\:getFoo\(\)\.$#'
identifier: method.notFound
count: 1
path: test/StaticAnalysis/Test/ObjectProphecy/ProphesizeTest.php

-
message: '#^Call to an undefined method Prophecy\\Prophecy\\ObjectProphecy\<JanGregor\\Prophecy\\Test\\StaticAnalysis\\Src\\BaseModel\>\:\:doubleTheNumber\(\)\.$#'
identifier: method.notFound
count: 2
count: 3
path: test/StaticAnalysis/Test/ObjectProphecy/ProphesizeTest.php

-
message: '#^Call to an undefined method Prophecy\\Prophecy\\ObjectProphecy\<JanGregor\\Prophecy\\Test\\StaticAnalysis\\Src\\BaseModel\>\:\:getFoo\(\)\.$#'
identifier: method.notFound
count: 2
path: test/StaticAnalysis/Test/ObjectProphecy/ProphesizeTest.php

-
message: '#^Call to an undefined method object\:\:doubleTheNumber\(\)\.$#'
identifier: method.notFound
count: 1
path: test/StaticAnalysis/Test/ObjectProphecy/ProphesizeTest.php

-
message: '#^Call to an undefined method object\:\:getFoo\(\)\.$#'
identifier: method.notFound
count: 1
count: 3
path: test/StaticAnalysis/Test/ObjectProphecy/ProphesizeTest.php

-
Expand All @@ -73,15 +37,15 @@ parameters:
path: test/StaticAnalysis/Test/ObjectProphecy/ProphesizeTest.php

-
message: '#^Call to an undefined method Prophecy\\Prophecy\\ObjectProphecy\:\:baz\(\)\.$#'
message: '#^Call to an undefined method Prophecy\\Prophecy\\ObjectProphecy\<JanGregor\\Prophecy\\Test\\StaticAnalysis\\Src\\Baz\>\:\:baz\(\)\.$#'
identifier: method.notFound
count: 1
count: 2
path: test/StaticAnalysis/Test/ObjectProphecy/WillExtendTest.php

-
message: '#^Call to an undefined method Prophecy\\Prophecy\\ObjectProphecy\<JanGregor\\Prophecy\\Test\\StaticAnalysis\\Src\\Baz\>\:\:baz\(\)\.$#'
message: '#^Call to an undefined method Prophecy\\Prophecy\\ObjectProphecy\<object\>\:\:baz\(\)\.$#'
identifier: method.notFound
count: 2
count: 1
path: test/StaticAnalysis/Test/ObjectProphecy/WillExtendTest.php

-
Expand All @@ -96,22 +60,28 @@ parameters:
count: 3
path: test/StaticAnalysis/Test/ObjectProphecy/WillExtendTest.php

-
message: '#^Method JanGregor\\Prophecy\\Test\\StaticAnalysis\\Test\\ObjectProphecy\\WillExtendTest\:\:createProphecy\(\) should return Prophecy\\Prophecy\\ObjectProphecy\<JanGregor\\Prophecy\\Test\\StaticAnalysis\\Src\\Baz\> but returns Prophecy\\Prophecy\\ObjectProphecy\<object\>\.$#'
identifier: return.type
count: 1
path: test/StaticAnalysis/Test/ObjectProphecy/WillExtendTest.php

-
message: '#^Parameter \#1 \$baz of method JanGregor\\Prophecy\\Test\\StaticAnalysis\\Src\\BaseModel\:\:baz\(\) expects JanGregor\\Prophecy\\Test\\StaticAnalysis\\Src\\Baz, object given\.$#'
identifier: argument.type
count: 1
path: test/StaticAnalysis/Test/ObjectProphecy/WillExtendTest.php

-
message: '#^Call to an undefined method Prophecy\\Prophecy\\ObjectProphecy\:\:bar\(\)\.$#'
message: '#^Call to an undefined method Prophecy\\Prophecy\\ObjectProphecy\<JanGregor\\Prophecy\\Test\\StaticAnalysis\\Src\\Bar\>\:\:bar\(\)\.$#'
identifier: method.notFound
count: 1
count: 2
path: test/StaticAnalysis/Test/ObjectProphecy/WillImplementTest.php

-
message: '#^Call to an undefined method Prophecy\\Prophecy\\ObjectProphecy\<JanGregor\\Prophecy\\Test\\StaticAnalysis\\Src\\Bar\>\:\:bar\(\)\.$#'
message: '#^Call to an undefined method Prophecy\\Prophecy\\ObjectProphecy\<JanGregor\\Prophecy\\Test\\StaticAnalysis\\Src\\Foo\>\:\:bar\(\)\.$#'
identifier: method.notFound
count: 2
count: 1
path: test/StaticAnalysis/Test/ObjectProphecy/WillImplementTest.php

-
Expand All @@ -127,7 +97,13 @@ parameters:
path: test/StaticAnalysis/Test/ObjectProphecy/WillImplementTest.php

-
message: '#^Parameter \#1 \$bar of method JanGregor\\Prophecy\\Test\\StaticAnalysis\\Src\\BaseModel\:\:bar\(\) expects JanGregor\\Prophecy\\Test\\StaticAnalysis\\Src\\Bar, object given\.$#'
message: '#^Method JanGregor\\Prophecy\\Test\\StaticAnalysis\\Test\\ObjectProphecy\\WillImplementTest\:\:createProphecy\(\) should return Prophecy\\Prophecy\\ObjectProphecy\<JanGregor\\Prophecy\\Test\\StaticAnalysis\\Src\\Bar\> but returns Prophecy\\Prophecy\\ObjectProphecy\<JanGregor\\Prophecy\\Test\\StaticAnalysis\\Src\\Foo\>\.$#'
identifier: return.type
count: 1
path: test/StaticAnalysis/Test/ObjectProphecy/WillImplementTest.php

-
message: '#^Parameter \#1 \$bar of method JanGregor\\Prophecy\\Test\\StaticAnalysis\\Src\\BaseModel\:\:bar\(\) expects JanGregor\\Prophecy\\Test\\StaticAnalysis\\Src\\Bar, JanGregor\\Prophecy\\Test\\StaticAnalysis\\Src\\Foo given\.$#'
identifier: argument.type
count: 1
path: test/StaticAnalysis/Test/ObjectProphecy/WillImplementTest.php
Expand Down

0 comments on commit cb3a9c7

Please sign in to comment.