You are here

public function ScalarComparatorTest::acceptsFailsProvider in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/sebastian/comparator/tests/ScalarComparatorTest.php \SebastianBergmann\Comparator\ScalarComparatorTest::acceptsFailsProvider()

File

vendor/sebastian/comparator/tests/ScalarComparatorTest.php, line 46

Class

ScalarComparatorTest
@coversDefaultClass SebastianBergmann\Comparator\ScalarComparator

Namespace

SebastianBergmann\Comparator

Code

public function acceptsFailsProvider() {
  return array(
    array(
      array(),
      array(),
    ),
    array(
      "string",
      array(),
    ),
    array(
      new ClassWithToString(),
      new ClassWithToString(),
    ),
    array(
      false,
      new ClassWithToString(),
    ),
    array(
      tmpfile(),
      tmpfile(),
    ),
  );
}