- Fix: Notifiable-Trait zum User-Model hinzugefuegt (behebt notify()-500er) - Installer: SMTP-Verbindungstest mit EsmtpTransport + Ueberspringen-Link - Admin: Neuer E-Mail-Tab mit SMTP-Konfiguration + Verbindungstest - Admin: Lazy Quill-Initialisierung (nur sichtbare Locale wird geladen) - Uebersetzungen: 17 neue Mail-Keys in allen 6 Sprachen Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
42 lines
827 B
PHP
Executable File
42 lines
827 B
PHP
Executable File
<?php
|
|
|
|
namespace staabm\SideEffectsDetector;
|
|
|
|
/**
|
|
* @api
|
|
*/
|
|
final class SideEffect {
|
|
/**
|
|
* die, exit, throw.
|
|
*/
|
|
const PROCESS_EXIT = 'process_exit';
|
|
|
|
/**
|
|
* class definition, func definition, include, require, global var, unset, goto
|
|
*/
|
|
const SCOPE_POLLUTION = 'scope_pollution';
|
|
|
|
/**
|
|
* fwrite, unlink...
|
|
*/
|
|
const INPUT_OUTPUT = 'input_output';
|
|
|
|
/**
|
|
* echo, print.
|
|
*/
|
|
const STANDARD_OUTPUT = 'standard_output';
|
|
|
|
/**
|
|
* code for sure has side-effects, we don't have enough information to classify it.
|
|
*/
|
|
const UNKNOWN_CLASS = 'unknown_class';
|
|
|
|
/**
|
|
* code might have side-effects, but we can't tell for sure.
|
|
*/
|
|
const MAYBE = 'maybe_has_side_effects';
|
|
|
|
private function __construct() {
|
|
// nothing todo
|
|
}
|
|
} |