Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # For project K
- for i in {55..71}
- do
- git checkout composer.json
- php -d memory_limit=-1 ~/bin/composer req phpstan/phpstan-symfony "^0.12" phpstan/phpstan-doctrine "^0.12" phpstan/phpstan "0.12.$i"
- printf "\n\n## PHPStan 0.12.$i\n\n" >> bin/test-phpstan.md
- rm -rf /tmp/phpstan/
- vendor/bin/phpstan analyze src --debug -vvv --memory-limit=3G 2>&1 >/dev/null | grep "Used memory" >> bin/test-phpstan.md
- rm -rf /tmp/phpstan/
- { time vendor/bin/phpstan analyze src --memory-limit=3G ; } 2>&1 >/dev/null | egrep 'real|user|sys' >> bin/test-phpstan.md
- done
- # For project P
- for i in {55..71}
- do
- git checkout composer.json
- php -d memory_limit=-1 bin/composer.phar req phpstan/phpstan-symfony "^0.12" phpstan/phpstan "0.12.$i"
- printf "\n\n## PHPStan 0.12.$i\n\n" >> bin/test-phpstan.md
- rm -rf /tmp/phpstan/
- vendor/bin/phpstan analyze src --debug -vvv --memory-limit=3G 2>&1 >/dev/null | grep "Used memory" >> bin/test-phpstan.md
- rm -rf /tmp/phpstan/
- { time vendor/bin/phpstan analyze src --memory-limit=3G ; } 2>&1 >/dev/null | egrep 'real|user|sys' >> bin/test-phpstan.md
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement