winforms-php /
VoidStudio
| 1 | <?php |
||
| 2 | |||
| 3 | namespace VoidEngine; |
||
| 4 | |||
| 5 | # Объявление констант |
||
| 6 | const APP_DIR = __DIR__; |
||
| 7 | |||
| 8 | define ('VoidEngine\CORE_DIR', dirname (__DIR__) .'/qero-packages/winforms-php/VoidFramework/core');
|
||
| 9 | |||
| 10 | # Подгружаем PHP расширения |
||
| 11 | foreach (glob (CORE_DIR .'/ext/php_*.dll') as $ext) |
||
| 12 | if (!extension_loaded (substr (basename ($ext), 4, -4))) |
||
| 13 | load_extension ($ext); |
||
|
0 ignored issues
–
show
Bug
introduced
by
Loading history...
|
|||
| 14 | |||
| 15 | # Подгружаем Qero-пакеты |
||
| 16 | require __DIR__ .'/../qero-packages/autoload.php'; |
||
| 17 | |||
| 18 | chdir (APP_DIR); // Меняем стандартную директорию на директорию приложения |
||
| 19 | |||
| 20 | # Подгружаем скрипты VoidStudio |
||
| 21 | require 'VoidStudio API.php'; |
||
| 22 | require 'forms/main.php'; // Главная форма среды |
||
| 23 | require 'forms/editor.php'; // Редактор событий компонентов |
||
| 24 | require 'forms/modules.php'; // Менеджер модулей проекта |
||
| 25 | require 'forms/addPackage.php'; // Диалог добавления Qero-пакета в модули |
||
| 26 | require 'forms/viewPackage.php'; // Диалог обзора Qero-пакета |
||
| 27 | require 'forms/build.php'; // Билдер проектов |
||
| 28 | require 'forms/diagnostic.php'; // Средство диагностики |
||
| 29 | require 'forms/about.php'; // О программе |
||
| 30 | |||
| 31 | $APPLICATION->run (VoidStudioAPI::getObjects ('main')['MainForm']);
|
||
|
0 ignored issues
–
show
The type
VoidEngine\VoidStudioAPI was not found. Maybe you did not declare it correctly or list all dependencies?
The issue could also be caused by a filter entry in the build configuration.
If the path has been excluded in your configuration, e.g. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths Loading history...
|
|||
| 32 |