Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14403450
D10372.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
3 KB
Referenced Files
None
Subscribers
None
D10372.diff
View Options
diff --git a/.arclint b/.arclint
new file mode 100644
--- /dev/null
+++ b/.arclint
@@ -0,0 +1,30 @@
+{
+ "exclude": [
+ "(^xhprof_html/jquery/)",
+ "(^xhprof_html/docs/)",
+ "(^extension/Makefile.local)"
+ ],
+ "linters": {
+ "chmod": {
+ "type": "chmod"
+ },
+ "filename": {
+ "type": "filename"
+ },
+ "generated": {
+ "type": "generated"
+ },
+ "merge-conflict": {
+ "type": "merge-conflict"
+ },
+ "nolint": {
+ "type": "nolint"
+ },
+ "text-without-length": {
+ "type": "text",
+ "severity": {
+ "3": "disabled"
+ }
+ }
+ }
+}
diff --git a/.gitignore b/.gitignore
--- a/.gitignore
+++ b/.gitignore
@@ -4,3 +4,10 @@
!extension/php_xhprof.h
!extension/tests/
!extension/xhprof.c
+
+extension/tests/*.sh
+extension/tests/*.exp
+extension/tests/*.out
+extension/tests/*.diff
+extension/tests/*.log
+extension/tests/*.php
diff --git a/LICENSE b/LICENSE
--- a/LICENSE
+++ b/LICENSE
@@ -1,4 +1,3 @@
-
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
diff --git a/README b/README
--- a/README
+++ b/README
@@ -3,5 +3,3 @@
To view the latest version of the doc, go to:
http://pecl.php.net/package/xhprof ---> [View Documentation]
-
-
diff --git a/extension/config.m4 b/extension/config.m4
--- a/extension/config.m4
+++ b/extension/config.m4
@@ -1,4 +1,3 @@
-
PHP_ARG_ENABLE(xhprof, whether to enable xhprof support,
[ --enable-xhprof Enable xhprof support])
diff --git a/extension/php_xhprof.h b/extension/php_xhprof.h
--- a/extension/php_xhprof.h
+++ b/extension/php_xhprof.h
@@ -42,4 +42,4 @@
PHP_FUNCTION(xhprof_sample_enable);
PHP_FUNCTION(xhprof_sample_disable);
-#endif /* PHP_XHPROF_H */
+#endif /* PHP_XHPROF_H */
diff --git a/extension/tests/common.php b/extension/tests/common.php
--- a/extension/tests/common.php
+++ b/extension/tests/common.php
@@ -32,4 +32,3 @@
echo "\n";
}
}
-
diff --git a/extension/xhprof.c b/extension/xhprof.c
--- a/extension/xhprof.c
+++ b/extension/xhprof.c
@@ -2016,4 +2016,3 @@
efree(name_array);
}
}
-
diff --git a/xhprof_html/css/xhprof.css b/xhprof_html/css/xhprof.css
--- a/xhprof_html/css/xhprof.css
+++ b/xhprof_html/css/xhprof.css
@@ -79,4 +79,3 @@
background:#3B5998 none repeat scroll 0 0;
color:#FFFFFF;
}
-
diff --git a/xhprof_lib/display/typeahead_common.php b/xhprof_lib/display/typeahead_common.php
--- a/xhprof_lib/display/typeahead_common.php
+++ b/xhprof_lib/display/typeahead_common.php
@@ -77,4 +77,3 @@
foreach ($functions as $f) {
echo $f."\n";
}
-
diff --git a/xhprof_lib/display/xhprof.php b/xhprof_lib/display/xhprof.php
--- a/xhprof_lib/display/xhprof.php
+++ b/xhprof_lib/display/xhprof.php
@@ -1003,7 +1003,7 @@
function print_source_link($info) {
if (strncmp($info['fn'], 'run_init', 8) && $info['fn'] !== 'main()') {
- if (defined('XHPROF_SYMBOL_LOOKUP_URL')) {
+ if (defined('XHPROF_SYMBOL_LOOKUP_URL')) {
$link = xhprof_render_link(
'source',
XHPROF_SYMBOL_LOOKUP_URL . '?symbol='.rawurlencode($info["fn"]));
diff --git a/xhprof_lib/utils/xhprof_lib.php b/xhprof_lib/utils/xhprof_lib.php
--- a/xhprof_lib/utils/xhprof_lib.php
+++ b/xhprof_lib/utils/xhprof_lib.php
@@ -943,4 +943,3 @@
return ($res);
}
-
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Dec 24, 2:36 AM (19 h, 3 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6922732
Default Alt Text
D10372.diff (3 KB)
Attached To
Mode
D10372: XHProf: add .arclint, fix some minor issues
Attached
Detach File
Event Timeline
Log In to Comment