File tree 9 files changed +24
-2
lines changed
9 files changed +24
-2
lines changed Original file line number Diff line number Diff line change 2
2
"name" : " xdebug/xdebug.org" ,
3
3
"type" : " project" ,
4
4
"require-dev" : {
5
- "vimeo/psalm" : " ^3.5" ,
6
- "zetacomponents/feed" : " ^1.4"
5
+ "vimeo/psalm" : " ^5.23" ,
6
+ "zetacomponents/feed" : " ^1.4" ,
7
+ "composer/xdebug-handler" : " ^3.0"
7
8
},
8
9
"autoload" : {
9
10
"files" : [
Original file line number Diff line number Diff line change 2
2
<psalm
3
3
totallyTyped =" false"
4
4
resolveFromConfigFile =" true"
5
+ errorLevel =" 8"
5
6
xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
6
7
xmlns =" https://getpsalm.org/schema/config"
7
8
xsi : schemaLocation =" https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd"
Original file line number Diff line number Diff line change @@ -291,6 +291,7 @@ public function isVatNumberRequired() : bool
291
291
};
292
292
}
293
293
294
+ /** @psalm-mutation-free */
294
295
public function isVatChargable () : bool
295
296
{
296
297
return match ($ this ) {
@@ -300,6 +301,7 @@ public function isVatChargable() : bool
300
301
};
301
302
}
302
303
304
+ /** @psalm-mutation-free */
303
305
public function getVATPercentage ()
304
306
{
305
307
return $ this ->isVatChargable () ? 0.20 : 0 ;
Original file line number Diff line number Diff line change 1
1
<?php
2
+ /**
3
+ * @psalm-scope-this XdebugDotOrg\Model\FundingProjectsList
4
+ */
2
5
XdebugDotOrg \Controller \TemplateController::setTitle ('Xdebug: Projects ' );
3
6
?>
4
7
Original file line number Diff line number Diff line change 1
1
<?php
2
+ /**
3
+ * @psalm-scope-this XdebugDotOrg\Model\FundingProject
4
+ */
2
5
XdebugDotOrg \Controller \TemplateController::setTitle ('Xdebug: Project: ' . $ this ->title );
3
6
?>
4
7
Original file line number Diff line number Diff line change 1
1
<?php
2
+ /**
3
+ * @psalm-scope-this XdebugDotOrg\Model\StripeSession
4
+ */
2
5
XdebugDotOrg \Controller \TemplateController::setTitle ('Xdebug: Support — Payment Cancelled ' );
3
6
?>
4
7
Original file line number Diff line number Diff line change 1
1
<?php
2
+ /**
3
+ * @psalm-scope-this XdebugDotOrg\Model\SubscriptionData
4
+ */
2
5
XdebugDotOrg \Controller \TemplateController::setTitle ('Xdebug: Support Sign Up ' );
3
6
4
7
use XdebugDotOrg \Model \Country ;
Original file line number Diff line number Diff line change 1
1
<?php
2
+ /**
3
+ * @psalm-scope-this XdebugDotOrg\Model\StripeSession
4
+ */
2
5
XdebugDotOrg \Controller \TemplateController::setTitle ('Xdebug: Support — Thanks ' );
3
6
?>
4
7
Original file line number Diff line number Diff line change 1
1
<?php
2
+ /**
3
+ * @psalm-scope-this XdebugDotOrg\Model\StripeSession
4
+ */
2
5
XdebugDotOrg \Controller \TemplateController::setTitle ('Xdebug: Support — Thanks ' );
3
6
?>
4
7
You can’t perform that action at this time.
0 commit comments