Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
simplesamlphp
Manage
Activity
Members
Labels
Plan
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Perun
Perun ProxyIdP
v1
simplesamlphp
Commits
294f12bb
Unverified
Commit
294f12bb
authored
5 years ago
by
Tim van Dijen
Committed by
GitHub
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Also syntax-check the tests
parent
411526cf
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bin/check-syntax.sh
+1
-1
1 addition, 1 deletion
bin/check-syntax.sh
with
1 addition
and
1 deletion
bin/check-syntax.sh
+
1
−
1
View file @
294f12bb
...
@@ -4,7 +4,7 @@ PHP='/usr/bin/env php'
...
@@ -4,7 +4,7 @@ PHP='/usr/bin/env php'
RETURN
=
0
RETURN
=
0
# check PHP files
# check PHP files
for
FILE
in
`
find attributemap bin config-templates lib metadata-templates modules templates www
-name
"*.php"
`
;
do
for
FILE
in
`
find attributemap bin config-templates lib metadata-templates modules templates
tests
www
-name
"*.php"
`
;
do
$PHP
-l
$FILE
>
/dev/null 2>&1
$PHP
-l
$FILE
>
/dev/null 2>&1
if
[
$?
-ne
0
]
;
then
if
[
$?
-ne
0
]
;
then
echo
"Syntax check failed for
${
FILE
}
"
echo
"Syntax check failed for
${
FILE
}
"
...
...
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
register
or
sign in
to comment