mirror of
https://github.com/LDAPAccountManager/lam.git
synced 2025-10-03 09:49:16 +02:00
refactoring
This commit is contained in:
parent
2fc25a8d58
commit
64b2caf28e
4 changed files with 11 additions and 8 deletions
9
.github/workflows/php.yml
vendored
9
.github/workflows/php.yml
vendored
|
@ -29,12 +29,15 @@ jobs:
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: composer install --prefer-dist --no-progress
|
run: composer install --prefer-dist --no-progress
|
||||||
|
|
||||||
# Add a test script to composer.json, for instance: "test": "vendor/bin/phpunit"
|
|
||||||
# Docs: https://getcomposer.org/doc/articles/scripts.md
|
|
||||||
|
|
||||||
- name: Run test suite
|
- name: Run test suite
|
||||||
run: composer run-script test
|
run: composer run-script test
|
||||||
|
|
||||||
|
- name: Install CodeSpell
|
||||||
|
run: pip install --user codespell
|
||||||
|
|
||||||
|
- name: CodeSpell
|
||||||
|
run: ./codespell
|
||||||
|
|
||||||
- name: SonarCloud Scan
|
- name: SonarCloud Scan
|
||||||
uses: sonarsource/sonarcloud-github-action@master
|
uses: sonarsource/sonarcloud-github-action@master
|
||||||
env:
|
env:
|
||||||
|
|
3
codespell.sh
Executable file
3
codespell.sh
Executable file
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
~/.local/bin/codespell --skip '*3rdParty*,*/ckeditor/*,*/po/*,*/locale/*,tmp,sess,config,graphics,*/style/images/*,*/style/*.gif,*/style/*.png,*/docs/manual-onePage/*,*/docs/manual-sources/images/*,*/templates/lib/*jquery*,*/templates/lib/*flatpickr*,*~,*/docs/phpdoc/*,*/docs/manual/*,*/docs/devel/images/*,*/docs/manual-pdf/*,*.sh,*/cropper.js,*/lib/extra/*,lam/.phpdoc' --ignore-words-list "tim,te,pres,files'" lam
|
|
@ -1,3 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
~/.local/bin/codespell --skip '*3rdParty*,*/ckeditor/*,*/po/*,*/locale/*,tmp,sess,config,graphics,*/style/images/*,*/style/*.gif,*/style/*.png,*/docs/manual-onePage/*,*/docs/manual-sources/images/*,*/templates/lib/*jquery*,*~,*/docs/phpdoc/*,*/docs/manual/*,*/docs/devel/images/*,*/docs/manual-pdf/*,*.sh,*/cropper.js,*/lib/extra/*' --ignore-words-list "tim,te,pres,files'"
|
|
|
@ -73,8 +73,8 @@ $tableTitles = array('text 1', 'text 2', 'text 3', 'text 4', 'text 5');
|
||||||
$tableData = array();
|
$tableData = array();
|
||||||
for ($rowNumber = 0; $rowNumber < 10; $rowNumber++) {
|
for ($rowNumber = 0; $rowNumber < 10; $rowNumber++) {
|
||||||
$tableRow = array();
|
$tableRow = array();
|
||||||
for ($colum = 0; $colum < 5; $colum++) {
|
for ($column = 0; $column < 5; $column++) {
|
||||||
$tableRow[] = new htmlOutputText('value' . $colum);
|
$tableRow[] = new htmlOutputText('value' . $column);
|
||||||
}
|
}
|
||||||
$tableData[] = $tableRow;
|
$tableData[] = $tableRow;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue