mirror of
https://ghproxy.net/https://github.com/fairpm/fair-plugin.git
synced 2025-09-04 16:15:57 +08:00
Add and apply coding standards. (#129)
Signed-off-by: costdev <79332690+costdev@users.noreply.github.com> Signed-off-by: Colin Stewart <79332690+costdev@users.noreply.github.com> Co-authored-by: Andy Fragen <andy@thefragens.com>
This commit is contained in:
parent
6de87db50f
commit
0dc693b68d
23 changed files with 375 additions and 181 deletions
|
@ -61,8 +61,8 @@ function bootstrap() {
|
|||
* Replace the browser version check.
|
||||
*
|
||||
* @param bool|array $value Filtered value, or false to proceed.
|
||||
* @param array $args
|
||||
* @param string $url
|
||||
* @param array $args HTTP request arguments.
|
||||
* @param string $url The request URL.
|
||||
* @return bool|array Replaced value, or false to proceed.
|
||||
*/
|
||||
function replace_browser_version_check( $value, $args, $url ) {
|
||||
|
@ -139,7 +139,7 @@ function get_php_branches() {
|
|||
// Index data by branch.
|
||||
$indexed = [];
|
||||
foreach ( $data as $ver ) {
|
||||
if ( empty( $ver['branch' ] ) ) {
|
||||
if ( empty( $ver['branch'] ) ) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue