mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-19 11:04:42 +00:00
src: extend whitespace sweep to root dir files
This commit is contained in:
parent
d137b214ad
commit
4425c28ea0
@ -52,7 +52,7 @@ fi
|
||||
echo "Flush Phalcon volt templates"
|
||||
rm -f /usr/local/opnsense/mvc/app/cache/*.php
|
||||
|
||||
echo "Execute model migrations"
|
||||
echo "Execute model migrations"
|
||||
/usr/local/opnsense/mvc/script/run_migrations.php
|
||||
|
||||
echo "Reloading GUI configuration"
|
||||
|
||||
2
Makefile
2
Makefile
@ -298,6 +298,8 @@ sweep: force
|
||||
xargs -0 -n1 scripts/cleanfile
|
||||
find ${.CURDIR}/scripts -type f -print0 | \
|
||||
xargs -0 -n1 scripts/cleanfile
|
||||
find ${.CURDIR} -type f -depth 1 -print0 | \
|
||||
xargs -0 -n1 scripts/cleanfile
|
||||
|
||||
style: want-pear-PHP_CodeSniffer
|
||||
@(phpcs --tab-width=4 --standard=PSR2 ${.CURDIR}/src/opnsense/mvc \
|
||||
|
||||
@ -41,7 +41,7 @@ abstract class BaseModelMigration
|
||||
* Walk through all nodes and check required defaults
|
||||
* @param $node
|
||||
*/
|
||||
private function checkDefaults($node)
|
||||
private function checkDefaults($node)
|
||||
{
|
||||
foreach ($node->__items as $key => $subnode) {
|
||||
if (count($subnode->__items) > 0) {
|
||||
|
||||
@ -38,4 +38,4 @@ class M1_0_0 extends BaseModelMigration
|
||||
$current_value = (string)$model->general->FromEmail;
|
||||
$model->general->FromEmail = "100_" . $current_value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -38,4 +38,4 @@ class M1_0_1 extends BaseModelMigration
|
||||
$current_value = (string)$model->general->FromEmail;
|
||||
$model->general->FromEmail = "101_" . $current_value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user