public/phpmyadmin/vendor/phpmyadmin/shapefile/tests/ShapeFileTest.php
/**
     * Data provider for file loading error tests.
     *
     * @return array
     */
Data provider for file loading error tests.
@return array
Data provider for file loading error tests . @return array
public function provideErrorFiles()
    {
        $result = array(
            array('data/no-shp.*'),
            array('data/missing.*'),
            array('data/invalid-shp.*'),
        );
        if (ShapeFile::supports_dbase()) {
            $result[] = array('data/no-dbf.*');
            $result[] = array('data/invalid-dbf.*');
        }
        return $result;
    }
public function provideErrorFiles ( ) { $ result = array ( array ( 'data/no-shp.*' ) , array ( 'data/missing.*' ) , array ( 'data/invalid-shp.*' ) , ) ; if ( ShapeFile :: supports_dbase ( ) ) { $ result [ ] = array ( 'data/no-dbf.*' ) ; $ result [ ] = array ( 'data/invalid-dbf.*' ) ; } return $ result ; }
Data provider for file loading error tests.
Data provider for file loading error tests .