Skip to content
Snippets Groups Projects

Automated Project Update Bot fixes

1 file
+ 3
3
Compare changes
  • Side-by-side
  • Inline
@@ -52,7 +52,7 @@ class TocFormatterTest extends UnitTestCase {
*
* @see testConvertStringToId()
*/
public function providerConvertStringToId() {
public static function providerConvertStringToId() {
$tests[] = ['One', 'one'];
$tests[] = ['One two', 'one-two'];
$tests[] = ['One ! two', 'one-two'];
@@ -85,7 +85,7 @@ class TocFormatterTest extends UnitTestCase {
*
* @see testConvertNumberToListTypeValue()
*/
public function providerConvertNumberToListTypeValue() {
public static function providerConvertNumberToListTypeValue() {
$tests[] = [1, NULL, 1];
$tests[] = [1, 'decimal', '1'];
$tests[] = [1, 'random', '1'];
@@ -131,7 +131,7 @@ class TocFormatterTest extends UnitTestCase {
*
* @see testConvertHeaderKeysToValues()
*/
public function providerConvertHeaderKeysToValues() {
public static function providerConvertHeaderKeysToValues() {
$options = [
'number_path_truncate' => TRUE,
'headers' => [
Loading