diff --git a/README.md b/README.md index 8f930c6..b49a366 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ class CooksTable extends Table { public function initialize($config) { - $this->table('sti_cooks'); + $this->setTable('sti_cooks'); $this->addBehavior('Muffin/Sti.Sti', [ 'typeMap' => [ 'chef' => 'App\Model\Entity\Chef', diff --git a/composer.json b/composer.json index b198147..529d082 100644 --- a/composer.json +++ b/composer.json @@ -31,9 +31,10 @@ }, "require": { "php": ">=5.6", - "cakephp/cakephp": "^3.6" + "cakephp/orm": "^3.6" }, "require-dev": { + "cakephp/cakephp": "^3.6", "cakephp/cakephp-codesniffer": "^3.0", "phpunit/phpunit": "^5.7.14|^6.0" }, diff --git a/tests/phpstan.neon b/tests/phpstan.neon deleted file mode 100644 index 9139975..0000000 --- a/tests/phpstan.neon +++ /dev/null @@ -1,4 +0,0 @@ -parameters: - level: 5 - autoload_files: - - tests/bootstrap.php