brainfoolong
Repos
34
Followers
54
Following
2

CryptoJS 3.x AES encryption/decryption on client side with Javascript and on server side with PHP

343
152

Better Battlelog legacy code and legacy website. It was fun :)

36
14

A zero dependency, cross browser library to easily get or set/manipulate form input values as/from a json object.

46
7

Optimized fuzzy omnibox history search for chrome - Like firefox quick history search

12
5

Events

working on the docs

Created at 9 hours ago

updated logo added forceOpened parameter to sidebar

working on the docs

Created at 1 day ago

working on docs removed unnecessary install steps for builds

Created at 2 days ago
Setting custom PHP Path, especially used for process-isolation in PhpUnit

I run PHPUnit 10 unit tests with process-isolation. I have a custom PHP script ona custom path (which enables xdebug and run as different user by passing it through various su commands). I can start the tests with this custom binary, but all subsquent tests fail, because PhpUnit runs each test isolated, but with the default binary path, which do not have the required parameter and preparations properly set.

I need to define a PHP binary path in PhpUnit which will be used by PhpUnit, instead of the default from the OS.

I have found a way locally, with introducing a constant PHPUNIT_PHP_BINARY_PATH and adding the following code before the line in https://github.com/sebastianbergmann/environment/blob/6b148eed05f3c7a66923242a333b19653323368a/src/Runtime.php#L92

        if (defined('PHPUNIT_PHP_BINARY_PATH')) {
            self::$binary      = escapeshellarg(PHPUNIT_PHP_BINARY_PATH);
            self::$initialized = true;

            return self::$binary;
        }

Maybe this would be better to utilize with a cmdline parameter to make sure it's set before any code is executed.

I would really appriciate this customization for more flexible way to interact with process isolation.

Created at 2 days ago
Setting custom PHP Path, especially used for process-isolation in PhpUnit

Ok. Thanks for that fast answer.

Created at 2 days ago
Setting custom PHP Path, especially used for process-isolation in PhpUnit

I run PHPUnit 10 unit tests with process-isolation. I have a custom PHP script ona custom path (which enables xdebug and run as different user by passing it through various su commands). I can start the tests with this custom binary, but all subsquent tests fail, because PhpUnit runs each test isolated, but with the default binary path, which do not have the required parameter and preparations properly set.

I need to define a PHP binary path in PhpUnit which will be used by PhpUnit, instead of the default from the OS.

I have found a way locally, with introducing a constant PHPUNIT_PHP_BINARY_PATH and adding the following code before the line in https://github.com/sebastianbergmann/environment/blob/6b148eed05f3c7a66923242a333b19653323368a/src/Runtime.php#L92

        if (defined('PHPUNIT_PHP_BINARY_PATH')) {
            self::$binary      = escapeshellarg(PHPUNIT_PHP_BINARY_PATH);
            self::$initialized = true;

            return self::$binary;
        }

Maybe this would be better to utilize with a cmdline parameter to make sure it's set before any code is executed.

I would really appriciate this customization for more flexible way to interact with process isolation.

Created at 2 days ago

fixes for prod build

Created at 3 days ago
create tag
brainfoolong create tag 4.0.0-alpha.1
Created at 3 days ago

updates for 4.0.0-alpha.1

Created at 3 days ago

updated readme

added right sidebar for docs

Created at 3 days ago
delete tag
brainfoolong delete tag test
Created at 3 days ago

include FramelixDocs into build removed unused script parameters

Created at 3 days ago
create tag
brainfoolong create tag test
Created at 3 days ago

added docs and starter module fixed and optimized a lot in build, test and deploy process removed unused stuff from core

Created at 3 days ago

fixed cache path

Created at 4 days ago

optimized build process for dev image

Created at 4 days ago

fixed hardcoded image name

Created at 4 days ago

fixed hardcoded image name

Created at 4 days ago

streamlined build process streamlined test process reimplemented docker push added dev image to docker hub use dev image in github tests

Created at 4 days ago
delete tag
brainfoolong delete tag test
Created at 5 days ago
create tag
brainfoolong create tag test
Created at 5 days ago

fixed expires headers when cachable files are served via php backend

Created at 5 days ago
delete tag
brainfoolong delete tag test
Created at 6 days ago

fixed playwright test message

Created at 6 days ago

fixed phpunit tests because of wrong permissions for files

fixed phpunit tests because of wrong permissions for files

Created at 6 days ago

fixed phpunit tests because of wrong permissions for files

Created at 6 days ago

fixed phpunit tests because of wrong permissions for files

Created at 6 days ago

changed test order to fix issues with failed phpunit tests because of no setup

Created at 6 days ago

fixed missing /run/php folder stop container if php-fpm couldn't be started

Created at 6 days ago

initial

improved build process for more speed

Created at 1 week ago