From f66fcdcc7a58845565b3a582b78efa0cd1423ba5 Mon Sep 17 00:00:00 2001 From: Gert de Pagter Date: Wed, 6 Nov 2019 15:22:15 +0100 Subject: [PATCH] Remove side effect psalm assert from stringNotEmpty (#150) --- src/Assert.php | 2 -- tests/static-analysis/assert-string-not-empty.php | 15 --------------- 2 files changed, 17 deletions(-) delete mode 100644 tests/static-analysis/assert-string-not-empty.php diff --git a/src/Assert.php b/src/Assert.php index 368897ac..09a06a54 100644 --- a/src/Assert.php +++ b/src/Assert.php @@ -215,8 +215,6 @@ public static function string($value, $message = '') } /** - * @psalm-assert string $value - * * @param mixed $value * @param string $message * diff --git a/tests/static-analysis/assert-string-not-empty.php b/tests/static-analysis/assert-string-not-empty.php deleted file mode 100644 index 80e75109..00000000 --- a/tests/static-analysis/assert-string-not-empty.php +++ /dev/null @@ -1,15 +0,0 @@ -