-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
107 changed files
with
582 additions
and
887 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,9 @@ | ||
/build | ||
/vendor | ||
/composer.lock | ||
/tools/ | ||
/vendor-bin/**/vendor/ | ||
/vendor-bin/**/composer.lock | ||
/phpunit.xml | ||
/infection.json | ||
.phpunit.result.cache |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<phive xmlns="https://phar.io/phive"> | ||
<phar name="infection" version="^0.27.9" installed="0.27.9" location="./tools/infection" copy="true"/> | ||
</phive> |
This file was deleted.
Oops, something went wrong.
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file was deleted.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,27 @@ | ||
FROM php:8.1-cli | ||
|
||
RUN apt-get update && apt-get install -y \ | ||
zip \ | ||
git \ | ||
libicu-dev && \ | ||
zip \ | ||
git \ | ||
wget \ | ||
gpg \ | ||
libicu-dev && \ | ||
pecl install -o -f xdebug && \ | ||
docker-php-ext-enable xdebug && \ | ||
docker-php-ext-configure intl --enable-intl && \ | ||
docker-php-ext-install intl && \ | ||
echo "xdebug.mode = develop,coverage,debug" >> "$PHP_INI_DIR/conf.d/docker-php-ext-xdebug.ini" | ||
|
||
ENV COMPOSER_ALLOW_SUPERUSER=1 | ||
ENV COMPOSER_ALLOW_SUPERUSER=1 \ | ||
COMPOSER_PROCESS_TIMEOUT=1200 | ||
|
||
RUN curl --silent --show-error https://getcomposer.org/installer | php -- \ | ||
--install-dir=/usr/bin --filename=composer | ||
--install-dir=/usr/bin --filename=composer && \ | ||
git config --global --add safe.directory "*" | ||
|
||
RUN wget -O phive.phar https://phar.io/releases/phive.phar && \ | ||
wget -O phive.phar.asc https://phar.io/releases/phive.phar.asc && \ | ||
gpg --keyserver hkps://keys.openpgp.org --recv-keys 0x9D8A98B29B2D5D79 && \ | ||
gpg --verify phive.phar.asc phive.phar && \ | ||
chmod +x phive.phar && \ | ||
mv phive.phar /usr/local/bin/phive |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,27 @@ | ||
FROM php:8.2-cli | ||
|
||
RUN apt-get update && apt-get install -y \ | ||
zip \ | ||
git \ | ||
libicu-dev && \ | ||
zip \ | ||
git \ | ||
wget \ | ||
gpg \ | ||
libicu-dev && \ | ||
pecl install -o -f xdebug && \ | ||
docker-php-ext-enable xdebug && \ | ||
docker-php-ext-configure intl --enable-intl && \ | ||
docker-php-ext-install intl && \ | ||
echo "xdebug.mode = develop,coverage,debug" >> "$PHP_INI_DIR/conf.d/docker-php-ext-xdebug.ini" | ||
|
||
ENV COMPOSER_ALLOW_SUPERUSER=1 | ||
ENV COMPOSER_ALLOW_SUPERUSER=1 \ | ||
COMPOSER_PROCESS_TIMEOUT=1200 | ||
|
||
RUN curl --silent --show-error https://getcomposer.org/installer | php -- \ | ||
--install-dir=/usr/bin --filename=composer | ||
--install-dir=/usr/bin --filename=composer && \ | ||
git config --global --add safe.directory "*" | ||
|
||
RUN wget -O phive.phar https://phar.io/releases/phive.phar && \ | ||
wget -O phive.phar.asc https://phar.io/releases/phive.phar.asc && \ | ||
gpg --keyserver hkps://keys.openpgp.org --recv-keys 0x9D8A98B29B2D5D79 && \ | ||
gpg --verify phive.phar.asc phive.phar && \ | ||
chmod +x phive.phar && \ | ||
mv phive.phar /usr/local/bin/phive |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
FROM php:8.3-cli | ||
|
||
RUN apt-get update && apt-get install -y \ | ||
zip \ | ||
git \ | ||
wget \ | ||
gpg \ | ||
libicu-dev && \ | ||
pecl install -o -f xdebug && \ | ||
docker-php-ext-enable xdebug && \ | ||
docker-php-ext-configure intl --enable-intl && \ | ||
docker-php-ext-install intl && \ | ||
echo "xdebug.mode = develop,coverage,debug" >> "$PHP_INI_DIR/conf.d/docker-php-ext-xdebug.ini" | ||
|
||
ENV COMPOSER_ALLOW_SUPERUSER=1 \ | ||
COMPOSER_PROCESS_TIMEOUT=1200 | ||
|
||
RUN curl --silent --show-error https://getcomposer.org/installer | php -- \ | ||
--install-dir=/usr/bin --filename=composer && \ | ||
git config --global --add safe.directory "*" | ||
|
||
RUN wget -O phive.phar https://phar.io/releases/phive.phar && \ | ||
wget -O phive.phar.asc https://phar.io/releases/phive.phar.asc && \ | ||
gpg --keyserver hkps://keys.openpgp.org --recv-keys 0x9D8A98B29B2D5D79 && \ | ||
gpg --verify phive.phar.asc phive.phar && \ | ||
chmod +x phive.phar && \ | ||
mv phive.phar /usr/local/bin/phive |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,34 @@ | ||
<?xml version="1.0" encoding="UTF-8" ?> | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<phpunit | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.5/phpunit.xsd" | ||
backupGlobals="true" | ||
forceCoversAnnotation="true" | ||
defaultTestSuite="all"> | ||
<testsuites> | ||
<testsuite name="all"> | ||
<directory>tests/</directory> | ||
<directory>examples/Brainfuck/tests/</directory> | ||
<directory>examples/SimpleExpr/tests/</directory> | ||
</testsuite> | ||
<testsuite name="examples"> | ||
<directory>examples/Brainfuck/tests/</directory> | ||
<directory>examples/SimpleExpr/tests/</directory> | ||
</testsuite> | ||
<testsuite name="library"> | ||
<directory>tests/</directory> | ||
</testsuite> | ||
</testsuites> | ||
<coverage processUncoveredFiles="true"> | ||
<include> | ||
<directory suffix=".php">src/</directory> | ||
<directory suffix=".php">examples/Brainfuck/src/</directory> | ||
<directory suffix=".php">examples/SimpleExpr/src/</directory> | ||
</include> | ||
<exclude> | ||
<file>src/RegExp/PropertyIndex.php</file> | ||
<directory>src/RegExp/Properties/</directory> | ||
</exclude> | ||
</coverage> | ||
</phpunit> | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.1/phpunit.xsd" | ||
backupGlobals="true" | ||
defaultTestSuite="all" | ||
cacheDirectory="build/.phpunit.cache" | ||
requireCoverageMetadata="true"> | ||
<testsuites> | ||
<testsuite name="all"> | ||
<directory>tests/</directory> | ||
<directory>examples/Brainfuck/tests/</directory> | ||
<directory>examples/SimpleExpr/tests/</directory> | ||
</testsuite> | ||
<testsuite name="examples"> | ||
<directory>examples/Brainfuck/tests/</directory> | ||
<directory>examples/SimpleExpr/tests/</directory> | ||
</testsuite> | ||
<testsuite name="library"> | ||
<directory>tests/</directory> | ||
</testsuite> | ||
</testsuites> | ||
<source> | ||
<include> | ||
<directory>src/</directory> | ||
<directory>examples/Brainfuck/src/</directory> | ||
<directory>examples/SimpleExpr/src/</directory> | ||
</include> | ||
<exclude> | ||
<file>src/RegExp/PropertyIndex.php</file> | ||
<directory>src/RegExp/Properties/</directory> | ||
</exclude> | ||
</source> | ||
</phpunit> |
Oops, something went wrong.