diff --git a/.travis.yml b/.travis.yml index b5457d77..8d1c3b24 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,7 +16,7 @@ before_script: script: - if [[ $PHPCS = 1 ]]; then vendor/bin/phpcs -p --extensions=php --standard=vendor/cakephp/cakephp-codesniffer/CakePHP src/ config/; fi - - if [[ $PHPSTAN = 1 ]]; then vendor/bin/phpstan analyse -c phpstan.neon -l 5 src; fi + - if [[ $PHPSTAN = 1 ]]; then vendor/bin/phpstan analyse -l 5 src; fi notifications: email: false diff --git a/phpstan.neon b/phpstan.neon deleted file mode 100644 index 5771b040..00000000 --- a/phpstan.neon +++ /dev/null @@ -1,3 +0,0 @@ -parameters: - ignoreErrors: - - '#Property Cake\\View\\View::\$subDir \(string\) does not accept null#' diff --git a/src/Template/Element/form.ctp b/src/Template/Element/form.ctp index a985fb62..aaa731c6 100644 --- a/src/Template/Element/form.ctp +++ b/src/Template/Element/form.ctp @@ -1,6 +1,4 @@ exists('form.sidebar'); if ($this->exists('form.before_create')) { echo $this->fetch('form.before_create'); @@ -30,6 +28,9 @@ if ($this->exists('form.before_create')) { + exists('form.before_buttons')) : ?> + fetch('form.before_buttons'); ?> +