Skip to content

Commit

Permalink
Merge pull request #78 from buckaroo-it/BP-2060-prestashop-plugin-imp…
Browse files Browse the repository at this point in the history
…rovments-update

Bp 2060 prestashop plugin improvments update
  • Loading branch information
vegimcarkaxhija authored Oct 30, 2023
2 parents b2a1965 + b7d4584 commit cbe357a
Show file tree
Hide file tree
Showing 1,610 changed files with 333,021 additions and 12,467 deletions.
25 changes: 25 additions & 0 deletions .github/index.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<?php
/**
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* It is available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade this file
*
* @author Buckaroo.nl <plugins@buckaroo.nl>
* @copyright Copyright (c) Buckaroo B.V.
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
*/
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');

header('Cache-Control: no-store, no-cache, must-revalidate');
header('Cache-Control: post-check=0, pre-check=0', false);
header('Pragma: no-cache');

header('Location: ../');
exit;
25 changes: 25 additions & 0 deletions .github/workflows/index.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<?php
/**
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* It is available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade this file
*
* @author Buckaroo.nl <plugins@buckaroo.nl>
* @copyright Copyright (c) Buckaroo B.V.
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
*/
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');

header('Cache-Control: no-store, no-cache, must-revalidate');
header('Cache-Control: post-check=0, pre-check=0', false);
header('Pragma: no-cache');

header('Location: ../');
exit;
21 changes: 21 additions & 0 deletions .github/workflows/sonarqube.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
on:
push:
branches:
- master
- develop
- 'releases/**'
pull_request:
types: [opened, synchronize, reopened]
name: SonarQube PR Analysis
jobs:
sonarqube:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: SonarQube Scan
uses: sonarsource/sonarqube-scan-action@master
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
9 changes: 7 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
certificate/BuckarooPrivateKey.pem
/api/log
/api/log
composer.lock
.php-cs-fixer.cache
var
tools
dev/node_modules
.idea
48 changes: 48 additions & 0 deletions .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
<?php

ini_set('memory_limit','256M');

$finder = PhpCsFixer\Finder::create()->in([
__DIR__,
])->notPath([
'vendor',
'dev'
]);

return (new PhpCsFixer\Config())
->setRiskyAllowed(true)
->setRules([
'@Symfony' => true,
'array_indentation' => true,
'cast_spaces' => [
'space' => 'single',
],
'combine_consecutive_issets' => true,
'concat_space' => [
'spacing' => 'one',
],
'error_suppression' => [
'mute_deprecation_error' => false,
'noise_remaining_usages' => false,
'noise_remaining_usages_exclude' => [],
],
'function_to_constant' => false,
'method_chaining_indentation' => true,
'no_alias_functions' => false,
'no_superfluous_phpdoc_tags' => false,
'non_printable_character' => [
'use_escape_sequences_in_strings' => true,
],
'phpdoc_summary' => false,
'protected_to_private' => false,
'psr_autoloading' => false,
'self_accessor' => false,
'yoda_style' => false,
'single_line_throw' => false,
'no_alias_language_construct_call' => false,
'phpdoc_align' => [
'align' => 'vertical',
],
])
->setFinder($finder)
->setCacheFile(__DIR__.'/var/.php_cs.cache');
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ The Buckaroo PrestaShop Payments Plugin ([Dutch](https://support.buckaroo.nl/cat

To use the Buckaroo plugin, please be aware of the following minimum requirements:
- A Buckaroo account ([Dutch](https://www.buckaroo.nl/start) or [English](https://www.buckaroo.eu/solutions/request-form))
- PrestaShop 1.7.x or higher
- PrestaShop 1.7.x or 8.1.2
- PHP 7.4 or higher

### Installation
Expand Down
166 changes: 0 additions & 166 deletions api/SoapClientWSSEC.php

This file was deleted.

Loading

0 comments on commit cbe357a

Please sign in to comment.