File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ version : 2
2+
3+ updates :
4+ - package-ecosystem : " composer"
5+ directory : " /"
6+ schedule :
7+ interval : " weekly"
8+ open-pull-requests-limit : 0
9+ labels :
10+ - " php"
11+ - " security"
12+ - " dependencies"
13+ groups :
14+ php-security :
15+ applies-to : security-updates
16+ patterns :
17+ - " *"
18+
19+ - package-ecosystem : " github-actions"
20+ directory : " /"
21+ schedule :
22+ interval : " weekly"
23+ commit-message :
24+ prefix : " build"
25+ labels :
26+ - " dependencies"
27+ - " github-actions"
28+ groups :
29+ github-actions :
30+ patterns :
31+ - " *"
Original file line number Diff line number Diff line change 1818 - name : Assign issues and pull requests
1919 uses : gustavofreze/auto-assign@2.0.0
2020 with :
21- assignees : ' ${{ secrets .ASSIGNEES }}'
21+ assignees : ' ${{ vars .ASSIGNEES }}'
2222 github_token : ' ${{ secrets.GITHUB_TOKEN }}'
2323 allow_self_assign : ' true'
2424 allow_no_assignees : ' true'
Original file line number Diff line number Diff line change 1616
1717 steps :
1818 - name : Checkout
19- uses : actions/checkout@v4
19+ uses : actions/checkout@v6
2020
2121 - name : Configure PHP
2222 uses : shivammathur/setup-php@v2
3535
3636 steps :
3737 - name : Checkout
38- uses : actions/checkout@v4
38+ uses : actions/checkout@v6
3939
4040 - name : Use PHP ${{ env.PHP_VERSION }}
4141 uses : shivammathur/setup-php@v2
Original file line number Diff line number Diff line change 1+ name : Security checks
2+
3+ on :
4+ push :
5+ branches : [ "main" ]
6+ pull_request :
7+ branches : [ "main" ]
8+ schedule :
9+ - cron : " 0 0 * * *"
10+
11+ permissions :
12+ actions : read
13+ contents : read
14+ security-events : write
15+
16+ jobs :
17+ analyze :
18+ name : Analyze
19+ runs-on : ubuntu-latest
20+ strategy :
21+ fail-fast : false
22+ matrix :
23+ language : [ "actions" ]
24+
25+ steps :
26+ - name : Checkout repository
27+ uses : actions/checkout@v6
28+
29+ - name : Initialize CodeQL
30+ uses : github/codeql-action/init@v4
31+ with :
32+ languages : ${{ matrix.language }}
33+
34+ - name : Perform CodeQL analysis
35+ uses : github/codeql-action/analyze@v4
Original file line number Diff line number Diff line change 11.idea
2- vendor
3- report
4- .phpunit.cache
52
6- composer.lock
7- .phpunit.result.cache
3+ /vendor /
4+ /report
5+ * .lock
6+ .phpunit. *
Original file line number Diff line number Diff line change 4343 },
4444 "require" : {
4545 "php" : " ^8.3" ,
46- "tiny-blocks/collection" : " dev-main "
46+ "tiny-blocks/collection" : " ^1 "
4747 },
4848 "require-dev" : {
4949 "phpmd/phpmd" : " ^2.15" ,
50- "phpstan/phpstan" : " ^1" ,
51- "phpunit/phpunit" : " ^11" ,
52- "infection/infection" : " ^0" ,
50+ "phpstan/phpstan" : " ^1.12 " ,
51+ "phpunit/phpunit" : " ^11.5 " ,
52+ "infection/infection" : " ^0.32 " ,
5353 "squizlabs/php_codesniffer" : " ^3.11"
5454 },
5555 "scripts" : {
5858 "phpmd" : " phpmd ./src text phpmd.xml --suffixes php --ignore-violations-on-exit" ,
5959 "phpstan" : " phpstan analyse -c phpstan.neon.dist --quiet --no-progress" ,
6060 "test-file" : " phpunit --configuration phpunit.xml --no-coverage --filter" ,
61- "mutation-test" : " infection --only-covered -- threads=max --logger-html=report/coverage/mutation-report.html --coverage=report/coverage" ,
61+ "mutation-test" : " infection --threads=max --logger-html=report/coverage/mutation-report.html --coverage=report/coverage" ,
6262 "test-no-coverage" : " phpunit --configuration phpunit.xml --no-coverage tests" ,
6363 "review" : [
6464 " @phpcs" ,
You can’t perform that action at this time.
0 commit comments