Skip to content

Commit e7d356f

Browse files
committed
CS korrigiert.
1 parent 4feda0a commit e7d356f

File tree

4 files changed

+5509
-2
lines changed

4 files changed

+5509
-2
lines changed

.github/workflows/code-style.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- name: Install test dependencies
3131
env:
3232
COMPOSER: composer.json
33-
run: composer install --prefer-dist --no-progress
33+
run: COMPOSER=.tools/composer-code-style.json composer install --prefer-dist --no-progress
3434

3535
# run php-cs-fixer
3636
- name: Run PHP CS Fixer

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
.phpunit.result.cache
22
.php-cs-fixer.cache
3-
/vendor/
3+
vendor/

.tools/composer-code-style.json

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"name": "yakamara/ycom",
3+
"require": {
4+
"onelogin/php-saml": "^3",
5+
"apereo/phpcas": "^1",
6+
"league/oauth2-client": "^2",
7+
"spomky-labs/otphp": "^11.0",
8+
"redaxo/php-cs-fixer-config": "^2.0",
9+
"friendsofphp/php-cs-fixer": "^3.14",
10+
"phpunit/phpunit": "^9.5",
11+
"symfony/console": "^6.4"
12+
},
13+
"config": {
14+
"platform": {
15+
"php": "8.1.13"
16+
}
17+
},
18+
"scripts": {
19+
"cs-dry": "php-cs-fixer fix -v --ansi --dry-run --config=.php-cs-fixer.dist.php",
20+
"cs-fix": "php-cs-fixer fix -v --ansi --config=.php-cs-fixer.dist.php",
21+
"unit-test": "phpunit --testdox"
22+
}
23+
}

0 commit comments

Comments
 (0)