original_string: public static function minimal(string $filePath = null)
      {
          if (is_file($filePath)) {
              /** @noinspection PhpIncludeInspection */
              $configItems = require_once $filePath;
  
              !is_array($configItems) || Config::items($configItems);
  
              ini_set('error_reporting',
                  Config::exists('errors.error_reporting', 0));
              ini_set('display_errors',
                  Config::exists('errors.display_errors', 0));
  
              Event::dispatch('minimal.loaded.minimal', [
                  $filePath,
                  is_array($configItems) ? $configItems : []
              ]);
          }
      }
code: public static function minimal(string $filePath = null)
      {
          if (is_file($filePath)) {
              /** @noinspection PhpIncludeInspection */
              $configItems = require_once $filePath;
  
              !is_array($configItems) || Config::items($configItems);
  
              ini_set('error_reporting',
                  Config::exists('errors.error_reporting', 0));
              ini_set('display_errors',
                  Config::exists('errors.display_errors', 0));
  
              Event::dispatch('minimal.loaded.minimal', [
                  $filePath,
                  is_array($configItems) ? $configItems : []
              ]);
          }
      }
code_tokens: public static function minimal ( string $ filePath = null ) { if ( is_file ( $ filePath ) ) { /** @noinspection PhpIncludeInspection */ $ configItems = require_once $ filePath ; ! is_array ( $ configItems ) || Config :: items ( $ configItems ) ; ini_set ( 'error_reporting' , Config :: exists ( 'errors.error_reporting' , 0 ) ) ; ini_set ( 'display_errors' , Config :: exists ( 'errors.display_errors' , 0 ) ) ; Event :: dispatch ( 'minimal.loaded.minimal' , [ $ filePath , is_array ( $ configItems ) ? $ configItems : [ ] ] ) ; } }
docstring: Registers the minimal config file.
  It stores the array items from the minimal config file in the Config
  object and eventually sets the php.ini error_reporting and display_errors.
  
  @param string|null $filePath
docstring_tokens: Registers the minimal config file . It stores the array items from the minimal config file in the Config object and eventually sets the php . ini error_reporting and display_errors .