Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 895417 Details for
Bug 1097659
Please adapt for new phpcompatinfo version
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
script adapted to work with both versions.
php-compatinfo.sh (text/plain-sh), 957 bytes, created by
Remi Collet
on 2014-05-14 09:21:42 UTC
(
hide
)
Description:
script adapted to work with both versions.
Filename:
MIME Type:
Creator:
Remi Collet
Created:
2014-05-14 09:21:42 UTC
Size:
957 bytes
patch
obsolete
>#!/bin/bash ># @group: PHP ># @text: Run phpci static analyze on all php files. ># @type: EXTRA > >[ -d BUILD ] || exit $FR_NOT_APPLICABLE > >rpm -q php-bartlett-PHP-CompatInfo &> /dev/null || { > errmsg="phpcompatinfo not found. Install php-bartlett-PHP-CompatInfo" > errmsg="$errmsg package to get a more comprehensive php review." > echo "$errmsg" > exit $FR_FAIL >} > >LOG=$PWD/phpci.log > >if [ -f /etc/phpcompatinfo.json ] >then > cd BUILD/* > phpcompatinfo \ > --no-ansi --no-interaction \ > analyser:run . \ > Extension Class Constant Function Interface Namespace Trait \ > >$LOG > cd ../.. >else > cp /etc/pear/PHP_CompatInfo/phpcompatinfo.xml.dist phpcompatinfo.xml > sed -i '/consoleProgress/s/true/false/' phpcompatinfo.xml > phpcompatinfo --configuration=phpcompatinfo.xml print \ > --recursive --report full --report-file $LOG \ > $PWD/BUILD/* >fi > >echo -e "$(phpcompatinfo --version) static analyze\nresults in $LOG" >exit $FR_PASS
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 1097659
: 895417