File tree Expand file tree Collapse file tree 3 files changed +11
-10
lines changed Expand file tree Collapse file tree 3 files changed +11
-10
lines changed Original file line number Diff line number Diff line change 1010
1111[ ![ Integrity check] ( https://github.com/mathematicator-core/engine/workflows/Integrity%20check/badge.svg )] ( https://github.com/mathematicator-core/engine/actions?query=workflow%3A%22Integrity+check%22 )
1212[ ![ codecov] ( https://codecov.io/gh/mathematicator-core/engine/branch/master/graph/badge.svg )] ( https://codecov.io/gh/mathematicator-core/engine )
13- [ ![ Latest stable version] ( https://poser.pugx.org/mathematicator-core/engine/v/stable )] ( https://packagist.org/packages/mathematicator-core/engine )
13+ [ ![ Latest Stable Version] ( https://poser.pugx.org/mathematicator-core/engine/v/stable )] ( https://packagist.org/packages/mathematicator-core/engine )
14+ [ ![ Latest Unstable Version] ( https://poser.pugx.org/mathematicator-core/engine/v/unstable )] ( https://packagist.org/packages/mathematicator-core/engine )
1415[ ![ License: MIT] ( https://img.shields.io/badge/License-MIT-brightgreen.svg )] ( ./LICENSE )
1516[ ![ PHPStan Enabled] ( https://img.shields.io/badge/PHPStan-enabled%20L8-brightgreen.svg?style=flat )] ( https://phpstan.org/ )
1617
Original file line number Diff line number Diff line change 1818 "require" : {
1919 "php" : " >=7.2" ,
2020 "contributte/psr11-container-interface" : " ^0.4.1" ,
21- "mathematicator-core/numbers" : " ^2.1 @dev" ,
22- "mathematicator-core/tokenizer" : " ^2.1 @dev" ,
21+ "mathematicator-core/numbers" : " ^2.2 @dev" ,
22+ "mathematicator-core/tokenizer" : " ^2.2 @dev" ,
2323 "nette/di" : " ^3.0" ,
2424 "nette/utils" : " ^3.0" ,
2525 "symfony/yaml" : " ^5.0" ,
7777 },
7878 "extra" : {
7979 "branch-alias" : {
80- "dev-master" : " 2.1 .x-dev"
80+ "dev-master" : " 2.2 .x-dev"
8181 },
8282 "hooks" : {
8383 "post-merge" : " composer install" ,
Original file line number Diff line number Diff line change 55namespace Mathematicator \Engine \Tests ;
66
77
8- require __DIR__ . '/../vendor/autoload.php ' ;
9-
10-
118use Mathematicator \Engine \Translation \TranslatorHelper ;
129use Nette \Configurator ;
1310use Nette \DI \Container ;
1411use Tester \Environment ;
1512
16- Environment::setup ();
13+ if (\is_file ($ autoload = __DIR__ . '/../vendor/autoload.php ' )) {
14+ require_once $ autoload ;
15+ Environment::setup ();
16+ }
1717
1818class Bootstrap
1919{
@@ -29,8 +29,8 @@ public static function boot(): Container
2929 ->register ();
3030
3131 $ configurator
32- ->addConfig (__DIR__ . '/../common.neon ' )
33- ->addConfig (__DIR__ . '/../vendor/mathematicator-core/tokenizer/ common.neon ' );
32+ ->addConfig (__DIR__ . '/../vendor/mathematicator-core/tokenizer/ common.neon ' )
33+ ->addConfig (__DIR__ . '/../common.neon ' );
3434
3535 $ container = $ configurator ->createContainer ();
3636
You can’t perform that action at this time.
0 commit comments