mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-02-02 15:51:48 +03:00
6d995a6e03
* Add php 8 support * Ignore platform reqs * Change php constraint * Use vendor/bin/simple-phpunit directly * Remove willdurand/hateoas-bundle when testing php8 * Merge 3.x * Move to github actions * Fix the tests * Change ./phpunit permissions * Update deprecations policy
9 lines
399 B
PHP
Executable File
9 lines
399 B
PHP
Executable File
#!/usr/bin/env php
|
|
<?php
|
|
if (!file_exists(__DIR__.'/vendor/symfony/phpunit-bridge/bin/simple-phpunit')) {
|
|
echo "Unable to find the `simple-phpunit` script in `vendor/symfony/phpunit-bridge/bin/`.\nPlease run `composer update` before running this command.\n";
|
|
exit(1);
|
|
}
|
|
putenv('SYMFONY_PHPUNIT_DIR='.__DIR__.'/.phpunit');
|
|
require __DIR__.'/vendor/symfony/phpunit-bridge/bin/simple-phpunit';
|