@@ -48,21 +48,21 @@ jobs:
48
48
echo opcache.protect_memory=1 >> /etc/php.d/opcache.ini
49
49
echo opcache.jit_buffer_size=1G >> /etc/php.d/opcache.ini
50
50
displayName: 'Install Build'
51
- - script : |
52
- git clone https://github.com/laravel/framework.git --branch=master --depth=1
53
- cd framework
54
- php7.3 /usr/bin/composer install --no-progress
55
- export USE_ZEND_ALLOC=0
56
- sed -i 's/$exit = true/$exit = false/g' vendor/phpunit/phpunit/src/TextUI/Command.php
57
- # Avoid test using exit(), which thus leaks.
58
- # We can use USE_TRACKED_ALLOC=1 if more of these show up.
59
- sed -i "s/function_exists('pcntl_fork')/false/" tests/Filesystem/FilesystemTest.php
60
- # Work around PHP 8 incompatibility in Doctrine
61
- sed -i 's/function query()/function query(...$args)/' vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php
62
- sed -i 's/function setFetchMode($fetchMode, $arg2 = null, $arg3 = null)/function setFetchMode($fetchMode, $arg2 = null, $arg3 = null, ...$args)/' vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php
63
- sed -i 's/public function getMessage();//' vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/DriverException.php
64
- php vendor/bin/phpunit
65
- displayName: 'Test Laravel'
51
+ # - script: |
52
+ # git clone https://github.com/laravel/framework.git --branch=master --depth=1
53
+ # cd framework
54
+ # php7.3 /usr/bin/composer install --no-progress
55
+ # export USE_ZEND_ALLOC=0
56
+ # sed -i 's/$exit = true/$exit = false/g' vendor/phpunit/phpunit/src/TextUI/Command.php
57
+ # # Avoid test using exit(), which thus leaks.
58
+ # # We can use USE_TRACKED_ALLOC=1 if more of these show up.
59
+ # sed -i "s/function_exists('pcntl_fork')/false/" tests/Filesystem/FilesystemTest.php
60
+ # # Work around PHP 8 incompatibility in Doctrine
61
+ # sed -i 's/function query()/function query(...$args)/' vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php
62
+ # sed -i 's/function setFetchMode($fetchMode, $arg2 = null, $arg3 = null)/function setFetchMode($fetchMode, $arg2 = null, $arg3 = null, ...$args)/' vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php
63
+ # sed -i 's/public function getMessage();//' vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/DriverException.php
64
+ # php vendor/bin/phpunit
65
+ # displayName: 'Test Laravel'
66
66
- script : |
67
67
git clone https://github.com/symfony/symfony.git --depth=1
68
68
cd symfony
0 commit comments