Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
server
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GitHub Mirror
Nextcloud
server
Commits
6dea5e6a
Commit
6dea5e6a
authored
May 16, 2017
by
Morris Jobke
Browse files
Options
Downloads
Patches
Plain Diff
Implement skip checkers and log the currently tested app
Signed-off-by:
Morris Jobke
<
hey@morrisjobke.de
>
parent
f920dfe0
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
autotest-checkers.sh
+2
-1
2 additions, 1 deletion
autotest-checkers.sh
core/Command/App/CheckCode.php
+4
-1
4 additions, 1 deletion
core/Command/App/CheckCode.php
with
6 additions
and
2 deletions
autotest-checkers.sh
+
2
−
1
View file @
6dea5e6a
...
...
@@ -12,7 +12,8 @@ php ./build/htaccess-checker.php
RESULT
=
$((
$RESULT
+
$?
))
for
app
in
$(
find
"apps/"
-mindepth
1
-maxdepth
1
-type
d
-printf
'%f\n'
)
;
do
for
app
in
$(
find
"apps/"
-mindepth
1
-maxdepth
1
-type
d
-exec
basename
{}
\;
)
;
do
echo
"Testing
$app
"
if
[
"
$app
"
==
"dav"
]
||
\
[
"
$app
"
==
"encryption"
]
||
\
...
...
This diff is collapsed.
Click to expand it.
core/Command/App/CheckCode.php
+
4
−
1
View file @
6dea5e6a
...
...
@@ -125,7 +125,10 @@ class CheckCode extends Command implements CompletionAwareInterface {
$output
->
writeln
(
" <error>line
$line
:
{
$p
[
'disallowedToken'
]
}
-
{
$p
[
'reason'
]
}
</error>"
);
}
});
$errors
=
[];
if
(
!
$input
->
getOption
(
'skip-checkers'
))
{
$errors
=
$codeChecker
->
analyse
(
$appId
);
}
if
(
!
$input
->
getOption
(
'skip-validate-info'
))
{
$infoChecker
=
new
InfoChecker
(
$this
->
infoParser
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
sign in
to comment