Class: PhpMetadataHook

Inherits:
Mumukit::Hook
  • Object
show all
Defined in:
lib/metadata_hook.rb

Instance Method Summary collapse

Instance Method Details

#metadataObject



2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# File 'lib/metadata_hook.rb', line 2

def 
  {
    language: {
      name: 'php',
      icon: {type: 'devicon', name: 'php'},
      version: 'v1.1.0',
      extension: 'php',
      ace_mode: 'php'
    },
    test_framework: {
      name: 'phpunit',
      version: '7',
      test_extension: 'php',
      template: <<php
public function testDescriptionExample(): void {
$this->assertTrue(true);
}
php
    }
  }
end