This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
friendica
/
friendica
mirror of
https://github.com/friendica/friendica.git
Watch
1
Star
2
Fork
1
Code
Issues
Releases
49
Wiki
Activity
Browse Source
No more needed ... util/typo.php is there.
Signed-off-by: Roland Häder <roland@mxchange.org>
pull/3027/head
Roland Häder
4 years ago
parent
e06cac420b
commit
c43389f79a
1 changed files
with
0 additions
and
17 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+0
-17
util/lint.sh
+ 0
- 17
util/lint.sh
View File
@ -1,17 +0,0 @@
#!/bin/sh
if
[
! -e
"index.php"
]
then
echo
"
$0
: Please execute this script from root directory.
"
exit
1
fi
echo
"
$0
: Analysing PHP scripts for syntax errors (lint) ...
"
LINT
=
`
find -type f -name
"*.php"
-exec php -l -f
{
}
2>
&
1
\;
|
grep -v
"No syntax errors detected in"
|
grep -v
"FUSE_EDEADLK"
|
sort --unique
`
if
[
-n
"
${
LINT
}
"
]
then
echo
"
${
LINT
}
"
else
echo
"
$0
: No syntax errors found.
"
fi
Write
Preview
Loading…
Cancel
Save