We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb0c983 commit 2c5d484Copy full SHA for 2c5d484
.github/workflows/ci-ext.sh
@@ -24,3 +24,10 @@ pecl package /app/package.xml
24
MAKE="make -j$(nproc)" pecl install tensor-*.tgz
25
docker-php-ext-enable tensor
26
php --ri tensor
27
+
28
+# Let's check that PHP doesn't output any warning
29
+TENSOR_PHP_OUTPUT="$(php -r ';' 2>&1)"
30
+if [ -n "$TENSOR_PHP_OUTPUT" ]; then
31
+ printf 'PHP displayed these warnings at startup:\n%s\n' "$TENSOR_PHP_OUTPUT" >&2
32
+ exit 1
33
+fi
0 commit comments