Skip to content

Commit

Permalink
Replace some baseline entries with inline suppressions for maintainer…
Browse files Browse the repository at this point in the history
… convenience

Signed-off-by: George Steel <[email protected]>
  • Loading branch information
gsteel committed May 15, 2023
1 parent 3b5ce02 commit 2f2318f
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 14 deletions.
14 changes: 0 additions & 14 deletions psalm-baseline.xml
Original file line number Diff line number Diff line change
Expand Up @@ -293,10 +293,6 @@
<PossiblyUnusedParam>
<code>$options</code>
</PossiblyUnusedParam>
<UndefinedFunction>
<code>snappy_compress($content)</code>
<code>snappy_uncompress($content)</code>
</UndefinedFunction>
</file>
<file src="src/Compress/Tar.php">
<DocblockTypeContradiction>
Expand Down Expand Up @@ -476,10 +472,6 @@
</RedundantCastGivenDocblockType>
</file>
<file src="src/Encrypt.php">
<DeprecatedInterface>
<code>Encrypt</code>
<code>Encrypt\EncryptionAlgorithmInterface</code>
</DeprecatedInterface>
<DocblockTypeContradiction>
<code>! is_string($value)</code>
</DocblockTypeContradiction>
Expand Down Expand Up @@ -685,9 +677,6 @@
<code>Filter\Decrypt</code>
<code>parent::filter($content)</code>
</DeprecatedClass>
<DeprecatedInterface>
<code>Decrypt</code>
</DeprecatedInterface>
<DocblockTypeContradiction>
<code><![CDATA[! is_scalar($value) && ! is_array($value)]]></code>
</DocblockTypeContradiction>
Expand Down Expand Up @@ -744,9 +733,6 @@
<code>Filter\Encrypt</code>
<code>parent::filter($content)</code>
</DeprecatedClass>
<DeprecatedInterface>
<code>Encrypt</code>
</DeprecatedInterface>
<DocblockTypeContradiction>
<code><![CDATA[! is_scalar($value) && ! is_array($value)]]></code>
</DocblockTypeContradiction>
Expand Down
2 changes: 2 additions & 0 deletions src/Compress/Snappy.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
*
* @deprecated Since 2.28. This adapter will be removed in version 3.0 of this component. Other compression formats
* remain available.
*
* @psalm-suppress UndefinedFunction
*/
class Snappy implements CompressionAlgorithmInterface
{
Expand Down
1 change: 1 addition & 0 deletions src/Encrypt.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
* ...
* }
* @extends AbstractFilter<Options>
* @psalm-suppress DeprecatedInterface
*/
class Encrypt extends AbstractFilter
{
Expand Down
2 changes: 2 additions & 0 deletions src/File/Decrypt.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
*
* @deprecated Since 2.24.0. This filter will be removed in 3.0. You are encouraged to use an alternative encryption
* library and write your own filter.
*
* @psalm-suppress DeprecatedInterface
*/
class Decrypt extends Filter\Decrypt
{
Expand Down
2 changes: 2 additions & 0 deletions src/File/Encrypt.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
*
* @deprecated Since 2.24.0. This filter will be removed in 3.0. You are encouraged to use an alternative encryption
* library and write your own filter.
*
* @psalm-suppress DeprecatedInterface
*/
class Encrypt extends Filter\Encrypt
{
Expand Down

0 comments on commit 2f2318f

Please sign in to comment.