-
Notifications
You must be signed in to change notification settings - Fork 667
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
19 changed files
with
21,407 additions
and
21,278 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
ARG VERSION | ||
FROM php:${VERSION} | ||
|
||
ADD https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/ | ||
|
||
RUN chmod +x /usr/local/bin/install-php-extensions && \ | ||
install-php-extensions pcntl uv-beta ffi pgsql intl gmp mbstring pdo_mysql xml dom iconv zip igbinary gd && \ | ||
rm /usr/local/bin/install-php-extensions | ||
|
||
ADD php.ini /usr/local/etc/php/php.ini |
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,25 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
$callmap = []; | ||
|
||
require __DIR__ . '/gen_callmap_utils.php'; | ||
|
||
foreach (get_defined_functions()['internal'] as $name) { | ||
$func = new ReflectionFunction($name); | ||
|
||
$args = paramsToEntries($func); | ||
|
||
$callmap[$name] = $args; | ||
} | ||
|
||
foreach (get_declared_classes() as $class) { | ||
foreach ((new ReflectionClass($class))->getMethods() as $method) { | ||
$args = paramsToEntries($method); | ||
|
||
$callmap[$class.'::'.$method->getName()] = $args; | ||
} | ||
} | ||
|
||
var_dump($callmap); |
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,15 @@ | ||
#!/bin/bash | ||
|
||
VERSIONS="7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4" | ||
|
||
cd bin | ||
|
||
for f in $VERSIONS; do | ||
docker build --build-arg VERSION=$f . -t psalm_test_$f & | ||
done | ||
|
||
wait | ||
|
||
for f in $VERSIONS; do | ||
|
||
done |
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
Oops, something went wrong.