public function test_upper() { $this->assertEquals('FOO BAR BAZ', Str::upper('foo bar baz')); $this->assertEquals('FOO BAR BAZ', wpdevsclub_to_uppercase('foO bAr BaZ')); }
/** * Convert the given string to upper-case. * * @param string $value * @return string */ function wpdevsclub_to_uppercase($value) { return Str::upper($value); }