Loading core/modules/system/tests/modules/hold_test/src/EventSubscriber/HoldTestSubscriber.php +3 −3 Original line number Diff line number Diff line Loading @@ -59,9 +59,9 @@ public function onRespond() { */ protected function hold($type) { $path = "{$this->sitePath}/hold_test_$type.txt"; do { $status = (bool) file_get_contents($path); } while ($status && (NULL === usleep(static::WAIT))); while ((bool) file_get_contents($path)) { usleep(static::WAIT); } } /** Loading core/phpstan-baseline.neon +0 −5 Original line number Diff line number Diff line Loading @@ -1095,11 +1095,6 @@ parameters: count: 1 path: modules/system/tests/modules/entity_test/src/Plugin/Field/FieldType/ChangedTestItem.php - message: "#^Result of function usleep \\(void\\) is used\\.$#" count: 1 path: modules/system/tests/modules/hold_test/src/EventSubscriber/HoldTestSubscriber.php - message: "#^Configuration entity must define a `config_export` key\\. See https\\://www\\.drupal\\.org/node/2481909$#" count: 1 Loading Loading
core/modules/system/tests/modules/hold_test/src/EventSubscriber/HoldTestSubscriber.php +3 −3 Original line number Diff line number Diff line Loading @@ -59,9 +59,9 @@ public function onRespond() { */ protected function hold($type) { $path = "{$this->sitePath}/hold_test_$type.txt"; do { $status = (bool) file_get_contents($path); } while ($status && (NULL === usleep(static::WAIT))); while ((bool) file_get_contents($path)) { usleep(static::WAIT); } } /** Loading
core/phpstan-baseline.neon +0 −5 Original line number Diff line number Diff line Loading @@ -1095,11 +1095,6 @@ parameters: count: 1 path: modules/system/tests/modules/entity_test/src/Plugin/Field/FieldType/ChangedTestItem.php - message: "#^Result of function usleep \\(void\\) is used\\.$#" count: 1 path: modules/system/tests/modules/hold_test/src/EventSubscriber/HoldTestSubscriber.php - message: "#^Configuration entity must define a `config_export` key\\. See https\\://www\\.drupal\\.org/node/2481909$#" count: 1 Loading