DesarrollosWeb/documentofacil

View on GitHub
gestoria/constants.php

Summary

Maintainability
A
0 mins
Test Coverage

Showing 6 of 6 total issues

Argument 2 (newvalue) is 1 but \ini_set() takes string
Open

ini_set("display_errors", 1);
Severity: Minor
Found in gestoria/constants.php by phan

A file should declare new symbols (classes, functions, constants, etc.) and cause no other side effects, or it should execute logic with side effects, but should not do both. The first symbol is defined on line 15 and the first side effect is on line 2.
Open

<?php
Severity: Minor
Found in gestoria/constants.php by phpcodesniffer

Blank line found at end of control structure
Open

 
 
Severity: Minor
Found in gestoria/constants.php by phpcodesniffer

Expected 1 blank line at end of file; 3 found
Open

const ONEDRIVE_CLIENT_SECRET = "-00V_Lqk1QT1Vv_wUf6ol6rbQeT_Upm8y8";
Severity: Minor
Found in gestoria/constants.php by phpcodesniffer

Line exceeds 120 characters; contains 136 characters
Open

const STRIPE_API_SECRET = "sk_test_51HV3x0AlxX0d4JWf3VRedxULp5mk4CTK9wIRTPls75mWXXhWv2gslmFArxxXzSnut8fTInguT8rZ8JgoF55oxGLj00rhbbYOTc";
Severity: Minor
Found in gestoria/constants.php by phpcodesniffer

Line exceeds 120 characters; contains 129 characters
Open

const STRIPE_API = "pk_test_51HV3x0AlxX0d4JWfw8wkiQCUhaHfSOlq99joORY4akPa2UV7lnAfKboDD6vMhevdMx1YyajljMxG3sdWmOUgWHVo00I6dmlj7c";
Severity: Minor
Found in gestoria/constants.php by phpcodesniffer
Category
Status