tiger-seo / PhpBuiltinServer

Codeception extension for starting and stopping php built-in server
38 stars 35 forks source link

Support for Codeception v2 #5

Closed grantlucas closed 10 years ago

grantlucas commented 10 years ago

Nice to find an extension that looks like it'll do exactly what I need. Do you have any ideas about updating it to work with Codeception version 2? Running Codeception after install produces

[ReflectionException]
  Class Codeception\Extension\PhpBuiltinServer does not have a property named includeInheritedActions

I'm fairly new to Codeception and never dealt with 1.x so am not familiar with the changes for extensions between the two versions.

grantlucas commented 10 years ago

I'll show myself out. I accidentally put the config options under modules instead of extensions. I haven't managed to get it to work yet with v2 of Codeception but at least I'm loading it in the right place.

andrew-semenov commented 10 years ago

Hi grantlucas,

Do you extends your class by "\Codeception\Module" ?

class StorehouseTypeHelper extends \Codeception\Module { }

grantlucas commented 10 years ago

@andrew-semenov If you're making an extension you need to extend \Codeception\Platform\Extension