mirror of
https://github.com/composer/composer
synced 2025-05-08 16:17:37 +00:00

* Add a CI check to ensure the autoloader can run on php5.6+ * Fix autoloading on PHP 5.6
9 lines
155 B
PHP
9 lines
155 B
PHP
<?php
|
|
|
|
include 'vendor/autoload.php';
|
|
|
|
Test\Foo::test();
|
|
|
|
if (Composer\InstalledVersions::isInstalled('root/pkg')) {
|
|
echo 'isInstalled: OK'.PHP_EOL;
|
|
}
|