This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <section class="card-form"> | |
| <div id="div-hosted-tokenization"></div> | |
| <button onclick="submitForm()" class="btn btn-teal">Opslaan</button> | |
| </section> | |
| <input type="hidden" id="tokenization-url" value="{{ hostedTokenizationUrl }}"> | |
| <script src="https://payment.preprod.direct.worldline-solutions.com/hostedtokenization/js/client/tokenizer.min.js"></script> | |
| <script> | |
| const hostedTokenizationUrl = document.querySelector('#tokenization-url').value; | |
| const tokenizer = new Tokenizer(hostedTokenizationUrl, 'div-hosted-tokenization', { | |
| hideCardholderName: false, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| public function testDoesNotAllowInsertingBadRRN() | |
| { | |
| $employeeRepo = Mockery::mock('\App\repositories\employees\Employees'); | |
| $webhookService = Mockery::mock('\App\services\webhooks\sendWebhook'); | |
| $pushnEmployeeData = Mockery::mock('\App\services\personal_data\pushEmployeeData'); | |
| $bankaccountvalidationService = Mockery::mock('\App\services\employees\data_validation\BankAccountValidation'); | |
| $employeeChangeDetection = Mockery::mock('\App\services\resellers\changeDetection\employeeChangeDetection'); | |
| $findExistingPersonService = Mockery::mock('\App\services\integrations\personal_data\conflicthandling\findExistingPersonService'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/php | |
| <?php | |
| // This is a base64 encoded string that contains the updated PHP-CS-Fixer config (with PSR12) | |
| $base64EncodedConfig = 'PD9waHAKCnVzZSBQaHBDc0ZpeGVyXENvbmZpZzsKdXNlIFBocENzRml4ZXJcRmluZGVyOwoKJGZpbmRlciA9IEZpbmRlcjo6Y3JlYXRlKCkKICAgIC0+aW4oX19ESVJfXy4nL3NlcnZlcicpCiAgICAtPmluKF9fRElSX18uJy90ZXN0cy9zZXJ2ZXInKQogICAgLT5uYW1lKCcqLnBocCcpCiAgICAtPmlnbm9yZURvdEZpbGVzKHRydWUpCiAgICAtPmlnbm9yZVZDUyh0cnVlKTsKCnJldHVybiAobmV3IENvbmZpZygpKQogICAgLT5zZXRSdWxlcyhbCiAgICAgICAgJ0BTeW1mb255JyA9PiB0cnVlLAogICAgICAgICd5b2RhX3N0eWxlJyA9PiBmYWxzZSwKICAgICAgICAnbm9fdW51c2VkX2ltcG9ydHMnID0+IHRydWUsCiAgICAgICAgJ2luY3JlbWVudF9zdHlsZScgPT4gWydzdHlsZScgPT4gJ3Bvc3QnXSwKICAgICAgICAnYXJyYXlfc3ludGF4JyA9PiBbJ3N5bnRheCcgPT4gJ3Nob3J0J10sCiAgICBdKQogICAgLT5zZXRGaW5kZXIoJGZpbmRlcik7Cg=='; | |
| // Decode the string | |
| $newConfig = base64_decode($base64EncodedConfig); | |
| // Update the PHP-CS-Fixer config in the project to PSR-12 |