Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Line 33: missing space after comma
- $allowed_namespace = array('AsposeApp','Product','Folder','Converter','Utils','Extractor');
- Line 36: Control statements should have one space between the control keyword and opening parenthesis
- if( in_array( $arr['3'] , $allowed_namespace)){
- Line 36: use a space between the closing parenthesis and the open bracket
- if( in_array( $arr['3'] , $allowed_namespace)){
- Line 37: String concatenation should be formatted with a space separating the operators (dot .) and the surrounding terms
- include 'Aspose_Cloud_SDK_For_PHP-master/src/'. $arr[0] . '/' . $arr[1] . '/' .$arr[2] . '/' . $arr[3] . '.php';
- Line 47: curly braces { should end a line, not start one
- {
- Line 103: Control statements should have one space between the control keyword and opening parenthesis
- if(empty(AsposeApp::$appSID) || empty(AsposeApp::$appKey)) {
- Line 105: Use uppercase for PHP constants, e.g. NULL, TRUE, FALSE
- $jsonArray['success'] = false;
- Line 122: Control statements should have one space between the control keyword and opening parenthesis
- if(isset($_POST['existing_file']) && !empty($_POST['existing_file'])) {
- Line 128: Use uppercase for PHP consLine 33: missing space after comma
- $allowed_namespace = array('AsposeApp','Product','Folder','Converter','Utils','Extractor');
- Line 36: Control statements should have one space between the control keyword and opening parenthesis
- if( in_array( $arr['3'] , $allowed_namespace)){
- Line 36: use a space between the closing parenthesis and the open bracket
- if( in_array( $arr['3'] , $allowed_namespace)){
- Line 37: String concatenation should be formatted with a space separating the operators (dot .) and the surrounding terms
- include 'Aspose_Cloud_SDK_For_PHP-master/src/'. $arr[0] . '/' . $arr[1] . '/' .$arr[2] . '/' . $arr[3] . '.php';
- Line 47: curly braces { should end a line, not start one
- {
- Line 103: Control statements should have one space between the control keyword and opening parenthesis
- if(empty(AsposeApp::$appSID) || empty(AsposeApp::$appKey)) {
- Line 105: Use uppercase for PHP constants, e.g. NULL, TRUE, FALSE
- $jsonArray['success'] = false;
- Line 122: Control statements should have one space between the control keyword and opening parenthesis
- if(isset($_POST['existing_file']) && !empty($_POST['existing_file'])) {
- Line 128: Use uppercase for PHP constants, e.g. NULL, TRUE, FALSE
- $jsonArray['success'] = true;
- Line 133: else statements should begin on a new line
- } else if (!empty($_FILES)) { // In case a new file is uploaded
- Line 133: Use "elseif" in place of "else if"
- } else if (!empty($_FILES)) { // In case a new file is uploaded
- Line 136: String concatenation should be formatted with a space separating the operators (dot .) and the surrounding terms
- $targetFile = rtrim($targetPath,'/') . '/' . time() . '_TT_' . $_FILES['filePath']['name'];
- Line 136: missing space after comma
- $targetFile = rtrim($targetPath,'/') . '/' . time() . '_TT_' . $_FILES['filePath']['name'];
- Line 139: missing space after comma
- $fileTypes = array('doc','docx'); // File extensions
- Line 146: missing space after comma
- $uploadpath = str_replace('/','\\',$uploadpath);
- Line 151: Control statements should have one space between the control keyword and opening parenthesis
- if(!isset($_REQUEST['aspose'])) {
- Line 153: missing space after comma
- $uploadpath = str_replace("\\","/", $uploadpath);
- Line 157: Use an indent of 2 spaces, with no tabs
- Line 158: Use an indent of 2 spaces, with no tabs
- $targetFileDetails = pathinfo($targetFile);
- Line 159: Use an indent of 2 spaces, with no tabs
- Line 166: Use uppercase for PHP constants, e.g. NULL, TRUE, FALSE
- $jsonArray['success'] = true;
- Line 171: else statements should begin on a new line
- } else {
- Line 172: Use uppercase for PHP constants, e.g. NULL, TRUE, FALSE
- $jsonArray['success'] = false;
- Line 185: Functions should be called with no spaces between the function name and opening parentheses
- function aspose_doc_importer_menu () {
- Line 244: use a space between the closing parenthesis and the open bracket
- function _aspose_doc_importer_form_submit_special_fuction_name($form, &$form_state){
- Line 308: Control statements should have one space between the control keyword and opening parenthesis
- if(empty(AsposeApp::$appSID) || empty(AsposeApp::$appKey)) {
- Line 318: Control statements should have one space between the control keyword and opening parenthesis
- if(isset($_REQUEST['aspose_folder']) && !empty($_REQUEST['aspose_folder'])) {
- Line 320: else statements should begin on a new line
- } else {
- Line 339: Control statements should have one space between the control keyword and opening parenthesis
- if(is_array($files)) {
- Line 340: Control statements should have one space between the control keyword and opening parenthesis
- foreach($files as $file){
- Line 340: use a space between the closing parenthesis and the open bracket
- foreach($files as $file){
- Line 341: Control statements should have one space between the control keyword and opening parenthesis
- if($file->IsFolder == '1'){
- Line 341: use a space between the closing parenthesis and the open bracket
- if($file->IsFolder == '1'){
- Line 342: missing space after comma
- array_push($asposeFolders,$file->Name);
- Line 343: String concatenation should be formatted with a space separating the operators (dot .) and the surrounding terms
- $options .= '<option value="'.$file->Name.'">'.$file->Name.'</option>';
- Line 344: else statements should begin on a new line
- } else {
- Line 345: missing space after comma
- array_push($asposeFiles,$file->Name);
- Line 346: Control statements should have one space between the control keyword and opening parenthesis
- if($aspose_folder !=''){
- Line 346: use a space between the closing parenthesis and the open bracket
- if($aspose_folder !=''){
- Line 351: String concatenation should be formatted with a space separating the operators (dot .) and the surrounding terms
- <td> <input type="radio" name="aspose_filename" value="'.$aspose_folder . $file->Name.'" /> </td>
- Line 352: String concatenation should be formatted with a space separating the operators (dot .) and the surrounding terms
- <td> '.$file->Name.' </td>
- Line 358: Control statements should have one space between the control keyword and opening parenthesis
- if(is_array($asposeFolders) && count($asposeFolders) > 0) {
- Line 362: else statements should begin on a new line
- } else {
- Line 366: Control statements should have one space between the control keyword and opening parenthesis
- if(count($asposeFiles) < 1){
- Line 366: use a space between the closing parenthesis and the open bracket
- if(count($asposeFiles) < 1){
- Line 375: String concatenation should be formatted with a space separating the operators (dot .) and the surrounding terms
- <td>'.$select_aspose_folder.'</td>
- Line 380: String concatenation should be formatted with a space separating the operators (dot .) and the surrounding terms
- '.$aspose_files_rows.'tants, e.g. NULL, TRUE, FALSE
- $jsonArray['success'] = true;
- Line 133: else statements should begin on a new line
- } else if (!empty($_FILES)) { // In case a new file is uploaded
- Line 133: Use "elseif" in place of "else if"
- } else if (!empty($_FILES)) { // In case a new file is uploaded
- Line 136: String concatenation should be formatted with a space separating the operators (dot .) and the surrounding terms
- $targetFile = rtrim($targetPath,'/') . '/' . time() . '_TT_' . $_FILES['filePath']['name'];
- Line 136: missing space after comma
- $targetFile = rtrim($targetPath,'/') . '/' . time() . '_TT_' . $_FILES['filePath']['name'];
- Line 139: missing space after comma
- $fileTypes = array('doc','docx'); // File extensions
- Line 146: missing space after comma
- $uploadpath = str_replace('/','\\',$uploadpath);
- Line 151: Control statements should have one space between the control keyword and opening parenthesis
- if(!isset($_REQUEST['aspose'])) {
- Line 153: missing space after comma
- $uploadpath = str_replace("\\","/", $uploadpath);
- Line 157: Use an indent of 2 spaces, with no tabs
- Line 158: Use an indent of 2 spaces, with no tabs
- $targetFileDetails = pathinfo($targetFile);
- Line 159: Use an indent of 2 spaces, with no tabs
- Line 166: Use uppercase for PHP constants, e.g. NULL, TRUE, FALSE
- $jsonArray['success'] = true;
- Line 171: else statements should begin on a new line
- } else {
- Line 172: Use uppercase for PHP constants, e.g. NULL, TRUE, FALSE
- $jsonArray['success'] = false;
- Line 185: Functions should be called with no spaces between the function name and opening parentheses
- function aspose_doc_importer_menu () {
- Line 244: use a space between the closing parenthesis and the open bracket
- function _aspose_doc_importer_form_submit_special_fuction_name($form, &$form_state){
- Line 308: Control statements should have one space between the control keyword and opening parenthesis
- if(empty(AsposeApp::$appSID) || empty(AsposeApp::$appKey)) {
- Line 318: Control statements should have one space between the control keyword and opening parenthesis
- if(isset($_REQUEST['aspose_folder']) && !empty($_REQUEST['aspose_folder'])) {
- Line 320: else statements should begin on a new line
- } else {
- Line 339: Control statements should have one space between the control keyword and opening parenthesis
- if(is_array($files)) {
- Line 340: Control statements should have one space between the control keyword and opening parenthesis
- foreach($files as $file){
- Line 340: use a space between the closing parenthesis and the open bracket
- foreach($files as $file){
- Line 341: Control statements should have one space between the control keyword and opening parenthesis
- if($file->IsFolder == '1'){
- Line 341: use a space between the closing parenthesis and the open bracket
- if($file->IsFolder == '1'){
- Line 342: missing space after comma
- array_push($asposeFolders,$file->Name);
- Line 343: String concatenation should be formatted with a space separating the operators (dot .) and the surrounding terms
- $options .= '<option value="'.$file->Name.'">'.$file->Name.'</option>';
- Line 344: else statements should begin on a new line
- } else {
- Line 345: missing space after comma
- array_push($asposeFiles,$file->Name);
- Line 346: Control statements should have one space between the control keyword and opening parenthesis
- if($aspose_folder !=''){
- Line 346: use a space between the closing parenthesis and the open bracket
- if($aspose_folder !=''){
- Line 351: String concatenation should be formatted with a space separating the operators (dot .) and the surrounding terms
- <td> <input type="radio" name="aspose_filename" value="'.$aspose_folder . $file->Name.'" /> </td>
- Line 352: String concatenation should be formatted with a space separating the operators (dot .) and the surrounding terms
- <td> '.$file->Name.' </td>
- Line 358: Control statements should have one space between the control keyword and opening parenthesis
- if(is_array($asposeFolders) && count($asposeFolders) > 0) {
- Line 362: else statements should begin on a new line
- } else {
- Line 33: missing space after comma
- $allowed_namespace = array('AsposeApp','Product','Folder','Converter','Utils','Extractor');
- Line 36: Control statements should have one space between the control keyword and opening parenthesis
- if( in_array( $arr['3'] , $allowed_namespace)){
- Line 36: use a space between the closing parenthesis and the open bracket
- if( in_array( $arr['3'] , $allowed_namespace)){
- Line 37: String concatenation should be formatted with a space separating the operators (dot .) and the surrounding terms
- include 'Aspose_Cloud_SDK_For_PHP-master/src/'. $arr[0] . '/' . $arr[1] . '/' .$arr[2] . '/' . $arr[3] . '.php';
- Line 47: curly braces { should end a line, not start one
- {
- Line 103: Control statements should have one space between the control keyword and opening parenthesis
- if(empty(AsposeApp::$appSID) || empty(AsposeApp::$appKey)) {
- Line 105: Use uppercase for PHP constants, e.g. NULL, TRUE, FALSE
- $jsonArray['success'] = false;
- Line 122: Control statements should have one space between the control keyword and opening parenthesis
- if(isset($_POST['existing_file']) && !empty($_POST['existing_file'])) {
- Line 128: Use uppercase for PHP constants, e.g. NULL, TRUE, FALSE
- $jsonArray['success'] = true;
- Line 133: else statements should begin on a new line
- } else if (!empty($_FILES)) { // In case a new file is uploaded
- Line 133: Use "elseif" in place of "else if"
- } else if (!empty($_FILES)) { // In case a new file is uploaded
- Line 136: String concatenation should be formatted with a space separating the operators (dot .) and the surrounding terms
- $targetFile = rtrim($targetPath,'/') . '/' . time() . '_TT_' . $_FILES['filePath']['name'];
- Line 136: missing space after comma
- $targetFile = rtrim($targetPath,'/') . '/' . time() . '_TT_' . $_FILES['filePath']['name'];
- Line 139: missing space after comma
- $fileTypes = array('doc','docx'); // File extensions
- Line 146: missing space after comma
- $uploadpath = str_replace('/','\\',$uploadpath);
- Line 151: Control statements should have one space between the control keyword and opening parenthesis
- if(!isset($_REQUEST['aspose'])) {
- Line 153: missing space after comma
- $uploadpath = str_replace("\\","/", $uploadpath);
- Line 157: Use an indent of 2 spaces, with no tabs
- Line 158: Use an indent of 2 spaces, with no tabs
- $targetFileDetails = pathinfo($targetFile);
- Line 159: Use an indent of 2 spaces, with no tabs
- Line 166: Use uppercase for PHP constants, e.g. NULL, TRUE, FALSE
- $jsonArray['success'] = true;
- Line 171: else statements should begin on a new line
- } else {
- Line 172: Use uppercase for PHP constants, e.g. NULL, TRUE, FALSE
- $jsonArray['success'] = false;
- Line 185: Functions should be called with no spaces between the function name and opening parentheses
- function aspose_doc_importer_menu () {
- Line 244: use a space between the closing parenthesis and the open bracket
- function _aspose_doc_importer_form_submit_special_fuction_name($form, &$form_state){
- Line 308: Control statements should have one space between the control keyword and opening parenthesis
- if(empty(AsposeApp::$appSID) || empty(AsposeApp::$appKey)) {
- Line 318: Control statements should have one space between the control keyword and opening parenthesis
- if(isset($_REQUEST['aspose_folder']) && !empty($_REQUEST['aspose_folder'])) {
- Line 320: else statements should begin on a new line
- } else {
- Line 339: Control statements should have one space between the control keyword and opening parenthesis
- if(is_array($files)) {
- Line 340: Control statements should have one space between the control keyword and opening parenthesis
- foreach($files as $file){
- Line 340: use a space between the closing parenthesis and the open bracket
- foreach($files as $file){
- Line 341: Control statements should have one space between the control keyword and opening parenthesis
- if($file->IsFolder == '1'){
- Line 341: use a space between the closing parenthesis and the open bracket
- if($file->IsFolder == '1'){
- Line 342: missing space after comma
- array_push($asposeFolders,$file->Name);
- Line 343: String concatenation should be formatted with a space separating the operators (dot .) and the surrounding terms
- $options .= '<option value="'.$file->Name.'">'.$file->Name.'</option>';
- Line 344: else statements should begin on a new line
- } else {
- Line 345: missing space after comma
- array_push($asposeFiles,$file->Name);
- Line 346: Control statements should have one space between the control keyword and opening parenthesis
- if($aspose_folder !=''){
- Line 346: use a space between the closing parenthesis and the open bracket
- if($aspose_folder !=''){
- Line 351: String concatenation should be formatted with a space separating the operators (dot .) and the surrounding terms
- <td> <input type="radio" name="aspose_filename" value="'.$aspose_folder . $file->Name.'" /> </td>
- Line 352: String concatenation should be formatted with a space separating the operators (dot .) and the surrounding terms
- <td> '.$file->Name.' </td>
- Line 358: Control statements should have one space between the control keyword and opening parenthesis
- if(is_array($asposeFolders) && count($asposeFolders) > 0) {
- Line 362: else statements should begin on a new line
- } else {
- Line 366: Control statements should have one space between the control keyword and opening parenthesis
- if(count($asposeFiles) < 1){
- Line 366: use a space between the closing parenthesis and the open bracket
- if(count($asposeFiles) < 1){
- Line 375: String concatenation should be formatted with a space separating the operators (dot .) and the surrounding terms
- <td>'.$select_aspose_folder.'</td>
- Line 380: String concatenation should be formatted with a space separating the operators (dot .) and the surrounding terms
- '.$aspose_files_rows.'
- Line 366: Control statements should have one space between the control keyword and opening parenthesis
- if(count($asposeFiles) < 1){
- Line 366: use a space between the closing parenthesis and the open bracket
- if(count($asposeFiles) < 1){
- Line 375: String concatenation should be formatted with a space separating the operators (dot .) and the surrounding terms
- <td>'.$select_aspose_folder.'</td>
- Line 380: String concatenation should be formatted with a space separating the operators (dot .) and the surrounding terms
- '.$aspose_files_rows.'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement