Skip to content

Commit

Permalink
Prefer PHP_CS ignore over PSalm baseline
Browse files Browse the repository at this point in the history
  • Loading branch information
Slamdunk committed Feb 26, 2023
1 parent fb8aaea commit 7e38677
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 17 deletions.
1 change: 0 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,5 @@
/infection.json.dist export-ignore
/phpcs.xml.dist export-ignore
/psalm.xml export-ignore
/psalm-baseline.xml export-ignore
/phpunit.xml.dist export-ignore
/renovate.json export-ignore
14 changes: 0 additions & 14 deletions psalm-baseline.xml

This file was deleted.

1 change: 0 additions & 1 deletion psalm.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<?xml version="1.0"?>
<psalm
errorLevel="1"
errorBaseline="psalm-baseline.xml"
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
3 changes: 2 additions & 1 deletion test/StoragelessTest/Session/LazySessionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@
final class LazySessionTest extends TestCase
{
private SessionInterface&MockObject $wrappedSession;

// phpcs:ignore SlevomatCodingStandard.TypeHints.PropertyTypeHint.UselessAnnotation
/** @var MakeSession&MockObject */
private MakeSession&MockObject $sessionLoader;

private LazySession $lazySession;
Expand Down

0 comments on commit 7e38677

Please sign in to comment.