-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FEATURE] Update of Analysis/Content/Detail view
- Loading branch information
1 parent
7c68aa6
commit 7351d46
Showing
11 changed files
with
209 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -63,15 +63,15 @@ public static function cleanString(string $string, bool $toLower = false, string | |
* | ||
* Example replacements: | ||
* 'Réne Nüßer' => 'Réne Nüßer', | ||
* 'Not this/\+=*#?$%&!;"\'´`<>{}[]()--nono' => 'Not thisnono', | ||
* 'Not this\=#?$&!;"\'´`<>{}[]()--nono' => 'Not thisnono', | ||
* 'But [email protected]_is,ok' => 'But [email protected]_is,ok', | ||
* | ||
* @param string $string | ||
* @return string | ||
*/ | ||
public static function sanitizeString(string $string): string | ||
{ | ||
return preg_replace('/[\/\\#?$%&!=\'"`´<>{}\[\]()]|--/', '', $string); | ||
return preg_replace('/[\\#?$&!=\'"`´<>{}\[\]()]|--/', '', $string); | ||
} | ||
|
||
public static function getRandomString(int $length = 32, bool $lowerAndUpperCase = true): string | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.