mirror of
https://github.com/librenms/librenms.git
synced 2024-09-21 10:28:13 +00:00
0a351b49fd
* Move `resources/lang` folder * Shift registered middleware * Remove `fruitcake/laravel-cors` dependency * Streamline `$commands` property * Upgrade to Flysystem 3.0 * Shift core files * Convert `optional()` to nullsafe operator * Remove unnecessary `$model` property * Convert route options to fluent methods Laravel 8 adopts the tuple syntax for controller actions. Since the old options array is incompatible with this syntax, Shift converted them to use modern, fluent methods. * Convert deprecated `$dates` property to `$casts` * Shift config files * Default config files In an effort to make upgrading the constantly changing config files easier, Shift defaulted them and merged your true customizations - where ENV variables may not be used. * Bump Laravel dependencies * Use `<env>` tags for configuration `<env>` tags have a lower precedence than system environment variables making it easier to overwrite PHPUnit configuration values in additional environments, such a CI. Review this blog post for more details on configuration precedence when testing Laravel: https://jasonmccreary.me/articles/laravel-testing-configuration-precedence/ * Fix error provider * Match new symfony syntax * Match upstream syntax * Fix route syntax * generate composer.lock * Sync back configs * routes * composer * Fix more flare * fix cors * sync lang * Apply fixes from StyleCI (#14517) Co-authored-by: StyleCI Bot <bot@styleci.io> * bump larastan * update packages * wip * Temporarily lower phpstan level * Update phpstan.neon * wip * wip * wip * Apply fixes from StyleCI (#14592) Co-authored-by: StyleCI Bot <bot@styleci.io> * test * Update CiHelper.php * Update test.yml * Update CiHelper.php * Update CiHelper.php * Apply fixes from StyleCI (#14616) Co-authored-by: StyleCI Bot <bot@styleci.io> * test? * fix phpstan problems * dont run snmpsim on github ci * Fix whitespace * More whitespace * More whitespace ??? * I think the space broke it * fix the reset of the whitespace * hard code auth guard --------- Co-authored-by: Shift <shift@laravelshift.com> Co-authored-by: StyleCI Bot <bot@styleci.io> Co-authored-by: Tony Murray <murraytony@gmail.com>
47 lines
2.3 KiB
PHP
47 lines
2.3 KiB
PHP
<?php
|
|
|
|
return [
|
|
'database_connect' => [
|
|
'title' => 'Error connecting to database',
|
|
],
|
|
'database_inconsistent' => [
|
|
'title' => 'Database inconsistent',
|
|
'header' => 'Database inconsistencies found during a database error, please fix to continue.',
|
|
],
|
|
'dusk_unsafe' => [
|
|
'title' => 'It is unsafe to run Dusk in production',
|
|
'message' => 'Run ":command" to remove Dusk or if you are a developer set the appropriate APP_ENV',
|
|
],
|
|
'file_write_failed' => [
|
|
'title' => 'Error: Could not write to file',
|
|
'message' => 'Failed to write to file (:file). Please check permissions and SELinux/AppArmor if applicable.',
|
|
],
|
|
'host_exists' => [
|
|
'hostname_exists' => 'Device :hostname already exists',
|
|
'ip_exists' => 'Cannot add :hostname, already have device :existing with this IP :ip',
|
|
'sysname_exists' => 'Already have device :hostname due to duplicate sysName: :sysname',
|
|
],
|
|
'host_unreachable' => [
|
|
'unpingable' => 'Could not ping :hostname (:ip)',
|
|
'unsnmpable' => 'Could not connect to :hostname, please check the snmp details and snmp reachability',
|
|
'unresolvable' => 'Hostname did not resolve to IP',
|
|
'no_reply_community' => 'SNMP :version: No reply with community :credentials',
|
|
'no_reply_credentials' => 'SNMP :version: No reply with credentials :credentials',
|
|
],
|
|
'ldap_missing' => [
|
|
'title' => 'PHP LDAP support missing',
|
|
'message' => 'PHP does not support LDAP, please install or enable the PHP LDAP extension',
|
|
],
|
|
'maximum_execution_time_exceeded' => [
|
|
'title' => 'Maximum execution time of :seconds second exceeded|Maximum execution time of :seconds seconds exceeded',
|
|
'message' => 'Page load exceeded your maximum execution time configured in PHP. Either increase max_execution_time in your php.ini or improve server hardware',
|
|
],
|
|
'unserializable_route_cache' => [
|
|
'title' => 'Error caused by PHP version mismatch',
|
|
'message' => 'The version of PHP your web server is running (:web_version) does not match the CLI version (:cli_version)',
|
|
],
|
|
'snmp_version_unsupported' => [
|
|
'message' => 'Unsupported SNMP Version ":snmpver", must be v1, v2c, or v3',
|
|
],
|
|
];
|