-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
String function improvements and additions
TRIM's second value is optional now. It also accepts a string with characters to remove at the beginnen and the end, instead of just the type integer. Added LTRIM support Added RTRIM support Added FIND_FIRST support Added FIND_LAST support Moved CI QA scripts to separate shell script
- Loading branch information
1 parent
e955b21
commit 1407247
Showing
6 changed files
with
260 additions
and
38 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#!/usr/bin/env bash | ||
echo "Fix coding style" | ||
./vendor/bin/phpcbf | ||
|
||
echo "Check for remaining coding style errors" | ||
./vendor/bin/phpcs -p --ignore=tests | ||
|
||
echo "Run PHPMD" | ||
./vendor/bin/phpmd src/ text phpmd-ruleset.xml | ||
|
||
echo "Run PHPStan" | ||
./vendor/bin/phpstan analyse -c phpstan.neon | ||
|
||
echo "Run Psalm" | ||
./vendor/bin/psalm --no-cache | ||
|
||
echo "Run PHPUnit" | ||
./vendor/bin/phpunit |
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